cropImage | R Documentation |
uses a label image to crop a smaller image from within a larger image
cropImage(image, labelImage, label = 1)
image |
antsImage to crop |
labelImage |
antsImage with label values. If not supplied, estimated from data. |
label |
the label value to use |
subimage
Brian B. Avants, Nicholas J. Tustison
fi <- antsImageRead(getANTsRData("r16"))
cropped <- cropImage(fi)
cropped <- cropImage(fi, fi, 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.