From this Image.sc Forum topic: using the shearView op and then showing it as an ImagePlus using ImageJFunctions.show can throw an ArrayIndexOutOfBoundsException. Try opening the Bat Cochlea Volume sample (File → Open Samples menu), then running the following Groovy script:
From this Image.sc Forum topic: using the
shearView
op and then showing it as anImagePlus
usingImageJFunctions.show
can throw anArrayIndexOutOfBoundsException
. Try opening the Bat Cochlea Volume sample (File → Open Samples menu), then running the following Groovy script:Then move the C slider of the resultant image, and observe the message on stderr:
This may or may not actually be a bug in imglib2-ij, but I file it here in the absence of a better idea, until it gets investigated.