Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

cmtk::AffineRegistrationCommandLine Class Reference
[cmtkRegistration Library]

Class for command line-controlled affine registration. More...

#include <cmtkAffineRegistrationCommandLine.h>

Inheritance diagram for cmtk::AffineRegistrationCommandLine:
Inheritance graph
[legend]
Collaboration diagram for cmtk::AffineRegistrationCommandLine:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
AffineRegistrationCommandLine 
Self
 This class.
typedef SmartPointer< SelfSmartPtr
 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.

Detailed Description

Class for command line-controlled affine registration.

Author:
T. Rohlfing

Definition at line 50 of file cmtkAffineRegistrationCommandLine.h.


Member Typedef Documentation

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.


Member Data Documentation

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.

Number of levels for automatic parameter generation.

Definition at line 110 of file cmtkAffineRegistrationCommandLine.h.

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().

Name of output transformation file in ITK format.

Definition at line 131 of file cmtkAffineRegistrationCommandLine.h.

Referenced by OutputResult().

Path for reformatted floating image.

Definition at line 113 of file cmtkAffineRegistrationCommandLine.h.

Referenced by OutputResult().

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().

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().

Name of protocol output file.

This is defined by the -p or --protocol command line option.

Definition at line 151 of file cmtkAffineRegistrationCommandLine.h.

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().

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().

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().

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().

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().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines