DGtalTools  1.2.0
volImageMetrics

Applies basic image measures (RMSE, PSNR) between two volumetric images A and B.

Usage: volImageMetrics –volA <volAFilename> –volB <volBFilename>

Allowed options are :

Positionals:
1 TEXT:FILE REQUIRED Input filename of volume A (vol format, and other pgm3d can also be used).
2 TEXT:FILE REQUIRED Input filename of volume B (vol format, and other pgm3d can also be used).
Options:
-h,--help Print this help message and exit
-a,--volA TEXT:FILE REQUIRED Input filename of volume A (vol format, and other pgm3d can also be used).
-b,--volB TEXT:FILE REQUIRED Input filename of volume B (vol format, and other pgm3d can also be used).

Example:

# generating another input vol file using tutorial example (eroded.vol):
$DGtal/build/examples/tutorial-examples/FMMErosion
# compare the two images:
$ volImageMetrics eroded.vol $DGtal/examples/samples/cat10.vol

You should obtain such an output:

# Image based measures (generated with volImageMetrics) given with the image A: eroded.voland the image B: /Users/kerautre/EnCours/DGtal/examples/samples/cat10.vol
#  RMSE PSNR 
 33.9411 171.331
See also
volImageMetrics.cpp