DOKK / manpages / debian 12 / uprightdiff / uprightdiff.1.en
UPRIGHTDIFF(1) User Commands UPRIGHTDIFF(1)

uprightdiff - examines the differences between two images

uprightdiff [options] <input-1> <input-2> <output>

uprightdiff examines the differences between two images. It produces a visual annotation and reports statistics.

It is optimised for images which come from browser screenshots. It analyses the image for vertical motion, and annotates connected regions that have the same vertical displacement. Then it highlights any remaining ("residual") differences which are not explained by vertical motion on a pixel-by-pixel basis.

Show help message and exit
Block size for initial search (default 16)
Initial range for vertical motion detection (default 200)
Brush width when heuristically expanding blocks. A higher value gives smoother motion regions. This should be an odd number. (default 9)
The size of the outer square used for detecting isolated small features to highlight. This size defines what we mean by "isolated". It should be an odd number. (default 21)
The size of the inner square used for detecting isolated small features to highlight. This size defines what we mean by "small". It should be an odd number. (default 5)
A directory where intermediate images should be placed. This is our equivalent of debug or trace output.
Write progress info to stderr.
The output format for statistics, may be text (the default), json or none.
Annotate progress info with elapsed time.

Tim Starling <tstarling@wikimedia.org>

August 2017 uprightdiff 1.0