decropImage | R Documentation |
the inverse function for cropImage
decropImage(croppedImage, fullImage)
croppedImage |
cropped antsImage |
fullImage |
antsImage to put back into |
decroppedImage
Brian B. Avants, Nicholas J. Tustison
fi <- antsImageRead(getANTsRData("r16"))
mask <- getMask(fi)
cropped <- cropImage(fi, mask, 1)
cropped <- smoothImage(cropped, 1)
decropped <- decropImage(cropped, fi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.