ijpb / MorphoLibJ

Collection of mathematical morphology methods and plugins for ImageJ
http://imagej.net/MorphoLibJ
GNU Lesser General Public License v3.0
101 stars 48 forks source link

Bug in Classic Watershed? #37

Closed tischi closed 4 years ago

tischi commented 4 years ago

Hello,

When we put an image as a "Mask" that is not binary to "Classic Watershed", it still does something (which we do not understand). Should it work or should it maybe better throw and error if the Mask image is not binary?

iarganda commented 4 years ago

It should probably throw an error, indeed ;-)

iarganda commented 4 years ago

This commit should fix it!