Compare two images for similarity
-
Hello everyone,
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,
-
Hi @m-sue
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.
Thanks,
-
Hi @m-sue
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.
Thanks,
-
Hi @m-sue
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.
Thanks,
@sush
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.
You may want to read the following links:
Overview
Perceptual Image Diff lib
QGoImageComapre