go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions
elastix::ElastixBase::MultipleImageLoader< TImage > Class Template Reference

#include <elxElastixBase.h>

Public Types

typedef
ChangeInfoFilterType::Pointer 
ChangeInfoFilterPointer
typedef
ChangeInformationImageFilter
< ImageType
ChangeInfoFilterType
typedef ImageType::DirectionType DirectionType
typedef ImageType::Pointer ImagePointer
typedef ImageReaderType::Pointer ImageReaderPointer
typedef ImageFileReader
< ImageType
ImageReaderType
typedef TImage ImageType

Public Member Functions

 MultipleImageLoader ()
 ~MultipleImageLoader ()

Static Public Member Functions

static DataObjectContainerPointer GenerateImageContainer (FileNameContainerType *fileNameContainer, const std::string &imageDescription, bool useDirectionCosines, DirectionType *originalDirectionCosines=NULL)

Detailed Description

template<class TImage>
class elastix::ElastixBase::MultipleImageLoader< TImage >

Convenient mini class to load the files specified by a filename container The function GenerateImageContainer can be used without instantiating an object of this class, since it is static. It has 2 arguments: the fileNameContainer, and a string containing a short description of the images to be loaded. In case of errors, an itk::ExceptionObject is thrown that includes this short description and the fileName which caused the error. See ElastixTemplate::Run() for an example of usage.

The useDirection option is built in as a means to ignore the direction cosines. Set it to false to force the direction cosines to identity. The original direction cosines are returned separately.

Definition at line 353 of file elxElastixBase.h.


Member Typedef Documentation

template<class TImage >
typedef ChangeInfoFilterType::Pointer elastix::ElastixBase::MultipleImageLoader< TImage >::ChangeInfoFilterPointer

Definition at line 362 of file elxElastixBase.h.

template<class TImage >
typedef ChangeInformationImageFilter<ImageType> elastix::ElastixBase::MultipleImageLoader< TImage >::ChangeInfoFilterType

Definition at line 361 of file elxElastixBase.h.

template<class TImage >
typedef ImageType::DirectionType elastix::ElastixBase::MultipleImageLoader< TImage >::DirectionType

Definition at line 360 of file elxElastixBase.h.

template<class TImage >
typedef ImageType::Pointer elastix::ElastixBase::MultipleImageLoader< TImage >::ImagePointer

Definition at line 357 of file elxElastixBase.h.

template<class TImage >
typedef ImageReaderType::Pointer elastix::ElastixBase::MultipleImageLoader< TImage >::ImageReaderPointer

Definition at line 359 of file elxElastixBase.h.

template<class TImage >
typedef ImageFileReader<ImageType> elastix::ElastixBase::MultipleImageLoader< TImage >::ImageReaderType

Definition at line 358 of file elxElastixBase.h.

template<class TImage >
typedef TImage elastix::ElastixBase::MultipleImageLoader< TImage >::ImageType

Definition at line 356 of file elxElastixBase.h.


Constructor & Destructor Documentation

template<class TImage >
elastix::ElastixBase::MultipleImageLoader< TImage >::MultipleImageLoader ( ) [inline]

Definition at line 415 of file elxElastixBase.h.

template<class TImage >
elastix::ElastixBase::MultipleImageLoader< TImage >::~MultipleImageLoader ( ) [inline]

Definition at line 416 of file elxElastixBase.h.


Member Function Documentation

template<class TImage >
static DataObjectContainerPointer elastix::ElastixBase::MultipleImageLoader< TImage >::GenerateImageContainer ( FileNameContainerType fileNameContainer,
const std::string &  imageDescription,
bool  useDirectionCosines,
DirectionType originalDirectionCosines = NULL 
) [inline, static]

Definition at line 364 of file elxElastixBase.h.



Generated on 11-05-2011 for elastix by doxygen 1.7.4 elastix logo