Description
Applies a Despeckle filter to an image instance.
-
Return Type
-
A McImage object.
The resulting McImage.
-
Syntax
-
object.Despeckle ([lPasses], [Size], [Strength], [vSourceImg])
The Despeckle Method syntax has these parts: |
| object | An expression evaluating to an object of type McEnhance. | | lPasses | Optional. 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.
| | Size | Optional. A Long value. Size of convolution kernel (3, 5, or 7).
| | Strength | Optional. A Long value. Strength factor (from 0 to 100).
| | vSourceImg | Optional. A Variant value. Optional input IMcImage.
| Remarks
This filter reduces impulse noise.
Exceptions
The exception mceINVALIDARG (E_INVALIDARG) will be thrown if one of the parameters is invalid.
|