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
itk::ChangeInformationImageFilter
< ImageType
ChangeInfoFilterType
 
typedef ImageType::DirectionType DirectionType
 
typedef ImageType::Pointer ImagePointer
 
typedef ImageReaderType::Pointer ImageReaderPointer
 
typedef itk::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 361 of file elxElastixBase.h.

Member Typedef Documentation

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

Definition at line 370 of file elxElastixBase.h.

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

Definition at line 369 of file elxElastixBase.h.

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

Definition at line 368 of file elxElastixBase.h.

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

Definition at line 365 of file elxElastixBase.h.

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

Definition at line 367 of file elxElastixBase.h.

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

Definition at line 366 of file elxElastixBase.h.

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

Definition at line 364 of file elxElastixBase.h.

Constructor & Destructor Documentation

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

Definition at line 423 of file elxElastixBase.h.

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

Definition at line 424 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 
)
inlinestatic

Definition at line 372 of file elxElastixBase.h.



Generated on 05-01-2014 for elastix by doxygen 1.8.5 elastix logo