ImageGear23.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > GaussianBlur Method : GaussianBlur(ImGearRasterPage,Double,ImGearChannelRange) Method |
'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 )
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.