W = smooth3(V)
W = smooth3(V, method)
W = smooth3(V, method, windowSize)
W = smooth3(V, method, windowSize, sd)
| 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. |
| Parameter | Description |
|---|---|
| W | Smoothed double array with the same size as V. |
smooth3 smooths volumetric data with a separable 3-D box or gaussian kernel and replicated boundary values.
V = rand(10, 10, 10);
W = smooth3(V, 'gaussian', 5);