ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessing Class / GaussianBlur Method / GaussianBlur(ImGearRasterPage,Double,ImGearChannelRange) Method
Page to process.
Defines the neighborhood to be considered for each pixel.
Defines image channels to apply the transform to.




In This Topic
    GaussianBlur(ImGearRasterPage,Double,ImGearChannelRange) Method
    In This Topic
    Blurs an image using Gaussian transform.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub GaussianBlur( _
       ByVal page As ImGearRasterPage, _
       ByVal radius As Double, _
       ByVal channels As ImGearChannelRange _
    ) 
    'Usage
     
    Dim page As ImGearRasterPage
    Dim radius As Double
    Dim channels As ImGearChannelRange
     
    ImGearRasterProcessing.GaussianBlur(page, radius, channels)
    public static void GaussianBlur( 
       ImGearRasterPage page,
       double radius,
       ImGearChannelRange channels
    )
    public: static void GaussianBlur( 
       ImGearRasterPage* page,
       double radius,
       ImGearChannelRange channels
    ) 
    public:
    static void GaussianBlur( 
       ImGearRasterPage^ page,
       double radius,
       ImGearChannelRange channels
    ) 

    Parameters

    page
    Page to process.
    radius
    Defines the neighborhood to be considered for each pixel.
    channels
    Defines image channels to apply the transform to.
    Remarks
    This method makes images look softer and out of focus.

    The radius parameter corresponds to the Standard Deviation (Sigma) in Gaussian transform. It can range from 0.1 to 500. Typical values for high-resolution images range from 1.0 to 2.0. Larger values will cause greater softening. On the other hand, smaller values are faster. The width of the area considered for each pixel is approximately 6 * radius.

    The method allows to specify the range of channels to blur.

    See Also