Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is a function that should do exactly what you need, and it works with the images you have provided here. The huMoments are invariant to scale, rotation, and reflection.

Just take your binary images and run them through cv::moments, cv::huMoments and compare the results (You can see the L1, L2 and L3 comparisons HERE).