plastimatch
Loading...
Searching...
No Matches
xf_invert.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _xf_invert_h_
5#define _xf_invert_h_
6
7#include "plmutil_config.h"
8#include "itk_image_type.h"
9
10class Xf_invert_private;
11class Xform;
12
14public:
15 Xf_invert ();
16 ~Xf_invert ();
17public:
18 Xf_invert_private *d_ptr;
19public:
20
23
25 void set_input_xf (const char* xf_fn);
28 void set_input_vf (const DeformationFieldType::Pointer vf);
32 void set_fixed_image (const char* image_fn);
35 void set_fixed_image (const FloatImageType::Pointer image);
38 void set_dim (const plm_long dim[3]);
41 void set_origin (const float origin[3]);
44 void set_spacing (const float spacing[3]);
47 void set_direction_cosines (const float direction_cosines[9]);
50 void set_iterations (int iterations);
52
55
56 void run ();
58
61
62 const Xform* get_output ();
64
65protected:
66 void run_invert_itk ();
67 void run_invert_vf ();
68};
69
70#endif
Definition pointset.h:15
Definition xf_invert.h:13
Xf_invert_private * d_ptr
Definition xf_invert.h:18
The Xform class is an abstraction that encapsulates a simple transform, either native format (B-splin...
Definition xform.h:66
#define PLMUTIL_API
Definition plmutil_config.h:26