Provides UnsharpMask filtering.
Syntax
Parameters
- page
- Page to filter.
- radius
- Radius of unsharp mask.
- amount
- Amount of unsharpening.
- threshold
- Unsharpening threshold.
- channels
- Channel range.
Example
// Channel range to calculate.
ImGearChannelRange igChannelRange = new ImGearChannelRange(0, igRasterPage.DIB.ChannelCount);
// Apply an unsharp mask to the image with a radius of 7.5, strength of 100, and threshold of 30
ImGearRasterProcessing.FilterWithUnsharpMask(igRasterPage, 7.5, 100, 30, igChannelRange);
' Channel range to calculate.
Dim igChannelRange As New ImGearChannelRange(0, igRasterPage.DIB.ChannelCount)
' Apply an unsharp mask to the image with a radius of 7.5, strength of 100, and threshold of 30
ImGearRasterProcessing.FilterWithUnsharpMask(igRasterPage, 7.5, 100, 30, igChannelRange)
See Also