error: Error measurements of images

Description Usage Arguments Functions Examples

Description

This function calculates error between two images

Usage

1
2
3
4
5
MSE(x, y = NULL)

MAE(x, y = NULL)

PSNR(x, y)

Arguments

x, y

cimg objects

Functions

Examples

1
2
3
4
5
6
7
degraded.lenna <- degrade(lenna, noise = 0.05)
MSE(lenna, degraded.lenna)
MAE(lenna, degraded.lenna)
PSNR(lenna, degraded.lenna)
#alternatively it can be done like:
MSE(lenna - degraded.lenna)
MAE(lenna - degraded.lenna)

redR documentation built on May 2, 2019, 3:47 p.m.

Related to error in redR...