ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkMedianImageFilter.h>
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).
Definition at line 52 of file itkMedianImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Member Functions | |
MedianImageFilter (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
typedef SmartPointer< const Self > itk::MedianImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 71 of file itkMedianImageFilter.h.
typedef InputImageType::RegionType itk::MedianImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 83 of file itkMedianImageFilter.h.
typedef TInputImage itk::MedianImageFilter< TInputImage, TOutputImage >::InputImageType |
Convenient typedefs for simplifying declarations.
Definition at line 64 of file itkMedianImageFilter.h.
typedef InputImageType::PixelType itk::MedianImageFilter< TInputImage, TOutputImage >::InputPixelType |
Image typedef support.
Definition at line 77 of file itkMedianImageFilter.h.
typedef InputImageType::SizeType itk::MedianImageFilter< TInputImage, TOutputImage >::InputSizeType |
Definition at line 86 of file itkMedianImageFilter.h.
typedef OutputImageType::RegionType itk::MedianImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 84 of file itkMedianImageFilter.h.
typedef TOutputImage itk::MedianImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 65 of file itkMedianImageFilter.h.
typedef OutputImageType::PixelType itk::MedianImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 81 of file itkMedianImageFilter.h.
typedef SmartPointer< Self > itk::MedianImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 70 of file itkMedianImageFilter.h.
typedef MedianImageFilter itk::MedianImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 68 of file itkMedianImageFilter.h.
typedef ImageToImageFilter< InputImageType, OutputImageType > itk::MedianImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 69 of file itkMedianImageFilter.h.
|
protected |
End concept checking
|
inlineprotectedvirtual |
Definition at line 102 of file itkMedianImageFilter.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
MedianImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::ImageSource< TOutputImage >.
itk::MedianImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::SameDimension< InputImageDimension, OutputImageDimension > | ) |
Begin concept checking This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, OutputImageDimension > )
itk::MedianImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< InputPixelType, OutputPixelType > | ) |
This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< InputPixelType, OutputPixelType > )
itk::MedianImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::LessThanComparable< InputPixelType > | ) |
This class requires InputLessThanComparableCheck in the form of ( Concept::LessThanComparable< InputPixelType > )
|
static |
Extract dimension from input and output image.
Definition at line 58 of file itkMedianImageFilter.h.
|
static |
Extract dimension from input and output image.
Definition at line 60 of file itkMedianImageFilter.h.