The time-step part of time-marching registration algorithms.
More...
#include <mia/3d/timestep.hh>
The time-step part of time-marching registration algorithms.
Definition at line 38 of file 3d/timestep.hh.
C3DRegTimeStep::C3DRegTimeStep |
( |
float |
min, |
|
|
float |
max |
|
) |
| |
Contructor to initialize the time setep with the range of possible time step length
- Parameters
-
virtual C3DRegTimeStep::~C3DRegTimeStep |
( |
) | |
|
|
virtual |
Apply the time step based on an input vector field to an output transformation
- Parameters
-
| infield | input vector field to add |
[in,out] | outfield | at input: vector field that is to be changed, at output: updated field |
| scale | a scaling to apply to the input field prior to applying it |
Evaluate the pertuberation related to the time step type and transformation
- Parameters
-
[in,out] | io | at input: the field to pertoperate, output: pertuperated field |
| shift | related current transformation to base the pertuberation on |
bool C3DRegTimeStep::decrease |
( |
) | |
|
Decrease the current time step
- Returns
- true if decreasing time-step was sucessfull, otherwise false
float C3DRegTimeStep::get_delta |
( |
float |
maxshift) | |
const |
Evaluate the delta for the application of the time step based on the maxium allowed transformation
- Parameters
-
maxshift | maximum hypothetical transfornmation to be applied |
- Returns
- the delta value corresponding to the current time step
bool C3DRegTimeStep::has_regrid |
( |
) | |
const |
- Returns
- true if the time-step requires regridding
void C3DRegTimeStep::increase |
( |
) | |
|
Increase time step (at most to its maximum)
For a fluid-dynamic like registration evaluate whether a regridding is needed. For other time-steps it always should return false
- Parameters
-
b | current force field |
v | velocity field |
delta | time step value to be applied |
- Returns
- true if regridding is to be applied
The documentation for this class was generated from the following file: