Description

Applies High-Pass filter to an image instance to bring out details and noise.

Return Type

A McImage object.  

The resulting McImage.

Syntax

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

The HighPass 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, or 7).

StrengthOptional. A Long value.

Strength factor (from 0 to 100).

vSourceImgOptional. A Variant value.

Optional input McImage.

Exceptions

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