Class MedianImageFilter


public class MedianImageFilter extends ImageFilter
Applies a median filter to an image. Computes an image where a given pixel is the median value of the the pixels in a neighborhood about the corresponding input pixel. A median filter is one of the family of nonlinear filters. It is used to smooth an image without being biased by outliers or shot noise. This filter requires that the input pixel type provides an operator<() (LessThan Comparable). See: Image Neighborhood NeighborhoodOperator NeighborhoodIterator itk::simple::Median for the procedural interface itk::MedianImageFilter for the Doxygen on the original ITK class. C++ includes: sitkMedianImageFilter.h
  • Constructor Details

    • MedianImageFilter

      protected MedianImageFilter(long cPtr, boolean cMemoryOwn)
    • MedianImageFilter

      public MedianImageFilter()
      itk::simple::MedianImageFilter::MedianImageFilter() Default Constructor that takes no arguments and initializes default parameters
  • Method Details

    • getCPtr

      protected static long getCPtr(MedianImageFilter obj)
    • swigRelease

      protected static long swigRelease(MedianImageFilter obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class ImageFilter
    • delete

      public void delete()
      virtual itk::simple::MedianImageFilter::~MedianImageFilter() Destructor
      Overrides:
      delete in class ImageFilter
    • setRadius

      public void setRadius(VectorUInt32 Radius)
      Self& itk::simple::MedianImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
    • setRadius

      public void setRadius(long value)
      Self& itk::simple::MedianImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
    • getRadius

      public VectorUInt32 getRadius()
      std::vector<unsigned int> itk::simple::MedianImageFilter::GetRadius() const
    • getName

      public String getName()
      std::string itk::simple::MedianImageFilter::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

      public String toString()
      std::string itk::simple::MedianImageFilter::ToString() const Print ourselves out
      Overrides:
      toString in class ProcessObject
    • execute

      public Image execute(Image image1)
      Image itk::simple::MedianImageFilter::Execute(const Image &image1) Execute the filter on the input image