http://www.perlmonks.org?node_id=872977


in reply to Re^4: Matching Images
in thread Matching Images

my point

If information is "lost" through a lossy conversion, the images are different, and the code I posted will detect those differences.

Note well: The OP didn't ask to find images that "looked the same" or were "substantially similar", or any other form of fuzzy comparison.

He asked for:

I would like my script to compare two images and tell me if even one single pixel is slightly different in one of them.

Which is exactly what the code I posted--as opposed to your theory--does.

Hence, your "point" is pointless.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^6: Matching Images
by LanX (Saint) on Nov 22, 2010 at 14:47 UTC
    Funny, this subthread is a good example for aggressiv arguments. =)

    Cheers Rolf

    PS: BTW I'm off ... 8)

    UPDATE:

    > He asked for:

    > I would like my script to compare two images and tell me if even one single pixel is slightly different in one of them.

    Indeed! But he didn't talk about different image formats either, leaving much place for interpretations and clarifications.

      If by that you mean direct, forthright and accurate. Then yes, guilty as charged.

      Of course, such directness wouldn't be necessary if:

      1. people read the questions, that the answers they challenge are addressed to, before challenging them.
      2. made some attempt to verify their theories before posting them.
      3. didn't continue to argue in favour of those theories long after they have been disproved.
      A reply falls below the community's threshold of quality. You may see it by logging in.