NMI | R Documentation |
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)
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. |
NMI value between 0 and 1.
Paolo Inglese p.inglese14@imperial.ac.uk
Meyer, P. E. (2009). Infotheo: information-theoretic measures. R package. Version, 1(0).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.