Lines Matching full:coeffs
100 CvStereoLineCoeff* coeffs,
116 partX = coeffs->Xcoef + coeffs->XcoefA *alpha +
117 coeffs->XcoefB*betta + coeffs->XcoefAB*alphabetta;
119 partY = coeffs->Ycoef + coeffs->YcoefA *alpha +
120 coeffs->YcoefB*betta + coeffs->YcoefAB*alphabetta;
122 partZ = coeffs->Zcoef + coeffs->ZcoefA *alpha +
123 coeffs->ZcoefB*betta + coeffs->ZcoefAB*alphabetta;
234 /* We can compute coeffs for this line */
349 CvStereoLineCoeff* coeffs,
487 coeffs);
602 CvStereoLineCoeff* coeffs)
623 coeffs->Xcoef = -x1 + xA;
624 coeffs->XcoefA = xB + x1 - xA;
625 coeffs->XcoefB = -xA - gamma * x1 + gamma * xA;
626 coeffs->XcoefAB = -xB + xA + gamma * xB - gamma * xA;
628 coeffs->Ycoef = -y1 + yA;
629 coeffs->YcoefA = yB + y1 - yA;
630 coeffs->YcoefB = -yA - gamma * y1 + gamma * yA;
631 coeffs->YcoefAB = -yB + yA + gamma * yB - gamma * yA;
633 coeffs->Zcoef = -z1 + zA;
634 coeffs->ZcoefA = zB + z1 - zA;
635 coeffs->ZcoefB = -zA - gamma * z1 + gamma * zA;
636 coeffs->ZcoefAB = -zB + zA + gamma * zB - gamma * zA;
641 coeffs->Xcoef = -( -x1 + xA);
642 coeffs->XcoefB = -( xB + x1 - xA);
643 coeffs->XcoefA = -( -xA - gamma * x1 + gamma * xA);
644 coeffs->XcoefAB = -( -xB + xA + gamma * xB - gamma * xA);
646 coeffs->Ycoef = -( -y1 + yA);
647 coeffs->YcoefB = -( yB + y1 - yA);
648 coeffs->YcoefA = -( -yA - gamma * y1 + gamma * yA);
649 coeffs->YcoefAB = -( -yB + yA + gamma * yB - gamma * yA);
651 coeffs->Zcoef = -( -z1 + zA);
652 coeffs->ZcoefB = -( zB + z1 - zA);
653 coeffs->ZcoefA = -( -zA - gamma * z1 + gamma * zA);
654 coeffs->ZcoefAB = -( -zB + zA + gamma * zB - gamma * zA);
1784 ** such as fundamental matrix. warping coeffs, epipoles, ...
2365 void icvComputePerspectiveCoeffs(const CvPoint2D32f srcQuad[4],const CvPoint2D32f dstQuad[4],double coeffs[3][3])
2366 {/* Computes perspective coeffs for transformation from src to dst quad */
2434 coeffs[0][0] = c[0];
2435 coeffs[0][1] = c[1];
2436 coeffs[0][2] = c[2];
2437 coeffs[1][0] = c[3];
2438 coeffs[1][1] = c[4];
2439 coeffs[1][2] = c[5];
2440 coeffs[2][0] = c[6];
2441 coeffs[2][1] = c[7];
2442 coeffs[2][2] = 1.0;
2495 /* Computes Perspective Transform coeffs and map if need
3037 int icvConvertWarpCoordinates(double coeffs[3][3],
3049 det = (coeffs[2][0] * x + coeffs[2][1] * y + coeffs[2][2]);
3052 cameraPoint->x = (float)((coeffs[0][0] * x + coeffs[0][1] * y + coeffs[0][2]) / det);
3053 cameraPoint->y = (float)((coeffs[1][0] * x + coeffs[1][1] * y + coeffs[1][2]) / det);
3062 det = (coeffs[2][0]*x-coeffs[0][0])*(coeffs[2][1]*y-coeffs[1][1])-(coeffs[2][1]*x-coeffs[0][1])*(coeffs[2][0]*y-coeffs[1][0]);
3066 warpPoint->x = (float)(((coeffs[0][2]-coeffs[2][2]*x)*(coeffs[2][1]*y-coeffs[1][1])-(coeffs[2][1]*x-coeffs[0][1])*(coeffs[1][2]-coeffs[2][2]*y))/det);
3067 warpPoint->y = (float)(((coeffs[2][0]*x-coeffs[0][0])*(coeffs[1][2]-coeffs[2][2]*y)-(coeffs[0][2]-coeffs[2][2]*x)*(coeffs[2][0]*y-coeffs[1][0]))/det);
3085 stereoparams->coeffs[0],
3090 stereoparams->coeffs[1],
3111 icvConvertWarpCoordinates( stereoparams->coeffs[0],
3117 icvConvertWarpCoordinates( stereoparams->coeffs[1],
3136 icvConvertWarpCoordinates(stereoparams->coeffs[0],
3141 icvConvertWarpCoordinates(stereoparams->coeffs[1],
3149 /* Allocate memory for scanlines coeffs */
3153 /* Compute coeffs for epilines */
3157 /* all coeffs are known */