Calculating Pixel Distance in QT C++
<p>I am writing an  application , to  compare  2 images of same dimensions  ,  I need to compare distance For example if two images of the Same then the distance between those two images would be zero. If two images are completely different than the distance between them would be quite large.The project involves taking a sample image and using that as a base and seeing any distortions in color or  gradient have occurred in the subsequent images.</p>
