]> rtime.felk.cvut.cz Git - opencv.git/blob - opencv/interfaces/python/api
Add new Python bindings
[opencv.git] / opencv / interfaces / python / api
1 # Macros
2 CV_RGB CvScalar
3   double red
4   double grn
5   double blu
6 CV_MAT_CN int
7   int i
8 CV_MAT_DEPTH int
9   int i
10 Scalar CvScalar
11   double val0
12   double val1 0
13   double val2 0
14   double val3 0
15 ScalarAll CvScalar
16   double val0123
17 RealScalar CvScalar
18   double val0
19 CV_IABS int
20   int a
21 CV_CMP int
22   int a
23   int b
24 CV_SIGN int
25   int a
26
27 # Initialization
28 CloneImage IplImage*
29   IplImage image
30
31 SetImageCOI
32   IplImage image
33   int coi
34 GetImageCOI int
35   IplImage image
36 SetImageROI
37   IplImage image
38   CvRect rect
39 ResetImageROI
40   IplImage image
41 GetImageROI CvRect
42   IplImage image
43 CloneMat CvMat*
44   CvMat mat
45 CloneMatND CvMatND*
46   CvMatND mat
47
48 # Accessing Elements and sub-Arrays
49
50 Get1D CvScalar
51   CvArr arr
52   int idx0
53 Get2D CvScalar
54   CvArr arr
55   int idx0
56   int idx1
57 Get3D CvScalar
58   CvArr arr
59   int idx0
60   int idx1
61   int idx2
62 GetND CvScalar
63   CvArr arr
64   ints idx
65 GetReal1D double
66   CvArr arr
67   int idx0
68 GetReal2D double
69   CvArr arr
70   int idx0
71   int idx1
72 GetReal3D double
73   CvArr arr
74   int idx0
75   int idx1
76   int idx2
77 GetRealND double
78   CvArr arr
79   ints idx
80 mGet double
81   CvMat mat
82   int row
83   int col
84 Set1D
85   CvArr arr
86   int idx0
87   CvScalar value
88 Set2D
89   CvArr arr
90   int idx0
91   int idx1
92   CvScalar value
93 Set3D
94   CvArr arr
95   int idx0
96   int idx1
97   int idx2
98   CvScalar value
99 SetND
100   CvArr arr
101   ints idx
102   CvScalar value
103 SetReal1D
104   CvArr arr
105   int idx0
106   double value
107 SetReal2D
108   CvArr arr
109   int idx0
110   int idx1
111   double value
112 SetReal3D
113   CvArr arr
114   int idx0
115   int idx1
116   int idx2
117   double value
118 SetRealND
119   CvArr arr
120   ints idx
121   double value
122 mSet
123   CvMat mat
124   int row
125   int col
126   double value
127 ClearND
128   CvArr arr
129   ints idx
130
131 # Sequences
132 CV_IS_SEQ_INDEX int
133   CvSeq s
134 CV_IS_SEQ_CURVE int
135   CvSeq s
136 CV_IS_SEQ_CLOSED int
137   CvSeq s
138 CV_IS_SEQ_CONVEX int
139   CvSeq s
140 CV_IS_SEQ_HOLE int
141   CvSeq s
142 CV_IS_SEQ_SIMPLE int
143   CvSeq s
144
145
146 # Curves and Shapes
147 Line
148   CvArr img
149   CvPoint pt1
150   CvPoint pt2
151   CvScalar color
152   int thickness 1
153   int line_type 8
154   int shift 0
155 Rectangle
156   CvArr img
157   CvPoint pt1
158   CvPoint pt2
159   CvScalar color
160   int thickness 1
161   int line_type 8
162   int shift 0
163 Circle
164   CvArr img
165   CvPoint pt1
166   int radius
167   CvScalar color
168   int thickness 1
169   int line_type 8
170   int shift 0
171 Ellipse
172   CvArr img
173   CvPoint pt1
174   CvSize axes
175   double angle
176   double start_angle
177   double end_angle
178   CvScalar color
179   int thickness 1
180   int line_type 8
181   int shift 0
182 EllipseBox
183   CvArr img
184   CvBox2D box
185   CvScalar color
186   int thickness 1
187   int line_type 8
188   int shift 0
189 FillPoly
190   CvArr img
191   pts_npts_contours pts
192   CvScalar color
193   int line_type 8
194   int shift 0
195 FillConvexPoly
196   CvArr img
197   CvPoints pn
198   CvScalar color
199   int line_type 8
200   int shift 0
201 PolyLine
202   CvArr img
203   pts_npts_contours pts
204   int is_closed
205   CvScalar color
206   int thickness 1
207   int line_type 8
208   int shift 0
209
210 #Text
211 InitFont font
212   CvFont font /O
213   int font_face
214   double hscale
215   double vscale
216   double shear 0
217   int thickness 1
218   int line_type 8
219 PutText
220   CvArr img
221   char* text
222   CvPoint org
223   CvFont* font
224   CvScalar color
225 GetTextSize text_size,baseline
226   char* text_string
227   CvFont* font
228   CvSize text_size /O
229   int baseline /O
230
231 # Point Sets and Contours
232 DrawContours
233   CvArr img
234   CvSeq contour
235   CvScalar external_color
236   CvScalar hole_color
237   int max_level
238   int thickness 1
239   int line_type 8
240   CvPoint offset cvPoint(0,0)
241
242 # RTTI and Generic Functions
243 Save
244   char* filename
245   generic struct_ptr
246   char* name NULL
247   char* comment NULL
248 Load generic
249   char* filename
250   CvMemStorage storage NULL
251   char* name NULL
252
253 # Accessing Elements and sub-Arrays
254 GetRow
255   CvArr arr
256   CvMat submat /J:arr
257   int row
258 GetRows submat
259   CvArr arr
260   CvMat submat /J:arr
261   int start_row
262   int end_row
263   int delta_row -1
264 GetCol submat
265   CvArr arr
266   CvMat submat /J:arr
267   int col
268 GetCols submat
269   CvArr arr
270   CvMat submat /J:arr
271   int start_col
272   int end_col
273 GetDiag submat
274   CvArr arr
275   CvMat submat /J:arr
276   int diag 0
277 GetSubRect submat
278   CvArr arr
279   CvMat submat /J:arr
280   CvRect rect
281 GetSize CvSize
282   CvArr arr
283 GetElemType int
284   CvArr arr
285
286 # Copying and Filling
287 Copy
288   CvArr src
289   CvArr dst
290   CvArr msk NULL
291 Set
292   CvArr arr
293   CvScalar value
294   CvArr msk NULL
295 SetZero
296   CvArr arr
297 Zero
298   CvArr arr
299 SetIdentity
300   CvArr mat
301   CvScalar value cvRealScalar(1)
302 Range
303   CvArr mat
304   double start
305   double end
306
307 # Transforms and Permutations
308 # Reshape, ReshapeND - requires special data refcount code
309 Repeat
310   CvArr src
311   CvArr dst
312 Flip
313   CvArr src
314   CvArr dst NULL
315   int flip_mode 0
316 Split
317   CvArr src
318   CvArr dst0
319   CvArr dst1
320   CvArr dst2
321   CvArr dst3
322 CvtPixToPlane
323   CvArr src
324   CvArr dst0
325   CvArr dst1
326   CvArr dst2
327   CvArr dst3
328 Merge
329   CvArr src0
330   CvArr src1
331   CvArr src2
332   CvArr src3
333   CvArr dst
334 MixChannels
335   cvarr_count src /K
336   cvarr_count dst
337   intpair from_to 
338 RandShuffle
339   CvArr mat
340   CvRNG* rng
341   double iter_factor 1.0
342 Sort
343   CvArr src
344   CvArr dst
345   CvArr idxmat
346   int flags 0
347
348 # Arithmetic, Logic and Comparison
349 LUT
350   CvArr src
351   CvArr dst
352   CvArr lut
353 ConvertScale
354   CvArr src
355   CvArr dst
356   double scale 1.0
357   double shift 0.0
358 CvtScale
359   CvArr src
360   CvArr dst
361   double scale 1.0
362   double shift 0.0
363 Scale
364   CvArr src
365   CvArr dst
366   double scale 1.0
367   double shift 0.0
368 Convert
369   CvArr src
370   CvArr dst
371 ConvertScaleAbs
372   CvArr src
373   CvArr dst
374   double scale 1.0
375   double shift 0.0
376 Add
377   CvArr src1
378   CvArr src2
379   CvArr dst
380   CvArr mask NULL
381 AddS
382   CvArr src1
383   CvScalar value
384   CvArr dst
385   CvArr mask NULL
386 AddWeighted
387   CvArr src1
388   double alpha
389   CvArr src2
390   double beta
391   double gamma
392   CvArr dst
393 Sub
394   CvArr src1
395   CvArr src2
396   CvArr dst
397   CvArr mask NULL
398 SubS
399   CvArr src1
400   CvScalar value
401   CvArr dst
402   CvArr mask NULL
403 SubRS
404   CvArr src1
405   CvScalar value
406   CvArr dst
407   CvArr mask NULL
408 Mul
409   CvArr src1
410   CvArr src2
411   CvArr dst
412   double scale 1.0
413 Div
414   CvArr src1
415   CvArr src2
416   CvArr dst
417   double scale 1.0
418 And
419   CvArr src1
420   CvArr src2
421   CvArr dst
422   CvArr mask NULL
423 AndS
424   CvArr src1
425   CvScalar value
426   CvArr dst
427   CvArr mask NULL
428 Or
429   CvArr src1
430   CvArr src2
431   CvArr dst
432   CvArr mask NULL
433 OrS
434   CvArr src1
435   CvScalar value
436   CvArr dst
437   CvArr mask NULL
438 Xor
439   CvArr src1
440   CvArr src2
441   CvArr dst
442   CvArr mask NULL
443 XorS
444   CvArr src1
445   CvScalar value
446   CvArr dst
447   CvArr mask NULL
448 Not
449   CvArr src
450   CvArr dst
451 Cmp
452   CvArr src1
453   CvArr src2
454   CvArr dst
455   int cmp_op
456 CmpS
457   CvArr src
458   double value
459   CvArr dst
460   int cmp_op
461 InRange
462   CvArr src
463   CvArr lower
464   CvArr upper
465   CvArr dst
466 InRangeS
467   CvArr src
468   CvScalar lower
469   CvScalar upper
470   CvArr dst
471 Max
472   CvArr src1
473   CvArr src2
474   CvArr dst
475 MaxS
476   CvArr src
477   double value
478   CvArr dst
479 Min
480   CvArr src1
481   CvArr src2
482   CvArr dst
483 MinS
484   CvArr src
485   double value
486   CvArr dst
487 AbsDiff
488   CvArr src1
489   CvArr src2
490   CvArr dst
491 AbsDiffS
492   CvArr src
493   CvArr dst
494   CvScalar value
495 Abs
496   CvArr src
497   CvArr dst
498
499 # Statistics
500 CountNonZero int
501   CvArr arr
502 Sum CvScalar
503   CvArr arr
504 Avg CvScalar
505   CvArr arr
506   CvArr mask NULL
507 AvgSdv mean,std_dev
508   CvArr arr
509   CvScalar mean /O
510   CvScalar std_dev /O
511   CvArr mask NULL
512 MinMaxLoc min_val,max_val,min_loc,max_loc
513   CvArr arr
514   double min_val /O
515   double max_val /O
516   CvPoint min_loc /O
517   CvPoint max_loc /O
518   CvArr mask NULL
519 Norm double
520   CvArr arr1
521   CvArr arr2
522   int norm_type CV_L2
523   CvArr mask NULL
524 Reduce
525   CvArr src
526   CvArr dst
527   int op CV_REDUCE_SUM
528
529 # Linear Algebra
530 DotProduct double
531   CvArr src1
532   CvArr src2
533 Normalize
534   CvArr src
535   CvArr dst
536   double a 1.0
537   double b 0.0
538   int norm_type CV_L2
539   CvArr mask NULL
540 CrossProduct
541   CvArr src1
542   CvArr src2
543   CvArr dst
544 ScaleAdd
545   CvArr src1
546   CvScalar scale
547   CvArr src2
548   CvArr dst
549 GEMM
550   CvArr src1
551   CvArr src2
552   double alpha
553   CvArr src3
554   double beta
555   CvArr dst
556   int tABC 0
557 MatMulAdd
558   CvArr src1
559   CvArr src2
560   CvArr src3
561   CvArr dst
562 MatMul
563   CvArr src1
564   CvArr src2
565   CvArr dst
566 Transform
567   CvArr src
568   CvArr dst
569   CvMat transmat
570   CvMat shiftvec NULL
571 PerspectiveTransform
572   CvArr src
573   CvArr dst
574   CvMat mat
575 MulTransposed
576   CvArr src
577   CvArr dst
578   int order
579   CvArr delta NULL
580 Trace CvScalar
581   CvArr mat
582 Transpose
583   CvArr src
584   CvArr dst
585 Det double
586   CvArr mat
587 Invert double
588   CvArr src
589   CvArr dst
590   int method CV_LU
591 Solve
592   CvArr A
593   CvArr B
594   CvArr X
595   int method CV_LU
596 SVD
597   CvArr A
598   CvArr W /O
599   CvArr U /O
600   CvArr V /O
601   int flags 0
602 SVBkSb
603   CvArr W
604   CvArr U
605   CvArr V
606   CvArr B
607   CvArr X
608   int flags
609 EigenVV
610   CvArr mat
611   CvArr evects
612   CvArr evals
613   double eps
614 CalcCovarMatrix
615   cvarr_count vects /K
616   CvArr cov_mat
617   CvArr avg
618   int flags
619 Mahalonobis
620   CvArr vec1
621   CvArr vec2
622   CvArr mat
623 CalcPCA
624   CvArr data
625   CvArr avg
626   CvArr eigenvalues
627   CvArr eigenvectors
628   int flags
629 ProjectPCA
630   CvArr data
631   CvArr avg
632   CvArr eigenvectors
633   CvArr result
634 BackProjectPCA
635   CvArr proj
636   CvArr avg
637   CvArr eigenvects
638   CvArr result
639
640 # Math Functions
641 Round int
642   double value
643 Floor int
644   double value
645 Ceil int
646   double value
647 Sqrt float
648   float value
649 InvSqrt float
650   float value
651 Cbrt float
652   float value
653 FastArctan float
654   float y
655   float x
656 IsNaN int
657   double value
658 IsInf int
659   double value
660 CartToPolar
661   CvArr x
662   CvArr y
663   CvArr magnitude
664   CvArr angle NULL
665   int angle_in_degrees
666 PolarToCart
667   CvArr magnitude
668   CvArr angle NULL
669   CvArr x
670   CvArr y
671   int angle_in_degrees
672 Pow
673   CvArr src
674   CvArr dst
675   double power
676 Exp
677   CvArr src
678   CvArr dst
679 Log
680   CvArr src
681   CvArr dst
682 SolveCubic
683   CvMat coeffs
684   CvMat roots
685 SolvePoly
686   CvMat coeffs
687   CvMat roots
688   int maxiter 10
689   int fig 10
690   
691 # Random Number Generation
692 RNG CvRNG
693   int64 seed -1LL
694 RandArr
695   CvRNG* rng
696   CvArr arr
697   int dist_type
698   CvScalar param1
699   CvScalar param2
700 RandInt unsigned
701   CvRNG* rng
702 RandReal double
703   CvRNG* rng
704
705 # Discrete Transforms
706 DFT
707   CvArr src
708   CvArr dst
709   int flags
710   int nonzero_rows 0
711 GetOptimalDFTSize int
712   int size0
713 MulSpectrums
714   CvArr src1
715   CvArr src2
716   CvArr dst
717   int flags
718 DCT
719   CvArr src
720   CvArr dst
721   int flags
722
723 # Sequences
724 SeqRemove
725   CvSeq seq
726   int index
727 ClearSeq
728   CvSeq seq
729 CloneSeq
730   CvSeq seq
731   CvMemStorage storage
732 SeqRemoveSlice
733   CvSeq seq
734   CvSlice slice
735 SeqInvert
736   CvSeq seq
737
738 # Miscellaneous Functions
739 CheckArr int
740   CvArr arr
741   int flags 0
742   double min_val 0
743   double max_val 0
744 KMeans2
745   CvArr samples
746   int cluster_count
747   CvArr labels
748   CvTermCriteria termcrit 
749
750 # Gradients, Edges, Corners and Features
751 Sobel
752   CvArr src
753   CvArr dst
754   int xorder
755   int yorder
756   int aperture_size 3
757 Laplace
758   CvArr src
759   CvArr dst
760   int aperture_size 3
761 Canny
762   CvArr image
763   CvArr edges
764   double threshold1
765   double threshold2
766   int aperture_size 3
767 PreCornerDetect
768   CvArr image
769   CvArr corners
770   int aperture_size 3
771 CornerEigenValsAndVecs
772   CvArr image
773   CvArr eigenvv
774   int block_size
775   int aperture_size 3
776 CornerMinEigenVal
777   CvArr image
778   CvArr eigenval
779   int block_size
780   int aperture_size 3
781 CornerHarris
782   CvArr image
783   CvArr harris_dst
784   int block_size
785   int aperture_size 3
786   double k 0.04
787 FindCornerSubPix corners
788   CvArr image
789   CvPoint2D32fs corners
790   CvSize win
791   CvSize zero_zone
792   CvTermCriteria criteria
793 GoodFeaturesToTrack corners
794   CvArr image
795   CvArr eig_image
796   CvArr temp_image
797   cvpoint2d32f_count corners
798   double quality_level
799   double min_distance
800   CvArr mask NULL
801   int block_size 3
802   int use_harris 0
803   double k 0.04
804 ExtractSURF keypoints,descriptors
805   CvArr image
806   CvArr mask
807   CvSeqOfCvSURFPoint* keypoints /O
808   CvSeqOfCvSURFDescriptor* descriptors /O
809   CvMemStorage storage
810   CvSURFParams params
811 GetStarKeypoints CvSeqOfCvStarKeypoint*
812   CvArr image
813   CvMemStorage storage
814   CvStarDetectorParams params cvStarDetectorParams()
815
816 # Sampling, Interpolation and Geometrical Transforms
817 GetRectSubPix
818   CvArr src
819   CvArr dst
820   CvPoint2D32f center
821 GetQuadrangleSubPix
822   CvArr src
823   CvArr dst
824   CvMat map_matrix
825 Resize
826   CvArr src
827   CvArr dst
828   int interpolation CV_INTER_LINEAR
829 WarpAffine
830   CvArr src
831   CvArr dst
832   CvMat map_matrix
833   int flags CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS
834   CvScalar fillval cvScalarAll(0)
835 GetAffineTransform
836   CvPoint2D32f* src
837   CvPoint2D32f* dst
838   CvMat map_matrix
839 2DRotationMatrix
840   CvPoint2D32f center
841   double angle
842   double scale
843   CvMat map_matrix
844 WarpPerspective
845   CvArr src
846   CvArr dst
847   CvMat map_matrix
848   int flags CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS
849   CvScalar fillval cvScalarAll(0)
850 GetPerspectiveTransform
851   CvPoint2D32f* src
852   CvPoint2D32f* dst
853   CvMat map_matrix
854 Remap
855   CvArr src
856   CvArr dst
857   CvArr mapx
858   CvArr mapy
859   int flags CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS
860   CvScalar fillval cvScalarAll(0)
861 ConvertMaps
862   CvArr mapx
863   CvArr mapy
864   CvArr mapxy
865   CvArr mapalpha
866 LogPolar
867   CvArr src
868   CvArr dst
869   CvPoint2D32f center
870   double M
871   int flags CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS
872
873 # Morphological Operations
874 CreateStructuringElementEx IplConvKernel*
875   int cols
876   int rows
877   int anchor_x
878   int anchor_y
879   int shape
880   ints values {NULL,0}
881 Erode
882   CvArr src
883   CvArr dst
884   IplConvKernel* element NULL
885   int iterations 1
886 Dilate
887   CvArr src
888   CvArr dst
889   IplConvKernel* element NULL
890   int iterations 1
891 MorphologyEx
892   CvArr src
893   CvArr dst
894   CvArr temp
895   IplConvKernel* element
896   int operation
897   int iterations 1
898
899 # Filters and Color Conversion
900 Smooth
901   CvArr src
902   CvArr dst
903   int smoothtype CV_GAUSSIAN
904   int param1 3
905   int param2 0
906   double param3 0
907   double param4 0
908 Filter2D
909   CvArr src
910   CvArr dst
911   CvMat kernel
912   CvPoint anchor cvPoint(-1,-1)
913 CopyMakeBorder
914   CvArr src
915   CvArr dst
916   CvPoint offset
917   int bordertype
918   CvScalar value cvScalarAll(0)
919 Integral
920   CvArr image
921   CvArr sum
922   CvArr sqsum NULL
923   CvArr tilted_sum NULL
924 CvtColor
925   CvArr src
926   CvArr dst
927   int code
928 Threshold
929   CvArr src
930   CvArr dst
931   double threshold
932   double max_value
933   int threshold_type
934 AdaptiveThreshold
935   CvArr src
936   CvArr dst
937   double max_value
938   int adaptive_method CV_ADAPTIVE_THRESH_MEAN_C /ch_adaptive_method
939   int threshold_type CV_THRESH_BINARY /ch_threshold_type
940   int block_size 3
941   double param1 5
942
943 # Pyramids and the Applications
944 PyrDown
945   CvArr src
946   CvArr dst
947   int filter CV_GAUSSIAN_5x5
948 PyrUp
949   CvArr src
950   CvArr dst
951   int filter CV_GAUSSIAN_5x5
952 PyrSegmentation comp
953   IplImage src
954   IplImage dst
955   CvMemStorage storage
956   CvSeq* comp /O
957   int level
958   double threshold1
959   double threshold2
960 PyrMeanShiftFiltering
961   CvArr src
962   CvArr dst
963   double sp
964   double sr
965   int max_level 1
966   CvTermCriteria termcrit cvTermCriteria(CV_TERMCRIT_ITER+CV_TERMCRIT_EPS,5,1)
967
968 # Image Segmentation, Connected Components and Contour Retrieval
969 FloodFill comp
970   CvArr image
971   CvPoint seed_point
972   CvScalar new_val
973   CvScalar lo_diff cvScalarAll(0)
974   CvScalar up_diff cvScalarAll(0)
975   CvConnectedComp comp /O
976   int flags 4
977   CvArr mask NULL
978 Watershed
979   CvArr image
980   CvArr markers
981
982 # Image and Contour Moments
983 Moments moments
984   cvarrseq arr
985   CvMoments moments /O
986   int binary 0
987 GetSpatialMoment double
988   CvMoments* moments
989   int x_order
990   int y_order
991 GetCentralMoment double
992   CvMoments* moments
993   int x_order
994   int y_order
995 GetNormalizedCentralMoment double
996   CvMoments* moments
997   int x_order
998   int y_order
999
1000 # Special Image Transforms
1001 HoughLines2 CvSeq*
1002   CvArr image
1003   CvMemStorage storage
1004   int method
1005   double rho
1006   double theta
1007   int threshold
1008   double param1 0
1009   double param2 0
1010 HoughCircles
1011   CvArr image
1012   CvMat circle_storage
1013   int method
1014   double dp
1015   double min_dist
1016   double param1 100
1017   double param2 100
1018   int min_radius 0
1019   int max_radius 0
1020 DistTransform
1021   CvArr src
1022   CvArr dst
1023   int distance_type CV_DIST_L2
1024   int mask_size 3
1025   floats mask {NULL,0}
1026   CvArr labels NULL
1027 Inpaint
1028   CvArr src
1029   CvArr mask
1030   CvArr dst
1031   double inpaintRadius
1032   int flags
1033
1034 # Histograms
1035 ClearHist
1036   CvHistogram hist
1037 CalcArrHist
1038   CvArrs image
1039   CvHistogram hist
1040   int accumulate 0
1041   CvArr mask NULL
1042 CalcHist
1043   IplImages image
1044   CvHistogram hist
1045   int accumulate 0
1046   CvArr mask NULL
1047 NormalizeHist
1048   CvHistogram hist
1049   double factor
1050 ThreshHist
1051   CvHistogram hist
1052   double threshold
1053 CompareHist
1054   CvHistogram hist1
1055   CvHistogram hist2
1056   int method
1057 # CopyHist
1058 CalcBackProject
1059   IplImages image
1060   CvArr back_project
1061   CvHistogram hist
1062 CalcArrBackProject
1063   CvArrs image
1064   CvArr back_project
1065   CvHistogram hist
1066 CalcBackProjectPatch
1067   IplImages images
1068   CvArr dst
1069   CvSize patch_size
1070   CvHistogram hist
1071   int method
1072   float factor
1073 CalcProbDensity
1074   CvHistogram hist1
1075   CvHistogram hist2
1076   CvHistogram dst_hist
1077   double scale 255
1078 EqualizeHist
1079   CvArr src
1080   CvArr dst
1081 QueryHistValue_1D double
1082   CvHistogram hist
1083   int idx0
1084 QueryHistValue_2D double
1085   CvHistogram hist
1086   int idx0
1087   int idx1
1088 QueryHistValue_3D double
1089   CvHistogram hist
1090   int idx0
1091   int idx1
1092   int idx2
1093 QueryHistValue_nD double
1094   CvHistogram hist
1095   ints idx
1096
1097 # Matching
1098 MatchTemplate
1099   CvArr image
1100   CvArr templ
1101   CvArr result
1102   int method
1103 MatchShapes
1104   CvSeq object1
1105   CvSeq object2
1106   int method
1107   double parameter 0
1108
1109 # Contour Processing Functions
1110 ApproxChains CvSeq*
1111   CvSeq src_seq
1112   CvMemStorage storage
1113   int method CV_CHAIN_APPROX_SIMPLE
1114   double parameter 0
1115   int minimal_perimeter 0
1116   int recursive 0
1117 BoundingRect CvRect
1118   cvarrseq points
1119   int update 0
1120 ContourArea double
1121   cvarrseq contour
1122   CvSlice slice CV_WHOLE_SEQ
1123 ArcLength double
1124   cvarrseq curve
1125   CvSlice slice CV_WHOLE_SEQ
1126   int is_closed -1
1127 CreateContourTree CvContourTree*
1128   CvSeq contour
1129   CvMemStorage storage
1130   double threshold
1131 ContourFromContourTree CvSeq*
1132   CvContourTree* tree
1133   CvMemStorage storage
1134   CvTermCriteria criteria
1135 MatchContourTrees double
1136   CvContourTree* tree1
1137   CvContourTree* tree2
1138   int method
1139   double threshold
1140
1141 # Computational Geometry
1142 MaxRect CvRect
1143   CvRect* rect1
1144   CvRect* rect2
1145 # TODO PointSeqFromMat
1146 BoxPoints pt
1147   CvBox2D box
1148   CvPoint2D32f_4 pt /O,A
1149 FitEllipse2 CvBox2D
1150   CvArr points
1151 ConvexHull2 CvSeq*
1152   cvarrseq points
1153   CvMemStorage storage
1154   int orientation CV_CLOCKWISE
1155   int return_points 0
1156 CheckContourConvexity int
1157   cvarrseq contour
1158 ConvexityDefects CvSeqOfCvConvexityDefect*
1159   cvarrseq contour
1160   CvSeq convexhull
1161   CvMemStorage storage
1162 PointPolygonTest double
1163   cvarrseq contour
1164   CvPoint2D32f pt
1165   int measure_dist
1166 MinAreaRect2 CvBox2D
1167   cvarrseq points
1168   CvMemStorage storage
1169 MinEnclosingCircle int,center,radius
1170   cvarrseq points
1171   CvPoint2D32f center /O
1172   float radius /O
1173 CalcPGH
1174   CvSeq contour
1175   CvHistogram hist
1176
1177 # Planar Subdivisions
1178
1179 Subdiv2DGetEdge CvSubdiv2DEdge
1180   CvSubdiv2DEdge edge
1181   CvNextEdgeType type
1182 Subdiv2DNextEdge CvSubdiv2DEdge
1183   CvSubdiv2DEdge edge
1184 Subdiv2DRotateEdge CvSubdiv2DEdge
1185   CvSubdiv2DEdge edge
1186   int rotate
1187 Subdiv2DEdgeOrg CvSubdiv2DPoint*
1188   CvSubdiv2DEdge edge
1189 Subdiv2DEdgeDst CvSubdiv2DPoint*
1190   CvSubdiv2DEdge edge
1191 CreateSubdivDelaunay2D CvSubdiv2D*
1192   CvRect rect
1193   CvMemStorage storage
1194 SubdivDelaunay2DInsert CvSubdiv2DPoint*
1195   CvSubdiv2D* subdiv
1196   CvPoint2D32f pt
1197 CalcSubdivVoronoi2D
1198   CvSubdiv2D* subdiv
1199 ClearSubdivVoronoi2D
1200   CvSubdiv2D* subdiv
1201 FindNearestPoint2D CvSubdiv2DPoint*
1202   CvSubdiv2D* subdiv
1203   CvPoint2D32f pt
1204
1205 # Object Detection
1206 HaarDetectObjects CvSeqOfCvAvgComp*
1207   CvArr image
1208   CvHaarClassifierCascade* cascade
1209   CvMemStorage storage
1210   double scale_factor 1.1   /ch_doubleAbove1
1211   int min_neighbors 3
1212   int flags 0
1213 #  CvSize min_size cvSize(0,0)
1214
1215 ProjectPoints2
1216   CvMat object_points
1217   CvMat rotation_vector
1218   CvMat translation_vector
1219   CvMat intrinsic_matrix
1220   CvMat distortion_coeffs
1221   CvMat image_points
1222   CvMat dpdrot NULL
1223   CvMat dpdt NULL
1224   CvMat dpdf NULL
1225   CvMat dpdc NULL
1226   CvMat dpddist NULL
1227 FindHomography homography
1228   CvMat src_points
1229   CvMat dst_points
1230   CvMat homography
1231 CalibrateCamera2 
1232   CvMat object_points
1233   CvMat image_points
1234   CvMat point_counts
1235   CvSize image_size
1236   CvMat intrinsic_matrix
1237   CvMat distortion_coeffs
1238   CvMat rotation_vectors
1239   CvMat translation_vectors
1240   int flags 0
1241 CalibrationMatrixValues fovx,fovy,focalLength,principalPoint,pixelAspectRatio
1242   CvMat calibMatr
1243   CvSize image_size
1244   double apertureWidth 0
1245   double apertureHeight 0
1246   double fovx /O
1247   double fovy /O
1248   double focalLength /O
1249   CvPoint2D64f principalPoint /O
1250   double pixelAspectRatio /O
1251 FindExtrinsicCameraParams2
1252   CvMat object_points
1253   CvMat image_points
1254   CvMat intrinsic_matrix
1255   CvMat distortion_coeffs
1256   CvMat rotation_vector
1257   CvMat translation_vector
1258 StereoCalibrate
1259   CvMat object_points
1260   CvMat image_points1
1261   CvMat image_points2
1262   CvMat point_counts
1263   CvMat camera_matrix1
1264   CvMat dist_coeffs1
1265   CvMat camera_matrix2
1266   CvMat dist_coeffs2
1267   CvSize image_size
1268   CvMat R
1269   CvMat T
1270   CvMat E NULL
1271   CvMat F NULL
1272   CvTermCriteria term_crit cvTermCriteria(CV_TERMCRIT_ITER+CV_TERMCRIT_EPS,30,1e-6)
1273   int flags CV_CALIB_FIX_INTRINSIC
1274 StereoRectify
1275   CvMat camera_matrix1
1276   CvMat camera_matrix2
1277   CvMat dist_coeffs1
1278   CvMat dist_coeffs2
1279   CvSize image_size
1280   CvMat R
1281   CvMat T
1282   CvMat R1
1283   CvMat R2
1284   CvMat P1
1285   CvMat P2
1286   CvMat Q NULL
1287   int flags CV_CALIB_ZERO_DISPARITY
1288 StereoRectifyUncalibrated
1289   CvMat points1
1290   CvMat points2
1291   CvMat F
1292   CvSize image_size
1293   CvMat H1
1294   CvMat H2
1295   double threshold 5
1296 Rodrigues2
1297   CvMat src
1298   CvMat dst
1299   CvMat jacobian 0
1300 Undistort2
1301   CvArr src
1302   CvArr dst
1303   CvMat intrinsic_matrix
1304   CvMat distortion_coeffs
1305 InitUndistortMap
1306   CvMat camera_matrix
1307   CvMat distortion_coeffs
1308   CvArr mapx
1309   CvArr mapy
1310 InitUndistortRectifyMap
1311   CvMat camera_matrix
1312   CvMat dist_coeffs
1313   CvMat R
1314   CvMat new_camera_matrix
1315   CvArr mapx
1316   CvArr mapy
1317 UndistortPoints
1318   CvMat src
1319   CvMat dst
1320   CvMat camera_matrix
1321   CvMat dist_coeffs
1322   CvMat R NULL
1323   CvMat P NULL
1324 DrawChessboardCorners
1325   CvArr image
1326   CvSize pattern_size
1327   CvPoint2D32fs corners
1328   int pattern_was_found
1329
1330 CreatePOSITObject CvPOSITObject*
1331   CvPoint3D32fs points
1332 POSIT rotation_matrix,translation_vector
1333   CvPOSITObject* posit_object
1334   CvPoint2D32f* image_points
1335   double focal_length
1336   CvTermCriteria criteria
1337   CvMatr32f_i rotation_matrix /O,A
1338   CvVect32f_i translation_vector /O,A
1339 CalcImageHomography intrinsic,homography
1340   floats line
1341   CvPoint3D32f* points
1342   CvMatr32f_i intrinsic /O,A,/ch_Mat33
1343   CvMatr32f_i homography /O,A
1344
1345 EstimateRigidTransform
1346   CvArr A
1347   CvArr B
1348   CvMat M
1349   int full_affine
1350
1351 # Accumulation of Background Statistics
1352 Acc
1353   CvArr image
1354   CvArr sum
1355   CvArr mask NULL
1356 SquareAcc
1357   CvArr image
1358   CvArr sqsum
1359   CvArr mask NULL
1360 MultiplyAcc
1361   CvArr image1
1362   CvArr image2
1363   CvArr acc
1364   CvArr mask NULL
1365 RunningAvg
1366   CvArr image
1367   CvArr acc
1368   double alpha
1369   CvArr mask NULL
1370
1371 # Motion Templates
1372 UpdateMotionHistory
1373   CvArr silhouette
1374   CvArr mhi
1375   double timestamp
1376   double duration
1377 CalcMotionGradient
1378   CvArr mhi          /ch_matF
1379   CvArr mask
1380   CvArr orientation  /ch_matF
1381   double delta1
1382   double delta2
1383   int aperture_size 3 /ch_aperture
1384 CalcGlobalOrientation
1385   CvArr orientation
1386   CvArr mask
1387   CvArr mhi
1388   double timestamp
1389   double duration
1390 SegmentMotion
1391   CvArr mhi
1392   CvArr seg_mask
1393   CvMemStorage storage
1394   double timestamp
1395   double seg_thresh
1396
1397 # Object Tracking
1398 MeanShift comp
1399   CvArr prob_image
1400   CvRect window
1401   CvTermCriteria criteria
1402   CvConnectedComp comp /O
1403 CamShift int,comp,box
1404   CvArr prob_image
1405   CvRect window
1406   CvTermCriteria criteria
1407   CvConnectedComp comp /O
1408   CvBox2D box /O
1409 SnakeImage
1410   IplImage image
1411   CvPoints points
1412   floats alpha
1413   floats beta
1414   floats gamma
1415   int coeff_usage
1416   CvSize win
1417   CvTermCriteria criteria
1418   int calc_gradient 1
1419
1420 # Optical Flow
1421 CalcOpticalFlowLK
1422   CvArr prev
1423   CvArr curr
1424   CvSize win_size
1425   CvArr velx
1426   CvArr vely
1427 CalcOpticalFlowBM
1428   CvArr prev    /ch_image8
1429   CvArr curr    /ch_image8
1430   CvSize block_size
1431   CvSize shift_size
1432   CvSize max_range
1433   int use_previous
1434   CvArr velx        /ch_vel
1435   CvArr vely        /ch_vel
1436 CalcOpticalFlowHS
1437   CvArr prev    /ch_image8
1438   CvArr curr    /ch_image8
1439   int use_previous
1440   CvArr velx        /ch_vel_64
1441   CvArr vely        /ch_vel_64
1442   double lambda
1443   CvTermCriteria criteria
1444
1445 # Highgui
1446 NamedWindow
1447   char* name
1448   int flags CV_WINDOW_AUTOSIZE
1449 DestroyWindow
1450   char* name
1451 DestroyAllWindows
1452 ResizeWindow
1453   char* name
1454   int width
1455   int height
1456 MoveWindow
1457   char* name
1458   int x
1459   int y
1460 ShowImage
1461   char* name
1462   CvArr image
1463 GetTrackbarPos
1464   char* trackbar_name
1465   char* window_name
1466 SetTrackbarPos
1467   char* trackbar_name
1468   char* window_name
1469   int pos
1470 #WaitKey int
1471 #  int delay 0
1472 SaveImage
1473   char* filename
1474   CvArr image
1475 CaptureFromFile CvCapture*
1476   char* filename
1477 CaptureFromCAM CvCapture*
1478   int index
1479 GrabFrame int
1480   CvCapture* capture
1481 RetrieveFrame ROIplImage*
1482   CvCapture* capture
1483 QueryFrame ROIplImage*
1484   CvCapture* capture
1485 GetCaptureProperty double
1486   CvCapture* capture
1487   int property_id
1488 SetCaptureProperty int
1489   CvCapture* capture
1490   int property_id
1491   double value