laplace_of_gauss — LoG 算子(高斯拉普拉斯)。
laplace_of_gauss(Image : ImageLaplace : Sigma : )
laplace_of_gauss calculates the Laplace-of-Gaussian
operator, i.e., the Laplace operator on a Gaussian smoothed image,
for arbitrary smoothing parameters Sigma. The Laplace
operator is given by:
The derivatives in laplace_of_gauss are calculated by
appropriate derivatives of the Gaussian, resulting in the following
formula for the convolution mask:
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 滤波器。
Image (输入对象) (multichannel-)image(-array) → object (byte / int1 / int2 / uint2 / int4 / real)
输入图像。
ImageLaplace (输出对象) (multichannel-)image(-array) → object (int2)
Laplace filtered image.
Sigma (输入控制) number → (real / integer)
Smoothing parameter of the Gaussian.
默认值: 2.0
建议值: 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 4.0, 5.0, 7.0
值范围:
0.01
≤
Sigma
≤
25.0
最小增量: 0.01
建议增量: 0.1
read_image(&Image,"mreut"); laplace_of_gauss(Image,&Laplace,2.0); zero_crossing(Laplace,&ZeroCrossings);
laplace,
diff_of_gauss,
derivate_gauss
基础