DOUBLEMASK im_gauss_dmask( name, sigma, min_amplitude )
char *name;
double sigma, min_amplitude;
INTMASK im_gauss_imask( name, sigma, min_amplitude )
char *name;
double sigma, min_amplitude;
INTMASK im_gauss_imask_sep( name, sigma, min_amplitude )
char *name;
double sigma, min_amplitude;
The program uses the following equation:
H(r) = exp( -(r * r) / (2 * sigma * sigma) ).
The generated mask has odd size and its maximum value is normalised to either 100 (gauss_imask) or to 1.0 (gauss_dmask).
im_gauss_dmask(3) creates a DOUBLEMASK laplacian of Gaussian mask with maximum value normalised to 1.0.
im_gauss_imask(3) creates a INTMASK laplacian of Gaussian mask with maximum value normalised to 100.
im_gauss_imask_sep(3) returns the centre line of im_gauss_imask(3). It is convenient for use with im_conv_sep(3) for building fast gaussian blur or sharpen.