Description: |
This function performs convolution with Gaussian hat, i.e. smoothing of the image, i.e. low pass filtering with soft mask. The number, passed as a parameter, is a halfwidth of a Gaussian kernel in pixels.
If the negative value is entered, a complementary high pass filter is applied. Image can be of any type (real, RGB, complex, packed complex), no restrictions for the dimensions, i.e. not necessary to have powers of 2.
Function returns filtered image of a type:
for any real or integer input - real 8,
for any complex input - complex 16,
for RGB - RGB |