SKEWNESS Function (PV-WAVE Extreme Advantage)
Computes the skewness of an array.
Usage
result = SKEWNESS(array)
Input Parameters
array—An array of any data type except string.
Returned Value
result—A scalar value containing the skewness of the array.
Keywords
None.
Discussion
Computes the skewness of array(k, l) as:
where mean = AVG(array) and std = STDEV(array).
The skewness is a useful measure for statistical texture analysis.
Example
; Read an image.
image = IMAGE_READ(!IP_Data + 'noise_test.tif')
; Compute the skewness of the image.
skew = SKEWNESS(image('pixels'))
PRINT, 'Skewness = ', skew
See Also