Info
This question is closed. Reopen it to edit or answer.
anyone knows how to write a function in matlab to segment the characters using the watershed algorithm? any help would be much appreciated. Thank you!
1 view (last 30 days)
Show older comments
I want to matlab code for segment characters(below image) using watershed algorithm ...? please any one help me to solve this ....?
Here is an image ..!

5 Comments
Rik
on 9 May 2017
That the space between the characters is non-linear doesn't really matter if you are looking at the area of blobs with approximately the same color (e.g. with regionprops after thresholding).
I would advise you to read the wiki-page on watershed. It will help you understand what is going on.
The link I provided advises to show what you tried and how it failed to do what you want. Apparently you have put in the effort, but you show none of it. Instead of Googling the same example as you found and pasting it here, I'm asking you to put the code you used here, so we can build on your work to solve this.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!