isotropic_diffusion — 对图像进行各向同性扩散。
isotropic_diffusion(Image : SmoothedImage : Sigma, Iterations : )
算子 isotropic_diffusion performs an isotropic
diffusion of the input image Image. This corresponds to a
convolution of the image matrix with a Gaussian mask of standard
deviation Sigma. If the parameter Iterations is
set to 0, such a convolution is performed explicitly. For
input images with a full ROI, isotropic_diffusion returns
the same results as the operator derivate_gauss when
choosing 'none' for its parameter Component. If
the gray value matrix is larger than the ROI of Image the
two operators differ since derivate_gauss takes the gray
values outside of the ROI into account, while
isotropic_diffusion mirrors the values at the boundary of
the ROI in any case. The computational complexity increases linearly
with the value of Sigma。
If Iterations has a positive value the smoothing process
is considered as an application of the heat equation
on the gray value function u with the initial value defined by the gray values of Image at a time
. This equation is then solved up to a time , which
is equivalent to the above convolution, using an iterative procedure
for parabolic partial differential equations. The computational
complexity is proportional to the value of Iterations and
independent of Sigma in this case. For small values of
Iterations, the computational accuracy is very low,
however. For this reason, choosing Iterations <
3 is not recommended.
For smaller values of Sigma, the convolution implementation
is typically the faster method. Since the runtime of the partial
differential equation solver only depends on the number of
iterations and not on the value of Sigma, it is typically
faster for large values of Sigma if few iterations are
chosen (e.g., Iterations = 3).
有关平滑滤波器概念的说明,请参阅 滤波器 / 平滑 一章的引言。
请注意,若使用域缩减后的图像作为输入,滤波器算子可能会返回意外结果。请参阅 滤波器 一章
Image (输入对象) (multichannel-)image(-array) → object (byte / uint2 / real)
输入图像。
SmoothedImage (输出对象) image(-array) → object (byte / uint2 / real)
输出图像。
Sigma (输入控制) real → (real)
Standard deviation of the Gauss distribution.
默认值: 1.0
建议值: 0.1, 0.5, 1.0, 3.0, 10.0, 20.0, 50.0
限制:
Sigma > 0
Iterations (输入控制) integer → (integer)
Number of iterations.
默认值: 10
建议值: 0, 3, 10, 100, 500
限制:
Iterations >= 0
基础