LaplacianGaussianFilter
LaplacianGaussianFilter[data,r]
convolves data with a Laplacian of Gaussian kernel of pixel radius r.
LaplacianGaussianFilter[data,{r,σ}]
convolves data with a Laplacian of Gaussian kernel of radius r and standard deviation σ.
Details and Options
- LaplacianGaussianFilter is a derivative filter that uses Gaussian smoothing to regularize the evaluation of discrete derivatives. It is commonly used to detect edges in images.
- The data can be any of the following:
-
list arbitrary-rank numerical array tseries temporal data such as TimeSeries, TemporalData, … image arbitrary Image or Image3D object audio an Audio object - LaplacianGaussianFilter[data,r] uses standard deviation .
- LaplacianGaussianFilter[data,{{r1,r2,…},…}] specifies different radii in different dimensions of data.
- LaplacianGaussianFilter[image,…] by default gives image of a real type of the same dimensions as image.
- The following options can be specified:
-
Method "Bessel" how to determine elements of the Gaussian matrix Padding "Fixed" padding method Standardized True whether to rescale and shift the Gaussian matrix to account for truncation WorkingPrecision Automatic the precision to use - With a setting Padding->None, LaplacianGaussianFilter[data,…] normally returns an array, audio or image smaller than data.
Examples
open allclose allBasic Examples (3)
Scope (8)
Data (4)
Laplacian of Gaussian filtering of a numeric matrix:
Filter a TimeSeries object:
Filter an Audio signal:
Parameters (4)
Laplacian of Gaussian filtering of a step sequence:
Apply the Laplacian of Gaussian filter in the vertical direction only:
Use different radii in the vertical direction:
Laplacian of Gaussian derivative of a 3D image in the vertical direction only:
Filtering of the horizontal planes only:
Options (7)
Method (1)
Padding (2)
LaplacianGaussianFilter using different padding methods:
Padding->None normally returns an image smaller than the input image:
Standardized (1)
The default setting is True:
Use Standardized->False:
WorkingPrecision (3)
MachinePrecision is used by default with integer arrays:
Perform an exact computation instead:
With real arrays, by default, the precision of the input is used:
WorkingPrecision is ignored when filtering images:
Applications (4)
Detect edges by finding the zero crossings of a LoG filtered image:
Segment an image by applying a LoG filter to the output of a distance transform:
Use LaplacianGaussianFilter to denoise an audio signal:
Properties & Relations (6)
LaplacianGaussianFilter is a linear filter:
LaplacianGaussianFilter is the result of a convolution:
Perform LaplacianGaussianFilter using GaussianFilter:
Impulse responses of Laplacian of Gaussian filter for selected radii:
Impulse responses of Laplacian of Gaussian filter for selected standard deviations:
Text
Wolfram Research (2008), LaplacianGaussianFilter, Wolfram Language function, https://reference.wolfram.com/language/ref/LaplacianGaussianFilter.html (updated 2016).
CMS
Wolfram Language. 2008. "LaplacianGaussianFilter." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/LaplacianGaussianFilter.html.
APA
Wolfram Language. (2008). LaplacianGaussianFilter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LaplacianGaussianFilter.html