ImageGear for .NET
FilterWithUnsharpMask(ImGearRasterPage,Double,Int32,Int32,ImGearChannelRange) Method
See Also  Example Send Feedback
ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > FilterWithUnsharpMask Method : FilterWithUnsharpMask(ImGearRasterPage,Double,Int32,Int32,ImGearChannelRange) Method




page
Page to filter.
radius
Radius of unsharp mask.
amount
Amount of unsharpening.
threshold
Unsharpening threshold.
channels
Channel range.

Glossary Item Box

Provides UnsharpMask filtering.

Syntax

 
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.

Remarks

This method processes a specified range of channels.

Example

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 BasicCopy 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)

See Also

©2013. Accusoft Corporation. All Rights Reserved.