8.4.2.6. calibration
(packages/opencv/calibration.lsh)


dummy function that adds OpenCV C header files in C file

8.4.2.6.0. (cvProjectPoints2 objectpoints rotvect transvect intrinsicmat distortion imagepoints dprot dptrans dpfocal dpprincipal dpdistort)
(packages/opencv/calibration.lsh)


 OPENCVAPI  void  cvProjectPoints2( const cvMat* objectPoints,
                                    const CvMat* rotVect,
                                    const CvMat* transVect,
                                    const CvMat* intrinsicMat,
                                    const CvMat* distortion,
                                    CvMat*       imagePoints,
                                    CvMat*       derivPointsRot,
                                    CvMat*       derivPointsTrans,
                                    CvMat*       derivPointsFocal,
                                    CvMat*       derivPointsPrincipal,
                                    CvMat*       derivPointsDistort);


8.4.2.6.0.0. (de cvFindHomography sourcepoints destinationpoints homographymat)
[DY] (packages/opencv/calibration.lsh)


OPENCVAPI void cvFindHomography( const CvMat* sourcePoints, const CvMat* destinationPoints, CvMat* homographyMatrix);

8.4.2.6.0.1. (de cvCalibrateCamera2 objectpoints imagepoints pointcounts imagesize intrinsicmat distortion rotationvects transvects flags)
[DY] (packages/opencv/calibration.lsh)


OPENCVAPI void cvCalibrateCamera2( const CvMat* object_points, const CvMat* image_points, const CvMat* point_counts, CvSize image_size, CvMat* intrinsic_matrix, CvMat* distortion_coeffs, CvMat* rotation_vectors=NULL, CvMat* translation_vectors=NULL, int flags=0);

8.4.2.6.1. (cvFindExtrinsicCameraParams2 objectpoints imagepoints intrinsicmat distortion rotationvect transvect)
(packages/opencv/calibration.lsh)


 OPENCVAPI  void  cvFindExtrinsicCameraParams2( const CvMat* object_points,
                                                const CvMat* image_points,
                                                const CvMat* intrinsic_matrix, 
                                                const CvMat* distortion_coeffs,
                                                CvMat*       rotation_vector, 
                                                CvMat*       translation_vector);


8.4.2.6.2. (cvrodrigues2 srcrotmat destrotmat jacobian)
(packages/opencv/calibration.lsh)


 /* Rodrigues transform */
 OPENCVAPI  int  cvRodrigues2( const CvMat* srcRotMatrix,
                               const CvMat* destRotMatrix,
                               CvMat* jacobian=0);


8.4.2.6.3. (cvfindchessboardcorners image patternsize corners ccount flags)
(packages/opencv/calibration.lsh)


 OPENCVAPI  int  cvFindChessboardCorners( const void*   image,
                                          CvSize        pattern_size,
                                          CvPoint2D32f* corners,
                                          int*          corner_count=NULL,
                                          int           flags=CV_CALIB_CB_ADAPTIVE_THRESH);


8.4.2.6.4. (cvdrawchessboardcorners image patternsize corners ccount found)
(packages/opencv/calibration.lsh)


 OPENCVAPI  int  cvDrawChessboardCorners( CvArr*        image,
                                          CvSize        pattern_size,
                                          CvPoint2D32f* corners,
                                          int           count,
                                          int           pattern_was_found);


8.4.2.6.4.0. (de cvCalibrateCamera nimages npoints imagesize imagepoints objectpoints distortion cameramatrix transvects rotmat useguess)
[DY] (packages/opencv/calibration.lsh)


OPENCVAPI void cvCalibrateCamera( int numImages, int* numPoints, CvSize imageSize, CvPoint2D32f* imagePoints32f, CvPoint3D32f* objectPoints32f, CvVect32f distortion32f, CvMatr32f cameraMatrix32f, CvVect32f transVects32f, CvMatr32f rotMatrs32f, int useIntrinsicGuess);

8.4.2.6.5. (cvcalibratecamera_64d nimages npoints imagesize imagepoints objectpoints distortion cameramatrix transvects rotmat useguess)
(packages/opencv/calibration.lsh)


 OPENCVAPI  void  cvCalibrateCamera_64d( int           numImages,
                                        int*          numPoints,
                                        CvSize        imageSize,
                                        CvPoint2D64d* imagePoints,
                                        CvPoint3D64d* objectPoints,
                                        CvVect64d     distortion,
                                        CvMatr64d     cameraMatrix,
                                        CvVect64d     transVects,
                                        CvMatr64d     rotMatrs,
                                        int           useIntrinsicGuess );


8.4.2.6.6. (cvfindextrinsiccameraparams npoints imagesize imagepoints objectpoints focallength principalpoint distortion rotvect transvect)
(packages/opencv/calibration.lsh)


 OPENCVAPI  void  cvFindExtrinsicCameraParams( int           numPoints,
                                              CvSize        imageSize,
                                              CvPoint2D32f* imagePoints32f,
                                              CvPoint3D32f* objectPoints32f,
                                              CvVect32f     focalLength32f,
                                              CvPoint2D32f  principalPoint32f,
                                              CvVect32f     distortion32f,
                                              CvVect32f     rotVect32f,
                                              CvVect32f     transVect32f);


8.4.2.6.7. (cvfindextrinsiccameraparams_64d npoints imagesize imagepoints objectpoints focallength principalpoint distortion rotvect transvect)
(packages/opencv/calibration.lsh)


 OPENCVAPI  void  cvFindExtrinsicCameraParams_64d( int           numPoints,
                                                  CvSize        imageSize,
                                                  CvPoint2D64d* imagePoints,
                                                  CvPoint3D64d* objectPoints,
                                                  CvVect64d     focalLength,
                                                  CvPoint2D64d  principalPoint,
                                                  CvVect64d     distortion,
                                                  CvVect64d     rotVect,
                                                  CvVect64d     transVect);


8.4.2.6.8. (cvrodrigues rotmat rotvect jacobian convtype)
(packages/opencv/calibration.lsh)


 /* Rodrigues transform */
 OPENCVAPI  void  cvRodrigues( CvMat* rotMatrix, CvMat* rotVector,
                               CvMat* jacobian, CvRodriguesType convType);


8.4.2.6.9. (cvprojectpoints npoints objectpoints rotvect transvect focallength principalpoint distortion imagepoints dprot dptrans dpfocal dpprincipal dpdistort)
(packages/opencv/calibration.lsh)


 OPENCVAPI  void  cvProjectPoints( int             numPoints,
                                  CvPoint3D64d*   objectPoints,
                                  CvVect64d       rotVect,
                                  CvVect64d       transVect,
                                  CvVect64d       focalLength,
                                  CvPoint2D64d    principalPoint,
                                  CvVect64d       distortion,
                                  CvPoint2D64d*   imagePoints,
                                  CvVect64d       derivPointsRot,
                                  CvVect64d       derivPointsTrans,
                                  CvVect64d       derivPointsFocal,
                                  CvVect64d       derivPointsPrincipal,
                                  CvVect64d       derivPointsDistort);


8.4.2.6.10. (cvprojectpointssimple npoints objectpoints rotmat transvect cameramat distortion imagepoints)
(packages/opencv/calibration.lsh)


 OPENCVAPI void cvProjectPointsSimple(  int numPoints,
                                     CvPoint3D64d * objectPoints,
                                     CvVect64d rotMatr,
                                     CvVect64d transVect,
                                     CvMatr64d cameraMatrix,
                                     CvVect64d distortion,
                                     CvPoint2D64d* imagePoints);
                                     


8.4.2.6.11. (cvfindchessboardcornerguesses array thresh stor etalonsize corners ccount)
(packages/opencv/calibration.lsh)


 /*F///////////////////////////////////////////////////////////////////////////////////////
 //    Name:    cvFindChessBoardCornerGuesses
 //    Purpose:
 //      Function finds first approximation of internal corners on the chess board.
 //    Context:
 //    Parameters:
 //      img      - source halftone image
 //      thresh   - temporary image where the thresholded source image will be stored.
 //      etalon_size - number of corners per each column and each row
 //      corners  - pointer to found points array
 //                 (must have at least etalon_size.width*etalon.height element).
 //      corner_count - number of found corners
 //    Returns:
 //
 //F*/
 OPENCVAPI  int  cvFindChessBoardCornerGuesses( const CvArr* array, CvArr* thresh,
                                                CvMemStorage* storage, CvSize etalon_size,
                                                CvPoint2D32f* corners,
                                                int *corner_count CV_DEFAULT(0));