B = medfilt3(A) filters the 3-D
image A with a 3-by-3-by-3 median filter. By
default, medfilt3 pads the image by replicating
the values in a mirrored way at the borders.
B = medfilt3(A,[m
n p]) performs median filtering of the 3-D image
A in three dimensions. Each output
voxel in B contains the median value in the
m-by-n-by-p
neighborhood around the corresponding voxel in
A.
B = medfilt3(___,padopt)
controls how medfilt3 pads the array
boundaries.
Display the noisy and filtered surfaces. Observe that filtered surfaces have lesser noise than the noisy surface. Also observe that when you specify zero padding, the edges of the filtered surface are rougher than the default symmetric padding.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.