Computerhead Fusion Package IDL Library

CostMutualInformation

This function calculates a measure of similarity (the mutual information) between two equal-sized arrays of byte data. The function actually returns the negated value of mutual information, so similarity is highest when this function is minimised.

Contributed by Dr. Dennys Lau (yhlau@emb.gov.hk).

Syntax

Result = CostMutualInformation(A1, A2)

Arguments

A1

Array of byte type

A2

Array of byte type

Keywords

None.

Examples

	a1 = BIndGen(6, 6, 6)
	a2 = BIndGen(6, 6, 6)
	result = CostMutualInformation(a1, a2)

Erin McKay 2006-12-13