Class for command line-controlled affine registration. More...
#include <cmtkAffineRegistrationCommandLine.h>
Public Types | |
typedef AffineRegistrationCommandLine | Self |
This class. | |
typedef SmartPointer< Self > | SmartPtr |
Smart pointer. | |
typedef AffineRegistration | Superclass |
Convenience typedef. | |
Public Member Functions | |
AffineRegistrationCommandLine (const int argc, const char *argv[]) | |
Constructor. | |
virtual CallbackResult | Register () |
Perform registration. | |
Protected Member Functions | |
virtual CallbackResult | InitRegistration () |
Initialize registration. | |
virtual void | OutputResult (const CoordinateVector *) |
Output registration result. | |
virtual void | EnterResolution (CoordinateVector::SmartPtr &, Functional::SmartPtr &, const int, const int) |
Enter resolution level. | |
Private Member Functions | |
void | OutputResultMatrix (const char *matrixName) const |
Output result as matrix (text) file. | |
void | OutputResultParameters (const char *paramsName, const CoordinateVector &v) const |
Output result (and statistics) as studylist archive. | |
void | OutputResultList (const char *studyList) const |
Output result (and statistics) as studylist archive. | |
Private Attributes | |
const char * | m_InitialXformPath |
Path of the actual input transformation, if any. | |
unsigned int | m_AutoMultiLevels |
Number of levels for automatic parameter generation. | |
const char * | m_ReformattedImagePath |
Path for reformatted floating image. | |
const char * | Studylist |
Name of output studylist. | |
const char * | OutMatrixName |
Name of the output matrix file. | |
const char * | OutParametersName |
Name of the output parameter file. | |
const char * | m_OutputPathITK |
Name of output transformation file in ITK format. | |
const char * | Study1 |
Name of first study to be registered. | |
const char * | Study2 |
Name of second study to be registered. | |
const char * | Protocol |
Name of protocol output file. | |
const char * | Time |
Name of elapsed time output file. | |
bool | Verbose |
Verbosity flag. | |
bool | InitXlate |
Flag for initial center-of-mass translation. |
Class for command line-controlled affine registration.
Definition at line 50 of file cmtkAffineRegistrationCommandLine.h.
This class.
Definition at line 56 of file cmtkAffineRegistrationCommandLine.h.
Smart pointer.
Definition at line 59 of file cmtkAffineRegistrationCommandLine.h.
Convenience typedef.
Reimplemented from cmtk::AffineRegistration.
Definition at line 62 of file cmtkAffineRegistrationCommandLine.h.
bool cmtk::AffineRegistrationCommandLine::InitXlate [private] |
Flag for initial center-of-mass translation.
This defaults to 'no' and is set to 'yes' by -i or --initxlate command line switch.
Definition at line 167 of file cmtkAffineRegistrationCommandLine.h.
unsigned int cmtk::AffineRegistrationCommandLine::m_AutoMultiLevels [private] |
Number of levels for automatic parameter generation.
Definition at line 110 of file cmtkAffineRegistrationCommandLine.h.
const char* cmtk::AffineRegistrationCommandLine::m_InitialXformPath [private] |
Path of the actual input transformation, if any.
If two input transformations are specified, i.e., one as the input studylist and one via the "--initial" command line switch, then this variable holds the path of the transformation that was actually used (the one specified with "--initial"). This is used when the optional image/transformation database is updated.
Definition at line 107 of file cmtkAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::AffineRegistrationCommandLine::m_OutputPathITK [private] |
Name of output transformation file in ITK format.
Definition at line 131 of file cmtkAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::AffineRegistrationCommandLine::m_ReformattedImagePath [private] |
Path for reformatted floating image.
Definition at line 113 of file cmtkAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::AffineRegistrationCommandLine::OutMatrixName [private] |
Name of the output matrix file.
This is defined by the "--out-matrix" command line argument.
Definition at line 123 of file cmtkAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::AffineRegistrationCommandLine::OutParametersName [private] |
Name of the output parameter file.
This is defined by the "--out-params" command line argument.
Definition at line 128 of file cmtkAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::AffineRegistrationCommandLine::Protocol [private] |
Name of protocol output file.
This is defined by the -p or --protocol command line option.
Definition at line 151 of file cmtkAffineRegistrationCommandLine.h.
const char* cmtk::AffineRegistrationCommandLine::Study1 [private] |
Name of first study to be registered.
This is given as the first non-option command line paramter.
Definition at line 136 of file cmtkAffineRegistrationCommandLine.h.
Referenced by OutputResultList().
const char* cmtk::AffineRegistrationCommandLine::Study2 [private] |
Name of second study to be registered.
This is given as the second non-option command line paramter.
Definition at line 141 of file cmtkAffineRegistrationCommandLine.h.
Referenced by OutputResultList().
const char* cmtk::AffineRegistrationCommandLine::Studylist [private] |
Name of output studylist.
This is defined by the -o or --outlist command line option.
Definition at line 118 of file cmtkAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::AffineRegistrationCommandLine::Time [private] |
Name of elapsed time output file.
This is defined by the -t or --time command line option.
Definition at line 156 of file cmtkAffineRegistrationCommandLine.h.
Referenced by Register().
bool cmtk::AffineRegistrationCommandLine::Verbose [private] |
Verbosity flag.
This is set to 'on' by -v or --verbose, and set to 'off' by -q or --quiet.
Definition at line 161 of file cmtkAffineRegistrationCommandLine.h.
Referenced by OutputResult().