Loading...
Searching...
No Matches
cv::LMSolver::Callback Class Referenceabstract
#include <opencv2/calib3d.hpp>
Public Member Functions | |
virtual | ~Callback () |
virtual bool | compute (InputArray param, OutputArray err, OutputArray J) const =0 |
Constructor & Destructor Documentation
◆ ~Callback()
|
inlinevirtual |
Member Function Documentation
◆ compute()
|
pure virtual |
computes error and Jacobian for the specified vector of parameters
- Parameters
-
param the current vector of parameters err output vector of errors: err_i = actual_f_i - ideal_f_i J output Jacobian: J_ij = d(ideal_f_i)/d(param_j)
when J=noArray(), it means that it does not need to be computed. Dimensionality of error vector and param vector can be different. The callback should explicitly allocate (with "create" method) each output array (unless it's noArray()).
The documentation for this class was generated from the following file:
- opencv2/calib3d.hpp