PS I did make sure that impMarkers contains the markers, they are white
dots in it.

On Thu, Aug 6, 2026 at 11:04 AM Yuekan Jiao <[email protected]> wrote:

> Hi
>
> I am trying to use MorphoLibJ Marker-controlled Watershed / Interactive
> Marker-controlled Watershed in my Java code. Using installed MorphoLibJ it
> works well, for example, on the gradient (I use "Find Edges") of Gaussian
> filtered image blobs. With my own code, however, I get an empty image. The
> command in my code is:
>
> ImagePlus impSeg = Watershed.computeWatershed(imp, impMarkers, null, 4,
> true, 0, true);
>
> imp - the Gaussian filtered image blobs with markers drawn using
> "Multi-point" tool
> impMarkers - the binary image of the markers
>
> I also tried some similar functions included in class Watershed, but could
> not get it to work.
>
> Could anyone tell me what I am missing? Thank you.
>
> Yuekan
>
>
>

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

Reply via email to