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