Peak signal-to-noise ratio between two images.

PSNR(x, y)

Arguments

x

input image.

y

input image.

Value

the peak signal-to-noise ratio

Author

Avants BB

Examples

library( ANTsR ) r16 <- antsImageRead( getANTsRData( 'r16' ) ) r85 <- antsImageRead( getANTsRData( 'r85' ) ) psnrValue <- PSNR( r16, r85 )