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




In This Topic
    GaussianBlur(ImGearRasterPage,Double) 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 _
    ) 
    'Usage
     
    Dim page As ImGearRasterPage
    Dim radius As Double
     
    ImGearRasterProcessing.GaussianBlur(page, radius)
    public static void GaussianBlur( 
       ImGearRasterPage page,
       double radius
    )
    public: static void GaussianBlur( 
       ImGearRasterPage* page,
       double radius
    ) 
    public:
    static void GaussianBlur( 
       ImGearRasterPage^ page,
       double radius
    ) 

    Parameters

    page
    Page to process.
    radius
    Defines the neighborhood to be considered for each pixel.
    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 only blurs color channels of the image. If the image contains Alpha or Extra channels, the method does not blur them.

    See Also