Ask Your Question
0

What are contours and why use them

asked 2013-05-01 20:15:34 -0600

Tomazi gravatar image

updated 2013-05-01 20:16:47 -0600

Hey People...!

My question might be very lame but could someone define in simple words what are contours and why is it useful to find contours within image...?

And could could someone suggest a good article

Regards

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2013-05-02 02:17:35 -0600

Looking at a binary image, which is in fact an image of 0 and 1 values - black and white regions, you can define contours as the edges around the white regions inside the complete image. Contours can help to define the largest blobs/areas in the binary image, which can then be used to calculate parameters of these regions like area, bounding box, centerpoint, ...

These parameters in turn can be used to pass to higher level algorithms like for example object detection or object recognition.

Contours are mainly used for segmenting / retrieving information that was gathered from an image, using specific operators.

This paper is used for implementing contour functionality in OpenCV.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-05-01 20:15:34 -0600

Seen: 227 times

Last updated: May 02 '13