Reputation: 539
I want to measure the similarity between two images of different sizes, the images are represented by color moments feature, when I want to measure the similarity between these two images using euclidian distance I get the error: Error using ==> minus Matrix dimensions must agree. For example:
distance=norm(color_moments(img1) - color_moments(img2));
img1 and img2 have different sizes, by the result their color_moments vectors have also different sizes which makes the comparison impossible. How can I solve this?
Upvotes: 0
Views: 1096