CvConnectedComp.contour is NULL with cvFloodFill

I am trying to use CvConnectedComp which is an output from cvFloodFill.

CvConnectedComp comp;

I am able to use comp.rect for drawing the component, but comp.contour is NULL.I want to use it for further processing. I tried without mask also, but still it is same result.

Any idea will be appreciated.

Source: c#

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.