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

Set the region from a reference image. More...

#include <itkRegionFromReferenceLabelMapFilter.h>

Inheritance diagram for itk::RegionFromReferenceLabelMapFilter< TInputImage >:
Collaboration diagram for itk::RegionFromReferenceLabelMapFilter< 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 ImageBase
< itkGetStaticConstMacro(ImageDimension) > 
ReferenceImageType
typedef InputImageType::RegionType RegionType
typedef
RegionFromReferenceLabelMapFilter 
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
const ReferenceImageTypeGetReferenceImage () const
void SetInput1 (const TInputImage *input)
void SetInput2 (const ReferenceImageType *input)
void SetReferenceImage (const ReferenceImageType *image)

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

Private Member Functions

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

Detailed Description

template<class TInputImage>
class itk::RegionFromReferenceLabelMapFilter< TInputImage >

Set the region from a reference image.

Change the region of a label map to be the same as one of a reference image. This filter implements the same feature as its superclass, but with the input region well integrated in the pipeline architecture. If the output cannot contain some of the objects' lines, they are truncated or removed. All objects fully outside the output region are removed.

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.

Definition at line 54 of file itkRegionFromReferenceLabelMapFilter.h.


Member Typedef Documentation

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

Some convenient typedefs.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 76 of file itkRegionFromReferenceLabelMapFilter.h.

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

Superclass typedefs.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 72 of file itkRegionFromReferenceLabelMapFilter.h.

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

Superclass typedefs.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 67 of file itkRegionFromReferenceLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::PixelType itk::RegionFromReferenceLabelMapFilter< TInputImage >::PixelType
template<class TInputImage >
typedef SmartPointer< Self > itk::RegionFromReferenceLabelMapFilter< TInputImage >::Pointer
template<class TInputImage >
typedef ImageBase< itkGetStaticConstMacro(ImageDimension) > itk::RegionFromReferenceLabelMapFilter< TInputImage >::ReferenceImageType

Definition at line 96 of file itkRegionFromReferenceLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::RegionType itk::RegionFromReferenceLabelMapFilter< TInputImage >::RegionType
template<class TInputImage >
typedef RegionFromReferenceLabelMapFilter itk::RegionFromReferenceLabelMapFilter< TInputImage >::Self

Standard class typedefs.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 58 of file itkRegionFromReferenceLabelMapFilter.h.

template<class TInputImage >
typedef InputImageType::SizeType itk::RegionFromReferenceLabelMapFilter< TInputImage >::SizeType
template<class TInputImage >
typedef ChangeRegionLabelMapFilter< TInputImage > itk::RegionFromReferenceLabelMapFilter< TInputImage >::Superclass
template<class TInputImage >
typedef TInputImage itk::RegionFromReferenceLabelMapFilter< TInputImage >::TOutputImage

Constructor & Destructor Documentation

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

Definition at line 116 of file itkRegionFromReferenceLabelMapFilter.h.

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

Definition at line 121 of file itkRegionFromReferenceLabelMapFilter.h.

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

Member Function Documentation

template<class TInputImage >
virtual::itk::LightObject::Pointer itk::RegionFromReferenceLabelMapFilter< 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::RegionFromReferenceLabelMapFilter< 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 const char* itk::RegionFromReferenceLabelMapFilter< TInputImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

template<class TInputImage >
const ReferenceImageType* itk::RegionFromReferenceLabelMapFilter< TInputImage >::GetReferenceImage ( ) const
template<class TInputImage >
static Pointer itk::RegionFromReferenceLabelMapFilter< TInputImage >::New ( ) [static]

Standard New method.

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

template<class TInputImage >
void itk::RegionFromReferenceLabelMapFilter< 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::RegionFromReferenceLabelMapFilter< 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 >
void itk::RegionFromReferenceLabelMapFilter< TInputImage >::SetInput1 ( const TInputImage *  input) [inline]

Set the input image

Definition at line 104 of file itkRegionFromReferenceLabelMapFilter.h.

template<class TInputImage >
void itk::RegionFromReferenceLabelMapFilter< TInputImage >::SetInput2 ( const ReferenceImageType input) [inline]

Set the reference image

Definition at line 110 of file itkRegionFromReferenceLabelMapFilter.h.

template<class TInputImage >
void itk::RegionFromReferenceLabelMapFilter< TInputImage >::SetReferenceImage ( const ReferenceImageType image)

Copy the output information from another Image.


Member Data Documentation

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

ImageDimension constants

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 93 of file itkRegionFromReferenceLabelMapFilter.h.

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

ImageDimension constants

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 91 of file itkRegionFromReferenceLabelMapFilter.h.

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

ImageDimension constants

Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.

Definition at line 92 of file itkRegionFromReferenceLabelMapFilter.h.


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