| image = | laplacianDoG2dImg (inImg,inStdDev) |
| image = | laplacianDoG2dImg (inImg,inStdDev,inOptStdDevFactor,inOptSmoothingGaussianCoverage) |
laplacian algorithm of input 2d image using a difference of gaussian approximation
This image filter computes a blurred approximation of laplacian of an image. This is a band-pass filter which can be used to enhance edges present in an image while reducing noise. A major drawback of this filter is the resulting overall image contrast reduction. It can be combined with a zero crossing detection algorithm to automatically detect edges.
Given a gaussian smoothing operation on an input image
using standard deviation
:
(see Gaussian Smoothing 2d for more informations)
Laplacian with difference of gaussian approximation algorithm defines an excitatory (
) and an inhibitory (
) standard deviation to compute its output :
Some examples of a laplacian DoG operation applied to an 8-bits grey levels input image are presented in the following.
:
:
:
In these examples we can see that an increase of
parameter allows to reduce output image noise. This parameter has also an influence on "edge valley width" :