Re: did anyone implement a 3D watershed?
Posted by
Thomas Boudier on
Nov 17, 2007; 3:42pm
URL: http://imagej.273.s1.nabble.com/did-anyone-implement-a-3D-watershed-tp3697960p3697963.html
Hello,
The "005-random" refers to a lut that is distributed in new versions of
imageJ. I have removed this colouring of the result so the plugin should
not lock the image.
Thomas
>
> Hi Thomas,
>
> I run the 3D watershed on an 8-bit stack and I get:
>
> - a copy of the stack
> - the message: "Command 005-random not found"
> - the original stack is left locked.
>
> I opened the source code and I found that, within the run method, an
> IJ.run call is issued for the "005-random" command. Which plugin
> implements this functionality?
>
> Also, a general recommendation: your plugins are not thread safe. Such
> IJ.run call assumes that the WindowManager will have, as the currently
> active image, the copy of the stack that you just created and opened,
> which can easily not be the case. I suggest you use the ImagePlus
> pointer directly to pass to the 005-random.
>
>
> Albert
>
--
/*****************************************************/
Thomas Boudier, MCU Université Pierre et Marie Curie
UMR 7101 / IFR 83. Bat A 328, Campus Jussieu
Tél : 01 44 27 35 78 Fax : 01 44 27 25 08
/*****************************************************/