ImageGear v26.5 - Updated March 3, 2025
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessing Class / Smooth Method / Smooth(ImGearRasterPage,Int32,ImGearChannelRange) Method
Image to process.
Smooth factor. Allowed values are from 0 to 4 inclusive. For any factor beyond this range a value of 4 will be used. The larger this factor, the smoother image will become.
Channel range to process.
Example




Smooth(ImGearRasterPage,Int32,ImGearChannelRange) Method
Provides smooth filtering.
Syntax
'Declaration
 
Public Overloads Shared Sub Smooth( _
   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.Smooth(page, factor, channels)

Parameters

page
Image to process.
factor
Smooth factor. Allowed values are from 0 to 4 inclusive. For any factor beyond this range a value of 4 will be used. The larger this factor, the smoother image will become.
channels
Channel range to process.
Remarks
Processes specified range of channels.

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

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