Section: (1) Updated: 2010-06-09 Local index
puzzle-diff - Compare pictures with libpuzzle
[-b <contrast barrier for cropping>] [-c] [-C <max cropping ratio>] [-e] [-E <similarity threshold>] [-h] [-H <max height>] [-l <lambdas>] [-n <noise cutoff>] [-p <p ratio>] [-t] [-W <max width>] <file 1> <file 2>
puzzle-diff compares two pictures and outputs the normalized distance.
Try puzzle-diff -h for more info.
Output distance between two images:
$ puzzle-diff pic-a-0.jpg pics-a-1.jpg
Compare two images, exit with 10 if they look the same, exit with 20 if they don't (may be useful for scripts):
$ puzzle-diff -e pic-a-0.jpg pics-a-1.jpg
$ echo $?
Compute distance, without cropping and with computing the average intensity of the whole blocks:
$ puzzle-diff -p 1.0 -c pic-a-0.jpg pic-a-1.jpg
Frank DENIS libpuzzle at pureftpd dot org
Hey! The above document had some coding errors, which are explained below:
- Around line 35:
You forgot a '=back' before '=head1'
- SEE ALSO
- POD ERRORS
This document was created by
using the manual pages.
Time: 21:25:09 GMT, April 16, 2011