This filter is commonly used for noise reduction. The value of each output pixel is the statistical mean of the neighborhood of that pixel. itkMedianImage This is a noise reduction filter, particulary robust to the presence of graylevel outliers. The value of each output pixel is the statistical median of the neighborhood of values around the corresponding input pixel. Usage: itkMeanImage inputImageFile outputImageFile dimension Below are pictures of the original image, and the image filtered with the itkMeanImage, and then the image filtered with the itkMedianImage.
ITK implements several mathematical morphology filters, that operate either on binary images or grayscale images. Usage: itkBinaryDilateImage inputImageFile outputImageFile dimension The images below show the original and the filtered pictures:
Usage: itkBinaryErodeImage inputImageFile outputImageFile dimension The images below show the original and the filtered pictures:
Usage: itkGrayscaleErodeImage inputImageFile outputImageFile dimension The images below show the original and the filtered pictures:
Usage: itkGrayscaleDilateImage inputImageFile outputImageFile dimension The images below show the original and the filtered pictures:
