/development/perftests/panorama/feature_stab/db_vlvm/ |
db_bundle.h | 35 using only upper half of JtJ, destroying lower half below diagonal in the process 38 inline void db_Compute_dx(double *dx,double **JtJ,double *min_Jtf,double lambda,double *d,int n) 44 for(i=0;i<n;i++) d[i]=JtJ[i][i]*opl; 46 db_CholeskyDecompSeparateDiagonal(JtJ,d,n); 47 db_CholeskyBacksub(dx,JtJ,d,n,min_Jtf); 52 using only upper half of JtJ, destroying lower half below diagonal in the process 54 inline void db_Compute_dx_3x3(double dx[3],double JtJ[9],const double min_Jtf[3],double lambda) 59 d[0]=JtJ[0]*opl; 60 d[1]=JtJ[4]*opl; 61 d[2]=JtJ[8]*opl [all...] |
db_rob_image_homography.cpp | 111 /*Compute min_Jtf and upper right of JtJ. Return cost.*/ 112 inline double db_RobImageHomography_Jacobians(double JtJ[81],double min_Jtf[9],double H[9],int point_count,double *x_i,double *xp_i,double one_over_scale2) 117 db_Zero(JtJ,81); 129 /*Accumulate upper right of JtJ with outer product*/ 131 JtJ[0]+=temp*Jf_dx[0]+temp2*Jf_dx[9]; 132 JtJ[1]+=temp*Jf_dx[1]+temp2*Jf_dx[10]; 133 JtJ[2]+=temp*Jf_dx[2]+temp2*Jf_dx[11]; 134 JtJ[3]+=temp*Jf_dx[3]+temp2*Jf_dx[12]; 135 JtJ[4]+=temp*Jf_dx[4]+temp2*Jf_dx[13]; 136 JtJ[5]+=temp*Jf_dx[5]+temp2*Jf_dx[14] [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_bundle.h | 35 using only upper half of JtJ, destroying lower half below diagonal in the process 38 inline void db_Compute_dx(double *dx,double **JtJ,double *min_Jtf,double lambda,double *d,int n) 44 for(i=0;i<n;i++) d[i]=JtJ[i][i]*opl; 46 db_CholeskyDecompSeparateDiagonal(JtJ,d,n); 47 db_CholeskyBacksub(dx,JtJ,d,n,min_Jtf); 52 using only upper half of JtJ, destroying lower half below diagonal in the process 54 inline void db_Compute_dx_3x3(double dx[3],double JtJ[9],const double min_Jtf[3],double lambda) 59 d[0]=JtJ[0]*opl; 60 d[1]=JtJ[4]*opl; 61 d[2]=JtJ[8]*opl [all...] |
db_rob_image_homography.cpp | 111 /*Compute min_Jtf and upper right of JtJ. Return cost.*/ 112 inline double db_RobImageHomography_Jacobians(double JtJ[81],double min_Jtf[9],double H[9],int point_count,double *x_i,double *xp_i,double one_over_scale2) 117 db_Zero(JtJ,81); 129 /*Accumulate upper right of JtJ with outer product*/ 131 JtJ[0]+=temp*Jf_dx[0]+temp2*Jf_dx[9]; 132 JtJ[1]+=temp*Jf_dx[1]+temp2*Jf_dx[10]; 133 JtJ[2]+=temp*Jf_dx[2]+temp2*Jf_dx[11]; 134 JtJ[3]+=temp*Jf_dx[3]+temp2*Jf_dx[12]; 135 JtJ[4]+=temp*Jf_dx[4]+temp2*Jf_dx[13]; 136 JtJ[5]+=temp*Jf_dx[5]+temp2*Jf_dx[14] [all...] |
/external/opencv3/modules/calib3d/src/ |
rho.cpp | 316 float (* JtJ)[8]; /* JtJ matrix */ 419 float (* JtJ)[8], 826 lm.JtJ = (float(*)[8])(ptr + lm_JtJ_of); 892 lm.JtJ = NULL; [all...] |
compat_ptsetreg.cpp | 75 JtJ.release(); 95 JtJ.reset(cvCreateMat( nparams, nparams, CV_64F )); 147 cvMulTransposed( J, JtJ, 1 ); 208 cvZero( JtJ ); 211 _JtJ = JtJ; 254 cvZero( JtJ ); 257 _JtJ = JtJ; 272 double *row = JtJ->data.db + i*nparams, *col = JtJ->data.db + i; 279 cvCompleteSymm( JtJ, completeSymmFlag ) [all...] |
calibration.cpp | [all...] |
/external/opencv3/modules/imgproc/src/ |
undistort.cpp | 473 Vec4d JtJ(J[0]*J[0] + J[2]*J[2], J[0]*J[1] + J[2]*J[3], 475 double d = JtJ[0]*JtJ[3] - JtJ[1]*JtJ[2]; 477 Vec4d iJtJ(JtJ[3]*d, -JtJ[1]*d, -JtJ[2]*d, JtJ[0]*d);
|
/external/opencv/cv/src/ |
cvcalibration.cpp | 55 mask = prevParam = param = J = err = JtJ = JtJN = JtErr = JtJV = JtJW = 0; 64 mask = prevParam = param = J = err = JtJ = JtJN = JtErr = JtJV = JtJW = 0; 75 cvReleaseMat(&JtJ); 95 JtJ = cvCreateMat( nparams, nparams, CV_64F ); 145 cvMulTransposed( J, JtJ, 1 ); 203 cvZero( JtJ ); 206 _JtJ = JtJ; 247 cvZero( JtJ ); 250 _JtJ = JtJ; 265 double *row = JtJ->data.db + i*nparams, *col = JtJ->data.db + i [all...] |
/external/opencv/cv/include/ |
cv.hpp | 381 bool updateAlt( const CvMat*& param, CvMat*& JtJ, CvMat*& JtErr, double*& errNorm ); 392 CvMat* JtJ;
|
/external/opencv3/modules/calib3d/include/opencv2/calib3d/ |
calib3d_c.h | 396 bool updateAlt( const CvMat*& param, CvMat*& JtJ, CvMat*& JtErr, double*& errNorm ); 407 cv::Ptr<CvMat> JtJ;
|