Peak signal-to-noise ratio between two images.
PSNR(x, y)
x | input image. |
---|---|
y | input image. |
the peak signal-to-noise ratio
Avants BB
library( ANTsR ) r16 <- antsImageRead( getANTsRData( 'r16' ) ) r85 <- antsImageRead( getANTsRData( 'r85' ) ) psnrValue <- PSNR( r16, r85 )