How do ofxCvContourFinder access image data?

Hello :slight_smile:

I’m using the ofxOpenCv add-on in openframeworks and I use the contour finder to find blobs.

I got curious about the process it’s doing, but I have a hard time understanding exactly how it access the date in images.

I usually uses for loops to run through the image’s pixels.

But how do contour finder do this?

Hope someone are able to help me understand this.

I’m not sure if I’m understanding your question right, but it doesn’t access data in the images other than the pixels by analyzing the contrasts between neighboring pixels and looking for high contrasts.