SimpleITK  
Public Types | Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
itk::simple::ElastixImageFilter Class Reference

The class that wraps the elastix registration library. More...

#include <sitkElastixImageFilter.h>

+ Collaboration diagram for itk::simple::ElastixImageFilter:

Detailed Description

The class that wraps the elastix registration library.

Examples
Elastix/elx.cxx.

Definition at line 36 of file sitkElastixImageFilter.h.

Public Types

typedef Image(Self::* MemberFunctionType) (void)
 
typedef ElastixImageFilter::ParameterKeyType ParameterKeyType
 
typedef std::string ParameterKeyType
 
typedef ElastixImageFilter::ParameterMapConstIterator ParameterMapConstIterator
 
typedef ParameterMapType::const_iterator ParameterMapConstIterator
 
typedef ElastixImageFilter::ParameterMapIterator ParameterMapIterator
 
typedef ParameterMapType::iterator ParameterMapIterator
 
typedef ElastixImageFilter::ParameterMapType ParameterMapType
 
typedef std::map< ParameterKeyType, ParameterValueVectorTypeParameterMapType
 
typedef ElastixImageFilter::ParameterMapVectorType ParameterMapVectorType
 
typedef std::vector< ParameterMapTypeParameterMapVectorType
 
typedef elastix::ParameterObject::Pointer ParameterObjectPointer
 
typedef elastix::ParameterObject ParameterObjectType
 
typedef ElastixImageFilter::ParameterValueType ParameterValueType
 
typedef std::string ParameterValueType
 
typedef ElastixImageFilter::ParameterValueVectorIterator ParameterValueVectorIterator
 
typedef ParameterValueVectorType::iterator ParameterValueVectorIterator
 
typedef ElastixImageFilter::ParameterValueVectorType ParameterValueVectorType
 
typedef std::vector< ParameterValueTypeParameterValueVectorType
 
typedef ElastixImageFilterImpl Self
 
typedef ElastixImageFilter Self
 
typedef ElastixImageFilter::VectorOfImage VectorOfImage
 
typedef std::vector< ImageVectorOfImage
 

Public Member Functions

void AddFixedImage (const Image &fixedImage)
 
SelfAddFixedImage (const Image &fixedImage)
 Adds an image to the end of the container of fixed images. More...
 
void AddFixedMask (const Image &fixedMask)
 
SelfAddFixedMask (const Image &fixedMask)
 Adds an image to the end of the container of fixed masks. More...
 
void AddMovingImage (const Image &movingImage)
 
SelfAddMovingImage (const Image &movingImage)
 Adds an image to the end of the container of moving images. More...
 
void AddMovingMask (const Image &movingMask)
 
SelfAddMovingMask (const Image &movingMask)
 Adds an image to the end of the container of moving masks. More...
 
void AddParameter (const std::string key, const std::string value)
 
SelfAddParameter (const std::string key, const std::string value)
 Adds a parameter specified by key, with the specified value to all parameter maps. More...
 
void AddParameter (const std::string key, const std::vector< std::string > value)
 
SelfAddParameter (const std::string key, const std::vector< std::string > value)
 Adds a parameter specified by key, with the specified values to all parameter maps. More...
 
void AddParameter (const unsigned int index, const std::string key, const std::string value)
 
SelfAddParameter (const unsigned int index, const std::string key, const std::string value)
 Adds a parameter specified by key, with the specified value to the parameter map at the specified (zero-based) index. More...
 
void AddParameter (const unsigned int index, const std::string key, const std::vector< std::string > value)
 
SelfAddParameter (const unsigned int index, const std::string key, const std::vector< std::string > value)
 Adds a parameter specified by key, with the specified values to the parameter map at the specified (zero-based) index. More...
 
void AddParameterMap (const std::map< std::string, std::vector< std::string >> parameterMap)
 
SelfAddParameterMap (const std::map< std::string, std::vector< std::string >> parameterMap)
 Adds a parameter map to the container of parameter maps. More...
 
template<class TFixedImage , class TMovingImage >
Image DualExecuteInternal (void)
 
 ElastixImageFilter ()
 Default-constructor. More...
 
 ElastixImageFilterImpl (void)
 
Image Execute ()
 Executes the registration, and returns the result image. More...
 
Image Execute (void)
 
std::map< std::string, std::vector< std::string > > GetDefaultParameterMap (const std::string transformName, const unsigned int numberOfResolutions=4, const double finalGridSpacingInPhysicalUnits=10.0)
 
std::map< std::string, std::vector< std::string > > GetDefaultParameterMap (const std::string transformName, const unsigned int numberOfResolutions=4, const double finalGridSpacingInPhysicalUnits=10.0)
 Returns the default parameter map for the specified function arguments (transformName may be "translation", "rigid" , "affine", "nonrigid", or "bspline"). More...
 
VectorOfImageGetFixedImage ()
 Retrieves a reference to the container of fixed images. More...
 
ImageGetFixedImage (const unsigned long index)
 
ImageGetFixedImage (const unsigned long index)
 Retrieves a reference to the fixed image at the specified (zero-based) index. More...
 
VectorOfImageGetFixedImage (void)
 
VectorOfImageGetFixedMask ()
 Retrieves a reference to the container of fixed masks. More...
 
ImageGetFixedMask (const unsigned long index)
 
ImageGetFixedMask (const unsigned long index)
 Retrieves a reference to the fixed mask at the specified (zero-based) index. More...
 
VectorOfImageGetFixedMask (void)
 
std::string GetFixedPointSetFileName ()
 Returns the name of the current point set file of points from the fixed image. More...
 
std::string GetFixedPointSetFileName (void)
 
std::string GetInitialTransformParameterFileName ()
 Returns the initial transform parameter file name. More...
 
std::string GetInitialTransformParameterFileName (void)
 
std::string GetLogFileName ()
 Returns the name of the current log file. More...
 
std::string GetLogFileName (void)
 
bool GetLogToConsole ()
 Returns whether logging to console is switched on. More...
 
bool GetLogToConsole (void)
 
bool GetLogToFile ()
 Returns whether logging to file is switched on. More...
 
bool GetLogToFile (void)
 
VectorOfImageGetMovingImage ()
 Retrieves a reference to the moving image at the specified (zero-based) index. More...
 
ImageGetMovingImage (const unsigned long index)
 
ImageGetMovingImage (const unsigned long index)
 Retrieves a reference to the moving image at the specified (zero-based) index. More...
 
VectorOfImageGetMovingImage (void)
 
VectorOfImageGetMovingMask ()
 Retrieves a reference to the container of moving masks. More...
 
ImageGetMovingMask (const unsigned long index)
 
ImageGetMovingMask (const unsigned long index)
 Retrieves a reference to the moving mask at the specified (zero-based) index. More...
 
VectorOfImageGetMovingMask (void)
 
std::string GetMovingPointSetFileName ()
 Returns the name of the current point set file of points from the moving image. More...
 
std::string GetMovingPointSetFileName (void)
 
std::string GetName () const
 
std::string GetName (void) const
 
unsigned int GetNumberOfFixedImages ()
 
unsigned int GetNumberOfFixedImages ()
 Returns the number of fixed images. More...
 
unsigned int GetNumberOfFixedMasks ()
 
unsigned int GetNumberOfFixedMasks ()
 Returns the number of fixed masks. More...
 
unsigned int GetNumberOfMovingImages ()
 
unsigned int GetNumberOfMovingImages ()
 Returns the number of moving images. More...
 
unsigned int GetNumberOfMovingMasks ()
 
unsigned int GetNumberOfMovingMasks ()
 Returns the number of moving masks. More...
 
unsigned int GetNumberOfParameterMaps ()
 Returns the number of parameter maps. More...
 
unsigned int GetNumberOfParameterMaps (void)
 
int GetNumberOfThreads ()
 Returns the current maximum number of threads. More...
 
int GetNumberOfThreads (void)
 
std::string GetOutputDirectory ()
 Returns the current output directory. More...
 
std::string GetOutputDirectory (void)
 
std::vector< std::string > GetParameter (const std::string key)
 
std::vector< std::string > GetParameter (const std::string key)
 Retrieves the values of the parameter specified by key, when there is only one parameter map. More...
 
std::vector< std::string > GetParameter (const unsigned int index, const std::string key)
 
std::vector< std::string > GetParameter (const unsigned int index, const std::string key)
 Retrieves the values of the parameter specified by key, from the parameter map at the specified (zero-based) index. More...
 
std::vector< std::map< std::string, std::vector< std::string > > > GetParameterMap ()
 Returns a copy of the parameter maps. More...
 
std::vector< std::map< std::string, std::vector< std::string > > > GetParameterMap (void)
 
std::vector< std::map< std::string, std::vector< std::string > > > GetParameterMaps ()
 
Image GetResultImage ()
 Returns the result image. More...
 
Image GetResultImage (void)
 
std::vector< std::map< std::string, std::vector< std::string > > > GetTransformParameterMap ()
 Returns all transform parameter maps. More...
 
std::map< std::string, std::vector< std::string > > GetTransformParameterMap (const unsigned int index)
 
std::map< std::string, std::vector< std::string > > GetTransformParameterMap (const unsigned int index)
 Returns the transform parameter map at the specified (zero-based) index. More...
 
std::vector< std::map< std::string, std::vector< std::string > > > GetTransformParameterMap (void)
 
bool IsEmpty (const Image &image)
 
void LogToConsoleOff ()
 
SelfLogToConsoleOff ()
 Switches logging to console off. More...
 
void LogToConsoleOn ()
 
SelfLogToConsoleOn ()
 Switches logging to console on. More...
 
SelfLogToFileOff ()
 Switches logging to file off. More...
 
void LogToFileOff (void)
 
SelfLogToFileOn ()
 Switches logging to file on. More...
 
void LogToFileOn (void)
 
SelfPrintParameterMap ()
 Prints all parameter maps to standard output. More...
 
void PrintParameterMap (const ParameterMapType parameterMapVector)
 
SelfPrintParameterMap (const ParameterMapType parameterMapVector)
 Prints the specified parameter map to standard output. More...
 
void PrintParameterMap (const ParameterMapVectorType parameterMapVector)
 
SelfPrintParameterMap (const ParameterMapVectorType parameterMapVector)
 Prints the specified parameter maps to standard output. More...
 
void PrintParameterMap (void)
 
std::map< std::string, std::vector< std::string > > ReadParameterFile (const std::string filename)
 
std::map< std::string, std::vector< std::string > > ReadParameterFile (const std::string filename)
 Reads the parameter file specified by filename, and returns its content as a parameter map. More...
 
SelfRemoveFixedImage ()
 Removes all fixed images. More...
 
void RemoveFixedImage (const unsigned long index)
 
SelfRemoveFixedImage (const unsigned long index)
 Removes an image at the specified (zero-based) index from the container of fixed images. More...
 
void RemoveFixedImage (void)
 
SelfRemoveFixedMask ()
 Removes all fixed masks. More...
 
void RemoveFixedMask (const unsigned long index)
 
SelfRemoveFixedMask (const unsigned long index)
 Removes an image at the specified (zero-based) index from the container of fixed masks. More...
 
void RemoveFixedMask (void)
 
SelfRemoveFixedPointSetFileName ()
 Clears the current point set file name of points from the fixed image. More...
 
void RemoveFixedPointSetFileName (void)
 
SelfRemoveInitialTransformParameterFileName ()
 Clears the initial transform parameter file name. More...
 
void RemoveInitialTransformParameterFileName (void)
 
SelfRemoveLogFileName ()
 Clears the name of the current log file. More...
 
void RemoveLogFileName (void)
 
SelfRemoveMovingImage ()
 Removes all moving images. More...
 
void RemoveMovingImage (const unsigned long index)
 
SelfRemoveMovingImage (const unsigned long index)
 Removes an image at the specified (zero-based) index from the container of moving images. More...
 
void RemoveMovingImage (void)
 
SelfRemoveMovingMask ()
 Removes all moving masks. More...
 
void RemoveMovingMask (const unsigned long index)
 
SelfRemoveMovingMask (const unsigned long index)
 Removes an image at the specified (zero-based) index from the container of moving masks. More...
 
void RemoveMovingMask (void)
 
SelfRemoveMovingPointSetFileName ()
 Clears the current point set file name of points from the moving image. More...
 
void RemoveMovingPointSetFileName (void)
 
SelfRemoveOutputDirectory ()
 Clears the name of the current output directory. (Does not remove the actual directory.) More...
 
void RemoveOutputDirectory (void)
 
void RemoveParameter (const std::string key)
 
SelfRemoveParameter (const std::string key)
 Removes the parameter specified by key from all parameter maps. More...
 
void RemoveParameter (const unsigned int index, const std::string key)
 
SelfRemoveParameter (const unsigned int index, const std::string key)
 Removes the parameter specified by key from the parameter map at the specified (zero-based) index. More...
 
void SetFixedImage (const Image &fixedImage)
 
SelfSetFixedImage (const Image &fixedImage)
 Sets a fixed image. Stores the image into the container of fixed images. More...
 
void SetFixedImage (const VectorOfImage &fixedImages)
 
SelfSetFixedImage (const VectorOfImage &fixedImages)
 Sets multiple fixed images. Stores the images into the container of fixed images. More...
 
void SetFixedMask (const Image &fixedMask)
 
SelfSetFixedMask (const Image &fixedMask)
 Sets a fixed mask. Stores the image into the container of fixed masks. More...
 
void SetFixedMask (const VectorOfImage &fixedMasks)
 
SelfSetFixedMask (const VectorOfImage &fixedMasks)
 Sets multiple fixed masks. Stores the images into the container of fixed masks. More...
 
SelfSetFixedPointSetFileName (const std::string fixedPointSetFileName)
 Specifies a set of points from the fixed image by a point set file, fixedPointSetFileName. More...
 
void SetFixedPointSetFileName (const std::string movingPointSetFileName)
 
void SetInitialTransformParameterFileName (const std::string initialTransformParmaterFileName)
 
SelfSetInitialTransformParameterFileName (const std::string initialTransformParmaterFileName)
 Specifies the initial transformation by the specified transform parameter file name. More...
 
void SetLogFileName (const std::string logFileName)
 
SelfSetLogFileName (const std::string logFileName)
 Sets the name of the current log file. More...
 
void SetLogToConsole (bool)
 
SelfSetLogToConsole (bool)
 Switches logging to console on (true) or off (false), as specified by its function argument. More...
 
void SetLogToFile (const bool logToFile)
 
SelfSetLogToFile (const bool logToFile)
 Switches logging to file on (true) or off (false), as specified by its function argument. More...
 
void SetMovingImage (const Image &movingImages)
 
SelfSetMovingImage (const Image &movingImages)
 Sets a moving image. Stores the image into the container of moving images. More...
 
void SetMovingImage (const VectorOfImage &movingImage)
 
SelfSetMovingImage (const VectorOfImage &movingImage)
 Sets multiple moving images. Stores the images into the container of moving images. More...
 
void SetMovingMask (const Image &movingMask)
 
SelfSetMovingMask (const Image &movingMask)
 Sets a moving mask. Stores the image into the container of moving masks. More...
 
void SetMovingMask (const VectorOfImage &movingMasks)
 
SelfSetMovingMask (const VectorOfImage &movingMasks)
 Sets multiple moving masks. Stores the images into the container of moving masks. More...
 
void SetMovingPointSetFileName (const std::string movingPointSetFileName)
 
SelfSetMovingPointSetFileName (const std::string movingPointSetFileName)
 Specifies a set of points from the moving image by a point set file, movingPointSetFileName. More...
 
void SetNumberOfThreads (int n)
 
SelfSetNumberOfThreads (int n)
 Sets the maximum number of threads to the specified number n. More...
 
void SetOutputDirectory (const std::string outputDirectory)
 
SelfSetOutputDirectory (const std::string outputDirectory)
 Sets the output directory. More...
 
void SetParameter (const std::string key, const std::string value)
 
SelfSetParameter (const std::string key, const std::string value)
 Sets the value of the parameter specified by key, in all parameter maps. More...
 
void SetParameter (const std::string key, const std::vector< std::string > value)
 
SelfSetParameter (const std::string key, const std::vector< std::string > value)
 Sets the values of the parameter specified by key, in all parameter maps. More...
 
void SetParameter (const unsigned int index, const std::string key, const std::string value)
 
SelfSetParameter (const unsigned int index, const std::string key, const std::string value)
 Sets the value of the parameter specified by key, in the parameter map at the specified (zero-based) index. More...
 
void SetParameter (const unsigned int index, const std::string key, const std::vector< std::string > value)
 
SelfSetParameter (const unsigned int index, const std::string key, const std::vector< std::string > value)
 Sets the values of the parameter specified by key, in the parameter map at the specified (zero-based) index. More...
 
void SetParameterMap (const std::map< std::string, std::vector< std::string >> parameterMap)
 
SelfSetParameterMap (const std::map< std::string, std::vector< std::string >> parameterMap)
 Specifies a single parameter map. More...
 
void SetParameterMap (const std::string transformName, const unsigned int numberOfResolutions=4u, const double finalGridSpacingInPhysicalUnits=10.0)
 
SelfSetParameterMap (const std::string transformName, const unsigned int numberOfResolutions=4u, const double finalGridSpacingInPhysicalUnits=10.0)
 Specifies the parameter map by a transformName ("translation", "rigid" , "affine", "nonrigid", or "bspline"), and optionally numberOfResolutions and finalGridSpacingInPhysicalUnits. More...
 
void SetParameterMap (const std::vector< std::map< std::string, std::vector< std::string >>> parameterMapVector)
 
SelfSetParameterMap (const std::vector< std::map< std::string, std::vector< std::string >>> parameterMapVector)
 Specifies multiple parameter maps. More...
 
SelfSetParameterMaps (const std::vector< std::map< std::string, std::vector< std::string >>> parameterMapVector)
 
void WriteParameterFile (const std::map< std::string, std::vector< std::string >> parameterMap, const std::string filename)
 
SelfWriteParameterFile (const std::map< std::string, std::vector< std::string >> parameterMap, const std::string filename)
 Writes a parameter map to the file, specified by filename. More...
 
 ~ElastixImageFilter ()
 Destructor. More...
 
 ~ElastixImageFilterImpl (void)
 

Public Attributes

std::unique_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
 
VectorOfImage m_FixedImages
 
VectorOfImage m_FixedMasks
 
std::string m_FixedPointSetFileName
 
std::string m_InitialTransformParameterMapFileName
 
std::string m_LogFileName
 
bool m_LogToConsole
 
bool m_LogToFile
 
VectorOfImage m_MovingImages
 
VectorOfImage m_MovingMasks
 
std::string m_MovingPointSetFileName
 
int m_NumberOfThreads
 
std::string m_OutputDirectory
 
ParameterMapVectorType m_ParameterMapVector
 
Image m_ResultImage
 
ParameterMapVectorType m_TransformParameterMapVector
 

Private Attributes

const std::unique_ptr< ElastixImageFilterImplm_Pimple
 

Friends

struct detail::DualExecuteInternalAddressor< MemberFunctionType >
 

Member Typedef Documentation

◆ MemberFunctionType

typedef Image(Self::* itk::simple::ElastixImageFilter::MemberFunctionType) (void)

Definition at line 236 of file sitkElastixImageFilterImpl.h.

◆ ParameterKeyType [1/2]

Definition at line 26 of file sitkElastixImageFilterImpl.h.

◆ ParameterKeyType [2/2]

Definition at line 49 of file sitkElastixImageFilter.h.

◆ ParameterMapConstIterator [1/2]

Definition at line 33 of file sitkElastixImageFilterImpl.h.

◆ ParameterMapConstIterator [2/2]

typedef ParameterMapType::const_iterator itk::simple::ElastixImageFilter::ParameterMapConstIterator

Definition at line 56 of file sitkElastixImageFilter.h.

◆ ParameterMapIterator [1/2]

Definition at line 32 of file sitkElastixImageFilterImpl.h.

◆ ParameterMapIterator [2/2]

typedef ParameterMapType::iterator itk::simple::ElastixImageFilter::ParameterMapIterator

Definition at line 55 of file sitkElastixImageFilter.h.

◆ ParameterMapType [1/2]

Definition at line 30 of file sitkElastixImageFilterImpl.h.

◆ ParameterMapType [2/2]

Definition at line 53 of file sitkElastixImageFilter.h.

◆ ParameterMapVectorType [1/2]

Definition at line 31 of file sitkElastixImageFilterImpl.h.

◆ ParameterMapVectorType [2/2]

Definition at line 54 of file sitkElastixImageFilter.h.

◆ ParameterObjectPointer

Definition at line 36 of file sitkElastixImageFilterImpl.h.

◆ ParameterObjectType

typedef elastix::ParameterObject itk::simple::ElastixImageFilter::ParameterObjectType

Definition at line 35 of file sitkElastixImageFilterImpl.h.

◆ ParameterValueType [1/2]

Definition at line 27 of file sitkElastixImageFilterImpl.h.

◆ ParameterValueType [2/2]

Definition at line 50 of file sitkElastixImageFilter.h.

◆ ParameterValueVectorIterator [1/2]

Definition at line 29 of file sitkElastixImageFilterImpl.h.

◆ ParameterValueVectorIterator [2/2]

typedef ParameterValueVectorType::iterator itk::simple::ElastixImageFilter::ParameterValueVectorIterator

Definition at line 52 of file sitkElastixImageFilter.h.

◆ ParameterValueVectorType [1/2]

Definition at line 28 of file sitkElastixImageFilterImpl.h.

◆ ParameterValueVectorType [2/2]

Definition at line 51 of file sitkElastixImageFilter.h.

◆ Self [1/2]

Definition at line 22 of file sitkElastixImageFilterImpl.h.

◆ Self [2/2]

Definition at line 45 of file sitkElastixImageFilter.h.

◆ VectorOfImage [1/2]

Definition at line 24 of file sitkElastixImageFilterImpl.h.

◆ VectorOfImage [2/2]

Definition at line 47 of file sitkElastixImageFilter.h.

Constructor & Destructor Documentation

◆ ElastixImageFilter()

itk::simple::ElastixImageFilter::ElastixImageFilter ( )

Default-constructor.

◆ ~ElastixImageFilter()

itk::simple::ElastixImageFilter::~ElastixImageFilter ( )

Destructor.

◆ ~ElastixImageFilterImpl()

itk::simple::ElastixImageFilter::~ElastixImageFilterImpl ( void  )

Member Function Documentation

◆ AddFixedImage() [1/2]

void itk::simple::ElastixImageFilter::AddFixedImage ( const Image fixedImage)

◆ AddFixedImage() [2/2]

Self& itk::simple::ElastixImageFilter::AddFixedImage ( const Image fixedImage)

Adds an image to the end of the container of fixed images.

◆ AddFixedMask() [1/2]

void itk::simple::ElastixImageFilter::AddFixedMask ( const Image fixedMask)

◆ AddFixedMask() [2/2]

Self& itk::simple::ElastixImageFilter::AddFixedMask ( const Image fixedMask)

Adds an image to the end of the container of fixed masks.

◆ AddMovingImage() [1/2]

void itk::simple::ElastixImageFilter::AddMovingImage ( const Image movingImage)

◆ AddMovingImage() [2/2]

Self& itk::simple::ElastixImageFilter::AddMovingImage ( const Image movingImage)

Adds an image to the end of the container of moving images.

◆ AddMovingMask() [1/2]

void itk::simple::ElastixImageFilter::AddMovingMask ( const Image movingMask)

◆ AddMovingMask() [2/2]

Self& itk::simple::ElastixImageFilter::AddMovingMask ( const Image movingMask)

Adds an image to the end of the container of moving masks.

◆ AddParameter() [1/8]

void itk::simple::ElastixImageFilter::AddParameter ( const std::string  key,
const std::string  value 
)

◆ AddParameter() [2/8]

Self& itk::simple::ElastixImageFilter::AddParameter ( const std::string  key,
const std::string  value 
)

Adds a parameter specified by key, with the specified value to all parameter maps.

◆ AddParameter() [3/8]

void itk::simple::ElastixImageFilter::AddParameter ( const std::string  key,
const std::vector< std::string >  value 
)

◆ AddParameter() [4/8]

Self& itk::simple::ElastixImageFilter::AddParameter ( const std::string  key,
const std::vector< std::string >  value 
)

Adds a parameter specified by key, with the specified values to all parameter maps.

◆ AddParameter() [5/8]

void itk::simple::ElastixImageFilter::AddParameter ( const unsigned int  index,
const std::string  key,
const std::string  value 
)

◆ AddParameter() [6/8]

Self& itk::simple::ElastixImageFilter::AddParameter ( const unsigned int  index,
const std::string  key,
const std::string  value 
)

Adds a parameter specified by key, with the specified value to the parameter map at the specified (zero-based) index.

◆ AddParameter() [7/8]

void itk::simple::ElastixImageFilter::AddParameter ( const unsigned int  index,
const std::string  key,
const std::vector< std::string >  value 
)

◆ AddParameter() [8/8]

Self& itk::simple::ElastixImageFilter::AddParameter ( const unsigned int  index,
const std::string  key,
const std::vector< std::string >  value 
)

Adds a parameter specified by key, with the specified values to the parameter map at the specified (zero-based) index.

◆ AddParameterMap() [1/2]

void itk::simple::ElastixImageFilter::AddParameterMap ( const std::map< std::string, std::vector< std::string >>  parameterMap)

◆ AddParameterMap() [2/2]

Self& itk::simple::ElastixImageFilter::AddParameterMap ( const std::map< std::string, std::vector< std::string >>  parameterMap)

Adds a parameter map to the container of parameter maps.

◆ DualExecuteInternal()

template<class TFixedImage , class TMovingImage >
Image itk::simple::ElastixImageFilter::DualExecuteInternal ( void  )

◆ ElastixImageFilterImpl()

itk::simple::ElastixImageFilter::ElastixImageFilterImpl ( void  )

◆ Execute() [1/2]

Image itk::simple::ElastixImageFilter::Execute ( )

Executes the registration, and returns the result image.

Note
Before executing, the number of moving images must equal the number of fixed images, the number of fixed masks must be either zero, or one, or equal to the number of fixed images, and the number of moving masks must be either zero, or one, or equal to the number of moving images
Examples
Elastix/elx.cxx.

◆ Execute() [2/2]

Image itk::simple::ElastixImageFilter::Execute ( void  )

◆ GetDefaultParameterMap() [1/2]

std::map<std::string, std::vector<std::string> > itk::simple::ElastixImageFilter::GetDefaultParameterMap ( const std::string  transformName,
const unsigned int  numberOfResolutions = 4,
const double  finalGridSpacingInPhysicalUnits = 10.0 
)

◆ GetDefaultParameterMap() [2/2]

std::map<std::string, std::vector<std::string> > itk::simple::ElastixImageFilter::GetDefaultParameterMap ( const std::string  transformName,
const unsigned int  numberOfResolutions = 4,
const double  finalGridSpacingInPhysicalUnits = 10.0 
)

Returns the default parameter map for the specified function arguments (transformName may be "translation", "rigid" , "affine", "nonrigid", or "bspline").

◆ GetFixedImage() [1/4]

VectorOfImage& itk::simple::ElastixImageFilter::GetFixedImage ( )

Retrieves a reference to the container of fixed images.

◆ GetFixedImage() [2/4]

Image& itk::simple::ElastixImageFilter::GetFixedImage ( const unsigned long  index)

◆ GetFixedImage() [3/4]

Image& itk::simple::ElastixImageFilter::GetFixedImage ( const unsigned long  index)

Retrieves a reference to the fixed image at the specified (zero-based) index.

◆ GetFixedImage() [4/4]

VectorOfImage& itk::simple::ElastixImageFilter::GetFixedImage ( void  )

◆ GetFixedMask() [1/4]

VectorOfImage& itk::simple::ElastixImageFilter::GetFixedMask ( )

Retrieves a reference to the container of fixed masks.

◆ GetFixedMask() [2/4]

Image& itk::simple::ElastixImageFilter::GetFixedMask ( const unsigned long  index)

◆ GetFixedMask() [3/4]

Image& itk::simple::ElastixImageFilter::GetFixedMask ( const unsigned long  index)

Retrieves a reference to the fixed mask at the specified (zero-based) index.

◆ GetFixedMask() [4/4]

VectorOfImage& itk::simple::ElastixImageFilter::GetFixedMask ( void  )

◆ GetFixedPointSetFileName() [1/2]

std::string itk::simple::ElastixImageFilter::GetFixedPointSetFileName ( )

Returns the name of the current point set file of points from the fixed image.

◆ GetFixedPointSetFileName() [2/2]

std::string itk::simple::ElastixImageFilter::GetFixedPointSetFileName ( void  )

◆ GetInitialTransformParameterFileName() [1/2]

std::string itk::simple::ElastixImageFilter::GetInitialTransformParameterFileName ( )

Returns the initial transform parameter file name.

◆ GetInitialTransformParameterFileName() [2/2]

std::string itk::simple::ElastixImageFilter::GetInitialTransformParameterFileName ( void  )

◆ GetLogFileName() [1/2]

std::string itk::simple::ElastixImageFilter::GetLogFileName ( )

Returns the name of the current log file.

◆ GetLogFileName() [2/2]

std::string itk::simple::ElastixImageFilter::GetLogFileName ( void  )

◆ GetLogToConsole() [1/2]

bool itk::simple::ElastixImageFilter::GetLogToConsole ( )

Returns whether logging to console is switched on.

◆ GetLogToConsole() [2/2]

bool itk::simple::ElastixImageFilter::GetLogToConsole ( void  )

◆ GetLogToFile() [1/2]

bool itk::simple::ElastixImageFilter::GetLogToFile ( )

Returns whether logging to file is switched on.

◆ GetLogToFile() [2/2]

bool itk::simple::ElastixImageFilter::GetLogToFile ( void  )

◆ GetMovingImage() [1/4]

VectorOfImage& itk::simple::ElastixImageFilter::GetMovingImage ( )

Retrieves a reference to the moving image at the specified (zero-based) index.

◆ GetMovingImage() [2/4]

Image& itk::simple::ElastixImageFilter::GetMovingImage ( const unsigned long  index)

◆ GetMovingImage() [3/4]

Image& itk::simple::ElastixImageFilter::GetMovingImage ( const unsigned long  index)

Retrieves a reference to the moving image at the specified (zero-based) index.

◆ GetMovingImage() [4/4]

VectorOfImage& itk::simple::ElastixImageFilter::GetMovingImage ( void  )

◆ GetMovingMask() [1/4]

VectorOfImage& itk::simple::ElastixImageFilter::GetMovingMask ( )

Retrieves a reference to the container of moving masks.

◆ GetMovingMask() [2/4]

Image& itk::simple::ElastixImageFilter::GetMovingMask ( const unsigned long  index)

◆ GetMovingMask() [3/4]

Image& itk::simple::ElastixImageFilter::GetMovingMask ( const unsigned long  index)

Retrieves a reference to the moving mask at the specified (zero-based) index.

◆ GetMovingMask() [4/4]

VectorOfImage& itk::simple::ElastixImageFilter::GetMovingMask ( void  )

◆ GetMovingPointSetFileName() [1/2]

std::string itk::simple::ElastixImageFilter::GetMovingPointSetFileName ( )

Returns the name of the current point set file of points from the moving image.

◆ GetMovingPointSetFileName() [2/2]

std::string itk::simple::ElastixImageFilter::GetMovingPointSetFileName ( void  )

◆ GetName() [1/2]

std::string itk::simple::ElastixImageFilter::GetName ( ) const

◆ GetName() [2/2]

std::string itk::simple::ElastixImageFilter::GetName ( void  ) const

◆ GetNumberOfFixedImages() [1/2]

unsigned int itk::simple::ElastixImageFilter::GetNumberOfFixedImages ( )

◆ GetNumberOfFixedImages() [2/2]

unsigned int itk::simple::ElastixImageFilter::GetNumberOfFixedImages ( )

Returns the number of fixed images.

◆ GetNumberOfFixedMasks() [1/2]

unsigned int itk::simple::ElastixImageFilter::GetNumberOfFixedMasks ( )

◆ GetNumberOfFixedMasks() [2/2]

unsigned int itk::simple::ElastixImageFilter::GetNumberOfFixedMasks ( )

Returns the number of fixed masks.

◆ GetNumberOfMovingImages() [1/2]

unsigned int itk::simple::ElastixImageFilter::GetNumberOfMovingImages ( )

◆ GetNumberOfMovingImages() [2/2]

unsigned int itk::simple::ElastixImageFilter::GetNumberOfMovingImages ( )

Returns the number of moving images.

◆ GetNumberOfMovingMasks() [1/2]

unsigned int itk::simple::ElastixImageFilter::GetNumberOfMovingMasks ( )

◆ GetNumberOfMovingMasks() [2/2]

unsigned int itk::simple::ElastixImageFilter::GetNumberOfMovingMasks ( )

Returns the number of moving masks.

◆ GetNumberOfParameterMaps() [1/2]

unsigned int itk::simple::ElastixImageFilter::GetNumberOfParameterMaps ( )

Returns the number of parameter maps.

◆ GetNumberOfParameterMaps() [2/2]

unsigned int itk::simple::ElastixImageFilter::GetNumberOfParameterMaps ( void  )

◆ GetNumberOfThreads() [1/2]

int itk::simple::ElastixImageFilter::GetNumberOfThreads ( )

Returns the current maximum number of threads.

◆ GetNumberOfThreads() [2/2]

int itk::simple::ElastixImageFilter::GetNumberOfThreads ( void  )

◆ GetOutputDirectory() [1/2]

std::string itk::simple::ElastixImageFilter::GetOutputDirectory ( )

Returns the current output directory.

◆ GetOutputDirectory() [2/2]

std::string itk::simple::ElastixImageFilter::GetOutputDirectory ( void  )

◆ GetParameter() [1/4]

std::vector<std::string> itk::simple::ElastixImageFilter::GetParameter ( const std::string  key)

◆ GetParameter() [2/4]

std::vector<std::string> itk::simple::ElastixImageFilter::GetParameter ( const std::string  key)

Retrieves the values of the parameter specified by key, when there is only one parameter map.

◆ GetParameter() [3/4]

std::vector<std::string> itk::simple::ElastixImageFilter::GetParameter ( const unsigned int  index,
const std::string  key 
)

◆ GetParameter() [4/4]

std::vector<std::string> itk::simple::ElastixImageFilter::GetParameter ( const unsigned int  index,
const std::string  key 
)

Retrieves the values of the parameter specified by key, from the parameter map at the specified (zero-based) index.

◆ GetParameterMap() [1/2]

std::vector<std::map<std::string, std::vector<std::string> > > itk::simple::ElastixImageFilter::GetParameterMap ( )

Returns a copy of the parameter maps.

◆ GetParameterMap() [2/2]

std::vector<std::map<std::string, std::vector<std::string> > > itk::simple::ElastixImageFilter::GetParameterMap ( void  )

◆ GetParameterMaps()

std::vector<std::map<std::string, std::vector<std::string> > > itk::simple::ElastixImageFilter::GetParameterMaps ( )
inline

Definition at line 304 of file sitkElastixImageFilter.h.

◆ GetResultImage() [1/2]

Image itk::simple::ElastixImageFilter::GetResultImage ( )

Returns the result image.

Examples
Elastix/elx.cxx.

◆ GetResultImage() [2/2]

Image itk::simple::ElastixImageFilter::GetResultImage ( void  )

◆ GetTransformParameterMap() [1/4]

std::vector<std::map<std::string, std::vector<std::string> > > itk::simple::ElastixImageFilter::GetTransformParameterMap ( )

Returns all transform parameter maps.

Examples
Elastix/elx.cxx.

◆ GetTransformParameterMap() [2/4]

std::map<std::string, std::vector<std::string> > itk::simple::ElastixImageFilter::GetTransformParameterMap ( const unsigned int  index)

◆ GetTransformParameterMap() [3/4]

std::map<std::string, std::vector<std::string> > itk::simple::ElastixImageFilter::GetTransformParameterMap ( const unsigned int  index)

Returns the transform parameter map at the specified (zero-based) index.

◆ GetTransformParameterMap() [4/4]

std::vector<std::map<std::string, std::vector<std::string> > > itk::simple::ElastixImageFilter::GetTransformParameterMap ( void  )

◆ IsEmpty()

bool itk::simple::ElastixImageFilter::IsEmpty ( const Image image)

◆ LogToConsoleOff() [1/2]

void itk::simple::ElastixImageFilter::LogToConsoleOff ( )

◆ LogToConsoleOff() [2/2]

Self& itk::simple::ElastixImageFilter::LogToConsoleOff ( )

Switches logging to console off.

◆ LogToConsoleOn() [1/2]

void itk::simple::ElastixImageFilter::LogToConsoleOn ( )

◆ LogToConsoleOn() [2/2]

Self& itk::simple::ElastixImageFilter::LogToConsoleOn ( )

Switches logging to console on.

Examples
Elastix/elx.cxx.

◆ LogToFileOff() [1/2]

Self& itk::simple::ElastixImageFilter::LogToFileOff ( )

Switches logging to file off.

◆ LogToFileOff() [2/2]

void itk::simple::ElastixImageFilter::LogToFileOff ( void  )

◆ LogToFileOn() [1/2]

Self& itk::simple::ElastixImageFilter::LogToFileOn ( )

Switches logging to file on.

◆ LogToFileOn() [2/2]

void itk::simple::ElastixImageFilter::LogToFileOn ( void  )

◆ PrintParameterMap() [1/6]

Self& itk::simple::ElastixImageFilter::PrintParameterMap ( )

Prints all parameter maps to standard output.

◆ PrintParameterMap() [2/6]

void itk::simple::ElastixImageFilter::PrintParameterMap ( const ParameterMapType  parameterMapVector)

◆ PrintParameterMap() [3/6]

Self& itk::simple::ElastixImageFilter::PrintParameterMap ( const ParameterMapType  parameterMapVector)

Prints the specified parameter map to standard output.

◆ PrintParameterMap() [4/6]

void itk::simple::ElastixImageFilter::PrintParameterMap ( const ParameterMapVectorType  parameterMapVector)

◆ PrintParameterMap() [5/6]

Self& itk::simple::ElastixImageFilter::PrintParameterMap ( const ParameterMapVectorType  parameterMapVector)

Prints the specified parameter maps to standard output.

◆ PrintParameterMap() [6/6]

void itk::simple::ElastixImageFilter::PrintParameterMap ( void  )

◆ ReadParameterFile() [1/2]

std::map<std::string, std::vector<std::string> > itk::simple::ElastixImageFilter::ReadParameterFile ( const std::string  filename)

◆ ReadParameterFile() [2/2]

std::map<std::string, std::vector<std::string> > itk::simple::ElastixImageFilter::ReadParameterFile ( const std::string  filename)

Reads the parameter file specified by filename, and returns its content as a parameter map.

◆ RemoveFixedImage() [1/4]

Self& itk::simple::ElastixImageFilter::RemoveFixedImage ( )

Removes all fixed images.

◆ RemoveFixedImage() [2/4]

void itk::simple::ElastixImageFilter::RemoveFixedImage ( const unsigned long  index)

◆ RemoveFixedImage() [3/4]

Self& itk::simple::ElastixImageFilter::RemoveFixedImage ( const unsigned long  index)

Removes an image at the specified (zero-based) index from the container of fixed images.

◆ RemoveFixedImage() [4/4]

void itk::simple::ElastixImageFilter::RemoveFixedImage ( void  )

◆ RemoveFixedMask() [1/4]

Self& itk::simple::ElastixImageFilter::RemoveFixedMask ( )

Removes all fixed masks.

◆ RemoveFixedMask() [2/4]

void itk::simple::ElastixImageFilter::RemoveFixedMask ( const unsigned long  index)

◆ RemoveFixedMask() [3/4]

Self& itk::simple::ElastixImageFilter::RemoveFixedMask ( const unsigned long  index)

Removes an image at the specified (zero-based) index from the container of fixed masks.

◆ RemoveFixedMask() [4/4]

void itk::simple::ElastixImageFilter::RemoveFixedMask ( void  )

◆ RemoveFixedPointSetFileName() [1/2]

Self& itk::simple::ElastixImageFilter::RemoveFixedPointSetFileName ( )

Clears the current point set file name of points from the fixed image.

◆ RemoveFixedPointSetFileName() [2/2]

void itk::simple::ElastixImageFilter::RemoveFixedPointSetFileName ( void  )

◆ RemoveInitialTransformParameterFileName() [1/2]

Self& itk::simple::ElastixImageFilter::RemoveInitialTransformParameterFileName ( )

Clears the initial transform parameter file name.

◆ RemoveInitialTransformParameterFileName() [2/2]

void itk::simple::ElastixImageFilter::RemoveInitialTransformParameterFileName ( void  )

◆ RemoveLogFileName() [1/2]

Self& itk::simple::ElastixImageFilter::RemoveLogFileName ( )

Clears the name of the current log file.

◆ RemoveLogFileName() [2/2]

void itk::simple::ElastixImageFilter::RemoveLogFileName ( void  )

◆ RemoveMovingImage() [1/4]

Self& itk::simple::ElastixImageFilter::RemoveMovingImage ( )

Removes all moving images.

◆ RemoveMovingImage() [2/4]

void itk::simple::ElastixImageFilter::RemoveMovingImage ( const unsigned long  index)

◆ RemoveMovingImage() [3/4]

Self& itk::simple::ElastixImageFilter::RemoveMovingImage ( const unsigned long  index)

Removes an image at the specified (zero-based) index from the container of moving images.

◆ RemoveMovingImage() [4/4]

void itk::simple::ElastixImageFilter::RemoveMovingImage ( void  )

◆ RemoveMovingMask() [1/4]

Self& itk::simple::ElastixImageFilter::RemoveMovingMask ( )

Removes all moving masks.

◆ RemoveMovingMask() [2/4]

void itk::simple::ElastixImageFilter::RemoveMovingMask ( const unsigned long  index)

◆ RemoveMovingMask() [3/4]

Self& itk::simple::ElastixImageFilter::RemoveMovingMask ( const unsigned long  index)

Removes an image at the specified (zero-based) index from the container of moving masks.

◆ RemoveMovingMask() [4/4]

void itk::simple::ElastixImageFilter::RemoveMovingMask ( void  )

◆ RemoveMovingPointSetFileName() [1/2]

Self& itk::simple::ElastixImageFilter::RemoveMovingPointSetFileName ( )

Clears the current point set file name of points from the moving image.

◆ RemoveMovingPointSetFileName() [2/2]

void itk::simple::ElastixImageFilter::RemoveMovingPointSetFileName ( void  )

◆ RemoveOutputDirectory() [1/2]

Self& itk::simple::ElastixImageFilter::RemoveOutputDirectory ( )

Clears the name of the current output directory. (Does not remove the actual directory.)

◆ RemoveOutputDirectory() [2/2]

void itk::simple::ElastixImageFilter::RemoveOutputDirectory ( void  )

◆ RemoveParameter() [1/4]

void itk::simple::ElastixImageFilter::RemoveParameter ( const std::string  key)

◆ RemoveParameter() [2/4]

Self& itk::simple::ElastixImageFilter::RemoveParameter ( const std::string  key)

Removes the parameter specified by key from all parameter maps.

◆ RemoveParameter() [3/4]

void itk::simple::ElastixImageFilter::RemoveParameter ( const unsigned int  index,
const std::string  key 
)

◆ RemoveParameter() [4/4]

Self& itk::simple::ElastixImageFilter::RemoveParameter ( const unsigned int  index,
const std::string  key 
)

Removes the parameter specified by key from the parameter map at the specified (zero-based) index.

◆ SetFixedImage() [1/4]

void itk::simple::ElastixImageFilter::SetFixedImage ( const Image fixedImage)

◆ SetFixedImage() [2/4]

Self& itk::simple::ElastixImageFilter::SetFixedImage ( const Image fixedImage)

Sets a fixed image. Stores the image into the container of fixed images.

Examples
Elastix/elx.cxx.

◆ SetFixedImage() [3/4]

void itk::simple::ElastixImageFilter::SetFixedImage ( const VectorOfImage fixedImages)

◆ SetFixedImage() [4/4]

Self& itk::simple::ElastixImageFilter::SetFixedImage ( const VectorOfImage fixedImages)

Sets multiple fixed images. Stores the images into the container of fixed images.

◆ SetFixedMask() [1/4]

void itk::simple::ElastixImageFilter::SetFixedMask ( const Image fixedMask)

◆ SetFixedMask() [2/4]

Self& itk::simple::ElastixImageFilter::SetFixedMask ( const Image fixedMask)

Sets a fixed mask. Stores the image into the container of fixed masks.

◆ SetFixedMask() [3/4]

void itk::simple::ElastixImageFilter::SetFixedMask ( const VectorOfImage fixedMasks)

◆ SetFixedMask() [4/4]

Self& itk::simple::ElastixImageFilter::SetFixedMask ( const VectorOfImage fixedMasks)

Sets multiple fixed masks. Stores the images into the container of fixed masks.

◆ SetFixedPointSetFileName() [1/2]

Self& itk::simple::ElastixImageFilter::SetFixedPointSetFileName ( const std::string  fixedPointSetFileName)

Specifies a set of points from the fixed image by a point set file, fixedPointSetFileName.

◆ SetFixedPointSetFileName() [2/2]

void itk::simple::ElastixImageFilter::SetFixedPointSetFileName ( const std::string  movingPointSetFileName)

◆ SetInitialTransformParameterFileName() [1/2]

void itk::simple::ElastixImageFilter::SetInitialTransformParameterFileName ( const std::string  initialTransformParmaterFileName)

◆ SetInitialTransformParameterFileName() [2/2]

Self& itk::simple::ElastixImageFilter::SetInitialTransformParameterFileName ( const std::string  initialTransformParmaterFileName)

Specifies the initial transformation by the specified transform parameter file name.

◆ SetLogFileName() [1/2]

void itk::simple::ElastixImageFilter::SetLogFileName ( const std::string  logFileName)

◆ SetLogFileName() [2/2]

Self& itk::simple::ElastixImageFilter::SetLogFileName ( const std::string  logFileName)

Sets the name of the current log file.

◆ SetLogToConsole() [1/2]

void itk::simple::ElastixImageFilter::SetLogToConsole ( bool  )

◆ SetLogToConsole() [2/2]

Self& itk::simple::ElastixImageFilter::SetLogToConsole ( bool  )

Switches logging to console on (true) or off (false), as specified by its function argument.

◆ SetLogToFile() [1/2]

void itk::simple::ElastixImageFilter::SetLogToFile ( const bool  logToFile)

◆ SetLogToFile() [2/2]

Self& itk::simple::ElastixImageFilter::SetLogToFile ( const bool  logToFile)

Switches logging to file on (true) or off (false), as specified by its function argument.

◆ SetMovingImage() [1/4]

void itk::simple::ElastixImageFilter::SetMovingImage ( const Image movingImages)

◆ SetMovingImage() [2/4]

Self& itk::simple::ElastixImageFilter::SetMovingImage ( const Image movingImages)

Sets a moving image. Stores the image into the container of moving images.

Examples
Elastix/elx.cxx.

◆ SetMovingImage() [3/4]

void itk::simple::ElastixImageFilter::SetMovingImage ( const VectorOfImage movingImage)

◆ SetMovingImage() [4/4]

Self& itk::simple::ElastixImageFilter::SetMovingImage ( const VectorOfImage movingImage)

Sets multiple moving images. Stores the images into the container of moving images.

◆ SetMovingMask() [1/4]

void itk::simple::ElastixImageFilter::SetMovingMask ( const Image movingMask)

◆ SetMovingMask() [2/4]

Self& itk::simple::ElastixImageFilter::SetMovingMask ( const Image movingMask)

Sets a moving mask. Stores the image into the container of moving masks.

◆ SetMovingMask() [3/4]

void itk::simple::ElastixImageFilter::SetMovingMask ( const VectorOfImage movingMasks)

◆ SetMovingMask() [4/4]

Self& itk::simple::ElastixImageFilter::SetMovingMask ( const VectorOfImage movingMasks)

Sets multiple moving masks. Stores the images into the container of moving masks.

◆ SetMovingPointSetFileName() [1/2]

void itk::simple::ElastixImageFilter::SetMovingPointSetFileName ( const std::string  movingPointSetFileName)

◆ SetMovingPointSetFileName() [2/2]

Self& itk::simple::ElastixImageFilter::SetMovingPointSetFileName ( const std::string  movingPointSetFileName)

Specifies a set of points from the moving image by a point set file, movingPointSetFileName.

◆ SetNumberOfThreads() [1/2]

void itk::simple::ElastixImageFilter::SetNumberOfThreads ( int  n)

◆ SetNumberOfThreads() [2/2]

Self& itk::simple::ElastixImageFilter::SetNumberOfThreads ( int  n)

Sets the maximum number of threads to the specified number n.

Note
As a side effect, it may modify the global maximum number of threads, as it internally calls ITK's MultiThreaderBase.SetGlobalMaximumNumberOfThreads.

◆ SetOutputDirectory() [1/2]

void itk::simple::ElastixImageFilter::SetOutputDirectory ( const std::string  outputDirectory)

◆ SetOutputDirectory() [2/2]

Self& itk::simple::ElastixImageFilter::SetOutputDirectory ( const std::string  outputDirectory)

Sets the output directory.

◆ SetParameter() [1/8]

void itk::simple::ElastixImageFilter::SetParameter ( const std::string  key,
const std::string  value 
)

◆ SetParameter() [2/8]

Self& itk::simple::ElastixImageFilter::SetParameter ( const std::string  key,
const std::string  value 
)

Sets the value of the parameter specified by key, in all parameter maps.

◆ SetParameter() [3/8]

void itk::simple::ElastixImageFilter::SetParameter ( const std::string  key,
const std::vector< std::string >  value 
)

◆ SetParameter() [4/8]

Self& itk::simple::ElastixImageFilter::SetParameter ( const std::string  key,
const std::vector< std::string >  value 
)

Sets the values of the parameter specified by key, in all parameter maps.

◆ SetParameter() [5/8]

void itk::simple::ElastixImageFilter::SetParameter ( const unsigned int  index,
const std::string  key,
const std::string  value 
)

◆ SetParameter() [6/8]

Self& itk::simple::ElastixImageFilter::SetParameter ( const unsigned int  index,
const std::string  key,
const std::string  value 
)

Sets the value of the parameter specified by key, in the parameter map at the specified (zero-based) index.

◆ SetParameter() [7/8]

void itk::simple::ElastixImageFilter::SetParameter ( const unsigned int  index,
const std::string  key,
const std::vector< std::string >  value 
)

◆ SetParameter() [8/8]

Self& itk::simple::ElastixImageFilter::SetParameter ( const unsigned int  index,
const std::string  key,
const std::vector< std::string >  value 
)

Sets the values of the parameter specified by key, in the parameter map at the specified (zero-based) index.

◆ SetParameterMap() [1/6]

void itk::simple::ElastixImageFilter::SetParameterMap ( const std::map< std::string, std::vector< std::string >>  parameterMap)

◆ SetParameterMap() [2/6]

Self& itk::simple::ElastixImageFilter::SetParameterMap ( const std::map< std::string, std::vector< std::string >>  parameterMap)

Specifies a single parameter map.

◆ SetParameterMap() [3/6]

void itk::simple::ElastixImageFilter::SetParameterMap ( const std::string  transformName,
const unsigned int  numberOfResolutions = 4u,
const double  finalGridSpacingInPhysicalUnits = 10.0 
)

◆ SetParameterMap() [4/6]

Self& itk::simple::ElastixImageFilter::SetParameterMap ( const std::string  transformName,
const unsigned int  numberOfResolutions = 4u,
const double  finalGridSpacingInPhysicalUnits = 10.0 
)

Specifies the parameter map by a transformName ("translation", "rigid" , "affine", "nonrigid", or "bspline"), and optionally numberOfResolutions and finalGridSpacingInPhysicalUnits.

Examples
Elastix/elx.cxx.

◆ SetParameterMap() [5/6]

void itk::simple::ElastixImageFilter::SetParameterMap ( const std::vector< std::map< std::string, std::vector< std::string >>>  parameterMapVector)

◆ SetParameterMap() [6/6]

Self& itk::simple::ElastixImageFilter::SetParameterMap ( const std::vector< std::map< std::string, std::vector< std::string >>>  parameterMapVector)

Specifies multiple parameter maps.

◆ SetParameterMaps()

Self& itk::simple::ElastixImageFilter::SetParameterMaps ( const std::vector< std::map< std::string, std::vector< std::string >>>  parameterMapVector)
inline

Definition at line 290 of file sitkElastixImageFilter.h.

◆ WriteParameterFile() [1/2]

void itk::simple::ElastixImageFilter::WriteParameterFile ( const std::map< std::string, std::vector< std::string >>  parameterMap,
const std::string  filename 
)

◆ WriteParameterFile() [2/2]

Self& itk::simple::ElastixImageFilter::WriteParameterFile ( const std::map< std::string, std::vector< std::string >>  parameterMap,
const std::string  filename 
)

Writes a parameter map to the file, specified by filename.

Friends And Related Function Documentation

◆ detail::DualExecuteInternalAddressor< MemberFunctionType >

Definition at line 240 of file sitkElastixImageFilterImpl.h.

Member Data Documentation

◆ m_DualMemberFactory

std::unique_ptr<detail::DualMemberFunctionFactory<MemberFunctionType> > itk::simple::ElastixImageFilter::m_DualMemberFactory

Definition at line 241 of file sitkElastixImageFilterImpl.h.

◆ m_FixedImages

VectorOfImage itk::simple::ElastixImageFilter::m_FixedImages

Definition at line 243 of file sitkElastixImageFilterImpl.h.

◆ m_FixedMasks

VectorOfImage itk::simple::ElastixImageFilter::m_FixedMasks

Definition at line 245 of file sitkElastixImageFilterImpl.h.

◆ m_FixedPointSetFileName

std::string itk::simple::ElastixImageFilter::m_FixedPointSetFileName

Definition at line 250 of file sitkElastixImageFilterImpl.h.

◆ m_InitialTransformParameterMapFileName

std::string itk::simple::ElastixImageFilter::m_InitialTransformParameterMapFileName

Definition at line 249 of file sitkElastixImageFilterImpl.h.

◆ m_LogFileName

std::string itk::simple::ElastixImageFilter::m_LogFileName

Definition at line 257 of file sitkElastixImageFilterImpl.h.

◆ m_LogToConsole

bool itk::simple::ElastixImageFilter::m_LogToConsole

Definition at line 260 of file sitkElastixImageFilterImpl.h.

◆ m_LogToFile

bool itk::simple::ElastixImageFilter::m_LogToFile

Definition at line 259 of file sitkElastixImageFilterImpl.h.

◆ m_MovingImages

VectorOfImage itk::simple::ElastixImageFilter::m_MovingImages

Definition at line 244 of file sitkElastixImageFilterImpl.h.

◆ m_MovingMasks

VectorOfImage itk::simple::ElastixImageFilter::m_MovingMasks

Definition at line 246 of file sitkElastixImageFilterImpl.h.

◆ m_MovingPointSetFileName

std::string itk::simple::ElastixImageFilter::m_MovingPointSetFileName

Definition at line 251 of file sitkElastixImageFilterImpl.h.

◆ m_NumberOfThreads

int itk::simple::ElastixImageFilter::m_NumberOfThreads

Definition at line 262 of file sitkElastixImageFilterImpl.h.

◆ m_OutputDirectory

std::string itk::simple::ElastixImageFilter::m_OutputDirectory

Definition at line 256 of file sitkElastixImageFilterImpl.h.

◆ m_ParameterMapVector

ParameterMapVectorType itk::simple::ElastixImageFilter::m_ParameterMapVector

Definition at line 253 of file sitkElastixImageFilterImpl.h.

◆ m_Pimple

const std::unique_ptr<ElastixImageFilterImpl> itk::simple::ElastixImageFilter::m_Pimple
private

Definition at line 423 of file sitkElastixImageFilter.h.

◆ m_ResultImage

Image itk::simple::ElastixImageFilter::m_ResultImage

Definition at line 247 of file sitkElastixImageFilterImpl.h.

◆ m_TransformParameterMapVector

ParameterMapVectorType itk::simple::ElastixImageFilter::m_TransformParameterMapVector

Definition at line 254 of file sitkElastixImageFilterImpl.h.


The documentation for this class was generated from the following files: