3-D Gaussian filtering of 3-D images
uses name-value pair arguments to control aspects
of the filtering.B
= imgaussfilt3(___,Name,Value
)
If image A
contains
Inf
s or
NaN
s, then the behavior of
imgaussfilt3
for frequency
domain filtering is undefined. This can happen if
you set the
'
parameter to FilterDomain
''frequency'
or if
you set it to 'auto'
and
imgaussfilt3
uses frequency
domain filtering. To restrict the propagation of
Inf
s and
NaN
s in the output in a manner
similar to imfilter
, consider setting the
'FilterDomain'
parameter to
'spatial'
.
If you set the
'FilterDomain'
parameter to
'auto'
, then
imgaussfilt3
uses an internal
heuristic to determine whether spatial or
frequency domain filtering is faster. This
heuristic is machine-dependent and may vary for
different configurations. For optimal performance,
try both options, 'spatial'
and
'frequency'
, to determine the
best filtering domain for your image and kernel
size.
If you do not specify the
'
parameter, then Padding
'imgaussfilt3
uses 'replicate'
padding by
default, which is different from the default used
by imfilter
.