How to do preprocessing and post processing for Watershed Segmentation of an image?

5 views (last 30 days)
Hello, I need to perform watershed segmentation on image 'step1.jpg' and the expected result is image 'watershedOutput.jpg'. I got the information that watershed segmentation need pre-processing image and past-processing image .my doubt is What are the pre-processing and post-processing function to be done for getting the expected output?
Could you kindly help for doing the same?
This is for detecting the unfocused raindrops in the input image. I got the gradient image as mentioned in the attached image with sobel operator.
Thank You. Simi

Answers (1)

SIMI PS
SIMI PS on 3 Dec 2015
I forgot to attach the images as mentioned in my question. Please find the same here.

Community Treasure Hunt

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

Start Hunting!