shape smoothing plugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

shape smoothing plugin

Aryeh Weiss
The shape smoothing program appears not to work on stacks. When run on a
stack, it throws the following exception.

java.lang.IllegalArgumentException: Wrong dimensions for this stack
     at ij.ImagePlus.setProcessor(ImagePlus.java:598)
     at ij.ImagePlus.setProcessor(ImagePlus.java:587)
     at
ij.blob.ConnectedComponentLabeler.addWhiteBorder(ConnectedComponentLabeler.java:385)
     at
ij.blob.ConnectedComponentLabeler.<init>(ConnectedComponentLabeler.java:75)
     at ij.blob.ManyBlobs.findConnectedComponents(ManyBlobs.java:112)
     at
de.biomedical_imaging.ij.shapeSmoothingPlugin.Shape_Smoothing.setup(Shape_Smoothing.java:95)
     at
ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:48)
     at ij.IJ.runUserPlugIn(IJ.java:221)
     at ij.IJ.runPlugIn(IJ.java:183)
     at ij.Executer.runCommand(Executer.java:137)
     at ij.Executer.run(Executer.java:66)
     at java.lang.Thread.run(Thread.java:748)

Works fine on an individual image.

Is this the specified behavior, or is it meant to work with stacks?

--aryeh

--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html