NMI {SPUTNIK}R Documentation

Normalized mutual information (NMI).

Description

NMI returns the normalized mutual information between two ms.image objects. The normalized mutual information is calculated as the mutual information divided by square-root of the product of the entropies. This function makes use of the functions available in infotheo R package.

Usage

NMI(x, y, numBins = 256)

Arguments

x

numeric array. Image 1 color intensity array.

y

numeric array. Image 2 (binary mask).

numBins

numeric. Number of bins for discretizing the image colors.

Value

NMI value between 0 and 1.

Author(s)

Paolo Inglese p.inglese14@imperial.ac.uk

References

Meyer, P. E. (2009). Infotheo: information-theoretic measures. R package. Version, 1(0).


[Package SPUTNIK version 1.4.2 Index]