I am seeking a way to compare 2 images and get the most matching image as output.
Using histogram function in OpenCV can I do this?
Can anyone please help me?
But I dont know how to do it since I am not very much familiar with OpenCV.
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The histogram will just ensure that the two images have similar color distributions. The color distributions could be similar in very different images.
As an example, imagine a black and white 8×8 checkboard and an image whose left side is all black and the ride side pure white. These images have the same histogram.