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>

Inheritance diagram for itk::CastImageFilter< TInputImage, TOutputImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::CastImageFilter< TInputImage, TOutputImage >:

Collaboration graph
[legend]
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 * GetNameOfClass () 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
 

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 76 of file itkCastImageFilter.h.

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

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 75 of file itkCastImageFilter.h.

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

Standard class typedefs.

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

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
 

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

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 >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

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

Method for creation through the object factory.

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:32:48 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000