Description

Applies Gaussian filter to an image instance to blur details and reduce noise.

Return Type

A McImage object.  

The resulting McImage.

Syntax

object.Gaussian ([lPasses], [Size], [Strength], [vSourceImg])

The Gaussian Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McEnhance.
lPassesOptional. A Long value.

Number of times to apply the filter. If not given or negative then the Passes property is used. Unless you have changed it, Passes will be 1.

SizeOptional. A Long value.

Size of convolution kernel (3, 5, 7, or 9).

StrengthOptional. A Long value.

Strength factor (from 0 to 100).

vSourceImgOptional. A Variant value.

Optional input IMcImage.

Exceptions

The exception mceINVALIDARG (E_INVALIDARG) will be thrown if one of the parameters is invalid.