smooth3
Smooth 3-D data.
📝Syntax
W = smooth3(V)
W = smooth3(V, method)
W = smooth3(V, method, windowSize)
W = smooth3(V, method, windowSize, sd)
📥Input Arguments
Parameter Description
V Real numeric or logical 3-D volume data.
method Smoothing method: 'box' or 'gaussian'. The default is 'box'.
windowSize Positive odd integer scalar or three-element vector. The default is [3 3 3].
sd Positive standard deviation for the gaussian method. The default is 0.65.
📤Output Arguments
Parameter Description
W Smoothed double array with the same size as V.
📄Description

smooth3 smooths volumetric data with a separable 3-D box or gaussian kernel and replicated boundary values.

💡Examples
Smooth a small volume with a gaussian kernel.
V = rand(10, 10, 10);
W = smooth3(V, 'gaussian', 5);
🔗See Also
isosurfaceisonormalspatch
Edit this page on GitHub