MG Library

Library of Michael Galloy

single page | use frames     summary     class     fields     routine details     file attributes

math/

mg_local_moment.pro

topmg_local_moment

result = mg_local_moment(image, width [, /double] [, sdev=2D float/double array] [, variance=2D float/double array] [, skewness=2D float/double array] [, kurtosis=2D float/double array] [, /edge_truncate] [, /edge_wrap] [, /edge_zero])

Computes the local moments for a given window size for an array.

Return value

the local mean

Parameters

image in required type=2D numeric array

original image; will be converted to float or double

width in required

size of window

Keywords

double in optional type=boolean

set to do computations as doubles

sdev out optional type=2D float/double array

local standard deviation

variance out optional type=2D float/double array

local variance

skewness out optional type=2D float/double array

local skewness

kurtosis out optional type=2D float/double array

local kurtosis

edge_truncate in optional type=boolean

compute edge values by repeating

edge_wrap in optional type=boolean

compute edge values by padding array with zeros

edge_zero in optional type=boolean

compute edge values by wrapping

Other attributes

Requires:

IDL 6.2

File attributes

Modification date: Tue Nov 20 11:24:27 2007
Lines: 71