I have a question about the example for cropping an image using an Op. It seems as if the image is cropped in 3D, but the image in the example seems to be 2D:
This example shows two ops that crop an image:
import net.imglib2.FinalInterval region = FinalInterval.createMinSize(75, 27, 0, 40, 28, 3) eye = ij.op().run("crop", image, region) eyeView = ij.op().run("intervalView", image, region) tile([eye, eyeView])
When I looked at the Javadocs for createMinSize in the imgLib2 FinalInterval class, I found this:
minsize - a list of 2*n parameters to create a n -dimensional interval.
And since the example given in the notebook was using 6 arguments for createMinSize, I understand that the image was cropped in 3D. Am I right? (it’s cool if the image can be cropped that easily in 3D)