ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryMorphologicalOpeningImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef TKernel | KernelType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef TInputImage::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryMorphologicalOpeningImageFilter | Self |
typedef KernelImageFilter < TInputImage, TOutputImage, TKernel > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual PixelType | GetForegroundValue () const |
virtual const char * | GetNameOfClass () const |
virtual void | SetBackgroundValue (PixelType _arg) |
virtual void | SetForegroundValue (PixelType _arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
void | GenerateData () |
Private Member Functions | |
BinaryMorphologicalOpeningImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
PixelType | m_BackgroundValue |
PixelType | m_ForegroundValue |
virtual PixelType | GetBackgroundValue () const |
BinaryMorphologicalOpeningImageFilter () | |
~BinaryMorphologicalOpeningImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
binary morphological opening of an image.
This filter removes small (i.e., smaller than the structuring element) structures in the interior or at the boundaries of the image. The morphological opening of an image "f" is defined as: Opening(f) = Dilatation(Erosion(f)).
The structuring element is assumed to be composed of binary values (zero or one). Only elements of the structuring element having values > 0 are candidates for affecting the center pixel.
This code was contributed in the Insight Journal paper: "Binary morphological closing and opening image filters" by Lehmann G. http://hdl.handle.net/1926/141 http://www.insight-journal.org/browse/publication/58
Definition at line 55 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef SmartPointer< const Self > itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer |
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 63 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef InputImageType::Pointer itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 74 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef TInputImage itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::InputImageType |
Image related typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 70 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef TKernel itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::KernelType |
Kernel typedef.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 81 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 75 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef TOutputImage itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 73 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef TInputImage::PixelType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::PixelType |
Declaration of pixel type.
Definition at line 78 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef SmartPointer< Self > itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::Pointer |
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 62 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef BinaryMorphologicalOpeningImageFilter itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::Self |
Standard class typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 60 of file itkBinaryMorphologicalOpeningImageFilter.h.
typedef KernelImageFilter< TInputImage, TOutputImage, TKernel > itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::Superclass |
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 61 of file itkBinaryMorphologicalOpeningImageFilter.h.
itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::BinaryMorphologicalOpeningImageFilter | ( | ) | [protected] |
Set the value in eroded part of the image. Defaults to zero
itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::~BinaryMorphologicalOpeningImageFilter | ( | ) | [inline, protected] |
Set the value in eroded part of the image. Defaults to zero
Definition at line 98 of file itkBinaryMorphologicalOpeningImageFilter.h.
itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::BinaryMorphologicalOpeningImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::CreateAnother | ( | void | ) | const [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::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
void itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::GenerateData | ( | ) | [protected, virtual] |
Single-threaded version of GenerateData. This filter delegates to GrayscaleDilateImageFilter GrayscaleErodeImageFilter.
Reimplemented from itk::ImageSource< TOutputImage >.
virtual PixelType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::GetBackgroundValue | ( | ) | const [virtual] |
Set the value in eroded part of the image. Defaults to zero
virtual PixelType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::GetForegroundValue | ( | ) | const [virtual] |
Get the value in the image considered as "foreground". Defaults to maximum value of PixelType.
virtual const char* itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
static Pointer itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
void itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::operator= | ( | const Self & | ) | [private] |
kernel or structuring element to use.
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
void itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Set the value in eroded part of the image. Defaults to zero
Reimplemented from itk::KernelImageFilter< TInputImage, TOutputImage, TKernel >.
virtual void itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::SetBackgroundValue | ( | PixelType | _arg | ) | [virtual] |
Set the value in eroded part of the image. Defaults to zero
virtual void itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::SetForegroundValue | ( | PixelType | _arg | ) | [virtual] |
Set the value in the image to consider as "foreground". Defaults to maximum value of PixelType.
PixelType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::m_BackgroundValue [private] |
Definition at line 114 of file itkBinaryMorphologicalOpeningImageFilter.h.
PixelType itk::BinaryMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >::m_ForegroundValue [private] |
Definition at line 112 of file itkBinaryMorphologicalOpeningImageFilter.h.