compare_nrmse
-
skimage.measure.compare_nrmse(im_true, im_test, norm_type='Euclidean')
[source] -
Compute the normalized root mean-squared error (NRMSE) between two images.
Parameters: im_true : ndarray
Ground-truth image.
im_test : ndarray
Test image.
norm_type : {‘Euclidean’, ‘min-max’, ‘mean’}
Controls the normalization method to use in the denominator of the NRMSE. There is no standard method of normalization across the literature [R259]. The methods available here are as follows:
- ‘Euclidean’ : normalize by the Euclidean norm of
im_true
. - ‘min-max’ : normalize by the intensity range of
im_true
. - ‘mean’ : normalize by the mean of
im_true
.
Returns: nrmse : float
The NRMSE metric.
References
[R259] (1, 2) https://en.wikipedia.org/wiki/Root-mean-square_deviation - ‘Euclidean’ : normalize by the Euclidean norm of
Please login to continue.