MATLAB: How to use watershed method to separate the binary image into more segments? binaryimage watersheidImage Processing Toolboxwatershed Hi How can I use watershed method to separate the binary image into more segment?? Thanks Best Answer Steve's blog pretty well guides you through it: http://blogs.mathworks.com/steve/2013/11/19/watershed-transform-question-from-tech-support/ Related SolutionsMATLAB: Watershed Hi, Just simple mistake.You save your script with name watershedhowever, watershed is built-in function in Matlab.Try to rename your script and it will works. MATLAB: How to select an object of a bw image With regionprops():labeledImage = bwlabel(binaryImage);measurements = regionprops(labeledImage, 'Area');allAreas = [measurements.Area]See my Image Segmentation Tutorial for a full demo: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 Related QuestionAbout WatershedNumber of spot in binary image
Best Answer