#include <mia/3d/vfregularizer.hh>
Public Types | |
typedef C3DFVectorfield | plugin_data |
typedef C3DFVectorfieldRegularizer | plugin_type |
typedef std::shared_ptr< C3DFVectorfieldRegularizer > | Pointer |
Public Types inherited from CPropertyFlagHolder | |
typedef std::set< const char * > | Set |
define the type of the set of flags More... | |
Public Member Functions | |
double | run (C3DFVectorfield &velocity, C3DFVectorfield &force, const C3DFVectorfield &deform) const |
void | set_size (const C3DBounds &size) |
virtual | ~C3DFVectorfieldRegularizer () |
Public Member Functions inherited from CProductBase | |
const char * | get_init_string () const |
void | set_init_string (const char *init) |
void | set_module (PPluginModule module) |
Public Member Functions inherited from CPropertyFlagHolder | |
void | add (const char *property) |
Set | get_missing_properties (const CPropertyFlagHolder &testset) const |
bool | has (const char *property) const |
bool | has_all_in (const CPropertyFlagHolder &testset) const |
virtual | ~CPropertyFlagHolder () |
Static Public Attributes | |
static const char * | type_descr |
Protected Member Functions | |
const C3DBounds & | get_size () const |
Regularize a 3D vector field with some model
This is the base class for a 3D vector field reguarlizer that is typically used in non-linear registration to evaluate a velocity field from a force field by applying some regularization model on the input data.
Definition at line 41 of file 3d/vfregularizer.hh.
Definition at line 44 of file 3d/vfregularizer.hh.
Definition at line 43 of file 3d/vfregularizer.hh.
typedef std::shared_ptr< C3DFVectorfieldRegularizer > C3DFVectorfieldRegularizer::Pointer |
Definition at line 48 of file 3d/vfregularizer.hh.
|
virtual |
|
protected |
double C3DFVectorfieldRegularizer::run | ( | C3DFVectorfield & | velocity, |
C3DFVectorfield & | force, | ||
const C3DFVectorfield & | deform | ||
) | const |
The work routine for the regularizer
[out] | velocity | the vector field that contains the reguarlized field |
[in] | force | the vector field that containes the unregularized field, e.g. a force field obtained from an image similarity measure. The field may be overwritten by the regularization operation. |
[in] | deform | the currently valid deformation |
void C3DFVectorfieldRegularizer::set_size | ( | const C3DBounds & | size | ) |
Sets the size of the vector fields that will be regularized. This method is implemented to give the regularizer a chance to initialize additional data structures. To do so a derived class has to override the method on_size_changed(). on_size_changed() is only called if the size changes.
|
static |
Definition at line 46 of file 3d/vfregularizer.hh.