Learn R Programming

aws (version 2.5-6)

qmeasures: 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)

Value

A vector with names as specified in which.

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.