Clear Filters
Clear Filters

Implementation of the watershed algorithm

5 views (last 30 days)
Akanksha Mishra
Akanksha Mishra on 29 May 2017
Answered: Abel Babu on 1 Jun 2017
I am looking for some guidance and advice regarding the implementation of the Watershed Algorithm on the Matlab Image Processing Toolbox. I would like to use this function to detect non-spherical bubbles for calculation of their area and perimeter values. I have managed to create a binary version of the picture, however the algorithm still fails to detect the bubbles. Would the "File Exchange" option be a good platform to get some feedback on both my code and the image that has to be analysed. Please advice.

Answers (1)

Abel Babu
Abel Babu on 1 Jun 2017
Hi Akanksha,
MATLAB File Exchange is indeed a good place to look for MATLAB implementation of specific algorithms or routines that are not readily available in MATLAB, but for algorithms that are already implemented in MATLAB, it is always advised to go with that.
Watershed algorithm has been in MATLAB since R2006a and it has been well documented as well. Here is the link to it and would highly recommend using it: https://in.mathworks.com/help/images/ref/watershed.html
Abel

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!