#include <itkBinaryMedianImageFilter.h>
Inheritance diagram for itk::BinaryMedianImageFilter:
Public Types | |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef BinaryMedianImageFilter | Self |
typedef ImageToImageFilter< InputImageType, OutputImageType > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::PixelType | InputPixelType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef InputImageType::SizeType | InputSizeType |
Public Methods | |
virtual const char * | GetClassName () const |
virtual void | SetRadius (InputSizeType _arg) |
virtual const InputSizeType & | GetRadius () |
virtual void | GenerateInputRequestedRegion () throw (InvalidRequestedRegionError) |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
virtual void | SetBackgroundValue (InputPixelType _arg) |
virtual void | SetForegroundValue (InputPixelType _arg) |
virtual const InputPixelType & | GetBackgroundValue () |
virtual const InputPixelType & | GetForegroundValue () |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
BinaryMedianImageFilter () | |
virtual | ~BinaryMedianImageFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
This filter was contributed by Bjorn Hanch Sollie after identifying that the generic Median filter performed unecessary operations when the input image is binary.
This filter Computes an image where a given pixel is the median value of the pixels in a neighborhood about the corresponding input pixel. For the case of binary images the median can be obtained by simply conting the neigbors that are foreground.
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.
Definition at line 48 of file itkBinaryMedianImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 67 of file itkBinaryMedianImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 79 of file itkBinaryMedianImageFilter.h. |
|
Convenient typedefs for simplifying declarations. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 60 of file itkBinaryMedianImageFilter.h. |
|
Image typedef support. Definition at line 76 of file itkBinaryMedianImageFilter.h. |
|
Definition at line 82 of file itkBinaryMedianImageFilter.h. |
|
Superclass typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 80 of file itkBinaryMedianImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 61 of file itkBinaryMedianImageFilter.h. |
|
Definition at line 77 of file itkBinaryMedianImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 66 of file itkBinaryMedianImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 64 of file itkBinaryMedianImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 65 of file itkBinaryMedianImageFilter.h. |
|
|
|
Definition at line 113 of file itkBinaryMedianImageFilter.h. |
|
BinaryMedianImageFilter needs a larger input requested region than the output requested region. As such, BinaryMedianImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Get the value associated with the Foreground (or the object) on the binary input image and the Background . |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Get the value associated with the Foreground (or the object) on the binary input image and the Background . |
|
Get the radius of the neighborhood used to compute the median |
|
Extract dimension from input and output image. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Extract dimension from input and output image. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Set the value associated with the Foreground (or the object) on the binary input image and the Background . |
|
Set the value associated with the Foreground (or the object) on the binary input image and the Background . |
|
Set the radius of the neighborhood used to compute the median. |
|
BinaryMedianImageFilter 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 >. |