Filter-GaussHat

Category: Image Filters
Author:
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
Comments: Script provides a function "image GaussFilter(image, number)". In order to have this function available from your scripts go to menu Files-> Install script, in tab dialog select "Library" and press OK. Example of call: showimage(Gaussfilter(getfrontimage(),-60))
Script version: 2.0
DM/GMS version: 3.9.0
Script written as a function: Yes
Source: Show code
Download Source Code: Download
Download Zip File: Download