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.
Hi mrgloom, Could you give me your source code? I am learning Shape Context and I want to implement it in C++ and OpenCV. Your question is also my question. I have an idea to resolve this problem so I really need your source code to implement my idea in order to test it quickly. I hope we can discuss more often in the future. Thanks!
I haven't finished my code and it doesn't work at all, so I think it needs a lot of rewrite(also to new opencv interface), but I found faster algorithm than hungarian algorithm. here my old dirty code http://codepaste.ru/12864/
Thank you so much!