imgaussfilt3
3-D Gaussian filtering of 3-D images
Description
uses name-value pair arguments to control aspects
of the filtering.B
= imgaussfilt3(___,Name,Value
)
Examples
Input Arguments
Output Arguments
Tips
If image
A
containsInf
s orNaN
s, then the behavior ofimgaussfilt3
for frequency domain filtering is undefined. This can happen if you set theFilterDomain
argument to"frequency"
or if you set it to"auto"
andimgaussfilt3
uses frequency domain filtering. To restrict the propagation ofInf
s andNaN
s in the output in a manner similar toimfilter
, consider setting theFilterDomain
argument to"spatial"
.If you set the
FilterDomain
argument to"auto"
, thenimgaussfilt3
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
Padding
argument, thenimgaussfilt3
uses"replicate"
padding by default, which is different from the default used byimfilter
.