Spatial Filter#
This filter uses the values of neighboring pixels to filter out spatial noise in an image. The basis for this is the raw image data from the sensor (gray values). This helps to flatten bumps in planes and create smoother surfaces. Object edges are left intact.