SimpleITK
|
The class that wraps the elastix registration library. More...
#include <sitkElastixImageFilter.h>
The class that wraps the elastix registration library.
Definition at line 36 of file sitkElastixImageFilter.h.
Public Member Functions | |
void | AddFixedImage (const Image &fixedImage) |
Self & | AddFixedImage (const Image &fixedImage) |
Adds an image to the end of the container of fixed images. More... | |
void | AddFixedMask (const Image &fixedMask) |
Self & | AddFixedMask (const Image &fixedMask) |
Adds an image to the end of the container of fixed masks. More... | |
void | AddMovingImage (const Image &movingImage) |
Self & | AddMovingImage (const Image &movingImage) |
Adds an image to the end of the container of moving images. More... | |
void | AddMovingMask (const Image &movingMask) |
Self & | AddMovingMask (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) |
Self & | AddParameter (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) |
Self & | 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. More... | |
void | AddParameter (const unsigned int index, const std::string key, const std::string value) |
Self & | 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 . More... | |
void | AddParameter (const unsigned int index, const std::string key, const std::vector< std::string > value) |
Self & | 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 . More... | |
void | AddParameterMap (const std::map< std::string, std::vector< std::string >> parameterMap) |
Self & | AddParameterMap (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... | |
VectorOfImage & | GetFixedImage () |
Retrieves a reference to the container of fixed images. More... | |
Image & | GetFixedImage (const unsigned long index) |
Image & | GetFixedImage (const unsigned long index) |
Retrieves a reference to the fixed image at the specified (zero-based) index . More... | |
VectorOfImage & | GetFixedImage (void) |
VectorOfImage & | GetFixedMask () |
Retrieves a reference to the container of fixed masks. More... | |
Image & | GetFixedMask (const unsigned long index) |
Image & | GetFixedMask (const unsigned long index) |
Retrieves a reference to the fixed mask at the specified (zero-based) index . More... | |
VectorOfImage & | GetFixedMask (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) |
VectorOfImage & | GetMovingImage () |
Retrieves a reference to the moving image at the specified (zero-based) index . More... | |
Image & | GetMovingImage (const unsigned long index) |
Image & | GetMovingImage (const unsigned long index) |
Retrieves a reference to the moving image at the specified (zero-based) index . More... | |
VectorOfImage & | GetMovingImage (void) |
VectorOfImage & | GetMovingMask () |
Retrieves a reference to the container of moving masks. More... | |
Image & | GetMovingMask (const unsigned long index) |
Image & | GetMovingMask (const unsigned long index) |
Retrieves a reference to the moving mask at the specified (zero-based) index . More... | |
VectorOfImage & | GetMovingMask (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 () |
Self & | LogToConsoleOff () |
Switches logging to console off. More... | |
void | LogToConsoleOn () |
Self & | LogToConsoleOn () |
Switches logging to console on. More... | |
Self & | LogToFileOff () |
Switches logging to file off. More... | |
void | LogToFileOff (void) |
Self & | LogToFileOn () |
Switches logging to file on. More... | |
void | LogToFileOn (void) |
Self & | PrintParameterMap () |
Prints all parameter maps to standard output. More... | |
void | PrintParameterMap (const ParameterMapType parameterMapVector) |
Self & | PrintParameterMap (const ParameterMapType parameterMapVector) |
Prints the specified parameter map to standard output. More... | |
void | PrintParameterMap (const ParameterMapVectorType parameterMapVector) |
Self & | PrintParameterMap (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... | |
Self & | RemoveFixedImage () |
Removes all fixed images. More... | |
void | RemoveFixedImage (const unsigned long index) |
Self & | RemoveFixedImage (const unsigned long index) |
Removes an image at the specified (zero-based) index from the container of fixed images. More... | |
void | RemoveFixedImage (void) |
Self & | RemoveFixedMask () |
Removes all fixed masks. More... | |
void | RemoveFixedMask (const unsigned long index) |
Self & | RemoveFixedMask (const unsigned long index) |
Removes an image at the specified (zero-based) index from the container of fixed masks. More... | |
void | RemoveFixedMask (void) |
Self & | RemoveFixedPointSetFileName () |
Clears the current point set file name of points from the fixed image. More... | |
void | RemoveFixedPointSetFileName (void) |
Self & | RemoveInitialTransformParameterFileName () |
Clears the initial transform parameter file name. More... | |
void | RemoveInitialTransformParameterFileName (void) |
Self & | RemoveLogFileName () |
Clears the name of the current log file. More... | |
void | RemoveLogFileName (void) |
Self & | RemoveMovingImage () |
Removes all moving images. More... | |
void | RemoveMovingImage (const unsigned long index) |
Self & | RemoveMovingImage (const unsigned long index) |
Removes an image at the specified (zero-based) index from the container of moving images. More... | |
void | RemoveMovingImage (void) |
Self & | RemoveMovingMask () |
Removes all moving masks. More... | |
void | RemoveMovingMask (const unsigned long index) |
Self & | RemoveMovingMask (const unsigned long index) |
Removes an image at the specified (zero-based) index from the container of moving masks. More... | |
void | RemoveMovingMask (void) |
Self & | RemoveMovingPointSetFileName () |
Clears the current point set file name of points from the moving image. More... | |
void | RemoveMovingPointSetFileName (void) |
Self & | RemoveOutputDirectory () |
Clears the name of the current output directory. (Does not remove the actual directory.) More... | |
void | RemoveOutputDirectory (void) |
void | RemoveParameter (const std::string key) |
Self & | RemoveParameter (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) |
Self & | 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 . More... | |
void | SetFixedImage (const Image &fixedImage) |
Self & | SetFixedImage (const Image &fixedImage) |
Sets a fixed image. Stores the image into the container of fixed images. More... | |
void | SetFixedImage (const VectorOfImage &fixedImages) |
Self & | SetFixedImage (const VectorOfImage &fixedImages) |
Sets multiple fixed images. Stores the images into the container of fixed images. More... | |
void | SetFixedMask (const Image &fixedMask) |
Self & | SetFixedMask (const Image &fixedMask) |
Sets a fixed mask. Stores the image into the container of fixed masks. More... | |
void | SetFixedMask (const VectorOfImage &fixedMasks) |
Self & | SetFixedMask (const VectorOfImage &fixedMasks) |
Sets multiple fixed masks. Stores the images into the container of fixed masks. More... | |
Self & | SetFixedPointSetFileName (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) |
Self & | SetInitialTransformParameterFileName (const std::string initialTransformParmaterFileName) |
Specifies the initial transformation by the specified transform parameter file name. More... | |
void | SetLogFileName (const std::string logFileName) |
Self & | SetLogFileName (const std::string logFileName) |
Sets the name of the current log file. More... | |
void | SetLogToConsole (bool) |
Self & | SetLogToConsole (bool) |
Switches logging to console on (true ) or off (false ), as specified by its function argument. More... | |
void | SetLogToFile (const bool logToFile) |
Self & | SetLogToFile (const bool logToFile) |
Switches logging to file on (true ) or off (false ), as specified by its function argument. More... | |
void | SetMovingImage (const Image &movingImages) |
Self & | SetMovingImage (const Image &movingImages) |
Sets a moving image. Stores the image into the container of moving images. More... | |
void | SetMovingImage (const VectorOfImage &movingImage) |
Self & | SetMovingImage (const VectorOfImage &movingImage) |
Sets multiple moving images. Stores the images into the container of moving images. More... | |
void | SetMovingMask (const Image &movingMask) |
Self & | SetMovingMask (const Image &movingMask) |
Sets a moving mask. Stores the image into the container of moving masks. More... | |
void | SetMovingMask (const VectorOfImage &movingMasks) |
Self & | SetMovingMask (const VectorOfImage &movingMasks) |
Sets multiple moving masks. Stores the images into the container of moving masks. More... | |
void | SetMovingPointSetFileName (const std::string movingPointSetFileName) |
Self & | SetMovingPointSetFileName (const std::string movingPointSetFileName) |
Specifies a set of points from the moving image by a point set file, movingPointSetFileName . More... | |
void | SetNumberOfThreads (int n) |
Self & | SetNumberOfThreads (int n) |
Sets the maximum number of threads to the specified number n . More... | |
void | SetOutputDirectory (const std::string outputDirectory) |
Self & | SetOutputDirectory (const std::string outputDirectory) |
Sets the output directory. More... | |
void | SetParameter (const std::string key, const std::string value) |
Self & | SetParameter (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) |
Self & | SetParameter (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) |
Self & | 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 . More... | |
void | SetParameter (const unsigned int index, const std::string key, const std::vector< std::string > value) |
Self & | 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 . More... | |
void | SetParameterMap (const std::map< std::string, std::vector< std::string >> parameterMap) |
Self & | SetParameterMap (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) |
Self & | 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 . More... | |
void | SetParameterMap (const std::vector< std::map< std::string, std::vector< std::string >>> parameterMapVector) |
Self & | SetParameterMap (const std::vector< std::map< std::string, std::vector< std::string >>> parameterMapVector) |
Specifies multiple parameter maps. More... | |
Self & | SetParameterMaps (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) |
Self & | 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 . 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< ElastixImageFilterImpl > | m_Pimple |
Friends | |
struct | detail::DualExecuteInternalAddressor< MemberFunctionType > |
typedef Image(Self::* itk::simple::ElastixImageFilter::MemberFunctionType) (void) |
Definition at line 236 of file sitkElastixImageFilterImpl.h.
Definition at line 26 of file sitkElastixImageFilterImpl.h.
typedef std::string itk::simple::ElastixImageFilter::ParameterKeyType |
Definition at line 49 of file sitkElastixImageFilter.h.
typedef ElastixImageFilter::ParameterMapConstIterator itk::simple::ElastixImageFilter::ParameterMapConstIterator |
Definition at line 33 of file sitkElastixImageFilterImpl.h.
typedef ParameterMapType::const_iterator itk::simple::ElastixImageFilter::ParameterMapConstIterator |
Definition at line 56 of file sitkElastixImageFilter.h.
typedef ElastixImageFilter::ParameterMapIterator itk::simple::ElastixImageFilter::ParameterMapIterator |
Definition at line 32 of file sitkElastixImageFilterImpl.h.
typedef ParameterMapType::iterator itk::simple::ElastixImageFilter::ParameterMapIterator |
Definition at line 55 of file sitkElastixImageFilter.h.
Definition at line 30 of file sitkElastixImageFilterImpl.h.
typedef std::map<ParameterKeyType, ParameterValueVectorType> itk::simple::ElastixImageFilter::ParameterMapType |
Definition at line 53 of file sitkElastixImageFilter.h.
typedef ElastixImageFilter::ParameterMapVectorType itk::simple::ElastixImageFilter::ParameterMapVectorType |
Definition at line 31 of file sitkElastixImageFilterImpl.h.
typedef std::vector<ParameterMapType> itk::simple::ElastixImageFilter::ParameterMapVectorType |
Definition at line 54 of file sitkElastixImageFilter.h.
Definition at line 36 of file sitkElastixImageFilterImpl.h.
typedef elastix::ParameterObject itk::simple::ElastixImageFilter::ParameterObjectType |
Definition at line 35 of file sitkElastixImageFilterImpl.h.
Definition at line 27 of file sitkElastixImageFilterImpl.h.
typedef std::string itk::simple::ElastixImageFilter::ParameterValueType |
Definition at line 50 of file sitkElastixImageFilter.h.
typedef ElastixImageFilter::ParameterValueVectorIterator itk::simple::ElastixImageFilter::ParameterValueVectorIterator |
Definition at line 29 of file sitkElastixImageFilterImpl.h.
typedef ParameterValueVectorType::iterator itk::simple::ElastixImageFilter::ParameterValueVectorIterator |
Definition at line 52 of file sitkElastixImageFilter.h.
typedef ElastixImageFilter::ParameterValueVectorType itk::simple::ElastixImageFilter::ParameterValueVectorType |
Definition at line 28 of file sitkElastixImageFilterImpl.h.
typedef std::vector<ParameterValueType> itk::simple::ElastixImageFilter::ParameterValueVectorType |
Definition at line 51 of file sitkElastixImageFilter.h.
Definition at line 22 of file sitkElastixImageFilterImpl.h.
Definition at line 45 of file sitkElastixImageFilter.h.
Definition at line 24 of file sitkElastixImageFilterImpl.h.
typedef std::vector<Image> itk::simple::ElastixImageFilter::VectorOfImage |
Definition at line 47 of file sitkElastixImageFilter.h.
itk::simple::ElastixImageFilter::ElastixImageFilter | ( | ) |
Default-constructor.
itk::simple::ElastixImageFilter::~ElastixImageFilter | ( | ) |
Destructor.
itk::simple::ElastixImageFilter::~ElastixImageFilterImpl | ( | void | ) |
void itk::simple::ElastixImageFilter::AddFixedImage | ( | const Image & | fixedImage | ) |
Adds an image to the end of the container of fixed images.
void itk::simple::ElastixImageFilter::AddFixedMask | ( | const Image & | fixedMask | ) |
Adds an image to the end of the container of fixed masks.
void itk::simple::ElastixImageFilter::AddMovingImage | ( | const Image & | movingImage | ) |
Adds an image to the end of the container of moving images.
void itk::simple::ElastixImageFilter::AddMovingMask | ( | const Image & | movingMask | ) |
Adds an image to the end of the container of moving masks.
void itk::simple::ElastixImageFilter::AddParameter | ( | const std::string | key, |
const std::string | value | ||
) |
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.
void itk::simple::ElastixImageFilter::AddParameter | ( | const std::string | key, |
const std::vector< std::string > | value | ||
) |
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.
void itk::simple::ElastixImageFilter::AddParameter | ( | const unsigned int | index, |
const std::string | key, | ||
const std::string | value | ||
) |
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
.
void itk::simple::ElastixImageFilter::AddParameter | ( | const unsigned int | index, |
const std::string | key, | ||
const std::vector< std::string > | value | ||
) |
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
.
void itk::simple::ElastixImageFilter::AddParameterMap | ( | const std::map< std::string, std::vector< std::string >> | parameterMap | ) |
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.
Image itk::simple::ElastixImageFilter::DualExecuteInternal | ( | void | ) |
itk::simple::ElastixImageFilter::ElastixImageFilterImpl | ( | void | ) |
Image itk::simple::ElastixImageFilter::Execute | ( | ) |
Executes the registration, and returns the result image.
Image itk::simple::ElastixImageFilter::Execute | ( | void | ) |
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 |
||
) |
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").
VectorOfImage& itk::simple::ElastixImageFilter::GetFixedImage | ( | ) |
Retrieves a reference to the container of fixed images.
Image& itk::simple::ElastixImageFilter::GetFixedImage | ( | const unsigned long | index | ) |
Image& itk::simple::ElastixImageFilter::GetFixedImage | ( | const unsigned long | index | ) |
Retrieves a reference to the fixed image at the specified (zero-based) index
.
VectorOfImage& itk::simple::ElastixImageFilter::GetFixedImage | ( | void | ) |
VectorOfImage& itk::simple::ElastixImageFilter::GetFixedMask | ( | ) |
Retrieves a reference to the container of fixed masks.
Image& itk::simple::ElastixImageFilter::GetFixedMask | ( | const unsigned long | index | ) |
Image& itk::simple::ElastixImageFilter::GetFixedMask | ( | const unsigned long | index | ) |
Retrieves a reference to the fixed mask at the specified (zero-based) index
.
VectorOfImage& itk::simple::ElastixImageFilter::GetFixedMask | ( | void | ) |
std::string itk::simple::ElastixImageFilter::GetFixedPointSetFileName | ( | ) |
Returns the name of the current point set file of points from the fixed image.
std::string itk::simple::ElastixImageFilter::GetFixedPointSetFileName | ( | void | ) |
std::string itk::simple::ElastixImageFilter::GetInitialTransformParameterFileName | ( | ) |
Returns the initial transform parameter file name.
std::string itk::simple::ElastixImageFilter::GetInitialTransformParameterFileName | ( | void | ) |
std::string itk::simple::ElastixImageFilter::GetLogFileName | ( | ) |
Returns the name of the current log file.
std::string itk::simple::ElastixImageFilter::GetLogFileName | ( | void | ) |
bool itk::simple::ElastixImageFilter::GetLogToConsole | ( | ) |
Returns whether logging to console is switched on.
bool itk::simple::ElastixImageFilter::GetLogToConsole | ( | void | ) |
bool itk::simple::ElastixImageFilter::GetLogToFile | ( | ) |
Returns whether logging to file is switched on.
bool itk::simple::ElastixImageFilter::GetLogToFile | ( | void | ) |
VectorOfImage& itk::simple::ElastixImageFilter::GetMovingImage | ( | ) |
Retrieves a reference to the moving image at the specified (zero-based) index
.
Image& itk::simple::ElastixImageFilter::GetMovingImage | ( | const unsigned long | index | ) |
Image& itk::simple::ElastixImageFilter::GetMovingImage | ( | const unsigned long | index | ) |
Retrieves a reference to the moving image at the specified (zero-based) index
.
VectorOfImage& itk::simple::ElastixImageFilter::GetMovingImage | ( | void | ) |
VectorOfImage& itk::simple::ElastixImageFilter::GetMovingMask | ( | ) |
Retrieves a reference to the container of moving masks.
Image& itk::simple::ElastixImageFilter::GetMovingMask | ( | const unsigned long | index | ) |
Image& itk::simple::ElastixImageFilter::GetMovingMask | ( | const unsigned long | index | ) |
Retrieves a reference to the moving mask at the specified (zero-based) index
.
VectorOfImage& itk::simple::ElastixImageFilter::GetMovingMask | ( | void | ) |
std::string itk::simple::ElastixImageFilter::GetMovingPointSetFileName | ( | ) |
Returns the name of the current point set file of points from the moving image.
std::string itk::simple::ElastixImageFilter::GetMovingPointSetFileName | ( | void | ) |
std::string itk::simple::ElastixImageFilter::GetName | ( | ) | const |
std::string itk::simple::ElastixImageFilter::GetName | ( | void | ) | const |
unsigned int itk::simple::ElastixImageFilter::GetNumberOfFixedImages | ( | ) |
unsigned int itk::simple::ElastixImageFilter::GetNumberOfFixedImages | ( | ) |
Returns the number of fixed images.
unsigned int itk::simple::ElastixImageFilter::GetNumberOfFixedMasks | ( | ) |
unsigned int itk::simple::ElastixImageFilter::GetNumberOfFixedMasks | ( | ) |
Returns the number of fixed masks.
unsigned int itk::simple::ElastixImageFilter::GetNumberOfMovingImages | ( | ) |
unsigned int itk::simple::ElastixImageFilter::GetNumberOfMovingImages | ( | ) |
Returns the number of moving images.
unsigned int itk::simple::ElastixImageFilter::GetNumberOfMovingMasks | ( | ) |
unsigned int itk::simple::ElastixImageFilter::GetNumberOfMovingMasks | ( | ) |
Returns the number of moving masks.
unsigned int itk::simple::ElastixImageFilter::GetNumberOfParameterMaps | ( | ) |
Returns the number of parameter maps.
unsigned int itk::simple::ElastixImageFilter::GetNumberOfParameterMaps | ( | void | ) |
int itk::simple::ElastixImageFilter::GetNumberOfThreads | ( | ) |
Returns the current maximum number of threads.
int itk::simple::ElastixImageFilter::GetNumberOfThreads | ( | void | ) |
std::string itk::simple::ElastixImageFilter::GetOutputDirectory | ( | ) |
Returns the current output directory.
std::string itk::simple::ElastixImageFilter::GetOutputDirectory | ( | void | ) |
std::vector<std::string> itk::simple::ElastixImageFilter::GetParameter | ( | const std::string | key | ) |
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.
std::vector<std::string> itk::simple::ElastixImageFilter::GetParameter | ( | const unsigned int | index, |
const std::string | key | ||
) |
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
.
std::vector<std::map<std::string, std::vector<std::string> > > itk::simple::ElastixImageFilter::GetParameterMap | ( | ) |
Returns a copy of the parameter maps.
std::vector<std::map<std::string, std::vector<std::string> > > itk::simple::ElastixImageFilter::GetParameterMap | ( | void | ) |
|
inline |
Definition at line 304 of file sitkElastixImageFilter.h.
Image itk::simple::ElastixImageFilter::GetResultImage | ( | ) |
Returns the result image.
Image itk::simple::ElastixImageFilter::GetResultImage | ( | void | ) |
std::vector<std::map<std::string, std::vector<std::string> > > itk::simple::ElastixImageFilter::GetTransformParameterMap | ( | ) |
Returns all transform parameter maps.
std::map<std::string, std::vector<std::string> > itk::simple::ElastixImageFilter::GetTransformParameterMap | ( | const unsigned int | index | ) |
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
.
std::vector<std::map<std::string, std::vector<std::string> > > itk::simple::ElastixImageFilter::GetTransformParameterMap | ( | void | ) |
bool itk::simple::ElastixImageFilter::IsEmpty | ( | const Image & | image | ) |
void itk::simple::ElastixImageFilter::LogToConsoleOff | ( | ) |
Self& itk::simple::ElastixImageFilter::LogToConsoleOff | ( | ) |
Switches logging to console off.
void itk::simple::ElastixImageFilter::LogToConsoleOn | ( | ) |
Self& itk::simple::ElastixImageFilter::LogToConsoleOn | ( | ) |
Switches logging to console on.
Self& itk::simple::ElastixImageFilter::LogToFileOff | ( | ) |
Switches logging to file off.
void itk::simple::ElastixImageFilter::LogToFileOff | ( | void | ) |
Self& itk::simple::ElastixImageFilter::LogToFileOn | ( | ) |
Switches logging to file on.
void itk::simple::ElastixImageFilter::LogToFileOn | ( | void | ) |
Self& itk::simple::ElastixImageFilter::PrintParameterMap | ( | ) |
Prints all parameter maps to standard output.
void itk::simple::ElastixImageFilter::PrintParameterMap | ( | const ParameterMapType | parameterMapVector | ) |
Self& itk::simple::ElastixImageFilter::PrintParameterMap | ( | const ParameterMapType | parameterMapVector | ) |
Prints the specified parameter map to standard output.
void itk::simple::ElastixImageFilter::PrintParameterMap | ( | const ParameterMapVectorType | parameterMapVector | ) |
Self& itk::simple::ElastixImageFilter::PrintParameterMap | ( | const ParameterMapVectorType | parameterMapVector | ) |
Prints the specified parameter maps to standard output.
void itk::simple::ElastixImageFilter::PrintParameterMap | ( | void | ) |
std::map<std::string, std::vector<std::string> > itk::simple::ElastixImageFilter::ReadParameterFile | ( | const std::string | filename | ) |
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.
Self& itk::simple::ElastixImageFilter::RemoveFixedImage | ( | ) |
Removes all fixed images.
void itk::simple::ElastixImageFilter::RemoveFixedImage | ( | const unsigned long | index | ) |
Self& itk::simple::ElastixImageFilter::RemoveFixedImage | ( | const unsigned long | index | ) |
Removes an image at the specified (zero-based) index
from the container of fixed images.
void itk::simple::ElastixImageFilter::RemoveFixedImage | ( | void | ) |
Self& itk::simple::ElastixImageFilter::RemoveFixedMask | ( | ) |
Removes all fixed masks.
void itk::simple::ElastixImageFilter::RemoveFixedMask | ( | const unsigned long | index | ) |
Self& itk::simple::ElastixImageFilter::RemoveFixedMask | ( | const unsigned long | index | ) |
Removes an image at the specified (zero-based) index
from the container of fixed masks.
void itk::simple::ElastixImageFilter::RemoveFixedMask | ( | void | ) |
Self& itk::simple::ElastixImageFilter::RemoveFixedPointSetFileName | ( | ) |
Clears the current point set file name of points from the fixed image.
void itk::simple::ElastixImageFilter::RemoveFixedPointSetFileName | ( | void | ) |
Self& itk::simple::ElastixImageFilter::RemoveInitialTransformParameterFileName | ( | ) |
Clears the initial transform parameter file name.
void itk::simple::ElastixImageFilter::RemoveInitialTransformParameterFileName | ( | void | ) |
Self& itk::simple::ElastixImageFilter::RemoveLogFileName | ( | ) |
Clears the name of the current log file.
void itk::simple::ElastixImageFilter::RemoveLogFileName | ( | void | ) |
Self& itk::simple::ElastixImageFilter::RemoveMovingImage | ( | ) |
Removes all moving images.
void itk::simple::ElastixImageFilter::RemoveMovingImage | ( | const unsigned long | index | ) |
Self& itk::simple::ElastixImageFilter::RemoveMovingImage | ( | const unsigned long | index | ) |
Removes an image at the specified (zero-based) index
from the container of moving images.
void itk::simple::ElastixImageFilter::RemoveMovingImage | ( | void | ) |
Self& itk::simple::ElastixImageFilter::RemoveMovingMask | ( | ) |
Removes all moving masks.
void itk::simple::ElastixImageFilter::RemoveMovingMask | ( | const unsigned long | index | ) |
Self& itk::simple::ElastixImageFilter::RemoveMovingMask | ( | const unsigned long | index | ) |
Removes an image at the specified (zero-based) index
from the container of moving masks.
void itk::simple::ElastixImageFilter::RemoveMovingMask | ( | void | ) |
Self& itk::simple::ElastixImageFilter::RemoveMovingPointSetFileName | ( | ) |
Clears the current point set file name of points from the moving image.
void itk::simple::ElastixImageFilter::RemoveMovingPointSetFileName | ( | void | ) |
Self& itk::simple::ElastixImageFilter::RemoveOutputDirectory | ( | ) |
Clears the name of the current output directory. (Does not remove the actual directory.)
void itk::simple::ElastixImageFilter::RemoveOutputDirectory | ( | void | ) |
void itk::simple::ElastixImageFilter::RemoveParameter | ( | const std::string | key | ) |
Self& itk::simple::ElastixImageFilter::RemoveParameter | ( | const std::string | key | ) |
Removes the parameter specified by key
from all parameter maps.
void itk::simple::ElastixImageFilter::RemoveParameter | ( | const unsigned int | index, |
const std::string | key | ||
) |
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
.
void itk::simple::ElastixImageFilter::SetFixedImage | ( | const Image & | fixedImage | ) |
Sets a fixed image. Stores the image into the container of fixed images.
void itk::simple::ElastixImageFilter::SetFixedImage | ( | const VectorOfImage & | fixedImages | ) |
Self& itk::simple::ElastixImageFilter::SetFixedImage | ( | const VectorOfImage & | fixedImages | ) |
Sets multiple fixed images. Stores the images into the container of fixed images.
void itk::simple::ElastixImageFilter::SetFixedMask | ( | const Image & | fixedMask | ) |
Sets a fixed mask. Stores the image into the container of fixed masks.
void itk::simple::ElastixImageFilter::SetFixedMask | ( | const VectorOfImage & | fixedMasks | ) |
Self& itk::simple::ElastixImageFilter::SetFixedMask | ( | const VectorOfImage & | fixedMasks | ) |
Sets multiple fixed masks. Stores the images into the container of fixed masks.
Self& itk::simple::ElastixImageFilter::SetFixedPointSetFileName | ( | const std::string | fixedPointSetFileName | ) |
Specifies a set of points from the fixed image by a point set file, fixedPointSetFileName
.
void itk::simple::ElastixImageFilter::SetFixedPointSetFileName | ( | const std::string | movingPointSetFileName | ) |
void itk::simple::ElastixImageFilter::SetInitialTransformParameterFileName | ( | const std::string | initialTransformParmaterFileName | ) |
Self& itk::simple::ElastixImageFilter::SetInitialTransformParameterFileName | ( | const std::string | initialTransformParmaterFileName | ) |
Specifies the initial transformation by the specified transform parameter file name.
void itk::simple::ElastixImageFilter::SetLogFileName | ( | const std::string | logFileName | ) |
Self& itk::simple::ElastixImageFilter::SetLogFileName | ( | const std::string | logFileName | ) |
Sets the name of the current log file.
void itk::simple::ElastixImageFilter::SetLogToConsole | ( | bool | ) |
Self& itk::simple::ElastixImageFilter::SetLogToConsole | ( | bool | ) |
Switches logging to console on (true
) or off (false
), as specified by its function argument.
void itk::simple::ElastixImageFilter::SetLogToFile | ( | const bool | logToFile | ) |
Self& itk::simple::ElastixImageFilter::SetLogToFile | ( | const bool | logToFile | ) |
Switches logging to file on (true
) or off (false
), as specified by its function argument.
void itk::simple::ElastixImageFilter::SetMovingImage | ( | const Image & | movingImages | ) |
Sets a moving image. Stores the image into the container of moving images.
void itk::simple::ElastixImageFilter::SetMovingImage | ( | const VectorOfImage & | movingImage | ) |
Self& itk::simple::ElastixImageFilter::SetMovingImage | ( | const VectorOfImage & | movingImage | ) |
Sets multiple moving images. Stores the images into the container of moving images.
void itk::simple::ElastixImageFilter::SetMovingMask | ( | const Image & | movingMask | ) |
Sets a moving mask. Stores the image into the container of moving masks.
void itk::simple::ElastixImageFilter::SetMovingMask | ( | const VectorOfImage & | movingMasks | ) |
Self& itk::simple::ElastixImageFilter::SetMovingMask | ( | const VectorOfImage & | movingMasks | ) |
Sets multiple moving masks. Stores the images into the container of moving masks.
void itk::simple::ElastixImageFilter::SetMovingPointSetFileName | ( | const std::string | movingPointSetFileName | ) |
Self& itk::simple::ElastixImageFilter::SetMovingPointSetFileName | ( | const std::string | movingPointSetFileName | ) |
Specifies a set of points from the moving image by a point set file, movingPointSetFileName
.
void itk::simple::ElastixImageFilter::SetNumberOfThreads | ( | int | n | ) |
Self& itk::simple::ElastixImageFilter::SetNumberOfThreads | ( | int | n | ) |
Sets the maximum number of threads to the specified number n
.
MultiThreaderBase.SetGlobalMaximumNumberOfThreads
. void itk::simple::ElastixImageFilter::SetOutputDirectory | ( | const std::string | outputDirectory | ) |
Self& itk::simple::ElastixImageFilter::SetOutputDirectory | ( | const std::string | outputDirectory | ) |
Sets the output directory.
void itk::simple::ElastixImageFilter::SetParameter | ( | const std::string | key, |
const std::string | value | ||
) |
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.
void itk::simple::ElastixImageFilter::SetParameter | ( | const std::string | key, |
const std::vector< std::string > | value | ||
) |
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.
void itk::simple::ElastixImageFilter::SetParameter | ( | const unsigned int | index, |
const std::string | key, | ||
const std::string | value | ||
) |
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
.
void itk::simple::ElastixImageFilter::SetParameter | ( | const unsigned int | index, |
const std::string | key, | ||
const std::vector< std::string > | value | ||
) |
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
.
void itk::simple::ElastixImageFilter::SetParameterMap | ( | const std::map< std::string, std::vector< std::string >> | parameterMap | ) |
Self& itk::simple::ElastixImageFilter::SetParameterMap | ( | const std::map< std::string, std::vector< std::string >> | parameterMap | ) |
Specifies a single parameter map.
void itk::simple::ElastixImageFilter::SetParameterMap | ( | const std::string | transformName, |
const unsigned int | numberOfResolutions = 4u , |
||
const double | finalGridSpacingInPhysicalUnits = 10.0 |
||
) |
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
.
void itk::simple::ElastixImageFilter::SetParameterMap | ( | const std::vector< std::map< std::string, std::vector< std::string >>> | parameterMapVector | ) |
Self& itk::simple::ElastixImageFilter::SetParameterMap | ( | const std::vector< std::map< std::string, std::vector< std::string >>> | parameterMapVector | ) |
Specifies multiple parameter maps.
|
inline |
Definition at line 290 of file sitkElastixImageFilter.h.
void itk::simple::ElastixImageFilter::WriteParameterFile | ( | const std::map< std::string, std::vector< std::string >> | parameterMap, |
const std::string | filename | ||
) |
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
.
|
friend |
Definition at line 240 of file sitkElastixImageFilterImpl.h.
std::unique_ptr<detail::DualMemberFunctionFactory<MemberFunctionType> > itk::simple::ElastixImageFilter::m_DualMemberFactory |
Definition at line 241 of file sitkElastixImageFilterImpl.h.
VectorOfImage itk::simple::ElastixImageFilter::m_FixedImages |
Definition at line 243 of file sitkElastixImageFilterImpl.h.
VectorOfImage itk::simple::ElastixImageFilter::m_FixedMasks |
Definition at line 245 of file sitkElastixImageFilterImpl.h.
std::string itk::simple::ElastixImageFilter::m_FixedPointSetFileName |
Definition at line 250 of file sitkElastixImageFilterImpl.h.
std::string itk::simple::ElastixImageFilter::m_InitialTransformParameterMapFileName |
Definition at line 249 of file sitkElastixImageFilterImpl.h.
std::string itk::simple::ElastixImageFilter::m_LogFileName |
Definition at line 257 of file sitkElastixImageFilterImpl.h.
bool itk::simple::ElastixImageFilter::m_LogToConsole |
Definition at line 260 of file sitkElastixImageFilterImpl.h.
bool itk::simple::ElastixImageFilter::m_LogToFile |
Definition at line 259 of file sitkElastixImageFilterImpl.h.
VectorOfImage itk::simple::ElastixImageFilter::m_MovingImages |
Definition at line 244 of file sitkElastixImageFilterImpl.h.
VectorOfImage itk::simple::ElastixImageFilter::m_MovingMasks |
Definition at line 246 of file sitkElastixImageFilterImpl.h.
std::string itk::simple::ElastixImageFilter::m_MovingPointSetFileName |
Definition at line 251 of file sitkElastixImageFilterImpl.h.
int itk::simple::ElastixImageFilter::m_NumberOfThreads |
Definition at line 262 of file sitkElastixImageFilterImpl.h.
std::string itk::simple::ElastixImageFilter::m_OutputDirectory |
Definition at line 256 of file sitkElastixImageFilterImpl.h.
ParameterMapVectorType itk::simple::ElastixImageFilter::m_ParameterMapVector |
Definition at line 253 of file sitkElastixImageFilterImpl.h.
|
private |
Definition at line 423 of file sitkElastixImageFilter.h.
Image itk::simple::ElastixImageFilter::m_ResultImage |
Definition at line 247 of file sitkElastixImageFilterImpl.h.
ParameterMapVectorType itk::simple::ElastixImageFilter::m_TransformParameterMapVector |
Definition at line 254 of file sitkElastixImageFilterImpl.h.