Ticket #473 (closed defect: fixed)
Opened 2011-04-29T11:39:00-05:00
Last modified 2011-04-29T11:47:46-05:00
Image Calculator throws exception
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | ImgLib2 | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Open bridge image. Use Process :: Image Calculator to try and make an image composed of adding bridge with itself. Code bombs out (in Imglib):
Exception in thread "PluginRunner-imagej.core.plugins.assign.ImageMath" java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at net.imglib2.img.planar.PlanarImg.update(PlanarImg.java:133)
at net.imglib2.img.planar.PlanarImg.update(PlanarImg.java:1)
at net.imglib2.type.numeric.integer.GenericByteType.updateContainer(GenericByteType.java:70)
at net.imglib2.img.planar.PlanarRandomAccess.setPosition(PlanarRandomAccess.java:227)
at net.imglib2.ops.operation.RegionCursor.next(RegionCursor.java:77)
at net.imglib2.ops.operation.MultiImageIterator.next(MultiImageIterator.java:76)
at net.imglib2.ops.operation.AssignOperation.execute(AssignOperation.java:199)
at imagej.core.plugins.assign.NAryOperation.run(NAryOperation.java:184)
at imagej.core.plugins.assign.ImageMath.run(ImageMath.java:146)
at imagej.plugin.PluginRunner.run(PluginRunner.java:81)
at imagej.plugin.PluginManager$1.run(PluginManager.java:128)
at java.lang.Thread.run(Thread.java:680)
Change History
comment:1 Changed 2011-04-29T11:47:46-05:00 by bdezonia
- Status changed from new to closed
- Resolution set to fixed
fixed in OPS. RegionCursor.next() was setting the underlying RandomAccess' position out of bounds.