Compare two pictures of one size pixel by pixel, for reading what a
correction changed and what it left alone.
A pixel is changed when its largest red, green or blue difference exceeds
tolerance, a byte count that is zero when omitted. The difference image
shows the newer picture as grey at half its luma, so the subject stays
recognizable, with every changed pixel in magenta.
constdifference = compareAutoMovieRasters(before, after); if (difference.changed > 0) sheet.add(difference.image, "changed");
Compare two pictures of one size pixel by pixel, for reading what a correction changed and what it left alone.
A pixel is changed when its largest red, green or blue difference exceeds
tolerance, a byte count that is zero when omitted. The difference image shows the newer picture as grey at half its luma, so the subject stays recognizable, with every changed pixel in magenta.