1 | initial version |
I think that it depends of complexity algorithm. In paper "Shape Matching and Object Recognition Using Shape Contexts" (PAMI 2002) in chapter 4.3 "runtime is dominated by the number of sample points for each shape with most componentsof the algorithm exhibiting between quadratic and cubic scaling behavior" Bad news! Decrease number of sample points in your contour. Have a look at example shape_example.cpp