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::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage > Class Template Reference

#include <itkObjectByObjectLabelMapFilter.h>

+ Inheritance diagram for itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >:
+ Collaboration diagram for itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >:

List of all members.

Public Types

typedef
itk::BinaryImageToLabelMapFilter
< InternalOutputImageType,
LabelMapType
BI2LMType
typedef SmartPointer< const SelfConstPointer
typedef
itk::AutoCropLabelMapFilter
< LabelMapType
CropType
typedef TInputFilter InputFilterType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef TInputImage InputImageType
typedef
InternalInputImageType::IndexType 
InternalIndexType
typedef TInternalInputImage InternalInputImageType
typedef
InternalInputImageType::PixelType 
InternalInputPixelType
typedef
InternalInputImageType::OffsetType 
InternalOffsetType
typedef TInternalOutputImage InternalOutputImageType
typedef
InternalOutputImageType::PixelType 
InternalOutputPixelType
typedef
InternalInputImageType::RegionType 
InternalRegionType
typedef
InternalInputImageType::SizeType 
InternalSizeType
typedef OutputImageType LabelMapType
typedef
LabelMapType::LabelObjectType 
LabelObjectType
typedef
itk::LabelImageToLabelMapFilter
< InternalOutputImageType,
LabelMapType
LI2LMType
typedef
itk::LabelMapToBinaryImageFilter
< LabelMapType,
InternalInputImageType
LM2BIType
typedef TOutputFilter OutputFilterType
typedef
OutputImageType::ConstPointer 
OutputImageConstPointer
typedef OutputImageType::PixelType OutputImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef TOutputImage OutputImageType
typedef itk::PadLabelMapFilter
< LabelMapType
PadType
typedef SmartPointer< SelfPointer
typedef
itk::LabelSelectionLabelMapFilter
< LabelMapType
SelectType
typedef
ObjectByObjectLabelMapFilter 
Self
typedef OutputImageType::SizeType SizeType
typedef LabelMapFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
InputFilterTypeGetFilter ()
const InputFilterTypeGetFilter () const
virtual InputFilterTypeGetInputFilter ()
virtual InputImagePixelType GetLabel ()
virtual const char * GetNameOfClass () const
virtual OutputFilterTypeGetOutputFilter ()
void SetFilter (InputFilterType *filter)
void SetInputFilter (InputFilterType *filter)
void SetOutputFilter (OutputFilterType *filter)
virtual void SetKeepLabels (bool _arg)
virtual bool GetKeepLabels ()
virtual void KeepLabelsOn ()
virtual void KeepLabelsOff ()
virtual void SetPadSize (SizeType _arg)
virtual SizeType GetPadSize ()
virtual void SetConstrainPaddingToImage (bool _arg)
virtual bool GetConstrainPaddingToImage ()
virtual void ConstrainPaddingToImageOn ()
virtual void ConstrainPaddingToImageOff ()
virtual void SetBinaryInternalOutput (bool _arg)
virtual bool GetBinaryInternalOutput ()
virtual void BinaryInternalOutputOn ()
virtual void BinaryInternalOutputOff ()
virtual void SetInternalForegroundValue (InternalOutputPixelType _arg)
virtual InternalOutputPixelType GetInternalForegroundValue ()

Static Public Member Functions

static Pointer New ()

Static Public Attributes

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

Protected Member Functions

virtual void GenerateData ()
 ObjectByObjectLabelMapFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
 ~ObjectByObjectLabelMapFilter ()

Private Member Functions

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

Private Attributes

BI2LMType::Pointer m_BI2LM
bool m_BinaryInternalOutput
bool m_ConstrainPaddingToImage
CropType::Pointer m_Crop
InputFilterType::Pointer m_InputFilter
InternalOutputPixelType m_InternalForegroundValue
bool m_KeepLabels
InputImagePixelType m_Label
LI2LMType::Pointer m_LI2LM
LM2BIType::Pointer m_LM2BI
OutputFilterType::Pointer m_OutputFilter
PadType::Pointer m_Pad
SizeType m_PadSize
SelectType::Pointer m_Select

Detailed Description

template<class TInputImage, class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
class itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >

ObjectByObjectLabelMapFilter applies an image pipeline to all the objects of a label map and produce a new label map.

The image pipeline can simply produce a modified object or produce several objects from the single input object. Several options are provided to handle the different cases.

KeepLabel, which defaults to true, makes the filter try to keep as much as possible the labels of the original objects. If an image pipeline produce several objects the label of the input object is assigned to the first output object. The other output objects get another label not present in the input image. When KeepLabel is set to false, all the objects are relabeled in the order of apparition during the filter process.

BinaryInternalOutput can be set to true if the image pipeline produce binary output image. In that case, the objects produced are identified with a connected component algorithm before being reinserted in the output label map. InternalForegroundValue can be set to a specific value which represent the foreground value in the binary image.

PadSize and ConstrainPaddingToImage can be used to extend the size of the image to process passed to the image pipeline. This is useful if the image pipeline is known to be able to enlarge the object. The padding can be constrained to the input label map region by setting ConstrainPaddingToImage to true - this parameter can make a difference for the algorithm with a different behavior on the border of the image. By default, the image is padded by 1 pixel and constrained to the image region.

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

Wiki Examples:

Definition at line 79 of file itkObjectByObjectLabelMapFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef itk::BinaryImageToLabelMapFilter< InternalOutputImageType, LabelMapType> itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::BI2LMType

Definition at line 132 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef SmartPointer<const Self> itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef itk::AutoCropLabelMapFilter< LabelMapType > itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::CropType

Definition at line 128 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef TInputFilter itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InputFilterType

Definition at line 104 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef InputImageType::ConstPointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InputImageConstPointer
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef InputImageType::PixelType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InputImagePixelType
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef InputImageType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InputImagePointer
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef InputImageType::RegionType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InputImageRegionType
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef TInputImage itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InputImageType

Some convenient typedefs.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 90 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef InternalInputImageType::IndexType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InternalIndexType

Definition at line 110 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef TInternalInputImage itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InternalInputImageType

Definition at line 107 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef InternalInputImageType::PixelType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InternalInputPixelType

Definition at line 112 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef InternalInputImageType::OffsetType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InternalOffsetType

Definition at line 111 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef TInternalOutputImage itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InternalOutputImageType

Definition at line 114 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef InternalOutputImageType::PixelType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InternalOutputPixelType

Definition at line 115 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef InternalInputImageType::RegionType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InternalRegionType

Definition at line 108 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef InternalInputImageType::SizeType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InternalSizeType

Definition at line 109 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef OutputImageType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::LabelMapType

Definition at line 101 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef LabelMapType::LabelObjectType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::LabelObjectType
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef itk::LabelImageToLabelMapFilter< InternalOutputImageType, LabelMapType> itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::LI2LMType

Definition at line 131 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef itk::LabelMapToBinaryImageFilter< LabelMapType, InternalInputImageType> itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::LM2BIType

Definition at line 130 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef TOutputFilter itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::OutputFilterType

Definition at line 105 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef OutputImageType::ConstPointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::OutputImageConstPointer
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef OutputImageType::PixelType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::OutputImagePixelType
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef OutputImageType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::OutputImagePointer
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef OutputImageType::RegionType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::OutputImageRegionType

Superclass typedefs.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 98 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef TOutputImage itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::OutputImageType

Some convenient typedefs.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 91 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef itk::PadLabelMapFilter< LabelMapType > itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::PadType

Definition at line 129 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef SmartPointer<Self> itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::Pointer
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef itk::LabelSelectionLabelMapFilter< LabelMapType > itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SelectType

Definition at line 127 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef ObjectByObjectLabelMapFilter itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::Self

Standard class typedefs.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 84 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef OutputImageType::SizeType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SizeType

Definition at line 100 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
typedef LabelMapFilter<TInputImage, TOutputImage> itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::ObjectByObjectLabelMapFilter ( ) [protected]
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::~ObjectByObjectLabelMapFilter ( ) [inline, protected]

Definition at line 213 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::ObjectByObjectLabelMapFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::BinaryInternalOutputOff ( ) [virtual]

Set/Get whether the internal image produced by OutputFilter should be interpreted as a binary image in which the filter have to search for connected components. If set to false, the filter consider the image as a label image. Default is false.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::BinaryInternalOutputOn ( ) [virtual]

Set/Get whether the internal image produced by OutputFilter should be interpreted as a binary image in which the filter have to search for connected components. If set to false, the filter consider the image as a label image. Default is false.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::ConstrainPaddingToImageOff ( ) [virtual]

Padding by PadSize will be constrained to the input image region if ConstrainPaddingToImage is true, and won't be constrained if it is set to false. Default value is true.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::ConstrainPaddingToImageOn ( ) [virtual]

Padding by PadSize will be constrained to the input image region if ConstrainPaddingToImage is true, and won't be constrained if it is set to false. Default value is true.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual::itk::LightObject::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::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::LabelMapFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GenerateData ( ) [protected, virtual]

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual bool itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetBinaryInternalOutput ( ) [virtual]

Set/Get whether the internal image produced by OutputFilter should be interpreted as a binary image in which the filter have to search for connected components. If set to false, the filter consider the image as a label image. Default is false.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual bool itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetConstrainPaddingToImage ( ) [virtual]

Padding by PadSize will be constrained to the input image region if ConstrainPaddingToImage is true, and won't be constrained if it is set to false. Default value is true.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
InputFilterType* itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetFilter ( ) [inline]

Definition at line 142 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
const InputFilterType* itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetFilter ( ) const [inline]

Definition at line 147 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual InputFilterType* itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetInputFilter ( ) [virtual]
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual InternalOutputPixelType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetInternalForegroundValue ( ) [virtual]

The foreground value used internally to represent the object in the image passed to InputFilter, and to read the data produced by OutputFilter, if BinaryInternalOutput is true

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual bool itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetKeepLabels ( ) [virtual]

If KeepLabels is set to true, the filter will do its best to reuse the labels of the input objects in the output ones. However, this is possible only if the internal pipeline produce a single object - the other labels will be taken as they come. If KeepLabels is false, no care is made of the input labels, and a new label is produced for all the objects using LabelMap::PushLabelObject().

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual InputImagePixelType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetLabel ( ) [virtual]

The label of the object currently processed by the filter. This is intended to be used with the IterationEvent sent before the processing of each object. It contains a relevant value only during the filter update.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual const char* itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetNameOfClass ( ) const [virtual]

Runtime information support.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual OutputFilterType* itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetOutputFilter ( ) [virtual]
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual SizeType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::GetPadSize ( ) [virtual]

If PadSize is not zero, the image produce for each object will be padded. The default value is 1 on all the dimensions.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::KeepLabelsOff ( ) [virtual]

If KeepLabels is set to true, the filter will do its best to reuse the labels of the input objects in the output ones. However, this is possible only if the internal pipeline produce a single object - the other labels will be taken as they come. If KeepLabels is false, no care is made of the input labels, and a new label is produced for all the objects using LabelMap::PushLabelObject().

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::KeepLabelsOn ( ) [virtual]

If KeepLabels is set to true, the filter will do its best to reuse the labels of the input objects in the output ones. However, this is possible only if the internal pipeline produce a single object - the other labels will be taken as they come. If KeepLabels is false, no care is made of the input labels, and a new label is produced for all the objects using LabelMap::PushLabelObject().

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
static Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::New ( ) [static]

Standard New method.

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::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::LabelMapFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::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, TOutputImage >.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SetBinaryInternalOutput ( bool  _arg) [virtual]

Set/Get whether the internal image produced by OutputFilter should be interpreted as a binary image in which the filter have to search for connected components. If set to false, the filter consider the image as a label image. Default is false.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SetConstrainPaddingToImage ( bool  _arg) [virtual]

Padding by PadSize will be constrained to the input image region if ConstrainPaddingToImage is true, and won't be constrained if it is set to false. Default value is true.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SetFilter ( InputFilterType filter)
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SetInputFilter ( InputFilterType filter)
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SetInternalForegroundValue ( InternalOutputPixelType  _arg) [virtual]

The foreground value used internally to represent the object in the image passed to InputFilter, and to read the data produced by OutputFilter, if BinaryInternalOutput is true

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SetKeepLabels ( bool  _arg) [virtual]

If KeepLabels is set to true, the filter will do its best to reuse the labels of the input objects in the output ones. However, this is possible only if the internal pipeline produce a single object - the other labels will be taken as they come. If KeepLabels is false, no care is made of the input labels, and a new label is produced for all the objects using LabelMap::PushLabelObject().

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SetOutputFilter ( OutputFilterType filter)
template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
virtual void itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::SetPadSize ( SizeType  _arg) [virtual]

If PadSize is not zero, the image produce for each object will be padded. The default value is 1 on all the dimensions.


Member Data Documentation

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
const unsigned int itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::ImageDimension = TOutputImage::ImageDimension [static]

ImageDimension constants

Definition at line 123 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
const unsigned int itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::InputImageDimension = TInputImage::ImageDimension [static]

ImageDimension constants

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 119 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
BI2LMType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_BI2LM [private]

Definition at line 240 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
bool itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_BinaryInternalOutput [private]

Definition at line 225 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
bool itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_ConstrainPaddingToImage [private]

Definition at line 223 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
CropType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_Crop [private]

Definition at line 236 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
InputFilterType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_InputFilter [private]

Definition at line 232 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
InternalOutputPixelType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_InternalForegroundValue [private]

Definition at line 229 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
bool itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_KeepLabels [private]

Definition at line 227 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
InputImagePixelType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_Label [private]

Definition at line 242 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
LI2LMType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_LI2LM [private]

Definition at line 239 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
LM2BIType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_LM2BI [private]

Definition at line 238 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
OutputFilterType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_OutputFilter [private]

Definition at line 233 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
PadType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_Pad [private]

Definition at line 237 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
SizeType itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_PadSize [private]

Definition at line 224 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
SelectType::Pointer itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::m_Select [private]

Definition at line 235 of file itkObjectByObjectLabelMapFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TInputFilter = ImageToImageFilter< Image< unsigned char, ::itk::GetImageDimension<TInputImage >::ImageDimension >, Image< unsigned char, ::itk::GetImageDimension<TOutputImage>::ImageDimension > >, class TOutputFilter = typename TInputFilter::Superclass, class TInternalInputImage = typename TInputFilter::InputImageType, class TInternalOutputImage = typename TOutputFilter::OutputImageType>
const unsigned int itk::ObjectByObjectLabelMapFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static]

ImageDimension constants

Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.

Definition at line 121 of file itkObjectByObjectLabelMapFilter.h.


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