Compare images and displays differences (squared and absolute differences).
Usage: 2dCompImage –imageA <imageA>.pgm –imageB <imageB>.pgm –imageError <name>
Allowed options are :
-h [ --help ] display this message
-a [ --imageA ] arg Input filename of image A.
-b [ --imageB ] arg Input filename of image B.
-e [ --imageError ] arg Output
error image basename (will generate
two images <basename>MSE.ppm and
<basename>MAE.ppm).
-S [ --setMaxColorValueMSE ] arg Set the maximal color value for the scale
display of MSE (else the scale is set the
maximal MSE value).
-A [ --setMaxColorValueMAE ] arg Set the maximal color value for the scale
display of MAE (else the scale is set from
the maximal MAE value).
Example: Typical use example:
2dCompImage -a imageA.pgm -b imageB.pgm -e errorImage -S 100
You should obtain such a visualisation:
resulting visualisation of absolute error between two images.
- See also
- 2dCompImage.cpp