replacement for Watershed ?
Which algorithms similar to Watershed are efficient for region based segmentation. For my application watershed didn't detect the regions correctly. i created the markers using morphological operations.
Have you tried Distance Transform? http://docs.opencv.org/modules/imgproc/doc/miscellaneous_transformations.html#distancetransform
Thanks @Balaji Renganathan but, The distance transform Calculates the distance to the closest zero pixel. the input to distance transform is itself a binary image.
I need to segment various regions of the image Some what similar to this: http://www.mathworks.in/help/images/examples/marker-controlled-watershed-segmentation.html
"For my application watershed didn't detect the regions correctly." Can you explain why? Have you tried to replicate this with opencv? Can you share your code?