Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked Aug 21 '12

mrgloom gravatar image

shape context implementation in opencv

I want to use shape context for contour matching and for contour clusterization/classification, I have already implimented it in opencv, but I don't understand how to use it in case if contours have different number of points? maybe I can add some fictitious points between real point or simplify contour to delete some points?

click to hide/show revision 2
No.2 Revision

shape context implementation in opencv

I want to use shape context for contour matching and for contour clusterization/classification, I have already implimented it in opencv, but I don't understand how to use it in case if contours have different number of points? maybe I can add some fictitious points between real point or simplify contour to delete some points?

In paper they just add some "dummy" points, but it's only suitable for shape comparision, but if I want to use vector of features for example in SVM,feature vector need to be the constant size.