ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryClosingByReconstructionImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputPixelType |
typedef TKernel | KernelType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TInputImage | OutputImageType |
typedef TInputImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryClosingByReconstructionImageFilter | Self |
typedef KernelImageFilter < TInputImage, TInputImage, TKernel > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual InputPixelType | GetForegroundValue () |
virtual const char * | GetNameOfClass () const |
virtual void | SetForegroundValue (InputPixelType _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 | |
BinaryClosingByReconstructionImageFilter () | |
void | GenerateData () |
void | GenerateInputRequestedRegion () |
void | PrintSelf (std::ostream &os, Indent indent) const |
~BinaryClosingByReconstructionImageFilter () | |
Private Member Functions | |
BinaryClosingByReconstructionImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
InputPixelType | m_ForegroundValue |
bool | m_FullyConnected |
binary closing by reconstruction of an image.
This filter removes small (i.e., smaller than the structuring element) holes in the image. It is defined as: Closing(f) = ReconstructionByErosion(Dilation(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 itkBinaryClosingByReconstructionImageFilter.h.
typedef SmartPointer<const Self> itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::ConstPointer |
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 58 of file itkBinaryClosingByReconstructionImageFilter.h.
typedef InputImageType::Pointer itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 69 of file itkBinaryClosingByReconstructionImageFilter.h.
typedef TInputImage itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::InputImageType |
Image related typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 65 of file itkBinaryClosingByReconstructionImageFilter.h.
typedef TInputImage::PixelType itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::InputPixelType |
Declaration of pixel type.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 73 of file itkBinaryClosingByReconstructionImageFilter.h.
typedef TKernel itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::KernelType |
Kernel typedef.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 77 of file itkBinaryClosingByReconstructionImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 70 of file itkBinaryClosingByReconstructionImageFilter.h.
typedef TInputImage itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 68 of file itkBinaryClosingByReconstructionImageFilter.h.
typedef TInputImage::PixelType itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::OutputPixelType |
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 74 of file itkBinaryClosingByReconstructionImageFilter.h.
typedef SmartPointer<Self> itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::Pointer |
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 57 of file itkBinaryClosingByReconstructionImageFilter.h.
typedef BinaryClosingByReconstructionImageFilter itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::Self |
Standard class typedefs.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 54 of file itkBinaryClosingByReconstructionImageFilter.h.
typedef KernelImageFilter<TInputImage, TInputImage, TKernel> itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::Superclass |
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
Definition at line 56 of file itkBinaryClosingByReconstructionImageFilter.h.
itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::BinaryClosingByReconstructionImageFilter | ( | ) | [protected] |
itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::~BinaryClosingByReconstructionImageFilter | ( | ) | [inline, protected] |
Definition at line 100 of file itkBinaryClosingByReconstructionImageFilter.h.
itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::BinaryClosingByReconstructionImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::BinaryClosingByReconstructionImageFilter< 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::BinaryClosingByReconstructionImageFilter< 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::BinaryClosingByReconstructionImageFilter< 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::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::GenerateData | ( | ) | [protected, virtual] |
Single-threaded version of GenerateData. This filter delegates to GrayscaleDilateImageFilter GrayscaleErodeImageFilter.
Reimplemented from itk::ImageSource< TInputImage >.
void itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::GenerateInputRequestedRegion | ( | ) | [protected, virtual] |
BinaryClosingByReconstructionImageFilter 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 InputPixelType itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::GetForegroundValue | ( | ) | [virtual] |
Get the value in the image considered as "foreground". Defaults to maximum value of InputPixelType.
virtual const bool& itk::BinaryClosingByReconstructionImageFilter< 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::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
static Pointer itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
void itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::operator= | ( | const Self & | ) | [private] |
kernel or structuring element to use.
Reimplemented from itk::KernelImageFilter< TInputImage, TInputImage, TKernel >.
void itk::BinaryClosingByReconstructionImageFilter< 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::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::SetForegroundValue | ( | InputPixelType | _arg | ) | [virtual] |
Set the value in the image to consider as "foreground". Defaults to maximum value of InputPixelType.
virtual void itk::BinaryClosingByReconstructionImageFilter< 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.
InputPixelType itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::m_ForegroundValue [private] |
Definition at line 118 of file itkBinaryClosingByReconstructionImageFilter.h.
bool itk::BinaryClosingByReconstructionImageFilter< TInputImage, TKernel >::m_FullyConnected [private] |
Definition at line 120 of file itkBinaryClosingByReconstructionImageFilter.h.