OpenCV  2.4.13
Open Source Computer Vision
cv::LevMarqSparse Class Reference

#include <contrib.hpp>

Public Member Functions

 LevMarqSparse ()
 
 LevMarqSparse (int npoints, int ncameras, int nPointParams, int nCameraParams, int nErrParams, Mat &visibility, Mat &P0, Mat &X, TermCriteria criteria, void(CV_CDECL *fjac)(int i, int j, Mat &point_params, Mat &cam_params, Mat &A, Mat &B, void *data), void(CV_CDECL *func)(int i, int j, Mat &point_params, Mat &cam_params, Mat &estim, void *data), void *data, BundleAdjustCallback cb, void *user_data)
 
virtual ~LevMarqSparse ()
 
virtual void run (int npoints, int ncameras, int nPointParams, int nCameraParams, int nErrParams, Mat &visibility, Mat &P0, Mat &X, TermCriteria criteria, void(CV_CDECL *fjac)(int i, int j, Mat &point_params, Mat &cam_params, Mat &A, Mat &B, void *data), void(CV_CDECL *func)(int i, int j, Mat &point_params, Mat &cam_params, Mat &estim, void *data), void *data)
 
virtual void clear ()
 
virtual void optimize (CvMat &_vis)
 
void ask_for_proj (CvMat &_vis, bool once=false)
 
void ask_for_projac (CvMat &_vis)
 

Static Public Member Functions

static void bundleAdjust (vector< Point3d > &points, const vector< vector< Point2d > > &imagePoints, const vector< vector< int > > &visibility, vector< Mat > &cameraMatrix, vector< Mat > &R, vector< Mat > &T, vector< Mat > &distCoeffs, const TermCriteria &criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, DBL_EPSILON), BundleAdjustCallback cb=0, void *user_data=0)
 

Public Attributes

CvMaterr
 
double prevErrNorm
 
double errNorm
 
double lambda
 
CvTermCriteria criteria
 
int iters
 
CvMat ** U
 
CvMat ** V
 
CvMat ** inv_V_star
 
CvMat ** A
 
CvMat ** B
 
CvMat ** W
 
CvMatX
 
CvMathX
 
CvMatprevP
 
CvMatP
 
CvMatdeltaP
 
CvMat ** ea
 
CvMat ** eb
 
CvMat ** Yj
 
CvMatS
 
CvMatJtJ_diag
 
CvMatVis_index
 
int num_cams
 
int num_points
 
int num_err_param
 
int num_cam_param
 
int num_point_param
 
void(* fjac )(int i, int j, Mat &point_params, Mat &cam_params, Mat &A, Mat &B, void *data)
 
void(* func )(int i, int j, Mat &point_params, Mat &cam_params, Mat &estim, void *data)
 
voiddata
 
BundleAdjustCallback cb
 
voiduser_data
 

Constructor & Destructor Documentation

cv::LevMarqSparse::LevMarqSparse ( )
cv::LevMarqSparse::LevMarqSparse ( int  npoints,
int  ncameras,
int  nPointParams,
int  nCameraParams,
int  nErrParams,
Mat visibility,
Mat P0,
Mat X,
TermCriteria  criteria,
void(CV_CDECL *fjac)(int i, int j, Mat &point_params, Mat &cam_params, Mat &A, Mat &B, void *data ,
void(CV_CDECL *func)(int i, int j, Mat &point_params, Mat &cam_params, Mat &estim, void *data ,
void data,
BundleAdjustCallback  cb,
void user_data 
)
virtual cv::LevMarqSparse::~LevMarqSparse ( )
virtual

Member Function Documentation

void cv::LevMarqSparse::ask_for_proj ( CvMat _vis,
bool  once = false 
)
void cv::LevMarqSparse::ask_for_projac ( CvMat _vis)
static void cv::LevMarqSparse::bundleAdjust ( vector< Point3d > &  points,
const vector< vector< Point2d > > &  imagePoints,
const vector< vector< int > > &  visibility,
vector< Mat > &  cameraMatrix,
vector< Mat > &  R,
vector< Mat > &  T,
vector< Mat > &  distCoeffs,
const TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, DBL_EPSILON),
BundleAdjustCallback  cb = 0,
void user_data = 0 
)
static
virtual void cv::LevMarqSparse::clear ( )
virtual
virtual void cv::LevMarqSparse::optimize ( CvMat _vis)
virtual
virtual void cv::LevMarqSparse::run ( int  npoints,
int  ncameras,
int  nPointParams,
int  nCameraParams,
int  nErrParams,
Mat visibility,
Mat P0,
Mat X,
TermCriteria  criteria,
void(CV_CDECL *fjac)(int i, int j, Mat &point_params, Mat &cam_params, Mat &A, Mat &B, void *data ,
void(CV_CDECL *func)(int i, int j, Mat &point_params, Mat &cam_params, Mat &estim, void *data ,
void data 
)
virtual

Member Data Documentation

CvMat** cv::LevMarqSparse::A
CvMat** cv::LevMarqSparse::B
BundleAdjustCallback cv::LevMarqSparse::cb
CvTermCriteria cv::LevMarqSparse::criteria
void* cv::LevMarqSparse::data
CvMat* cv::LevMarqSparse::deltaP
CvMat** cv::LevMarqSparse::ea
CvMat** cv::LevMarqSparse::eb
CvMat* cv::LevMarqSparse::err
double cv::LevMarqSparse::errNorm
void(* cv::LevMarqSparse::fjac) (int i, int j, Mat &point_params, Mat &cam_params, Mat &A, Mat &B, void *data)
void(* cv::LevMarqSparse::func) (int i, int j, Mat &point_params, Mat &cam_params, Mat &estim, void *data)
CvMat* cv::LevMarqSparse::hX
CvMat** cv::LevMarqSparse::inv_V_star
int cv::LevMarqSparse::iters
CvMat* cv::LevMarqSparse::JtJ_diag
double cv::LevMarqSparse::lambda
int cv::LevMarqSparse::num_cam_param
int cv::LevMarqSparse::num_cams
int cv::LevMarqSparse::num_err_param
int cv::LevMarqSparse::num_point_param
int cv::LevMarqSparse::num_points
CvMat* cv::LevMarqSparse::P
double cv::LevMarqSparse::prevErrNorm
CvMat* cv::LevMarqSparse::prevP
CvMat* cv::LevMarqSparse::S
CvMat** cv::LevMarqSparse::U
void* cv::LevMarqSparse::user_data
CvMat** cv::LevMarqSparse::V
CvMat* cv::LevMarqSparse::Vis_index
CvMat** cv::LevMarqSparse::W
CvMat* cv::LevMarqSparse::X
CvMat** cv::LevMarqSparse::Yj

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