Estimator between 2 images.
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 specify a ROI.
This section describes in details the parameters available for this application. Table 4.160, page 817 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is CompareImages.
Parameter key | Parameter type |
Parameter description |
ref | Group |
Reference image properties |
ref.in | Input image |
Reference image |
ref.channel | Int |
Reference image channel |
meas | Group |
Measured image properties |
meas.in | Input image |
Measured image |
meas.channel | Int |
Measured image channel |
roi | Group |
Region Of Interest (relative to reference image) |
roi.startx | Int |
Start X |
roi.starty | Int |
Start Y |
roi.sizex | Int |
Size X |
roi.sizey | Int |
Size Y |
mse | Float |
MSE |
mae | Float |
MAE |
psnr | Float |
PSNR |
inxml | XML input parameters file |
Load otb application from xml file |
outxml | XML output parameters file |
Save otb application to xml file |
|
||
|
||
|
||
|
||
|
Region Of Interest (relative to reference image)
PSNR Peak Signal to Noise Ratio value
Load otb application from xml file Load otb application from xml file
Save otb application to xml file Save otb application to xml file
To run this example in command-line, use the following:
To run this example from Python, use the following code snippet:
None
This application has been written by OTB-Team.
These additional ressources can be useful for further information: