cv::LevMarqSparse Class Reference

#include <contrib.hpp>

List of all members.

Public Member Functions

virtual void clear ()
 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)
 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 ~LevMarqSparse ()

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))

Protected Member Functions

void ask_for_proj ()
void ask_for_projac ()
virtual void optimize ()

Protected Attributes

CvMatA
CvMatB
CvTermCriteria criteria
void * data
CvMatdeltaP
CvMat ** ea
CvMat ** eb
CvMaterr
double errNorm
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)
CvMathX
CvMat ** inv_V_star
int iters
CvMatJtJ_diag
double lambda
int num_cam_param
int num_cams
int num_err_param
int num_point_param
int num_points
CvMatP
double prevErrNorm
CvMatprevP
CvMatS
CvMat ** U
CvMat ** V
CvMatVis_index
CvMatW
CvMatX
CvMat ** Yj

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 
)
virtual cv::LevMarqSparse::~LevMarqSparse (  )  [virtual]

Member Function Documentation

void cv::LevMarqSparse::ask_for_proj (  )  [protected]
void cv::LevMarqSparse::ask_for_projac (  )  [protected]
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) 
) [static]
virtual void cv::LevMarqSparse::clear (  )  [virtual]
virtual void cv::LevMarqSparse::optimize (  )  [protected, 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

void* cv::LevMarqSparse::data [protected]
double cv::LevMarqSparse::errNorm [protected]
void(* cv::LevMarqSparse::fjac)(int i, int j, Mat &point_params, Mat &cam_params, Mat &A, Mat &B, void *data) [protected]
void(* cv::LevMarqSparse::func)(int i, int j, Mat &point_params, Mat &cam_params, Mat &estim, void *data) [protected]
int cv::LevMarqSparse::iters [protected]
double cv::LevMarqSparse::lambda [protected]
int cv::LevMarqSparse::num_cams [protected]
double cv::LevMarqSparse::prevErrNorm [protected]
CvMat** cv::LevMarqSparse::U [protected]
CvMat** cv::LevMarqSparse::V [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Dec 23 11:40:55 2010 for opencv by  doxygen 1.6.3