Lines Matching refs:dx
231 double JtJ[9],min_Jtf[3],dx[3],H_p_dx[9];
247 /*Come up with a hypothesis dx
249 db_Compute_dx_3x3(dx,JtJ,min_Jtf,lambda);
251 /*Compute Cost(x+dx)*/
252 db_UpdateRotation(H_p_dx,H,dx);
262 /*Move to the hypothesised position x+dx*/
513 inline void db_ImageHomographyUpdateGeneric(double H_p_dx[9],double H[9],double *dx,int homography_type,int frozen_coord)
520 db_MultiplyScaleOntoImageHomography(H,1.0+dx[0]);
521 db_MultiplyRotationOntoImageHomography(H,dx[1]);
522 H_p_dx[2]+=dx[2];
523 H_p_dx[5]+=dx[3];
527 db_MultiplyRotationOntoImageHomography(H,dx[0]);
530 db_MultiplyScaleOntoImageHomography(H,1.0+dx[0]);
534 db_MultiplyScaleOntoImageHomography(H,1.0+dx[0]);
535 H_p_dx[2]+=dx[1];
536 H_p_dx[5]+=dx[2];
540 db_MultiplyRotationOntoImageHomography(H,dx[0]);
541 H_p_dx[2]+=dx[1];
542 H_p_dx[5]+=dx[2];
546 db_MultiplyScaleOntoImageHomography(H,1.0+dx[0]);
547 db_MultiplyRotationOntoImageHomography(H,dx[1]);
551 H_p_dx[2]+=dx[0];
552 H_p_dx[5]+=dx[1];
555 db_UpdateImageHomographyAffine(H_p_dx,H,dx);
558 db_UpdateImageHomographyProjective(H_p_dx,H,dx,frozen_coord);
562 db_UpdateRotFocalHomography(H_p_dx,H,dx);
573 double JtJ[72],min_Jtf[9],dx[8],H_p_dx[9];
591 /*Come up with a hypothesis dx
593 db_Compute_dx(dx,JtJ_ref,min_Jtf,lambda,d,n);
595 /*Compute Cost(x+dx)*/
596 db_ImageHomographyUpdateGeneric(H_p_dx,H,dx,homography_type,frozen_coord);
606 /*Move to the hypothesised position x+dx*/