powered by
cropImage(image, labelImage, label = 1)
fi <- antsImageRead(getANTsRData("r16")) cropped <- cropImage(fi) cropped <- cropImage(fi, fi, 250)
Run the code above in your browser using DataLab