ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryFillholeImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TInputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryFillholeImageFilter | Self |
typedef ImageToImageFilter < TInputImage, TInputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual InputImagePixelType | GetForegroundValue () |
virtual const char * | GetNameOfClass () const |
virtual void | SetForegroundValue (InputImagePixelType _arg) |
typedef (Concept::OStreamWritable< InputImagePixelType >) InputOStreamWritableCheck | |
virtual void | SetFullyConnected (bool _arg) |
virtual const bool & | GetFullyConnected () |
virtual void | FullyConnectedOn () |
virtual void | FullyConnectedOff () |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = OutputImageType::ImageDimension |
Protected Member Functions | |
BinaryFillholeImageFilter () | |
void | EnlargeOutputRequestedRegion (DataObject *) |
void | GenerateData () |
void | GenerateInputRequestedRegion () |
void | PrintSelf (std::ostream &os, Indent indent) const |
~BinaryFillholeImageFilter () | |
Private Member Functions | |
BinaryFillholeImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
InputImagePixelType | m_ForegroundValue |
bool | m_FullyConnected |
Remove holes not connected to the boundary of the image.
BinaryFillholeImageFilter fills holes in a binary image.
Geodesic morphology and the Fillhole algorithm is described in Chapter 6 of Pierre Soille's book "Morphological Image Analysis: Principles and Applications", Second Edition, Springer, 2003.
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 45 of file itkBinaryFillholeImageFilter.h.
typedef SmartPointer<const Self> itk::BinaryFillholeImageFilter< TInputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 53 of file itkBinaryFillholeImageFilter.h.
typedef InputImageType::ConstPointer itk::BinaryFillholeImageFilter< TInputImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 59 of file itkBinaryFillholeImageFilter.h.
typedef InputImageType::PixelType itk::BinaryFillholeImageFilter< TInputImage >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 61 of file itkBinaryFillholeImageFilter.h.
typedef InputImageType::Pointer itk::BinaryFillholeImageFilter< TInputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 58 of file itkBinaryFillholeImageFilter.h.
typedef InputImageType::RegionType itk::BinaryFillholeImageFilter< TInputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 60 of file itkBinaryFillholeImageFilter.h.
typedef TInputImage itk::BinaryFillholeImageFilter< TInputImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 56 of file itkBinaryFillholeImageFilter.h.
typedef OutputImageType::ConstPointer itk::BinaryFillholeImageFilter< TInputImage >::OutputImageConstPointer |
Definition at line 63 of file itkBinaryFillholeImageFilter.h.
typedef OutputImageType::PixelType itk::BinaryFillholeImageFilter< TInputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 65 of file itkBinaryFillholeImageFilter.h.
typedef OutputImageType::Pointer itk::BinaryFillholeImageFilter< TInputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TInputImage >.
Definition at line 62 of file itkBinaryFillholeImageFilter.h.
typedef OutputImageType::RegionType itk::BinaryFillholeImageFilter< TInputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 64 of file itkBinaryFillholeImageFilter.h.
typedef TInputImage itk::BinaryFillholeImageFilter< TInputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TInputImage >.
Definition at line 57 of file itkBinaryFillholeImageFilter.h.
typedef SmartPointer<Self> itk::BinaryFillholeImageFilter< TInputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 52 of file itkBinaryFillholeImageFilter.h.
typedef BinaryFillholeImageFilter itk::BinaryFillholeImageFilter< TInputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 50 of file itkBinaryFillholeImageFilter.h.
typedef ImageToImageFilter<TInputImage, TInputImage> itk::BinaryFillholeImageFilter< TInputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 51 of file itkBinaryFillholeImageFilter.h.
itk::BinaryFillholeImageFilter< TInputImage >::BinaryFillholeImageFilter | ( | ) | [protected] |
itk::BinaryFillholeImageFilter< TInputImage >::~BinaryFillholeImageFilter | ( | ) | [inline, protected] |
Definition at line 111 of file itkBinaryFillholeImageFilter.h.
itk::BinaryFillholeImageFilter< TInputImage >::BinaryFillholeImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::BinaryFillholeImageFilter< TInputImage >::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::Object.
void itk::BinaryFillholeImageFilter< TInputImage >::EnlargeOutputRequestedRegion | ( | DataObject * | ) | [protected, virtual] |
BinaryFillholeImageFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
virtual void itk::BinaryFillholeImageFilter< TInputImage >::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::BinaryFillholeImageFilter< TInputImage >::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::BinaryFillholeImageFilter< TInputImage >::GenerateData | ( | ) | [protected, virtual] |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
Reimplemented from itk::ImageSource< TInputImage >.
void itk::BinaryFillholeImageFilter< TInputImage >::GenerateInputRequestedRegion | ( | ) | [protected, virtual] |
BinaryFillholeImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
virtual InputImagePixelType itk::BinaryFillholeImageFilter< TInputImage >::GetForegroundValue | ( | ) | [virtual] |
Get the value in the image considered as "foreground". Defaults to maximum value of InputPixelType.
virtual const bool& itk::BinaryFillholeImageFilter< TInputImage >::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::BinaryFillholeImageFilter< TInputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
static Pointer itk::BinaryFillholeImageFilter< TInputImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::Object.
void itk::BinaryFillholeImageFilter< TInputImage >::operator= | ( | const Self & | ) | [private] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
void itk::BinaryFillholeImageFilter< TInputImage >::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::ImageToImageFilter< TInputImage, TInputImage >.
virtual void itk::BinaryFillholeImageFilter< TInputImage >::SetForegroundValue | ( | InputImagePixelType | _arg | ) | [virtual] |
End concept checking Set the value in the image to consider as "foreground". Defaults to maximum value of InputPixelType.
virtual void itk::BinaryFillholeImageFilter< TInputImage >::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.
itk::BinaryFillholeImageFilter< TInputImage >::typedef | ( | Concept::OStreamWritable< InputImagePixelType > | ) |
Begin concept checking This class requires InputOStreamWritableCheck in the form of (Concept::OStreamWritable<InputImagePixelType>)
const unsigned int itk::BinaryFillholeImageFilter< TInputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 69 of file itkBinaryFillholeImageFilter.h.
InputImagePixelType itk::BinaryFillholeImageFilter< TInputImage >::m_ForegroundValue [private] |
Definition at line 131 of file itkBinaryFillholeImageFilter.h.
bool itk::BinaryFillholeImageFilter< TInputImage >::m_FullyConnected [private] |
Definition at line 133 of file itkBinaryFillholeImageFilter.h.
const unsigned int itk::BinaryFillholeImageFilter< TInputImage >::OutputImageDimension = OutputImageType::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.
Definition at line 71 of file itkBinaryFillholeImageFilter.h.