Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is contours in computer vision? [closed]

I am currently studying a computer vision module in college. I would like to get a theoretical understanding of what contours are in computer vision and what they are used for.

like image 434
Jack welch Avatar asked Dec 25 '22 18:12

Jack welch


2 Answers

A contour is simply the boundary of an object in an image. Various representations of contours (e.g. chain code, Fourier descriptors, shape context) are used to recognize or categorize objects.

This assumes that you have a way to segment out an object and find its boundary, which itself is not a trivial problem. One particular class of algorithms for finding boundaries is called active contours or snakes. Is this what you are asking about?

like image 147
Dima Avatar answered Dec 28 '22 21:12

Dima


Here you can go through the official documentation of opencv, where they say that contour is a simple curve which joins continuous points with same color or intensity.

I used the concept of contours in hand gesture recognition where i have used the area bounded by contours as a basis to remove the noise and detect only the hand part in the image.

like image 35
SaiVinay007 Avatar answered Dec 28 '22 19:12

SaiVinay007