Class for command line-controlled affine registration. More...
#include <cmtkImagePairAffineRegistrationCommandLine.h>


Public Types | |
| typedef ImagePairAffineRegistrationCommandLine | Self |
| This class. | |
| typedef SmartPointer< Self > | SmartPtr |
| Smart pointer. | |
| typedef ImagePairAffineRegistration | Superclass |
| Convenience typedef. | |
Public Member Functions | |
| ImagePairAffineRegistrationCommandLine (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. | |
| 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 * | Time |
| Name of elapsed time output file. | |
| const char * | m_ProtocolFileName |
| Protocol file name. | |
| bool | Verbose |
| Verbosity flag. | |
Class for command line-controlled affine registration.
Definition at line 50 of file cmtkImagePairAffineRegistrationCommandLine.h.
This class.
Reimplemented from cmtk::ImagePairAffineRegistration.
Definition at line 56 of file cmtkImagePairAffineRegistrationCommandLine.h.
Smart pointer.
Reimplemented from cmtk::ImagePairRegistration.
Definition at line 59 of file cmtkImagePairAffineRegistrationCommandLine.h.
Convenience typedef.
Reimplemented from cmtk::ImagePairAffineRegistration.
Definition at line 62 of file cmtkImagePairAffineRegistrationCommandLine.h.
const char* cmtk::ImagePairAffineRegistrationCommandLine::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 cmtkImagePairAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::ImagePairAffineRegistrationCommandLine::m_OutputPathITK [private] |
Name of output transformation file in ITK format.
Definition at line 128 of file cmtkImagePairAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::ImagePairAffineRegistrationCommandLine::m_ProtocolFileName [private] |
Protocol file name.
Definition at line 151 of file cmtkImagePairAffineRegistrationCommandLine.h.
const char* cmtk::ImagePairAffineRegistrationCommandLine::m_ReformattedImagePath [private] |
Path for reformatted floating image.
Definition at line 110 of file cmtkImagePairAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::ImagePairAffineRegistrationCommandLine::OutMatrixName [private] |
Name of the output matrix file.
This is defined by the "--out-matrix" command line argument.
Definition at line 120 of file cmtkImagePairAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::ImagePairAffineRegistrationCommandLine::OutParametersName [private] |
Name of the output parameter file.
This is defined by the "--out-params" command line argument.
Definition at line 125 of file cmtkImagePairAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::ImagePairAffineRegistrationCommandLine::Study1 [private] |
Name of first study to be registered.
This is given as the first non-option command line paramter.
Definition at line 133 of file cmtkImagePairAffineRegistrationCommandLine.h.
Referenced by OutputResultList().
const char* cmtk::ImagePairAffineRegistrationCommandLine::Study2 [private] |
Name of second study to be registered.
This is given as the second non-option command line paramter.
Definition at line 138 of file cmtkImagePairAffineRegistrationCommandLine.h.
Referenced by OutputResultList().
const char* cmtk::ImagePairAffineRegistrationCommandLine::Studylist [private] |
Name of output studylist.
This is defined by the -o or --outlist command line option.
Definition at line 115 of file cmtkImagePairAffineRegistrationCommandLine.h.
Referenced by OutputResult().
const char* cmtk::ImagePairAffineRegistrationCommandLine::Time [private] |
Name of elapsed time output file.
This is defined by the -t or --time command line option.
Definition at line 148 of file cmtkImagePairAffineRegistrationCommandLine.h.
Referenced by Register().
bool cmtk::ImagePairAffineRegistrationCommandLine::Verbose [private] |
Verbosity flag.
This is set to 'on' by -v or --verbose, and set to 'off' by -q or --quiet.
Definition at line 156 of file cmtkImagePairAffineRegistrationCommandLine.h.
Referenced by OutputResult().
1.7.2