Mean absolute error of a single image or between two images.

MAE(x, y = NULL)

Arguments

x

input image.

y

input image.

Value

the mean absolute error

Author

Avants BB (from redr)

Examples

library( ANTsR ) r16 <- antsImageRead( getANTsRData( 'r16' ) ) r85 <- antsImageRead( getANTsRData( 'r85' ) ) maeValue <- MAE( r16, r85 )