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>

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 386 of file elxElastixBase.h.

Public Types

typedef ChangeInfoFilterType::Pointer ChangeInfoFilterPointer
 
typedef itk::ChangeInformationImageFilter< ImageTypeChangeInfoFilterType
 
typedef ImageType::DirectionType DirectionType
 
typedef ImageType::Pointer ImagePointer
 
typedef ImageReaderType::Pointer ImageReaderPointer
 
typedef itk::ImageFileReader< ImageTypeImageReaderType
 
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)
 
static DataObjectContainerPointer GenerateImageContainer (DataObjectPointer image)
 

Member Typedef Documentation

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

Definition at line 396 of file elxElastixBase.h.

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

Definition at line 395 of file elxElastixBase.h.

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

Definition at line 394 of file elxElastixBase.h.

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

Definition at line 391 of file elxElastixBase.h.

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

Definition at line 393 of file elxElastixBase.h.

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

Definition at line 392 of file elxElastixBase.h.

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

Definition at line 390 of file elxElastixBase.h.

Constructor & Destructor Documentation

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

Definition at line 465 of file elxElastixBase.h.

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

Definition at line 466 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 398 of file elxElastixBase.h.

template<class TImage >
static DataObjectContainerPointer elastix::ElastixBase::MultipleImageLoader< TImage >::GenerateImageContainer ( DataObjectPointer  image)
inlinestatic

Static method overloaded GenerateImageContainer.

Definition at line 451 of file elxElastixBase.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo