next up previous
Next: ``Anisotropic_Diffusion'' -- anisotropic Up: Filter Previous: ``Symmetric_Nearest_Neighbor'' -- symmetric

 

``Salt_and_Pepper_Removal'' -- remove salt and pepper (spike) noise

 

purpose:
If a voxel deviates from its local-neighborhood's mean intensity by > (``spread'' %10) mean, then change the voxel's intensity to the value of the mean. This is meant to reduce the noise from wildly diverging voxels (i.e., spikes).
input:
An 8-bit volume.
output:
An 8-bit volume.
parameters:
Default parameters menu is
x filter dim = 3
y filter dim = 3
z filter dim = 3
spread(%x*10 from mean)= 1
no. of iterations = 1
input from vol # = 0
copy output to vol # = 0
The parameters ``x filter dim = '', ``y filter dim = '', and ``z filter dim = '' specify the size of the local neighborhood.
comments:
 
  1. This is a moderately fast operation.



 

Philip Americus
The Multidimensional Image Processing Lab
Fri Aug 30 10:26:42 EDT 1996