plastimatch
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Xf_invert Class Reference

#include <xf_invert.h>

Public Member Functions

 Xf_invert ()
 
 ~Xf_invert ()
 
Inputs
void set_input_xf (const char *xf_fn)
 Set the transform to be inverted.
The transform will be loaded from the specified filename.
 
void set_input_vf (const DeformationFieldType::Pointer vf)
 Set the input vector field to be inverted as an ITK image.
 
void set_fixed_image (const char *image_fn)
 Set the geometry of the output vector field to match another image. The image will be loaded from the specified filename.
 
void set_fixed_image (const FloatImageType::Pointer image)
 Set the geometry of the output vector field to match another image, specified as an ITK image.
 
void set_dim (const plm_long dim[3])
 Set the image dimension (number of voxels) of the output vector field.
 
void set_origin (const float origin[3])
 Set the image origin of the output vector field.
 
void set_spacing (const float spacing[3])
 Set the image spacing of the output vector field.
 
void set_direction_cosines (const float direction_cosines[9])
 Set the image direction cosines of the output vector field.
 
void set_iterations (int iterations)
 Set the number of iterations to run the inversion routine (default is 20 iterations).
 
Execution
void run ()
 Compute inverse vector field.
 
Outputs
const Xformget_output ()
 Return the inverse xform.
 

Public Attributes

Xf_invert_private * d_ptr
 

Protected Member Functions

void run_invert_itk ()
 
void run_invert_vf ()
 

Constructor & Destructor Documentation

◆ Xf_invert()

Xf_invert::Xf_invert ( )

◆ ~Xf_invert()

Xf_invert::~Xf_invert ( )

Member Function Documentation

◆ get_output()

const Xform * Xf_invert::get_output ( )

Return the inverse xform.

◆ run()

void Xf_invert::run ( )

Compute inverse vector field.

◆ run_invert_itk()

void Xf_invert::run_invert_itk ( )
protected

◆ run_invert_vf()

void Xf_invert::run_invert_vf ( )
protected

◆ set_dim()

void Xf_invert::set_dim ( const plm_long  dim[3])

Set the image dimension (number of voxels) of the output vector field.

◆ set_direction_cosines()

void Xf_invert::set_direction_cosines ( const float  direction_cosines[9])

Set the image direction cosines of the output vector field.

◆ set_fixed_image() [1/2]

void Xf_invert::set_fixed_image ( const char image_fn)

Set the geometry of the output vector field to match another image. The image will be loaded from the specified filename.

◆ set_fixed_image() [2/2]

void Xf_invert::set_fixed_image ( const FloatImageType::Pointer  image)

Set the geometry of the output vector field to match another image, specified as an ITK image.

◆ set_input_vf()

void Xf_invert::set_input_vf ( const DeformationFieldType::Pointer  vf)

Set the input vector field to be inverted as an ITK image.

◆ set_input_xf()

void Xf_invert::set_input_xf ( const char xf_fn)

Set the transform to be inverted.
The transform will be loaded from the specified filename.

◆ set_iterations()

void Xf_invert::set_iterations ( int  iterations)

Set the number of iterations to run the inversion routine (default is 20 iterations).

◆ set_origin()

void Xf_invert::set_origin ( const float  origin[3])

Set the image origin of the output vector field.

◆ set_spacing()

void Xf_invert::set_spacing ( const float  spacing[3])

Set the image spacing of the output vector field.

Member Data Documentation

◆ d_ptr

Xf_invert_private* Xf_invert::d_ptr

The documentation for this class was generated from the following files: