Lines Matching refs:points4D
51 void icvReconstructPoints4DStatus(CvMat** projPoints, CvMat **projMatrs, CvMat** presPoints, CvMat *points4D,int numImages,CvMat **projError=0);
70 void icvComputeDerivateProj(CvMat *points4D,CvMat *projMatr, CvMat *status, CvMat *derivProj)
79 if( points4D == 0 || projMatr == 0 || status == 0 || derivProj == 0)
84 if( !CV_IS_MAT(points4D) )
86 CV_ERROR( CV_StsUnsupportedFormat, "points4D must be a matrix 4xN" );
91 numPoints = points4D->cols;
95 CV_ERROR( CV_StsOutOfRange, "Number of points4D must be more than zero" );
98 if( points4D->rows != 4 )
100 CV_ERROR( CV_StsOutOfRange, "Number of coordinates of points4D must be 4" );
155 X[0] = cvmGet(points4D,0,currVisPoint);
156 X[1] = cvmGet(points4D,1,currVisPoint);
157 X[2] = cvmGet(points4D,2,currVisPoint);
158 X[3] = cvmGet(points4D,3,currVisPoint);
204 void icvComputeDerivateProjAll(CvMat *points4D, CvMat **projMatrs, CvMat **pointPres, int numImages,CvMat **projDerives)
223 icvComputeDerivateProj(points4D,projMatrs[currImage], pointPres[currImage], projDerives[currImage]);
231 void icvComputeDerivatePoints(CvMat *points4D,CvMat *projMatr, CvMat *presPoints, CvMat *derivPoint)
238 if( points4D == 0 || projMatr == 0 || presPoints == 0 || derivPoint == 0)
243 if( !CV_IS_MAT(points4D) )
245 CV_ERROR( CV_StsUnsupportedFormat, "points4D must be a matrix N x 4" );
256 if( points4D->rows != 4 )
258 CV_ERROR( CV_StsOutOfRange, "points4D must be a matrix N x 4" );
305 X[0] = cvmGet(points4D,0,currProjPoint);
306 X[1] = cvmGet(points4D,1,currProjPoint);
307 X[2] = cvmGet(points4D,2,currProjPoint);
308 X[3] = cvmGet(points4D,3,currProjPoint);
341 void icvComputeDerivatePointsAll(CvMat *points4D, CvMat **projMatrs, CvMat **pointPres, int numImages,CvMat **pointDerives)
360 icvComputeDerivatePoints(points4D, projMatrs[currImage], pointPres[currImage], pointDerives[currImage]);
739 CvMat *points4D,int numImages,CvMat **projError)
754 if( projPoints == 0 || projMatrs == 0 || presPoints == 0 || points4D == 0 )
760 numPoints = points4D->cols;
763 CV_ERROR( CV_StsOutOfRange, "Number of points4D must be more than zero" );
766 if( points4D->rows != 4 )
842 cvmSet(points4D,0,currPoint,cvmGet(&matrV,3,0));//X
843 cvmSet(points4D,1,currPoint,cvmGet(&matrV,3,1));//Y
844 cvmSet(points4D,2,currPoint,cvmGet(&matrV,3,2));//Z
845 cvmSet(points4D,3,currPoint,cvmGet(&matrV,3,3));//W
866 cvGetCol(points4D,&point4D,currPoint);
900 void icvProjPointsStatusFunc( int numImages, CvMat *points4D, CvMat **projMatrs, CvMat **pointsPres, CvMat **projPoints)
911 if( points4D == 0 || projMatrs == 0 || pointsPres == 0 || projPoints == 0 )
917 numPoints = points4D->cols;
920 CV_ERROR( CV_StsOutOfRange, "Number of points4D must be more than zero" );
923 if( points4D->rows != 4 )
958 cvGetSubRect(points4D,&point4D,cvRect(currPoint,0,1,4));
1195 /* Reconstruct points4D using projection matrices and status information */