ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > FilterWithUnsharpMask Method : FilterWithUnsharpMask(ImGearRasterPage,Double,Int32,Int32,ImGearChannelRange) Method |
'Declaration Public Overloads Shared Sub FilterWithUnsharpMask( _ ByVal page As ImGearRasterPage, _ ByVal radius As Double, _ ByVal amount As Integer, _ ByVal threshold As Integer, _ ByVal channels As ImGearChannelRange _ )
'Usage Dim page As ImGearRasterPage Dim radius As Double Dim amount As Integer Dim threshold As Integer Dim channels As ImGearChannelRange ImGearRasterProcessing.FilterWithUnsharpMask(page, radius, amount, threshold, channels)
public static void FilterWithUnsharpMask( ImGearRasterPage page, double radius, int amount, int threshold, ImGearChannelRange channels )
public: static void FilterWithUnsharpMask( ImGearRasterPage* page, double radius, int amount, int threshold, ImGearChannelRange channels )
public: static void FilterWithUnsharpMask( ImGearRasterPage^ page, double radius, int amount, int threshold, ImGearChannelRange channels )
// 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)