Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to get to inside contour in c++,opencv

Hello, I have a one question.

I want to use to inside contour areas.

from my program, i did like this

"original image -> grayscale image -> gaussianblur -> Canny -> findcontours".

But I don't know how to get to inside contour pixel data segment.

if I find many contours, i want covert it into "inside contours area" and "outside contours area".

Moreover, I used Visual Studio 2013 and opencv 2.4.11.

Hoping for your favorable actions.

Thank you very much.

Best Regards

KBH