Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::CastImageFilter< TInputImage, TOutputImage > Class Template Reference
[Intensity Image FiltersMultithreaded Filters]

Casts input pixels to output pixel type. More...

#include <itkCastImageFilter.h>

List of all members.

Public Types

typedef CastImageFilter Self
typedef UnaryFunctorImageFilter<
TInputImage, TOutputImage,
Functor::Cast< typename TInputImage::PixelType,
typename TOutputImage::PixelType > > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Public Member Functions

virtual const char * GetClassName () const

Static Public Member Functions

Pointer New ()

Protected Member Functions

 CastImageFilter ()
virtual ~CastImageFilter ()


Detailed Description

template<class TInputImage, class TOutputImage>
class itk::CastImageFilter< TInputImage, TOutputImage >

Casts input pixels to output pixel type.

This filter is templated over the input image type and the output image type.

CastImageFilter allows the input and output image to be different dimensions. This is useful if you want to cast an 2D image to 3D image. The resulting 3D image will have a single slice. If you attempt to cast an image to a lower dimension, the first "slice" (or line or volume) will be extracted. If you want to convert an image to a lower dimension and specify the subspace (i.e. which slice of a volume, etc.) then you should use ExtractImageFilter.

See also:
UnaryFunctorImageFilter

ExtractImageFilter

Definition at line 60 of file itkCastImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TOutputImage>
typedef SmartPointer<const Self> itk::CastImageFilter< TInputImage, TOutputImage >::ConstPointer
 

Definition at line 76 of file itkCastImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef SmartPointer<Self> itk::CastImageFilter< TInputImage, TOutputImage >::Pointer
 

Definition at line 75 of file itkCastImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef CastImageFilter itk::CastImageFilter< TInputImage, TOutputImage >::Self
 

Standard class typedefs. Definition at line 69 of file itkCastImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef UnaryFunctorImageFilter<TInputImage,TOutputImage, Functor::Cast< typename TInputImage::PixelType, typename TOutputImage::PixelType> > itk::CastImageFilter< TInputImage, TOutputImage >::Superclass
 

Definition at line 74 of file itkCastImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage>
itk::CastImageFilter< TInputImage, TOutputImage >::CastImageFilter  )  [inline, protected]
 

Definition at line 85 of file itkCastImageFilter.h.

template<class TInputImage, class TOutputImage>
virtual itk::CastImageFilter< TInputImage, TOutputImage >::~CastImageFilter  )  [inline, protected, virtual]
 

Definition at line 86 of file itkCastImageFilter.h.


Member Function Documentation

template<class TInputImage, class TOutputImage>
virtual const char* itk::CastImageFilter< TInputImage, TOutputImage >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

template<class TInputImage, class TOutputImage>
Pointer itk::CastImageFilter< TInputImage, TOutputImage >::New  )  [static]
 

Method for creation through the object factory.


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:42:14 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000