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::PadLabelMapFilter< TInputImage > Class Template Reference

#include <itkPadLabelMapFilter.h>

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

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef InputImageType::IndexType IndexType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef TInputImage InputImageType
typedef
InputImageType::LabelObjectType 
LabelObjectType
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
typedef
Superclass::OutputImagePointer 
OutputImagePointer
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
typedef Superclass::OutputImageType OutputImageType
typedef InputImageType::PixelType PixelType
typedef SmartPointer< SelfPointer
typedef InputImageType::RegionType RegionType
typedef PadLabelMapFilter Self
typedef InputImageType::SizeType SizeType
typedef
ChangeRegionLabelMapFilter
< TInputImage > 
Superclass
typedef TInputImage TOutputImage

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
void SetPadSize (const SizeType &size)
virtual void SetUpperBoundaryPadSize (SizeType _arg)
virtual SizeType GetUpperBoundaryPadSize ()
virtual void SetLowerBoundaryPadSize (SizeType _arg)
virtual SizeType GetLowerBoundaryPadSize ()

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 GenerateOutputInformation ()
 PadLabelMapFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
 ~PadLabelMapFilter ()

Private Member Functions

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

Private Attributes

SizeType m_LowerBoundaryPadSize
SizeType m_UpperBoundaryPadSize

Detailed Description

template<class TInputImage>
class itk::PadLabelMapFilter< TInputImage >

Pad a LabelMap image.

This filter pads a label map.

The SetPadSize() method can be used to set the pad size of the lower and the upper boundaries in a single call. By default, the filter doesn't pad anything.

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

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

Definition at line 55 of file itkPadLabelMapFilter.h.


Member Typedef Documentation

template<class TInputImage >
typedef SmartPointer< const Self > itk::PadLabelMapFilter< TInputImage >::ConstPointer

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 62 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::IndexType itk::PadLabelMapFilter< TInputImage >::IndexType

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 85 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::ConstPointer itk::PadLabelMapFilter< TInputImage >::InputImageConstPointer

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 79 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::PixelType itk::PadLabelMapFilter< TInputImage >::InputImagePixelType

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 81 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::Pointer itk::PadLabelMapFilter< TInputImage >::InputImagePointer

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 78 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::RegionType itk::PadLabelMapFilter< TInputImage >::InputImageRegionType

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 80 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef TInputImage itk::PadLabelMapFilter< TInputImage >::InputImageType

Some convenient typedefs.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 77 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::LabelObjectType itk::PadLabelMapFilter< TInputImage >::LabelObjectType

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 82 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef Superclass::OutputImagePixelType itk::PadLabelMapFilter< TInputImage >::OutputImagePixelType

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 74 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef Superclass::OutputImagePointer itk::PadLabelMapFilter< TInputImage >::OutputImagePointer

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 72 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef Superclass::OutputImageRegionType itk::PadLabelMapFilter< TInputImage >::OutputImageRegionType

Superclass typedefs.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 73 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef Superclass::OutputImageType itk::PadLabelMapFilter< TInputImage >::OutputImageType

Superclass typedefs.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 68 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::PixelType itk::PadLabelMapFilter< TInputImage >::PixelType

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 84 of file itkPadLabelMapFilter.h.

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

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 61 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::RegionType itk::PadLabelMapFilter< TInputImage >::RegionType

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 87 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef PadLabelMapFilter itk::PadLabelMapFilter< TInputImage >::Self

Standard class typedefs.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 59 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::SizeType itk::PadLabelMapFilter< TInputImage >::SizeType

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 86 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef ChangeRegionLabelMapFilter< TInputImage > itk::PadLabelMapFilter< TInputImage >::Superclass

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 60 of file itkPadLabelMapFilter.h.

template<class TInputImage >
typedef TInputImage itk::PadLabelMapFilter< TInputImage >::TOutputImage

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 89 of file itkPadLabelMapFilter.h.


Constructor & Destructor Documentation

template<class TInputImage >
itk::PadLabelMapFilter< TInputImage >::PadLabelMapFilter ( ) [inline, protected]

Definition at line 111 of file itkPadLabelMapFilter.h.

template<class TInputImage >
itk::PadLabelMapFilter< TInputImage >::~PadLabelMapFilter ( ) [inline, protected]

Definition at line 117 of file itkPadLabelMapFilter.h.

template<class TInputImage >
itk::PadLabelMapFilter< TInputImage >::PadLabelMapFilter ( const Self ) [private]

Member Function Documentation

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

template<class TInputImage >
virtual void itk::PadLabelMapFilter< TInputImage >::GenerateOutputInformation ( ) [protected, virtual]

Generate the information decribing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

template<class TInputImage >
virtual SizeType itk::PadLabelMapFilter< TInputImage >::GetLowerBoundaryPadSize ( ) [virtual]

Set/Get the cropping sizes for the upper and lower boundaries.

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

Run-time type information (and related methods).

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

template<class TInputImage >
virtual SizeType itk::PadLabelMapFilter< TInputImage >::GetUpperBoundaryPadSize ( ) [virtual]

Set/Get the cropping sizes for the upper and lower boundaries.

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

Standard New method.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

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

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

template<class TInputImage >
virtual void itk::PadLabelMapFilter< TInputImage >::SetLowerBoundaryPadSize ( SizeType  _arg) [virtual]

Set/Get the cropping sizes for the upper and lower boundaries.

template<class TInputImage >
void itk::PadLabelMapFilter< TInputImage >::SetPadSize ( const SizeType size) [inline]

Definition at line 104 of file itkPadLabelMapFilter.h.

template<class TInputImage >
virtual void itk::PadLabelMapFilter< TInputImage >::SetUpperBoundaryPadSize ( SizeType  _arg) [virtual]

Set/Get the cropping sizes for the upper and lower boundaries.


Member Data Documentation

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

ImageDimension constants

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 94 of file itkPadLabelMapFilter.h.

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

ImageDimension constants

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 92 of file itkPadLabelMapFilter.h.

template<class TInputImage >
SizeType itk::PadLabelMapFilter< TInputImage >::m_LowerBoundaryPadSize [private]

Definition at line 128 of file itkPadLabelMapFilter.h.

template<class TInputImage >
SizeType itk::PadLabelMapFilter< TInputImage >::m_UpperBoundaryPadSize [private]

Definition at line 127 of file itkPadLabelMapFilter.h.

template<class TInputImage >
const unsigned int itk::PadLabelMapFilter< TInputImage >::OutputImageDimension = TOutputImage::ImageDimension [static]

ImageDimension constants

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 93 of file itkPadLabelMapFilter.h.


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