Posted by
Jan Eglinger on
Aug 28, 2015; 9:21am
URL: http://imagej.273.s1.nabble.com/Exception-in-ImageJ-3D-Suite-after-update-to-imagescience-3-0-0-tp5014182.html
Dear Thomas, dear Erik,
after the recent update of the ImageScience library [1,2] within Fiji,
some plugins of the nice ImageJ 3D Suite seem to be broken: when I run
'Plugins > 3D > 3D Hysteresis Thresholding', the exception pasted below
gets thrown [3].
This is probably solved by changing the import statement in
mcib_plugins/processing/Thresholder.java from
import imagescience.utility.ImageScience;
to
import imagescience.ImageScience;
but there might be many other places that have to be changed. I noticed
that e.g. the imagescience.transform.Affine#run method had changed its
signature from
run(Image, Transform, int, boolean, boolean)
to
run(Image, Transform, int, boolean, boolean , boolean)
@Erik: I would have appreciated if the transition to imagescience 3.0.0
had been a bit smoother, e.g. by marking some methods as deprecated
before removing/changing them completely. That way, plugin developers
could have reacted ahead of time and avoided breakage of their plugins
for users.
That said, it would be great if you could make the mcib3d-core source
code available on github, so the community can contribute patches more
easily :)
Best regards,
Jan
[1]:
https://github.com/fiji/imagescience/commit/46f778a(careful, the huge commit might stall your browser for a little while)
[2]:
http://imagej.1557.x6.nabble.com/TransformJ-Update-td5014108.html[3]:
java.lang.NoClassDefFoundError: imagescience/utility/ImageScience
at mcib_plugins.processing.Thresholder.hysteresis(Thresholder.java:79)
at
mcib_plugins.Hysteresis_Thresholding.hysteresis(Hysteresis_Thresholding.java:46)
at mcib_plugins.Hysteresis_Thresholding.run(Hysteresis_Thresholding.java:34)
at
ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:263)
at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:112)
at ij.IJ.runUserPlugIn(IJ.java:214)
at ij.IJ.runPlugIn(IJ.java:176)
at ij.Executer.runCommand(Executer.java:132)
at ij.Executer.run(Executer.java:62)
at java.lang.Thread.run(Thread.java:619)
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html