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 391 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 ()=default
 
 ~MultipleImageLoader ()=default
 

Static Public Member Functions

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

Member Typedef Documentation

◆ ChangeInfoFilterPointer

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

Definition at line 401 of file elxElastixBase.h.

◆ ChangeInfoFilterType

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

Definition at line 400 of file elxElastixBase.h.

◆ DirectionType

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

Definition at line 399 of file elxElastixBase.h.

◆ ImagePointer

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

Definition at line 396 of file elxElastixBase.h.

◆ ImageReaderPointer

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

Definition at line 398 of file elxElastixBase.h.

◆ ImageReaderType

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

Definition at line 397 of file elxElastixBase.h.

◆ ImageType

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

Definition at line 395 of file elxElastixBase.h.

Constructor & Destructor Documentation

◆ MultipleImageLoader()

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

◆ ~MultipleImageLoader()

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

Member Function Documentation

◆ GenerateImageContainer() [1/2]

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

Static method overloaded GenerateImageContainer.

Definition at line 456 of file elxElastixBase.h.

◆ GenerateImageContainer() [2/2]

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

Definition at line 403 of file elxElastixBase.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo