matchShapes between images

asked 2014-02-12 06:52:39 -0500

clytemnestra gravatar image

updated 2014-11-24 04:17:09 -0500

Here an image is made out of contours. A contour is a vector of Points. matchShapes) performs a comparison between such contours. But a Mat image is made out of multiple contours. It is a vector<vector<Point>>, for instance, in the example from the tutorials, drawing.

My question is if I have 2 Mat objects, how to compare them using matchShapes? I want to compare the images themselves, not each contour. That means I want to compare vector<vector<Point>> and not just vector<Point>

edit retag flag offensive close merge delete


Still no answer to this? :\

jtlz2 gravatar imagejtlz2 ( 2017-07-19 06:30:30 -0500 )edit