![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxElastixBase.h>
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 439 of file elxElastixBase.h.
Public Types | |
using | DirectionType = typename TImage::DirectionType |
Public Member Functions | |
MultipleImageLoader ()=default | |
~MultipleImageLoader ()=default | |
Static Public Member Functions | |
static DataObjectContainerPointer | GenerateImageContainer (const FileNameContainerType *const fileNameContainer, const std::string &imageDescription, bool useDirectionCosines, DirectionType *originalDirectionCosines=nullptr) |
using elastix::ElastixBase::MultipleImageLoader< TImage >::DirectionType = typename TImage::DirectionType |
Definition at line 442 of file elxElastixBase.h.
|
default |
|
default |
|
inlinestatic |
Definition at line 445 of file elxElastixBase.h.
Generated on 2023-01-13
for elastix by ![]() |
![]() |