OpenCV  5.0.0-pre
Open Source Computer Vision
Public Member Functions | Public Attributes | List of all members
cv::detail::LevMarqBase Class Reference

Base class for Levenberg-Marquadt solvers. More...

#include <opencv2/3d/detail/optimizer.hpp>

Public Member Functions

 LevMarqBase (const Ptr< LevMarqBackend > &backend_, const LevMarq::Settings &settings_)
virtual ~LevMarqBase ()
virtual LevMarq::Report optimize ()

Public Attributes

Ptr< LevMarqBackendbackend
LevMarq::Settings settings

Detailed Description

Base class for Levenberg-Marquadt solvers.

This class can be used for general local optimization using sparse linear solvers, exponential param update or fixed variables implemented in child classes. This base class does not depend on a type, layout or a group structure of a param vector or an objective function jacobian. A child class should provide a storage for that data and implement all virtual member functions that process it. This class does not support fixed/masked variables, this should also be implemented in child classes.

Constructor & Destructor Documentation

◆ ~LevMarqBase()

virtual cv::detail::LevMarqBase::~LevMarqBase ( )

◆ LevMarqBase()

cv::detail::LevMarqBase::LevMarqBase ( const Ptr< LevMarqBackend > &  backend_,
const LevMarq::Settings settings_ 

Member Function Documentation

◆ optimize()

virtual LevMarq::Report cv::detail::LevMarqBase::optimize ( )

Member Data Documentation

◆ backend

Ptr<LevMarqBackend> cv::detail::LevMarqBase::backend

◆ settings

LevMarq::Settings cv::detail::LevMarqBase::settings

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