It… doesn’t matter if the images are aligned? I assumed the way it worked was to compare each pixel with the pixel at the same address in the other image.
If it doesn’t matter what order the images are in, I guess it shouldn’t matter if the two images are even perfectly aligned. If one were slightly stretched or squished relative to the other… that may not matter?