Images comparaison
Brief Description
Estimator between 2 images.
Tags
Statistics
Long Description
This application computes MSE (Mean Squared Error), MAE (Mean Absolute Error) and PSNR(Peak Signal to Noise Ratio) between the channel of two images (reference and measurement). The user has to set the used channel and can specified an ROI.
Parameters
[group] Reference image properties (-ref):
[param] Reference image (-in): Image used as reference in the comparaison
[param] Reference image channel (-channel): Used channel for the reference image
[group] Measured image properties (-meas):
[param] Measured image (-in): Image used as measured in the comparaison
[param] Measured image channel (-channel): Used channel for the measured image
[group] Region Of Interest (-roi):
[param] Start X (-startx): ROI start x position.
[param] Start Y (-starty): ROI start y position.
[param] Size X (-sizex): size along x in pixels.
[param] Size Y (-sizey): size along y in pixels.
[param] MSE (-mse): Mean Squared Error value
[param] MAE (-mae): Mean Absolute Error value
[param] PSNR (-psnr): Peak Signal to Noise Ratio value
Limitations
None
Authors
OTB-Team
See also
BandMath application, ImageStatistics application
Example of use
Reference image: GomaApres.png
Reference image channel: 1
Measured image: GomaAvant.png
Measured image channel: 2
Start X: 20
Start Y: 30
Size X: 150
Size Y: 200
otbcli_CompareImages -ref.in GomaApres.png -ref.channel 1 -meas.in GomaAvant.png -meas.channel 2 -roi.startx 20 -roi.starty 30 -roi.sizex 150 -roi.sizey 200