in reply to Can i Compare two images in perl ?
Compress the images three times: image1.zip, image2.zip both.zip.
Then calculate similarity = (size(image1.zip) + size(image2.zip)) / size(both.zip).
That value will approach 2.0 as the source bitmaps become more similar. No image processing required!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Can i Compare two images in perl ? (It's a myth!)
by BrowserUk (Patriarch) on May 30, 2011 at 22:50 UTC | |
by Anonymous Monk on May 31, 2011 at 13:08 UTC | |
by BrowserUk (Patriarch) on May 31, 2011 at 13:43 UTC | |
by SuicideJunkie (Vicar) on May 31, 2011 at 15:34 UTC | |
by BrowserUk (Patriarch) on May 31, 2011 at 15:39 UTC |
In Section
Seekers of Perl Wisdom