qmeasures {aws}R Documentation

Quality assessment for image reconstructions.

Description

Computes selected criteria for quality assessments of

Usage

qmeasures(img, ref,
  which = c("PSNR", "MAE", "MSE", "RMSE", "SSIM", "MAGE", "RMSGE"),
  mask = FALSE)

Arguments

img

2D/3D image, object of class "aws", "ICIsmooth", "kernsm", "nlmeans" or array.

ref

Reference image (array, matrix or vector) for comparison.

which

Criterion to use for Quality assessment. Please specify a subset of "PSNR" (Peak Signal to Noise Ratio), "MAE" (Mean Absolute Error), "MSE" (Mean Squared Error), "RMSE" (Root Mean Squared Error), "SSIM" (Structural SIMilarity), "MAGE" (Mean Absolute Gradient Error), "RMSGE" (Root Mean Squared Gradient Error).

mask

Logical of same dimension as img/ref. Calculation can be restricted to mask.

Details

Calculates specified quality indices.

Value

A vector with names as specified in which.

Author(s)

Joerg Polzehl, polzehl@wias-berlin.de, http://www.wias-berlin.de/people/polzehl/


[Package aws version 2.5-1 Index]