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 | Private Attributes
elastix::ELASTIX Class Reference

#include <elastixlib.h>

Detailed Description

Definition at line 59 of file elastixlib.h.

Public Types

typedef itk::DataObject Image
 
typedef Image::Pointer ImagePointer
 
typedef std::vector< itk::ParameterFileParser::ParameterMapTypeParameterMapListType
 
typedef itk::ParameterFileParser::ParameterMapType ParameterMapType
 
typedef itk::ParameterFileParser::ParameterValuesType ParameterValuesType
 

Public Member Functions

 ELASTIX ()
 
ImagePointer GetResultImage (void)
 
ParameterMapType GetTransformParameterMap (void)
 
ParameterMapListType GetTransformParameterMapList (void)
 
int RegisterImages (ImagePointer fixedImage, ImagePointer movingImage, ParameterMapType &parameterMap, std::string outputPath, bool performLogging, bool performCout, ImagePointer fixedMask=0, ImagePointer movingMask=0)
 
int RegisterImages (ImagePointer fixedImage, ImagePointer movingImage, std::vector< ParameterMapType > &parameterMaps, std::string outputPath, bool performLogging, bool performCout, ImagePointer fixedMask=0, ImagePointer movingMask=0)
 
virtual ~ELASTIX ()
 

Private Attributes

ImagePointer m_ResultImage
 
ParameterMapListType m_TransformParametersList
 

Member Typedef Documentation

typedef itk::DataObject elastix::ELASTIX::Image

Definition at line 64 of file elastixlib.h.

typedef Image::Pointer elastix::ELASTIX::ImagePointer

Definition at line 65 of file elastixlib.h.

Definition at line 70 of file elastixlib.h.

Definition at line 69 of file elastixlib.h.

Definition at line 68 of file elastixlib.h.

Constructor & Destructor Documentation

elastix::ELASTIX::ELASTIX ( )

Constructor and destructor

virtual elastix::ELASTIX::~ELASTIX ( )
virtual

Member Function Documentation

ImagePointer elastix::ELASTIX::GetResultImage ( void  )

Getter for result image.

ParameterMapType elastix::ELASTIX::GetTransformParameterMap ( void  )

Get transform parameters of last registration step.

ParameterMapListType elastix::ELASTIX::GetTransformParameterMapList ( void  )

Get transform parameters of all registration steps.

int elastix::ELASTIX::RegisterImages ( ImagePointer  fixedImage,
ImagePointer  movingImage,
ParameterMapType parameterMap,
std::string  outputPath,
bool  performLogging,
bool  performCout,
ImagePointer  fixedMask = 0,
ImagePointer  movingMask = 0 
)

The image registration interface functionality Note:

  • itk::Image::PixelType must be the same as specified in ParameterMap ('Fixed/MovingInternalImagePixelType')
  • Direction cosines are taken from fixed image (always set UseDirectionCosines TRUE) Params: fixedImage itk::Image note type should be the same as specified in the Parameterfile FixedInternalImagePixelType and dimensions! movingImage itk::Image note type should be the same as specified in the Parameterfile MovingInternalImagePixelType and dimensions! ParameterMap outputPath performLogging boolean indicating wether logging should be performed. NOTE: in case of logging also give a valid outputPath! performCout boolean indicating wether output should be send to command window fixedMask default no Mask present movingMask default no Mask present return value: 0 is success in case not 0 an error occurred 0 = success 1 = error -2 = output folder does not exist
    Todo:
    generate file elastix_errors.h containing error codedefines (e.g. #define ELASTIX_NO_ERROR 0)
int elastix::ELASTIX::RegisterImages ( ImagePointer  fixedImage,
ImagePointer  movingImage,
std::vector< ParameterMapType > &  parameterMaps,
std::string  outputPath,
bool  performLogging,
bool  performCout,
ImagePointer  fixedMask = 0,
ImagePointer  movingMask = 0 
)

Field Documentation

ImagePointer elastix::ELASTIX::m_ResultImage
private

Definition at line 133 of file elastixlib.h.

ParameterMapListType elastix::ELASTIX::m_TransformParametersList
private

Definition at line 136 of file elastixlib.h.



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