# GBlur

Author V. C. Mohan
Date Dec 2016

Due to various causes noise is most often present on raw images. Generating masks or detecting edges using the noisy raw image is not satisfactory. The image is to be smoothed by a preprocess.

GBlur smoothes an image by use of seperable symmetric matrix of convolution coefficients. The radius of grid can be any nimber between 3 to 8. Given the size and standard deviation, the convolution weights are computed and applied.. Input RGB and or Planar RGB all 3 colors are smoothed. In YUY2 or other YUV formats the Luma (Y) values are smoothed. However if u and or v are made true, those corresponding planes of YUV444 format are also smoothed.

Packed RGB ( 8 and 16 bit), YUY2 and 8, 16 or 32 bit Planar formats are supported. This is thread safe. MT_NICE_FILTER

Details of parameters
Description | Name | Type | Limits | Default
Input clip to be smoothed |  | clip |  | none
radius of grid to use | rad | integer | number between 3 to 8 | 3
standard deviation | sd | float | more than 0 | 1.5
is u plane smoothing required? | u | boolean | true for yes, false for no | false
is v plane smoothing required? | v | boolean | true for yes, false for no | false

Usage examples:-
GBlur()
GBlur(rad = 4,sd = 1.0, u = true, v = false)

To my index page | down loadmodPlus plugin To Avisynth