Iterative direction optimizer. More...
#include <cmtkIterativeDirectionOptimizer.h>
Public Member Functions | |
IterativeDirectionOptimizer (const Types::Coordinate stepFactor=0.5) | |
Constructor. | |
virtual CallbackResult | Optimize (CoordinateVector &, const Types::Coordinate=1, const Types::Coordinate=0) |
Perform the optimization. | |
Private Attributes | |
Types::Coordinate | StepFactor |
Search step factor. |
Iterative direction optimizer.
This class implements a simple search algorithm that will iterate through all dimensions of the parameter space and search for the maximum of the target function along each dimension. If no further improvements are possible, the step size is reduced and the search continues until a given minimum step size is reached.
Definition at line 53 of file cmtkIterativeDirectionOptimizer.h.
cmtk::IterativeDirectionOptimizer::IterativeDirectionOptimizer | ( | const Types::Coordinate | stepFactor = 0.5 ) |
[inline] |
Constructor.
Hand functional and callback to parent class and initialize local variables.
stepFactor | Factor by which the search step size is decreased. |
Definition at line 63 of file cmtkIterativeDirectionOptimizer.h.
References StepFactor.
Search step factor.
This variable determines the factor by which to decrease the search step size if no further improvement is possible at a certain resolution. Reasonable values are in the range 0 < StepFactor < 1. For most cases, a value of 0.5 has been found to provide optimum accuracy and performance.
Definition at line 77 of file cmtkIterativeDirectionOptimizer.h.
Referenced by IterativeDirectionOptimizer().