Ticket #597 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Delete Axis can throw an ImgLib exception

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: Jun-06 to Jun-17
Component: ImgLib2 Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Open T1 Head. Delete Axis Z with plane == 65 -> works okay

Open T1 Head. Add Axis (channel, 3). Delete Axis Z with plane == 65 -> exception thrown:

Exception in thread "PluginRunner-imagej.core.plugins.restructure.DeleteAxis" java.lang.IllegalArgumentException: incompatible span shapes (case 1)

at net.imglib2.ops.operation.MultiImageIterator.testSpansCompatible(MultiImageIterator.java:98)
at net.imglib2.ops.operation.MultiImageIterator.initialize(MultiImageIterator.java:44)
at imagej.core.plugins.restructure.RestructureUtils.copyHyperVolume(RestructureUtils.java:136)
at imagej.core.plugins.restructure.DeleteAxis.fillNewImgPlus(DeleteAxis.java:164)
at imagej.core.plugins.restructure.DeleteAxis.run(DeleteAxis.java:90)
at imagej.plugin.PluginRunner.run(PluginRunner.java:84)
at imagej.plugin.PluginManager$1.run(PluginManager.java:151)
at java.lang.Thread.run(Thread.java:680)

Change History

comment:1 Changed 8 years ago by bdezonia

Easier way to duplicate: open Organ of Corti. Use Delete Axis and choose channel #1.

comment:2 Changed 8 years ago by bdezonia

  • Component changed from ij-core to imglib

comment:3 Changed 8 years ago by bdezonia

found issues in Imglib. have made local changes. tests okay in ImgLib. Made some local changes in IJ2. tests okay for some Process entries (Math, Noise). fails for others (Sharpen, Smooth, Find Edges, Shadows). They may be broken because of some other change. test if currently compiling version on Hudson also fails for those.

comment:4 Changed 8 years ago by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

verified others are having same problem with Sharpen etc. without my code changes. will commit my changes.

comment:5 Changed 8 years ago by bdezonia

fixed in 272d5b4c3dd85ca97ae1d41a95667cd2d5941273

Note: See TracTickets for help on using tickets.