DGtalTools  0.9.4
volImageMetrics

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

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

Allowed options are :

-h [ --help ] display this message.
-a [ --volA ] arg Input filename of volume A (vol format, and other pgm3d
can also be used).
-b [ --volB ] arg 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 -a eroded.vol -b $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