ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::BinaryReconstructionByErosionImageFilter< TInputImage > Class Template Reference

binary reconstruction by erosion of an image More...

#include <itkBinaryReconstructionByErosionImageFilter.h>

Inheritance diagram for itk::BinaryReconstructionByErosionImageFilter< TInputImage >:
Collaboration diagram for itk::BinaryReconstructionByErosionImageFilter< TInputImage >:

List of all members.

Public Types

typedef
itk::LabelMapMaskImageFilter
< LabelMapType,
OutputImageType
BinarizerType
typedef SmartPointer< const SelfConstPointer
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef TInputImage InputImageType
typedef
itk::BinaryImageToLabelMapFilter
< InputImageType, LabelMapType
LabelizerType
typedef itk::LabelMap
< LabelObjectType
LabelMapType
typedef AttributeLabelObject
< SizeValueType,
ImageDimension, bool > 
LabelObjectType
typedef BinaryNotImageFilter
< InputImageType
NotType
typedef
itk::AttributeOpeningLabelMapFilter
< LabelMapType
OpeningType
typedef
OutputImageType::ConstPointer 
OutputImageConstPointer
typedef OutputImageType::PixelType OutputImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef TInputImage OutputImageType
typedef SmartPointer< SelfPointer
typedef
itk::BinaryReconstructionLabelMapFilter
< LabelMapType, InputImageType
ReconstructionType
typedef
BinaryReconstructionByErosionImageFilter 
Self
typedef ImageToImageFilter
< TInputImage, TInputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
InputImageTypeGetMarkerImage ()
InputImageTypeGetMaskImage ()
virtual const char * GetNameOfClass () const
void SetMarkerImage (InputImageType *input)
void SetMaskImage (const InputImageType *input)
 typedef (Concept::Convertible< int, InputImagePixelType >) IntConvertibleToInputCheck
 typedef (Concept::EqualityComparable< InputImagePixelType >) InputEqualityComparableCheck
 typedef (Concept::OStreamWritable< InputImagePixelType >) InputOStreamWritableCheck
virtual void SetFullyConnected (bool _arg)
virtual const bool & GetFullyConnected ()
virtual void FullyConnectedOn ()
virtual void FullyConnectedOff ()
virtual void SetBackgroundValue (OutputImagePixelType _arg)
virtual OutputImagePixelType GetBackgroundValue () const
virtual void SetForegroundValue (OutputImagePixelType _arg)
virtual OutputImagePixelType GetForegroundValue () const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
static const unsigned int OutputImageDimension = TInputImage::ImageDimension
static const unsigned int ImageDimension = TInputImage::ImageDimension

Protected Member Functions

 BinaryReconstructionByErosionImageFilter ()
void EnlargeOutputRequestedRegion (DataObject *)
void GenerateData ()
void GenerateInputRequestedRegion ()
void PrintSelf (std::ostream &os, Indent indent) const
 ~BinaryReconstructionByErosionImageFilter ()

Private Member Functions

 BinaryReconstructionByErosionImageFilter (const Self &)
void operator= (const Self &)

Private Attributes

OutputImagePixelType m_BackgroundValue
OutputImagePixelType m_ForegroundValue
bool m_FullyConnected

Detailed Description

template<class TInputImage>
class itk::BinaryReconstructionByErosionImageFilter< TInputImage >

binary reconstruction by erosion of an image

Reconstruction by erosion operates on a "marker" image and a "mask" image, and is defined as the erosion of the marker image with respect to the mask image iterated until stability.

Geodesic morphology is described in Chapter 6.2 of Pierre Soille's book "Morphological Image Analysis: Principles and Applications", Second Edition, Springer, 2003.

Author:
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.

This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176

See also:
MorphologyImageFilter, ReconstructionByErosionImageFilter, BinaryReconstructionByDilationImageFilter

Definition at line 55 of file itkBinaryReconstructionByErosionImageFilter.h.


Member Typedef Documentation

template<class TInputImage >
typedef SmartPointer<const Self> itk::BinaryReconstructionByErosionImageFilter< TInputImage >::ConstPointer
template<class TInputImage >
typedef InputImageType::ConstPointer itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImageConstPointer
template<class TInputImage >
typedef InputImageType::PixelType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImagePixelType
template<class TInputImage >
typedef InputImageType::Pointer itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImagePointer
template<class TInputImage >
typedef InputImageType::RegionType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImageRegionType
template<class TInputImage >
typedef TInputImage itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImageType

Some convenient typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

Definition at line 66 of file itkBinaryReconstructionByErosionImageFilter.h.

template<class TInputImage >
typedef itk::LabelMap< LabelObjectType > itk::BinaryReconstructionByErosionImageFilter< TInputImage >::LabelMapType
template<class TInputImage >
typedef BinaryNotImageFilter< InputImageType > itk::BinaryReconstructionByErosionImageFilter< TInputImage >::NotType
template<class TInputImage >
typedef OutputImageType::ConstPointer itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImageConstPointer
template<class TInputImage >
typedef OutputImageType::PixelType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImagePixelType
template<class TInputImage >
typedef OutputImageType::Pointer itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImagePointer

Reimplemented from itk::ImageSource< TInputImage >.

Definition at line 72 of file itkBinaryReconstructionByErosionImageFilter.h.

template<class TInputImage >
typedef OutputImageType::RegionType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImageRegionType

Superclass typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

Definition at line 74 of file itkBinaryReconstructionByErosionImageFilter.h.

template<class TInputImage >
typedef TInputImage itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImageType

Some convenient typedefs.

Reimplemented from itk::ImageSource< TInputImage >.

Definition at line 67 of file itkBinaryReconstructionByErosionImageFilter.h.

template<class TInputImage >
typedef SmartPointer<Self> itk::BinaryReconstructionByErosionImageFilter< TInputImage >::Pointer

Standard class typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

Definition at line 60 of file itkBinaryReconstructionByErosionImageFilter.h.

template<class TInputImage >
typedef ImageToImageFilter<TInputImage, TInputImage> itk::BinaryReconstructionByErosionImageFilter< TInputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage >
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::BinaryReconstructionByErosionImageFilter ( ) [protected]
template<class TInputImage >
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::~BinaryReconstructionByErosionImageFilter ( ) [inline, protected]
template<class TInputImage >
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::BinaryReconstructionByErosionImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage >
virtual::itk::LightObject::Pointer itk::BinaryReconstructionByErosionImageFilter< 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.

template<class TInputImage >
void itk::BinaryReconstructionByErosionImageFilter< TInputImage >::EnlargeOutputRequestedRegion ( DataObject ) [protected, virtual]

BinaryReconstructionByErosionImageFilter will produce the entire output.

Reimplemented from itk::ProcessObject.

template<class TInputImage >
virtual void itk::BinaryReconstructionByErosionImageFilter< 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.

template<class TInputImage >
virtual void itk::BinaryReconstructionByErosionImageFilter< 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.

template<class TInputImage >
void itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GenerateData ( ) [protected, virtual]

Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.

Reimplemented from itk::ImageSource< TInputImage >.

template<class TInputImage >
void itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GenerateInputRequestedRegion ( ) [protected, virtual]

BinaryReconstructionByErosionImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

template<class TInputImage >
virtual OutputImagePixelType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GetBackgroundValue ( ) const [virtual]

End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().

template<class TInputImage >
virtual OutputImagePixelType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GetForegroundValue ( ) const [virtual]

Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().

template<class TInputImage >
virtual const bool& itk::BinaryReconstructionByErosionImageFilter< 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.

template<class TInputImage >
InputImageType* itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GetMarkerImage ( ) [inline]

Get the marker image

Definition at line 147 of file itkBinaryReconstructionByErosionImageFilter.h.

References itk::ProcessObject::GetInput().

template<class TInputImage >
InputImageType* itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GetMaskImage ( ) [inline]

Get the mask image

Definition at line 160 of file itkBinaryReconstructionByErosionImageFilter.h.

References itk::ProcessObject::GetInput().

template<class TInputImage >
virtual const char* itk::BinaryReconstructionByErosionImageFilter< TInputImage >::GetNameOfClass ( ) const [virtual]

Runtime information support.

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

template<class TInputImage >
static Pointer itk::BinaryReconstructionByErosionImageFilter< TInputImage >::New ( ) [static]

Standard New method.

Reimplemented from itk::Object.

template<class TInputImage >
void itk::BinaryReconstructionByErosionImageFilter< 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 >.

template<class TInputImage >
void itk::BinaryReconstructionByErosionImageFilter< 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 >.

template<class TInputImage >
virtual void itk::BinaryReconstructionByErosionImageFilter< TInputImage >::SetBackgroundValue ( OutputImagePixelType  _arg) [virtual]

End concept checking Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().

template<class TInputImage >
virtual void itk::BinaryReconstructionByErosionImageFilter< TInputImage >::SetForegroundValue ( OutputImagePixelType  _arg) [virtual]

Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().

template<class TInputImage >
virtual void itk::BinaryReconstructionByErosionImageFilter< 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.

template<class TInputImage >
void itk::BinaryReconstructionByErosionImageFilter< TInputImage >::SetMarkerImage ( InputImageType input) [inline]

Set the marker image

Definition at line 140 of file itkBinaryReconstructionByErosionImageFilter.h.

template<class TInputImage >
void itk::BinaryReconstructionByErosionImageFilter< TInputImage >::SetMaskImage ( const InputImageType input) [inline]

Set the mask image

Definition at line 153 of file itkBinaryReconstructionByErosionImageFilter.h.

template<class TInputImage >
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::typedef ( Concept::OStreamWritable< InputImagePixelType )

This class requires InputOStreamWritableCheck in the form of (Concept::OStreamWritable<InputImagePixelType>)

template<class TInputImage >
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::typedef ( Concept::Convertible< int, InputImagePixelType )

This class requires IntConvertibleToInputCheck in the form of (Concept::Convertible<int, InputImagePixelType>)

template<class TInputImage >
itk::BinaryReconstructionByErosionImageFilter< TInputImage >::typedef ( Concept::EqualityComparable< InputImagePixelType )

Begin concept checking This class requires InputEqualityComparableCheck in the form of (Concept::EqualityComparable<InputImagePixelType>)


Member Data Documentation

template<class TInputImage >
const unsigned int itk::BinaryReconstructionByErosionImageFilter< TInputImage >::ImageDimension = TInputImage::ImageDimension [static]

ImageDimension constants

Definition at line 83 of file itkBinaryReconstructionByErosionImageFilter.h.

template<class TInputImage >
const unsigned int itk::BinaryReconstructionByErosionImageFilter< TInputImage >::InputImageDimension = TInputImage::ImageDimension [static]

ImageDimension constants

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

Definition at line 79 of file itkBinaryReconstructionByErosionImageFilter.h.

template<class TInputImage >
OutputImagePixelType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::m_BackgroundValue [private]
template<class TInputImage >
OutputImagePixelType itk::BinaryReconstructionByErosionImageFilter< TInputImage >::m_ForegroundValue [private]
template<class TInputImage >
bool itk::BinaryReconstructionByErosionImageFilter< TInputImage >::m_FullyConnected [private]
template<class TInputImage >
const unsigned int itk::BinaryReconstructionByErosionImageFilter< TInputImage >::OutputImageDimension = TInputImage::ImageDimension [static]

ImageDimension constants

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

Definition at line 81 of file itkBinaryReconstructionByErosionImageFilter.h.


The documentation for this class was generated from the following file: