I have a certain image on which I have applied watershed algorithm and obtained satisfactory results. I have used OpenCV and C++ to obtain the result. Now, how do I go about extracting the segmented sections and preferably saving them as contours?
Found a way to do it! Contours after watershed algorithm This solves my problem.