Aligning rotation and scaling patterns in OpenCV

Possible duplicate:
scaling and rotation of pattern matching

I have a grayscale template image with a white background and a black shape above it. I also have several similar test images that change in a circle and in shape. Test images do not match patterns, but they are similar.

I want to compare these two images and see if the pattern matches the most similar to any of the test images. There are no distortions, noise or other defects in the images. Are there any tutorials on this topic?

+5
source share
2 answers

First try the easiest method.

, - . blob - , - .

. matchShapes() - . , .

matchShapes() . .

, blob , .

+11

. , , . , . , . . "" . ( ) . .

+4

All Articles