Compare two images for similarity
I need to compare and check if the given set of images are similar to the reference image or not. How can it be done in QT?
Thanks in advance,
Please define what you mean by "similar".
Suppose the reference image contains a black coloured circle then to check if the set of images to be compared have the circles of same diameter or different diameter.
did you know
Hough Circle of OpenCV? May be it can help you.
If all the images just have black circles on a white background you could just count the black voxels and define a tolerance you are willing to accept.
this is actually outside of the scope of Qt.
You should use a graphics processing library (like OpenCV - i don't know if it offers such functionality) to do such stuff. Or you need to implement an appropriate algorithmn yourself which uses the Qt API to access the pixel data.
This is by far a complicated topic.