Description
Applies Sharpen (Un-Sharp Mask) filter to an image instance to bring out details.
-
Return Type
-
A McImage object.
The resulting McImage.
-
Syntax
-
object.Sharpen ([lPasses], [Size], [Strength], [vSourceImg])
The Sharpen 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.
|
Exceptions
The exception mceINVALIDARG (E_INVALIDARG) will be thrown if one of the parameters is invalid.
|