M-File Help: kdog View code for kdog

kdog

Difference of Gaussian kernel

k = kdog(sigma1) is a 2-dimensional difference of Gaussian kernel equal to KGAUSS(sigma1) - KGAUSS(SIGMA2), where sigma1 > SIGMA2. By default SIGMA2 = 1.6*sigma1. The kernel is centred within the matrix k whose half-width H = 3xSIGMA and W=2xH+1.

k = kdog(sigma1, sigma2) as above but sigma2 is specified directly.

k = kdog(sigma1, sigma2, H) as above but the kernel half-width is specified.

Notes

See also

kgauss, kdgauss, klog, iconv


 

© 1990-2012 Peter Corke.