NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #597 (closed defect: fixed)

Opened 2011-06-13T12:56:10-05:00

Last modified 2011-06-15T11:18:43-05:00

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 2011-06-14T14:29:33-05:00 by bdezonia

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

comment:2 Changed 2011-06-14T15:45:14-05:00 by bdezonia

  • Component changed from ij-core to imglib

comment:3 Changed 2011-06-14T17:02:36-05:00 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 2011-06-15T11:15:29-05:00 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 2011-06-15T11:18:43-05:00 by bdezonia

fixed in 272d5b4c3dd85ca97ae1d41a95667cd2d5941273