Compare two images with Qt/OpenCV