ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor > Class Template Reference

Mark the objects at least partially at the same position as the objects in a binary image. More...

#include <itkBinaryReconstructionLabelMapFilter.h>

Inheritance diagram for itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >:
Collaboration diagram for itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >:

List of all members.

Public Types

typedef TAttributeAccessor AttributeAccessorType
typedef SmartPointer< const SelfConstPointer
typedef ImageType::ConstPointer ImageConstPointer
typedef ImageType::Pointer ImagePointer
typedef TImage ImageType
typedef ImageType::IndexType IndexType
typedef ImageType::LabelObjectType LabelObjectType
typedef
MarkerImageType::ConstPointer 
MarkerImageConstPointer
typedef MarkerImageType::PixelType MarkerImagePixelType
typedef MarkerImageType::Pointer MarkerImagePointer
typedef TMarkerImage MarkerImageType
typedef ImageType::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef
BinaryReconstructionLabelMapFilter 
Self
typedef InPlaceLabelMapFilter
< TImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
MarkerImageTypeGetMarkerImage ()
virtual const char * GetNameOfClass () const
void SetInput1 (TImage *input)
void SetInput2 (TMarkerImage *input)
void SetMarkerImage (TMarkerImage *input)
virtual void SetForegroundValue (MarkerImagePixelType _arg)
virtual MarkerImagePixelType GetForegroundValue () const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension

Protected Member Functions

 BinaryReconstructionLabelMapFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void ThreadedProcessLabelObject (LabelObjectType *labelObject)
 ~BinaryReconstructionLabelMapFilter ()

Private Member Functions

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

Private Attributes

MarkerImagePixelType m_ForegroundValue

Detailed Description

template<class TImage, class TMarkerImage, class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
class itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >

Mark the objects at least partially at the same position as the objects in a binary image.

The attribute is accessed through the accessor given with TAttributeAccessor. The LabelObjects from the input LabelMap are marked with "true" if at least one of their pixel is at the same position than an object in the binary marker image. In the marker image, the pixels with a value equal to ForegroundValue are considered to be in the objects.

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

Definition at line 45 of file itkBinaryReconstructionLabelMapFilter.h.


Member Typedef Documentation

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef TAttributeAccessor itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::AttributeAccessorType

Definition at line 68 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef SmartPointer<const Self> itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ConstPointer

Reimplemented from itk::InPlaceLabelMapFilter< TImage >.

Definition at line 53 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef ImageType::ConstPointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ImageConstPointer

Definition at line 58 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef ImageType::Pointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ImagePointer

Definition at line 57 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef TImage itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ImageType

Some convenient typedefs.

Definition at line 56 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef ImageType::IndexType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::IndexType

Reimplemented from itk::InPlaceLabelMapFilter< TImage >.

Definition at line 60 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef ImageType::LabelObjectType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::LabelObjectType

Reimplemented from itk::InPlaceLabelMapFilter< TImage >.

Definition at line 61 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef MarkerImageType::ConstPointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::MarkerImageConstPointer

Definition at line 65 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef MarkerImageType::PixelType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::MarkerImagePixelType

Definition at line 66 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef MarkerImageType::Pointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::MarkerImagePointer

Definition at line 64 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef TMarkerImage itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::MarkerImageType

Definition at line 63 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef ImageType::PixelType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::PixelType

Reimplemented from itk::InPlaceLabelMapFilter< TImage >.

Definition at line 59 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef SmartPointer<Self> itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::Pointer

Reimplemented from itk::InPlaceLabelMapFilter< TImage >.

Definition at line 52 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef BinaryReconstructionLabelMapFilter itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::Self

Standard class typedefs.

Reimplemented from itk::InPlaceLabelMapFilter< TImage >.

Definition at line 50 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
typedef InPlaceLabelMapFilter<TImage> itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::Superclass

Reimplemented from itk::InPlaceLabelMapFilter< TImage >.

Definition at line 51 of file itkBinaryReconstructionLabelMapFilter.h.


Constructor & Destructor Documentation

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::BinaryReconstructionLabelMapFilter ( ) [protected]
template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::~BinaryReconstructionLabelMapFilter ( ) [inline, protected]

Definition at line 128 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::BinaryReconstructionLabelMapFilter ( const Self ) [private]

Member Function Documentation

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
virtual::itk::LightObject::Pointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::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::InPlaceLabelMapFilter< TImage >.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
virtual MarkerImagePixelType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::GetForegroundValue ( ) const [virtual]

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

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
MarkerImageType* itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::GetMarkerImage ( ) [inline]

Get the marker image

Definition at line 101 of file itkBinaryReconstructionLabelMapFilter.h.

References itk::ProcessObject::GetInput().

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
virtual const char* itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::GetNameOfClass ( ) const [virtual]

Runtime information support.

Reimplemented from itk::InPlaceLabelMapFilter< TImage >.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
static Pointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::New ( ) [static]

Standard New method.

Reimplemented from itk::InPlaceLabelMapFilter< TImage >.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::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::InPlaceLabelMapFilter< TImage >.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::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::InPlaceLabelMapFilter< TImage >.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
virtual void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::SetForegroundValue ( MarkerImagePixelType  _arg) [virtual]

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

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::SetInput1 ( TImage *  input) [inline]

Set the input image

Definition at line 107 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::SetInput2 ( TMarkerImage *  input) [inline]

Set the marker image

Definition at line 113 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::SetMarkerImage ( TMarkerImage *  input) [inline]

Begin concept checking End concept checking Set the marker image

Definition at line 94 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
virtual void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ThreadedProcessLabelObject ( LabelObjectType labelObject) [protected, virtual]

Member Data Documentation

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
const unsigned int itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ImageDimension = TImage::ImageDimension [static]

ImageDimension constants

Definition at line 72 of file itkBinaryReconstructionLabelMapFilter.h.

template<class TImage , class TMarkerImage , class TAttributeAccessor = typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType >>
MarkerImagePixelType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::m_ForegroundValue [private]

Definition at line 138 of file itkBinaryReconstructionLabelMapFilter.h.


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