Table of Contents

NAME

datdist - calculate the distortion between two DAT files

SYNOPSIS

datdist [-vo] [-mse] [-psnr] datfile1 datfile2

OPTIONS

-vo
Output only the value of the distortion (terse output).
-mse
Express the distortion in terms of MSE.
-psnr
Express the distortion in terms of PSNR.

DESCRIPTION

datdist prints the mean square error (MSE) or peak signal-to-noise ratio (PSNR) between DAT-format files datfile1 and datfile2 to stdout.

The options -mse and -psnr indicate in which form the distortion should be expressed. If neither of these options are specified, datdist prints the distortion in both forms.

If the option -vo is specified, then datdist prints a terse output, consisting of only the value of the distortion, to stdout. One of the options -mse or -psnr must be specified in this case.

For the calculation of PSNR, datfile1 is considered the original signal; datdist thus uses max - min as the peak-to-peak range of datfile1, where max and min are specified in the header of datfile1 (see QccPack(1) ).

SEE ALSO

imgdist(1) , QccDatasetMSE(3) , QccDataset(3) , QccPack(3)

AUTHOR

Copyright (C) 1997-2021 James E. Fowler


Table of Contents



Get QccPack at SourceForge.net. Fast, secure and Free Open Source software downloads