ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryOpeningByReconstructionImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef TKernel | KernelType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TInputImage | OutputImageType |
typedef TInputImage::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryOpeningByReconstructionImageFilter | Self |
typedef KernelImageFilter < TInputImage, TInputImage, TKernel > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual PixelType | GetBackgroundValue () |
virtual PixelType | GetForegroundValue () |
virtual const char * | GetNameOfClass () const |
virtual void | SetBackgroundValue (PixelType _arg) |
virtual void | SetForegroundValue (PixelType _arg) |
virtual void | SetFullyConnected (bool _arg) |
virtual const bool & | GetFullyConnected () |
virtual void | FullyConnectedOn () |
virtual void | FullyConnectedOff () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
BinaryOpeningByReconstructionImageFilter () | |
void | GenerateData () |
void | GenerateInputRequestedRegion () |
void | PrintSelf (std::ostream &os, Indent indent) const |
~BinaryOpeningByReconstructionImageFilter () | |
Private Member Functions | |
BinaryOpeningByReconstructionImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
PixelType | m_BackgroundValue |
PixelType | m_ForegroundValue |
bool | m_FullyConnected |
binary morphological closing of an image.
This filter removes small (i.e., smaller than the structuring element) objects in the image. It is defined as: Opening(f) = ReconstructionByDilatation(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 implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 49 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef SmartPointer<const Self> itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::ConstPointer |
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 58 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef InputImageType::Pointer itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 69 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef TInputImage itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::InputImageType |
Image related typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 65 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef TKernel itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::KernelType |
Kernel typedef.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 76 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 70 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef TInputImage itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 68 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef TInputImage::PixelType itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::PixelType |
Declaration of pixel type.
Definition at line 73 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef SmartPointer<Self> itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::Pointer |
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 57 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef BinaryOpeningByReconstructionImageFilter itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::Self |
Standard class typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 54 of file itkBinaryOpeningByReconstructionImageFilter.h.
typedef KernelImageFilter<TInputImage, TInputImage, TKernel> itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::Superclass |
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 56 of file itkBinaryOpeningByReconstructionImageFilter.h.
itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::BinaryOpeningByReconstructionImageFilter | ( | ) | [protected] |
itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::~BinaryOpeningByReconstructionImageFilter | ( | ) | [inline, protected] |
Definition at line 106 of file itkBinaryOpeningByReconstructionImageFilter.h.
itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::BinaryOpeningByReconstructionImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::BinaryOpeningByReconstructionImageFilter< TInputImage, 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, TInputImage, TKernel >.
virtual void itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::FullyConnectedOff | ( | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
virtual void itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::FullyConnectedOn | ( | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
void itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::GenerateData | ( | ) | [protected, virtual] |
Single-threaded version of GenerateData. This filter delegates to GrayscaleDilateImageFilter GrayscaleErodeImageFilter.
Reimplemented from itk::ImageSource< TInputImage >.
void itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::GenerateInputRequestedRegion | ( | ) | [protected, virtual] |
BinaryOpeningByReconstructionImageFilter need to make sure they request enough of an input image to account for the structuring element size. The input requested region is expanded by the radius of the structuring element. If the request extends past the LargestPossibleRegion for the input, the request is cropped by the LargestPossibleRegion.
Reimplemented from itk::BoxImageFilter< TInputImage, TInputImage >.
virtual PixelType itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::GetBackgroundValue | ( | ) | [virtual] |
Set the value in eroded part of the image. Defaults to zero
virtual PixelType itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::GetForegroundValue | ( | ) | [virtual] |
Get the value in the image considered as "foreground". Defaults to maximum value of PixelType.
virtual const bool& itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::GetFullyConnected | ( | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
virtual const char* itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
static Pointer itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
void itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::operator= | ( | const Self & | ) | [private] |
kernel or structuring element to use.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
void itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
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::KernelImageFilter< TInputImage, TInputImage, TKernel >.
virtual void itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::SetBackgroundValue | ( | PixelType | _arg | ) | [virtual] |
Set the value in eroded part of the image. Defaults to zero
virtual void itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::SetForegroundValue | ( | PixelType | _arg | ) | [virtual] |
Set the value in the image to consider as "foreground". Defaults to maximum value of PixelType.
virtual void itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::SetFullyConnected | ( | bool | _arg | ) | [virtual] |
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
PixelType itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::m_BackgroundValue [private] |
Definition at line 126 of file itkBinaryOpeningByReconstructionImageFilter.h.
PixelType itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::m_ForegroundValue [private] |
Definition at line 124 of file itkBinaryOpeningByReconstructionImageFilter.h.
bool itk::BinaryOpeningByReconstructionImageFilter< TInputImage, TKernel >::m_FullyConnected [private] |
Definition at line 128 of file itkBinaryOpeningByReconstructionImageFilter.h.