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

#include <itkBinaryReconstructionByDilationImageFilter.h>

+ Inheritance diagram for itk::BinaryReconstructionByDilationImageFilter< TInputImage >:
+ Collaboration diagram for itk::BinaryReconstructionByDilationImageFilter< TInputImage >:

List of all members.

Public Types

typedef
itk::LabelMapToBinaryImageFilter
< 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
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
BinaryReconstructionByDilationImageFilter 
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::EqualityComparable< InputImagePixelType >) InputEqualityComparableCheck
 typedef (Concept::Convertible< int, InputImagePixelType >) IntConvertibleToInputCheck
 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

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

Private Member Functions

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

Private Attributes

OutputImagePixelType m_BackgroundValue
OutputImagePixelType m_ForegroundValue
bool m_FullyConnected

Detailed Description

template<class TInputImage>
class itk::BinaryReconstructionByDilationImageFilter< TInputImage >

binary reconstruction by dilation of an image

Reconstruction by dilation operates on a "marker" image and a "mask" image, and is defined as the dilation 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, ReconstructionByDilationImageFilter, BinaryReconstructionByErosionImageFilter

Definition at line 55 of file itkBinaryReconstructionByDilationImageFilter.h.


Member Typedef Documentation

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

Some convenient typedefs.

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

Definition at line 66 of file itkBinaryReconstructionByDilationImageFilter.h.

template<class TInputImage >
typedef OutputImageType::ConstPointer itk::BinaryReconstructionByDilationImageFilter< TInputImage >::OutputImageConstPointer
template<class TInputImage >
typedef OutputImageType::PixelType itk::BinaryReconstructionByDilationImageFilter< TInputImage >::OutputImagePixelType
template<class TInputImage >
typedef OutputImageType::Pointer itk::BinaryReconstructionByDilationImageFilter< TInputImage >::OutputImagePointer
template<class TInputImage >
typedef OutputImageType::RegionType itk::BinaryReconstructionByDilationImageFilter< TInputImage >::OutputImageRegionType

Superclass typedefs.

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

Definition at line 74 of file itkBinaryReconstructionByDilationImageFilter.h.

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

Some convenient typedefs.

Reimplemented from itk::ImageSource< TInputImage >.

Definition at line 67 of file itkBinaryReconstructionByDilationImageFilter.h.

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

Standard class typedefs.

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

Definition at line 60 of file itkBinaryReconstructionByDilationImageFilter.h.

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<class TInputImage >
virtual::itk::LightObject::Pointer itk::BinaryReconstructionByDilationImageFilter< 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::BinaryReconstructionByDilationImageFilter< TInputImage >::EnlargeOutputRequestedRegion ( DataObject ) [protected, virtual]

BinaryReconstructionByDilationImageFilter will produce the entire output.

Reimplemented from itk::ProcessObject.

template<class TInputImage >
virtual void itk::BinaryReconstructionByDilationImageFilter< 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::BinaryReconstructionByDilationImageFilter< 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::BinaryReconstructionByDilationImageFilter< TInputImage >::GenerateData ( ) [protected, virtual]

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

Reimplemented from itk::ImageSource< TInputImage >.

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

BinaryReconstructionByDilationImageFilter 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::BinaryReconstructionByDilationImageFilter< 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::BinaryReconstructionByDilationImageFilter< 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::BinaryReconstructionByDilationImageFilter< 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::BinaryReconstructionByDilationImageFilter< TInputImage >::GetMarkerImage ( ) [inline]

Get the marker image

Definition at line 147 of file itkBinaryReconstructionByDilationImageFilter.h.

References itk::ProcessObject::GetInput().

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

Get the mask image

Definition at line 160 of file itkBinaryReconstructionByDilationImageFilter.h.

References itk::ProcessObject::GetInput().

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

Runtime information support.

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

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

Standard New method.

Reimplemented from itk::Object.

template<class TInputImage >
void itk::BinaryReconstructionByDilationImageFilter< 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::BinaryReconstructionByDilationImageFilter< 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::BinaryReconstructionByDilationImageFilter< 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::BinaryReconstructionByDilationImageFilter< 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::BinaryReconstructionByDilationImageFilter< 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::BinaryReconstructionByDilationImageFilter< TInputImage >::SetMarkerImage ( InputImageType input) [inline]

Set the marker image

Definition at line 140 of file itkBinaryReconstructionByDilationImageFilter.h.

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

Set the mask image

Definition at line 153 of file itkBinaryReconstructionByDilationImageFilter.h.

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

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

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

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


Member Data Documentation

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

ImageDimension constants

Definition at line 83 of file itkBinaryReconstructionByDilationImageFilter.h.

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

ImageDimension constants

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

Definition at line 79 of file itkBinaryReconstructionByDilationImageFilter.h.

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

ImageDimension constants

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

Definition at line 81 of file itkBinaryReconstructionByDilationImageFilter.h.


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