ImageGear PDF v25.1 - Updated
Sharpen(ImGearRasterPage,Int32,ImGearChannelRange) Method
Example 




ImageGear.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > Sharpen Method : Sharpen(ImGearRasterPage,Int32,ImGearChannelRange) Method
Image to sharpen.
Sharpen factor. Allowed values are from 1 to 7 inclusive. For any factor beyond this range the method will do nothing. The larger this factor, the sharper image will become.
Channel range to sharpen.
Sharpens an image according to the specified sharpen factor.
Syntax
'Declaration
 
Public Overloads Shared Sub Sharpen( _
   ByVal page As ImGearRasterPage, _
   ByVal factor As Integer, _
   ByVal channels As ImGearChannelRange _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim factor As Integer
Dim channels As ImGearChannelRange
 
ImGearRasterProcessing.Sharpen(page, factor, channels)
public static void Sharpen( 
   ImGearRasterPage page,
   int factor,
   ImGearChannelRange channels
)
public: static void Sharpen( 
   ImGearRasterPage* page,
   int factor,
   ImGearChannelRange channels
) 
public:
static void Sharpen( 
   ImGearRasterPage^ page,
   int factor,
   ImGearChannelRange channels
) 

Parameters

page
Image to sharpen.
factor
Sharpen factor. Allowed values are from 1 to 7 inclusive. For any factor beyond this range the method will do nothing. The larger this factor, the sharper image will become.
channels
Channel range to sharpen.
Remarks
This method processes a specified range of channels.

Can be applied only to raster pages with standard (non Run-Ends) DIB.

Example
// Sharpen the first channel of an image by a factor of 3.
ImGearRasterProcessing.Sharpen(igRasterPage, 3, new ImGearChannelRange(0, 1));
' Sharpen the first channel of an image by a factor of 3.
ImGearRasterProcessing.Sharpen(igRasterPage, 3, New ImGearChannelRange(0, 1))
See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
Overload List
ImGearRasterPage Class
ImGearChannelRange Structure