8.4.2.21. gesture
(packages/opencv/gesture.lsh)


dummy function that adds OpenCV C header files in C file

8.4.2.21.0. (cvfindhandregion points count indexs line size flag center storage numbers)
(packages/opencv/gesture.lsh)


 //    Name:     cvFindHandRegion
 //    Purpose:  finds hand region in range image data
 //    Context:   
 //    Parameters: 
 //      points - pointer to the input point's set.
 //      count  - the number of the input points.
 //      indexs - pointer to the input sequence of the point's indexes
 //      line   - pointer to the 3D-line
 //      size   - size of the hand in meters 
 //      flag   - hand direction's flag (0 - left, -1 - right, 
                  otherwise j-index of the initial image center)
 //      center - pointer to the output hand center
 //      storage - pointer to the memory storage  
 //      numbers - pointer to the output sequence of the point's indexes inside
 //                hand region                
 //      
 //    Notes:
 //F*/
 OPENCVAPI  void  cvFindHandRegion (CvPoint3D32f* points, int count,
                                 CvSeq* indexs,
                                 float* line, CvSize2D32f size, int flag,
                                 CvPoint3D32f* center,
                                 CvMemStorage* storage, CvSeq **numbers);


8.4.2.21.1. (cvfindhandregiona points count indexs line size jc center storage numbers)
(packages/opencv/gesture.lsh)


 //    Name:     cvFindHandRegionA
 //    Purpose:  finds hand region in range image data
 //    Context:
 //    Parameters:
 //      points - pointer to the input point's set.
 //      count  - the number of the input points.
 //      indexs - pointer to the input sequence of the point's indexes
 //      line   - pointer to the 3D-line
 //      size   - size of the hand in meters
 //      jc - j-index of the initial image center
 //      center - pointer to the output hand center
 //      storage - pointer to the memory storage
 //      numbers - pointer to the output sequence of the point's indexes inside
 //                hand region
 //
 //    Notes:
 //F*/
 OPENCVAPI  void  cvFindHandRegionA( CvPoint3D32f* points, int count,
                                 CvSeq* indexs,
                                 float* line, CvSize2D32f size, int jc,
                                 CvPoint3D32f* center,
                                 CvMemStorage* storage, CvSeq **numbers);


8.4.2.21.2. (cvcalcimagehomography line center intrinsic homography)
(packages/opencv/gesture.lsh)


 //    Name:     cvCalcImageHomography
 //    Purpose:  calculates the cooficients of the homography matrix
 //    Context:
 //    Parameters:
 //      line   - pointer to the input 3D-line
 //      center - pointer to the input hand center
 //      intrinsic - intrinsic camera parameters matrix
 //      homography - result homography matrix
 //
 //    Notes:
 //F*/
 OPENCVAPI  void  cvCalcImageHomography(float *line, CvPoint3D32f* center,
                                      float intrinsic[3][3], float homography[3][3]);


8.4.2.21.3. (cvcreatehandmask numbers img_mask roi)
(packages/opencv/gesture.lsh)


 //    Name:     cvCreateHandMask
 //    Purpose:  creates hand mask image
 //    Context:
 //    Parameters:
 //      numbers - pointer to the input sequence of the point's indexes inside
 //                hand region
 //      img_mask - pointer to the result mask image
 //      roi      - result hand mask ROI
 //
 //    Notes:
 //F*/
 OPENCVAPI  void  cvCreateHandMask( CvSeq* numbers,
                                 IplImage *img_mask, CvRect *roi);


8.4.2.21.4. (cvcalcprobdensity hist1 hist2 dst-hist scale)
(packages/opencv/gesture.lsh)


 //    Name:     cvCalcProbDensity
 //    Purpose:  calculates hand mask probability density
 //    Context:
 //    Parameters:
 //      hist1     - pointer to first input image histogram
 //      hist2     - pointer to second input image histogram
 //      dest_hist - pointer to output density histogram
 //      scale     - scale factor
 //
 //    Notes:
 //F*/
 OPENCVAPI  void  cvCalcProbDensity(const CvHistogram* hist1,const CvHistogram* hist2,
                                    CvHistogram* dest_hist, double scale);


8.4.2.21.5. (cvmaxrect rect1 rect2)
(packages/opencv/gesture.lsh)


 //    Name:     cvMaxRect
 //    Purpose:  calculates maximum rectangle
 //    Context:
 //    Parameters:
 //      rect1      - pointer to the first input rectangle
 //      rect2      - pointer to the second input rectangle
 //
 //    Notes:
 //F*/
 OPENCVAPI  CvRect cvMaxRect( CvRect *rect1, CvRect *rect2);