UNIFORMITY Function
Computes the uniformity of an array.
Usage
result = UNIFORMITY(array)
Input Parameters
array—An array of any data type except string.
Returned Value
result—A floating point scalar value that is the array uniformity.
Keywords
None.
Discussion
The uniformity of an array is defined as:
for an array, array(N, M).
Uniformity is a useful statistical measure for textural analysis.
Example
; Read an image.
image = IMAGE_READ(!IP_Data + 'noise_test.tif')
; Compute the uniformity of the image.
uniform = UNIFORMITY(image('pixels'))
PRINT, 'Uniformity = ', uniform
See Also