plastimatch
|
#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 Xform * | get_output () |
Return the inverse xform. | |
Public Attributes | |
Xf_invert_private * | d_ptr |
Protected Member Functions | |
void | run_invert_itk () |
void | run_invert_vf () |
Xf_invert::Xf_invert | ( | ) |
Xf_invert::~Xf_invert | ( | ) |
void Xf_invert::run | ( | ) |
Compute inverse vector field.
|
protected |
|
protected |
Set the image dimension (number of voxels) of the output vector field.
Set the image direction cosines of the output vector field.
Set the geometry of the output vector field to match another image. The image will be loaded from the specified filename.
Set the geometry of the output vector field to match another image, specified as an ITK image.
Set the input vector field to be inverted as an ITK image.
Set the transform to be inverted.
The transform will be loaded from the specified filename.
Set the number of iterations to run the inversion routine (default is 20 iterations).
Set the image origin of the output vector field.
Set the image spacing of the output vector field.
Xf_invert_private* Xf_invert::d_ptr |