skimage2.metrics#

Warning

This module is part of the experimental skimage2 namespace and is subject to change without notice. Do not use it in production code. See the migration guide for more details.

Metrics corresponding to images, e.g., distance metrics, similarity, etc.

adapted_rand_error

Compute Adapted Rand error as defined by the SNEMI3D contest.

contingency_table

Return the contingency table for all regions in matched segmentations.

hausdorff_distance

Calculate the Hausdorff distance between nonzero elements of given images.

hausdorff_pair

Returns pair of points that are Hausdorff distance apart between nonzero elements of given images.

mean_squared_error

Compute the mean-squared error between two images.

normalized_mutual_information

Compute the normalized mutual information (NMI).

normalized_root_mse

Compute the normalized root mean-squared error (NRMSE) between two images.

peak_signal_noise_ratio

Compute the peak signal to noise ratio (PSNR) for an image.

structural_similarity

Compute the mean structural similarity index between two images.

variation_of_information

Return symmetric conditional entropies associated with the VI.