How to segment an image into three parts using openCV 2.0 in DEV C++

asked 2016-02-10 05:10:17 -0500

I have a problem in splitting the image into three parts. I need to convert the image into binary and split into three parts. These parts are needed for the further continuation of the project. I need the help with the coding in openCV so that it would help my project. Please let me know if any functions are available or the code to segment the image into three parts.

Any further details let me know.

Thank you

edit retag flag offensive close merge delete



You can use kmeans with 3 clusters, but how does the image looks like? What should the 3 parts look like?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-02-10 06:38:23 -0500 )edit

I have closed the other duplicate, and because I suppose your new problem is how to use kmeans segmentation, I suggest you to read this

thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-02-11 05:02:20 -0500 )edit