Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- page
- Page to filter.
- radius
- Radius of unsharp mask.
- amount
- Amount of unsharpening.
- threshold
- Unsharpening threshold.
- channels
- Channel range.
This method processes a specified range of channels.
C# | Copy Code |
---|---|
// 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); |
Visual Basic | Copy Code |
---|---|
' 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) |