Closed Pantelispanka closed 3 years ago
This is not an imagej2
issue, I believe.
The best place for questions/issues like these is actually the forum: https://forum.image.sc
@Pantelispanka please try whether changing the Black background option in Process > Binary > Options... helps.
Thanks for pointing that out. I will close the issue and post it on the forum.
I am using ImageJ in a web application where i have to count some particles. There when i use the watershed the algorithm segments the background and not the particles.
The imports
The code goes
I use autoThreshold because of the 0-255 binary image asked from the watershed algorithm. That alters everything from the pipeline but even though the algorithm returns segmented the background and not the particles