Lines Matching refs:stereoCamera
309 int icvComputeCoeffForStereo( CvStereoCamera* stereoCamera)
317 quad1[i][0] = stereoCamera->quad[0][i].x;
318 quad1[i][1] = stereoCamera->quad[0][i].y;
320 quad2[i][0] = stereoCamera->quad[1][i].x;
321 quad2[i][1] = stereoCamera->quad[1][i].y;
326 stereoCamera->warpSize.height,
327 stereoCamera->camera[0]->matrix,
328 stereoCamera->rotMatrix,
329 stereoCamera->transVector,
330 stereoCamera->camera[1]->matrix,
331 stereoCamera->lineCoeffs,
332 &(stereoCamera->needSwapCameras));
1749 void icvGetQuadsTransformStruct( CvStereoCamera* stereoCamera)
1757 icvGetQuadsTransformNew( cvSize(cvRound(stereoCamera->camera[0]->imgSize[0]),cvRound(stereoCamera->camera[0]->imgSize[1])),
1758 stereoCamera->camera[0]->matrix,
1759 stereoCamera->camera[1]->matrix,
1760 stereoCamera->rotMatrix,
1761 stereoCamera->transVector,
1762 &(stereoCamera->warpSize),
1765 stereoCamera->fundMatr,
1766 &(stereoCamera->epipole[0]),
1767 &(stereoCamera->epipole[1])
1773 stereoCamera->quad[0][i] = cvPoint2D32f(quad1[i][0],quad1[i][1]);
1774 stereoCamera->quad[1][i] = cvPoint2D32f(quad2[i][0],quad2[i][1]);
1781 void icvComputeStereoParamsForCameras(CvStereoCamera* stereoCamera)
1799 icvCvt_32f_64d(stereoCamera->camera[0]->rotMatr,rotMatr1,9);
1800 icvCvt_32f_64d(stereoCamera->camera[1]->rotMatr,rotMatr2,9);
1802 icvCvt_32f_64d(stereoCamera->camera[0]->transVect,transVect1,3);
1803 icvCvt_32f_64d(stereoCamera->camera[1]->transVect,transVect2,3);
1813 icvCvt_64d_32f(convRotMatr,stereoCamera->rotMatrix,9);
1814 icvCvt_64d_32f(convTransVect,stereoCamera->transVector,3);
1817 icvGetQuadsTransformStruct(stereoCamera);
1818 icvComputeRestStereoParams(stereoCamera);