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

cmtk::ImagePairAffineRegistrationCommandLine Class Reference
[cmtkRegistration Library]

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

#include <cmtkImagePairAffineRegistrationCommandLine.h>

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

List of all members.

Public Types

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

Detailed Description

Class for command line-controlled affine registration.

Author:
T. Rohlfing

Definition at line 50 of file cmtkImagePairAffineRegistrationCommandLine.h.


Member Typedef Documentation

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.


Member Data Documentation

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

Name of output transformation file in ITK format.

Definition at line 128 of file cmtkImagePairAffineRegistrationCommandLine.h.

Referenced by OutputResult().

Protocol file name.

Definition at line 151 of file cmtkImagePairAffineRegistrationCommandLine.h.

Path for reformatted floating image.

Definition at line 110 of file cmtkImagePairAffineRegistrationCommandLine.h.

Referenced by OutputResult().

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

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

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

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

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

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

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


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