Hello, I am trying to create a project that extract parts of an image, knowing that I have determined the contour points and I determined points related envelope and now I want to calculate the surface of the parties are between the edge points and the points of the envelope.
Here is an example:
I found on the net a function that retrieves rectangles cvSetImageROI but the problem parts that I want to extract have different shapes. In short, help me!