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.
NMI(x, y, numBins = 256)
NMI value between 0 and 1.
numeric array. Image 1 color intensity array.
numeric array. Image 2 (binary mask).
numeric. Number of bins for discretizing the image colors.
Paolo Inglese p.inglese14@imperial.ac.uk
Meyer, P. E. (2009). Infotheo: information-theoretic measures. R package. Version, 1(0).