C3DFVectorfieldRegularizer Class Referenceabstract

#include <mia/3d/vfregularizer.hh>

Inheritance diagram for C3DFVectorfieldRegularizer:
[legend]
Collaboration diagram for C3DFVectorfieldRegularizer:
[legend]

Public Types

typedef C3DFVectorfield plugin_data
 
typedef C3DFVectorfieldRegularizer plugin_type
 
typedef std::shared_ptr< C3DFVectorfieldRegularizerPointer
 
- 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 C3DBoundsget_size () const
 

Detailed Description

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.

Member Typedef Documentation

◆ plugin_data

◆ plugin_type

◆ Pointer

Definition at line 48 of file 3d/vfregularizer.hh.

Constructor & Destructor Documentation

◆ ~C3DFVectorfieldRegularizer()

virtual C3DFVectorfieldRegularizer::~C3DFVectorfieldRegularizer ( )
virtual

Member Function Documentation

◆ get_size()

const C3DBounds& C3DFVectorfieldRegularizer::get_size ( ) const
protected

◆ run()

double C3DFVectorfieldRegularizer::run ( C3DFVectorfield velocity,
C3DFVectorfield force,
const C3DFVectorfield deform 
) const

The work routine for the regularizer

Parameters
[out]velocitythe vector field that contains the reguarlized field
[in]forcethe 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]deformthe currently valid deformation
Returns
the maximum of the norms of the vectors of the output field

◆ set_size()

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.

Field Documentation

◆ type_descr

const char* C3DFVectorfieldRegularizer::type_descr
static

Definition at line 46 of file 3d/vfregularizer.hh.


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