laplace_of_gausslaplace_of_gaussLaplaceOfGaussLaplaceOfGausslaplace_of_gauss (Operator)

Name

laplace_of_gausslaplace_of_gaussLaplaceOfGaussLaplaceOfGausslaplace_of_gauss — LoG-Operator (Laplace of Gaussian).

Signature

laplace_of_gauss(Image : ImageLaplace : Sigma : )

Herror laplace_of_gauss(const Hobject Image, Hobject* ImageLaplace, double Sigma)

Herror T_laplace_of_gauss(const Hobject Image, Hobject* ImageLaplace, const Htuple Sigma)

void LaplaceOfGauss(const HObject& Image, HObject* ImageLaplace, const HTuple& Sigma)

HImage HImage::LaplaceOfGauss(const HTuple& Sigma) const

HImage HImage::LaplaceOfGauss(double Sigma) const

static void HOperatorSet.LaplaceOfGauss(HObject image, out HObject imageLaplace, HTuple sigma)

HImage HImage.LaplaceOfGauss(HTuple sigma)

HImage HImage.LaplaceOfGauss(double sigma)

def laplace_of_gauss(image: HObject, sigma: Union[float, int]) -> HObject

Description

laplace_of_gausslaplace_of_gaussLaplaceOfGaussLaplaceOfGaussLaplaceOfGausslaplace_of_gauss calculates the Laplace-of-Gaussian operator, i.e., the Laplace operator on a Gaussian smoothed image, for arbitrary smoothing parameters SigmaSigmaSigmaSigmasigmasigma. The Laplace operator is given by: The derivatives in laplace_of_gausslaplace_of_gaussLaplaceOfGaussLaplaceOfGaussLaplaceOfGausslaplace_of_gauss are calculated by appropriate derivatives of the Gaussian, resulting in the following formula for the convolution mask:

Attention

Note that filter operators may return may return unexpected results if an image with a reduced domain is used as input. Please refer to the chapter Filters.

Execution Information

Parameters

ImageImageImageImageimageimage (input_object)  (multichannel-)image(-array) objectHImageHObjectHImageHobject (byte / int1 / int2 / uint2 / int4 / real)

Input image.

ImageLaplaceImageLaplaceImageLaplaceImageLaplaceimageLaplaceimage_laplace (output_object)  (multichannel-)image(-array) objectHImageHObjectHImageHobject * (int2)

Laplace filtered image.

SigmaSigmaSigmaSigmasigmasigma (input_control)  number HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Smoothing parameter of the Gaussian.

Default value: 2.0

Suggested values: 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 4.0, 5.0, 7.0

Typical range of values: 0.01 ≤ Sigma Sigma Sigma Sigma sigma sigma ≤ 25.0

Minimum increment: 0.01

Recommended increment: 0.1

Example (C)

read_image(&Image,"mreut");
laplace_of_gauss(Image,&Laplace,2.0);
zero_crossing(Laplace,&ZeroCrossings);

Possible Successors

zero_crossingzero_crossingZeroCrossingZeroCrossingZeroCrossingzero_crossing, dual_thresholddual_thresholdDualThresholdDualThresholdDualThresholddual_threshold

Alternatives

laplacelaplaceLaplaceLaplaceLaplacelaplace, diff_of_gaussdiff_of_gaussDiffOfGaussDiffOfGaussDiffOfGaussdiff_of_gauss, derivate_gaussderivate_gaussDerivateGaussDerivateGaussDerivateGaussderivate_gauss

See also

derivate_gaussderivate_gaussDerivateGaussDerivateGaussDerivateGaussderivate_gauss

Module

Foundation