CStats:GeometricMean CStats:MaxClipMean

CStats:Kurtosis


The Kurtosis method computes the skewness parameter for a rectangular region of the image. The kurtosis measures the relative strength of the tails and core of distribution. A distribution that is flatter than the Gaussian Normal distribution is said to be "platykurtic", or flattened, whereas a distribution more centrally peaked than the Gaussian Normal distribution is said to be "leptokurtic", or narrowed. The rectangle and image must have been previously initialized for the CStats object.

Syntax

nValue, Sdev = CStats:Kurtosis()

Example

Suppose a CImage named I and a CRect named R exist. The following script fragment measures the kurtosis inside a rectangle on the image:

 

S = CStats:new()

-- create a CStats object

S:Init( I, R )

-- specify CImage and CRect to measure

nKurt = S:Kurtosis()

-- returns the kurtosis

Printf("Skewness=%lg\n", nKurt)

-- list the results

S:delete()

-- when done with S, remove it from memory

Related Topics

CStats, Skewness, CImage, CRect