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

cmtk::ImageSymmetryPlaneCommandLineBase Class Reference
[cmtkRegistration Library]

Base class for symmetry plane computation command line tools. More...

#include <cmtkImageSymmetryPlaneCommandLineBase.h>

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

List of all members.

Public Member Functions

 ImageSymmetryPlaneCommandLineBase ()
 Default constructor.
int Run (const int argc, const char *argv[])
 Run the symmetry plane computation based on provided command line arguments.
CommandLineGetCommandLine ()
 Get reference to command line parser object.

Protected Member Functions

virtual
ImageSymmetryPlaneFunctionalBase::SmartPtr 
CreateFunctional (UniformVolume::SmartPtr &volume)=0
 Create functional for volume.
virtual
ImageSymmetryPlaneFunctionalBase::SmartPtr 
CreateFunctional (UniformVolume::SmartPtr &volume, const Types::DataItemRange &range)=0
 Create functional for volume and value range.

Private Types

enum  InitialPlaneEnum { SYMPL_INIT_XY, SYMPL_INIT_XZ, SYMPL_INIT_YZ }
 

Constants for initial plane orientation.

More...

Private Member Functions

bool ParseCommandLine (const int argc, const char *argv[])
 Parse the given command line.
void WriteDifference (UniformVolume::SmartConstPtr &originalVolume) const
 Write difference image between original and mirrored image.
void WriteMirror (UniformVolume::SmartConstPtr &originalVolume) const
 Write mirrored image.
void WriteMarkPlane (UniformVolume::SmartConstPtr &originalVolume) const
 Write original image with marked symmetry plane.
void WriteAligned (UniformVolume::SmartConstPtr &originalVolume) const
 Write image aligned w.r.t. the symmetry plane.

Private Attributes

ParametricPlane m_SymmetryPlane
 The symmetry plane object.
bool m_Verbose
 Verbosity flag.
float m_MinValue
 Minimum data value (lower threshold).
bool m_MinValueSet
 Flag for valid (user-set) minimum data value.
float m_MaxValue
 Minimum data value (lower threshold).
bool m_MaxValueSet
 Flag for valid (user-set) maximum data value.
Types::Coordinate m_Sampling
 Image sampling (highest resampled resolution).
Types::Coordinate m_Accuracy
 Optimization "accuracy" (really, precision)
Interpolators::InterpolationEnum m_Interpolation
 Interpolation method for reformatted image generation.
int m_Levels
 Number of multi-resolution levels.
bool m_DisableOptimization
 Flag to disable optimization.
Types::Coordinate m_Rho
 Symmetry plane "Rho" parameter (offset).
Units::Degrees m_Theta
 Symmetry plane "Theta" angle parameter.
Units::Degrees m_Phi
 Symmetry plane "Phi" angle parameter.
bool m_FixOffset
 Flag to fix symmetry plane offset parameter (i.e., do not optimize "Rho")
const char * m_MirrorOutFile
 Optional output path for mirrored file.
const char * m_AlignedOutFile
 Optional output path for aligned file.
bool m_MarkPlaneAligned
 Flag for marking the symmetry plane in the aligned file.
const char * m_MarkedOutFile
 Optional output path for file with marked symmetry plane.
const char * m_DifferenceOutFile
 Optional output path for file with subtraction between input and mirrored input.
const char * m_WriteXformPath
 Optional output path for the alignment transformation.
Types::DataItem m_MarkPlaneValue
 Data value used for marking the symmetry plane in output images.
bool m_PadOutValueSet
 Flag for user-provided padding value.
Types::DataItem m_PadOutValue
 User-provided padding value.
const char * m_SymmetryOutFileName
 Optional output path for symmetry plane.
const char * m_SymmetryParameters
 Optional output path for symmetry plane parameters.
const char * m_SymmetryParametersFile
 Optional input path for previously computed symmetry plane parameters.
const char * m_InFileName
 Input image file path.
InitialPlaneEnum m_InitialPlane
 Initial plane orientation: default to sagittal for human images.
CommandLine m_CommandLine

Detailed Description

Base class for symmetry plane computation command line tools.

Definition at line 52 of file cmtkImageSymmetryPlaneCommandLineBase.h.


Constructor & Destructor Documentation

cmtk::ImageSymmetryPlaneCommandLineBase::ImageSymmetryPlaneCommandLineBase (  )

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