8#ifndef META_OCEAN_GEOMETRY_NON_LINEAR_OPTIMIZATION_LINE_H
9#define META_OCEAN_GEOMETRY_NON_LINEAR_OPTIMIZATION_LINE_H
This class implements a base class for all indexed-based accessors allowing a constant reference acce...
Definition Accessor.h:241
EstimatorType
Definition of individual robust estimator types.
Definition Estimator.h:34
This class implements the basic functions for least square or robust optimization algorithms for non ...
Definition NonLinearOptimization.h:34
This class implements least square or robust optimization algorithms optimizing lines.
Definition NonLinearOptimizationLine.h:27
static bool optimizeLine(const Line2 &line, const ConstIndexedAccessor< ImagePoint > &pointAccessor, Line2 &optimizedLine, const unsigned int iterations=20u, const Estimator::EstimatorType estimator=Estimator::ET_SQUARE, Scalar lambda=Scalar(0.001), const Scalar lambdaFactor=Scalar(5), Scalar *initialError=nullptr, Scalar *finalError=nullptr)
Optimizes a 2D line by reducing the distance between image points and their projected line points.
This class implements an infinite line in 2D space.
Definition Line2.h:83
float Scalar
Definition of a scalar type.
Definition Math.h:129
The namespace covering the entire Ocean framework.
Definition Accessor.h:15