DOUBLEMASK *im_log_dmask( name, sigma, min_amplitude )
char *name;
double sigma, min_amplitude;
INTMASK *im_log_imask( name, sigma, min_amplitude )
char *name;
double sigma, min_amplitude;
The program uses the following equation: (from Handbook of Pattern Recognition and image processing by Young and Fu, AP 1986 pages 220-221):
H(r) = (1 / (2 * M_PI * s4)) *
(2 - (r2 / s2)) *
exp(-r2 / (2 * s2))
where s2 = sigma * sigma, s4=s2 * s2, r2 = r * r. The generated mask has odd size and its maximum value is normalised to either 100 (log_imask) or to 1.0 (log_dmask)
im_log_dmask() creates a DOUBLEMASK laplacian of Gaussian mask with maximum value normalised to 1.0.
im_log_imask() creates a INTMASK laplacian of Gaussian mask with maximum value normalised to 100.