Comparing variable image to static image
I think you're really asking for a distance metric on images.  Based on  your examples, I would suggest the L2 distance (sum of squares of differences in pixel intensities) or L1 distance; possibly after aligning the images.  This looks like it should b effective for the examples you list.