1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806
|
# Macros
CV_RGB CvScalar
double red
double grn
double blu
CV_MAT_CN int
int i
CV_MAT_DEPTH int
int i
Scalar CvScalar
double val0
double val1 0
double val2 0
double val3 0
ScalarAll CvScalar
double val0123
RealScalar CvScalar
double val0
CV_IABS int
int a
CV_CMP int
int a
int b
CV_SIGN int
int a
CV_FOURCC int
char c1
char c2
char c3
char c4
CV_MAKETYPE int
int depth
int cn
CV_8UC int
int n
CV_8SC int
int n
CV_16UC int
int n
CV_16SC int
int n
CV_32SC int
int n
CV_32FC int
int n
CV_64FC int
int n
# Initialization
CloneImage IplImage*
IplImage image
SetImageCOI
IplImage image
int coi
GetImageCOI int
IplImage image
SetImageROI
IplImage image
CvRect rect
ResetImageROI
IplImage image
GetImageROI CvRect
IplImage image
CloneMat CvMat*
CvMat mat
CloneMatND CvMatND*
CvMatND mat
# Accessing Elements and sub-Arrays
Get1D CvScalar
CvArr arr
int idx
Get2D CvScalar
CvArr arr
int idx0
int idx1
Get3D CvScalar
CvArr arr
int idx0
int idx1
int idx2
GetND CvScalar
CvArr arr
ints indices
GetReal1D double
CvArr arr
int idx0
GetReal2D double
CvArr arr
int idx0
int idx1
GetReal3D double
CvArr arr
int idx0
int idx1
int idx2
GetRealND double
CvArr arr
ints idx
mGet double
CvMat mat
int row
int col
Set1D
CvArr arr
int idx
CvScalar value
Set2D
CvArr arr
int idx0
int idx1
CvScalar value
Set3D
CvArr arr
int idx0
int idx1
int idx2
CvScalar value
SetND
CvArr arr
ints indices
CvScalar value
SetReal1D
CvArr arr
int idx
double value
SetReal2D
CvArr arr
int idx0
int idx1
double value
SetReal3D
CvArr arr
int idx0
int idx1
int idx2
double value
SetRealND
CvArr arr
ints indices
double value
mSet
CvMat mat
int row
int col
double value
ClearND
CvArr arr
ints idx
# Sequences
CV_IS_SEQ_INDEX int
CvSeq s
CV_IS_SEQ_CURVE int
CvSeq s
CV_IS_SEQ_CLOSED int
CvSeq s
CV_IS_SEQ_CONVEX int
CvSeq s
CV_IS_SEQ_HOLE int
CvSeq s
CV_IS_SEQ_SIMPLE int
CvSeq s
# Curves and Shapes
Line
CvArr img
CvPoint pt1
CvPoint pt2
CvScalar color
int thickness 1
int lineType 8
int shift 0
Rectangle
CvArr img
CvPoint pt1
CvPoint pt2
CvScalar color
int thickness 1
int lineType 8
int shift 0
Circle
CvArr img
CvPoint center
int radius
CvScalar color
int thickness 1
int lineType 8
int shift 0
Ellipse
CvArr img
CvPoint center
CvSize axes
double angle
double start_angle
double end_angle
CvScalar color
int thickness 1
int lineType 8
int shift 0
EllipseBox
CvArr img
CvBox2D box
CvScalar color
int thickness 1
int lineType 8
int shift 0
FillPoly
CvArr img
pts_npts_contours polys
CvScalar color
int lineType 8
int shift 0
FillConvexPoly
CvArr img
CvPoints pn
CvScalar color
int lineType 8
int shift 0
PolyLine
CvArr img
pts_npts_contours polys
int is_closed
CvScalar color
int thickness 1
int lineType 8
int shift 0
#Text
InitFont font
CvFont font /O
int fontFace
double hscale
double vscale
double shear 0
int thickness 1
int lineType 8
PutText
CvArr img
char* text
CvPoint org
CvFont* font
CvScalar color
GetTextSize textSize,baseline
char* textString
CvFont* font
CvSize textSize /O
int baseline /O
# Point Sets and Contours
DrawContours
CvArr img
CvSeq contour
CvScalar external_color
CvScalar hole_color
int max_level
int thickness 1
int lineType 8
CvPoint offset cvPoint(0,0)
# RTTI and Generic Functions
Save
char* filename
generic structPtr
char* name NULL
char* comment NULL
Load generic
char* filename
CvMemStorage storage NULL
char* name NULL
# Accessing Elements and sub-Arrays
GetRow submat
CvArr arr
CvMat submat /J:arr,O,A
int row
GetRows submat
CvArr arr
CvMat submat /J:arr,O,A
int startRow
int endRow
int deltaRow 1
GetCol submat
CvArr arr
CvMat submat /J:arr,O,A
int col
GetCols submat
CvArr arr
CvMat submat /J:arr,O,A
int startCol
int endCol
GetDiag submat
CvArr arr
CvMat submat /J:arr,O,A
int diag 0
GetSubRect submat
CvArr arr
CvMat submat /J:arr,O,A
CvRect rect
GetSize CvSize
CvArr arr
GetElemType int
CvArr arr
# Copying and Filling
Copy
CvArr src
CvArr dst
CvArr mask NULL
Set
CvArr arr
CvScalar value
CvArr mask NULL
SetZero
CvArr arr
Zero
CvArr arr
SetIdentity
CvArr mat
CvScalar value cvRealScalar(1)
Range
CvArr mat
double start
double end
# Transforms and Permutations
# Reshape, ReshapeND - requires special data refcount code
Repeat
CvArr src
CvArr dst
Flip
CvArr src
CvArr dst NULL
int flipMode 0
Split
CvArr src
CvArr dst0
CvArr dst1
CvArr dst2
CvArr dst3
CvtPixToPlane
CvArr src
CvArr dst0
CvArr dst1
CvArr dst2
CvArr dst3
Merge
CvArr src0
CvArr src1
CvArr src2
CvArr src3
CvArr dst
MixChannels
cvarr_count src /K
cvarr_count dst
intpair fromTo
RandShuffle
CvArr mat
CvRNG* rng
double iter_factor 1.0
Sort
CvArr src
CvArr dst
CvArr idxmat
int flags 0
# Arithmetic, Logic and Comparison
LUT
CvArr src
CvArr dst
CvArr lut
ConvertScale
CvArr src
CvArr dst
double scale 1.0
double shift 0.0
CvtScale
CvArr src
CvArr dst
double scale 1.0
double shift 0.0
Scale
CvArr src
CvArr dst
double scale 1.0
double shift 0.0
Convert
CvArr src
CvArr dst
ConvertScaleAbs
CvArr src
CvArr dst
double scale 1.0
double shift 0.0
Add
CvArr src1
CvArr src2
CvArr dst
CvArr mask NULL
AddS
CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
AddWeighted
CvArr src1
double alpha
CvArr src2
double beta
double gamma
CvArr dst
Sub
CvArr src1
CvArr src2
CvArr dst
CvArr mask NULL
SubS
CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
SubRS
CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
Mul
CvArr src1
CvArr src2
CvArr dst
double scale 1.0
Div
CvArr src1
CvArr src2
CvArr dst
double scale 1.0
And
CvArr src1
CvArr src2
CvArr dst
CvArr mask NULL
AndS
CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
Or
CvArr src1
CvArr src2
CvArr dst
CvArr mask NULL
OrS
CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
Xor
CvArr src1
CvArr src2
CvArr dst
CvArr mask NULL
XorS
CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
Not
CvArr src
CvArr dst
Cmp
CvArr src1
CvArr src2
CvArr dst
int cmpOp
CmpS
CvArr src
double value
CvArr dst
int cmpOp
InRange
CvArr src
CvArr lower
CvArr upper
CvArr dst
InRangeS
CvArr src
CvScalar lower
CvScalar upper
CvArr dst
Max
CvArr src1
CvArr src2
CvArr dst
MaxS
CvArr src
double value
CvArr dst
Min
CvArr src1
CvArr src2
CvArr dst
MinS
CvArr src
double value
CvArr dst
AbsDiff
CvArr src1
CvArr src2
CvArr dst
AbsDiffS
CvArr src
CvArr dst
CvScalar value
Abs
CvArr src
CvArr dst
# Statistics
CountNonZero int
CvArr arr
Sum CvScalar
CvArr arr
Avg CvScalar
CvArr arr
CvArr mask NULL
AvgSdv mean,stdDev
CvArr arr
CvScalar mean /O
CvScalar stdDev /O
CvArr mask NULL
MinMaxLoc minVal,maxVal,minLoc,maxLoc
CvArr arr
double minVal /O
double maxVal /O
CvPoint minLoc /O
CvPoint maxLoc /O
CvArr mask NULL
Norm double
CvArr arr1
CvArr arr2
int normType CV_L2
CvArr mask NULL
Reduce
CvArr src
CvArr dst
int dim -1
int op CV_REDUCE_SUM
# Linear Algebra
DotProduct double
CvArr src1
CvArr src2
Normalize
CvArr src
CvArr dst
double a 1.0
double b 0.0
int norm_type CV_L2
CvArr mask NULL
CrossProduct
CvArr src1
CvArr src2
CvArr dst
ScaleAdd
CvArr src1
CvScalar scale
CvArr src2
CvArr dst
GEMM
CvArr src1
CvArr src2
double alpha
CvArr src3
double beta
CvArr dst
int tABC 0
MatMulAdd
CvArr src1
CvArr src2
CvArr src3
CvArr dst
MatMul
CvArr src1
CvArr src2
CvArr dst
Transform
CvArr src
CvArr dst
CvMat transmat
CvMat shiftvec NULL
PerspectiveTransform
CvArr src
CvArr dst
CvMat mat
MulTransposed
CvArr src
CvArr dst
int order
CvArr delta NULL
double scale 1.0
Trace CvScalar
CvArr mat
Transpose
CvArr src
CvArr dst
Det double
CvArr mat
Invert double
CvArr src
CvArr dst
int method CV_LU
Solve
CvArr A
CvArr B
CvArr X
int method CV_LU
SVD
CvArr A
CvArr W
CvArr U NULL
CvArr V NULL
int flags 0
SVBkSb
CvArr W
CvArr U
CvArr V
CvArr B
CvArr X
int flags
EigenVV
CvArr mat
CvArr evects
CvArr evals
double eps
int lowindex 0
int highindex 0
CalcCovarMatrix
cvarr_count vects /K
CvArr covMat
CvArr avg
int flags
Mahalonobis
CvArr vec1
CvArr vec2
CvArr mat
CalcPCA
CvArr data
CvArr avg
CvArr eigenvalues
CvArr eigenvectors
int flags
ProjectPCA
CvArr data
CvArr avg
CvArr eigenvectors
CvArr result
BackProjectPCA
CvArr proj
CvArr avg
CvArr eigenvects
CvArr result
# Math Functions
Round int
double value
Floor int
double value
Ceil int
double value
Sqrt float
float value
InvSqrt float
float value
Cbrt float
float value
FastArctan float
float y
float x
IsNaN int
double value
IsInf int
double value
CartToPolar
CvArr x
CvArr y
CvArr magnitude
CvArr angle NULL
int angleInDegrees 0
PolarToCart
CvArr magnitude
CvArr angle
CvArr x
CvArr y
int angleInDegrees 0
Pow
CvArr src
CvArr dst
double power
Exp
CvArr src
CvArr dst
Log
CvArr src
CvArr dst
SolveCubic
CvMat coeffs
CvMat roots
SolvePoly
CvMat coeffs
CvMat roots
int maxiter 10
int fig 10
# Random Number Generation
RNG CvRNG
int64 seed -1LL
RandArr
CvRNG* rng
CvArr arr
int distType
CvScalar param1
CvScalar param2
RandInt unsigned
CvRNG* rng
RandReal double
CvRNG* rng
# Discrete Transforms
DFT
CvArr src
CvArr dst
int flags
int nonzeroRows 0
GetOptimalDFTSize int
int size0
MulSpectrums
CvArr src1
CvArr src2
CvArr dst
int flags
DCT
CvArr src
CvArr dst
int flags
# Sequences
SeqRemove
CvSeq seq
int index
ClearSeq
CvSeq seq
CloneSeq
CvSeq seq
CvMemStorage storage
SeqRemoveSlice
CvSeq seq
CvSlice slice
SeqInvert
CvSeq seq
# Miscellaneous Functions
CheckArr int
CvArr arr
int flags 0
double min_val 0
double max_val 0
KMeans2 double
CvArr samples
int nclusters
CvArr labels
CvTermCriteria termcrit
int attempts 1
int flags 0
CvArr centers NULL
# Gradients, Edges, Corners and Features
Sobel
CvArr src
CvArr dst
int xorder
int yorder
int apertureSize 3
Laplace
CvArr src
CvArr dst
int apertureSize 3
Canny
CvArr image
CvArr edges
double threshold1
double threshold2
int aperture_size 3
PreCornerDetect
CvArr image
CvArr corners
int apertureSize 3
CornerEigenValsAndVecs
CvArr image
CvArr eigenvv
int blockSize
int aperture_size 3
CornerMinEigenVal
CvArr image
CvArr eigenval
int blockSize
int aperture_size 3
CornerHarris
CvArr image
CvArr harris_dst
int blockSize
int aperture_size 3
double k 0.04
FindCornerSubPix corners
CvArr image
CvPoint2D32fs corners
CvSize win
CvSize zero_zone
CvTermCriteria criteria
GoodFeaturesToTrack cornerCount
CvArr image
CvArr eigImage
CvArr tempImage
cvpoint2d32f_count cornerCount
double qualityLevel
double minDistance
CvArr mask NULL
int blockSize 3
int useHarris 0
double k 0.04
ExtractSURF keypoints,descriptors
CvArr image
CvArr mask
CvSeqOfCvSURFPoint* keypoints /O
CvSeqOfCvSURFDescriptor* descriptors /O
CvMemStorage storage
CvSURFParams params
GetStarKeypoints CvSeqOfCvStarKeypoint*
CvArr image
CvMemStorage storage
CvStarDetectorParams params cvStarDetectorParams()
# Sampling, Interpolation and Geometrical Transforms
GetRectSubPix
CvArr src
CvArr dst
CvPoint2D32f center
GetQuadrangleSubPix
CvArr src
CvArr dst
CvMat mapMatrix
Resize
CvArr src
CvArr dst
int interpolation CV_INTER_LINEAR
WarpAffine
CvArr src
CvArr dst
CvMat mapMatrix
int flags CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS
CvScalar fillval cvScalarAll(0)
GetAffineTransform
CvPoint2D32f* src
CvPoint2D32f* dst
CvMat mapMatrix
GetRotationMatrix2D
CvPoint2D32f center
double angle
double scale
CvMat mapMatrix
WarpPerspective
CvArr src
CvArr dst
CvMat mapMatrix
int flags CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS
CvScalar fillval cvScalarAll(0)
GetPerspectiveTransform
CvPoint2D32f* src
CvPoint2D32f* dst
CvMat mapMatrix
Remap
CvArr src
CvArr dst
CvArr mapx
CvArr mapy
int flags CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS
CvScalar fillval cvScalarAll(0)
ConvertMaps
CvArr mapx
CvArr mapy
CvArr mapxy
CvArr mapalpha
LogPolar
CvArr src
CvArr dst
CvPoint2D32f center
double M
int flags CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS
# Morphological Operations
CreateStructuringElementEx IplConvKernel*
int cols
int rows
int anchorX
int anchorY
int shape
ints values {NULL,0}
Erode
CvArr src
CvArr dst
IplConvKernel* element NULL
int iterations 1
Dilate
CvArr src
CvArr dst
IplConvKernel* element NULL
int iterations 1
MorphologyEx
CvArr src
CvArr dst
CvArr temp
IplConvKernel* element
int operation
int iterations 1
# Filters and Color Conversion
Smooth
CvArr src
CvArr dst
int smoothtype CV_GAUSSIAN
int param1 3
int param2 0
double param3 0
double param4 0
Filter2D
CvArr src
CvArr dst
CvMat kernel
CvPoint anchor cvPoint(-1,-1)
CopyMakeBorder
CvArr src
CvArr dst
CvPoint offset
int bordertype
CvScalar value cvScalarAll(0)
Integral
CvArr image
CvArr sum
CvArr sqsum NULL
CvArr tiltedSum NULL
CvtColor
CvArr src
CvArr dst
int code
Threshold
CvArr src
CvArr dst
double threshold
double maxValue
int thresholdType
AdaptiveThreshold
CvArr src
CvArr dst
double maxValue
int adaptive_method CV_ADAPTIVE_THRESH_MEAN_C /ch_adaptive_method
int thresholdType CV_THRESH_BINARY /ch_threshold_type
int blockSize 3
double param1 5
# Pyramids and the Applications
PyrDown
CvArr src
CvArr dst
int filter CV_GAUSSIAN_5x5
PyrUp
CvArr src
CvArr dst
int filter CV_GAUSSIAN_5x5
PyrSegmentation comp
IplImage src
IplImage dst
CvMemStorage storage
CvSeq* comp /O
int level
double threshold1
double threshold2
PyrMeanShiftFiltering
CvArr src
CvArr dst
double sp
double sr
int max_level 1
CvTermCriteria termcrit cvTermCriteria(CV_TERMCRIT_ITER+CV_TERMCRIT_EPS,5,1)
# Image Segmentation, Connected Components and Contour Retrieval
FloodFill comp
CvArr image
CvPoint seed_point
CvScalar new_val
CvScalar lo_diff cvScalarAll(0)
CvScalar up_diff cvScalarAll(0)
CvConnectedComp comp /O
int flags 4
CvArr mask NULL
Watershed
CvArr image
CvArr markers
# Image and Contour Moments
Moments moments
cvarrseq arr
CvMoments moments /O
int binary 0
GetSpatialMoment double
CvMoments* moments
int x_order
int y_order
GetCentralMoment double
CvMoments* moments
int x_order
int y_order
GetNormalizedCentralMoment double
CvMoments* moments
int x_order
int y_order
# Special Image Transforms
HoughLines2 CvSeq*
CvArr image
CvMemStorage storage
int method
double rho
double theta
int threshold
double param1 0
double param2 0
HoughCircles
CvArr image
CvMat circle_storage
int method
double dp
double min_dist
double param1 100
double param2 100
int min_radius 0
int max_radius 0
DistTransform
CvArr src
CvArr dst
int distance_type CV_DIST_L2
int mask_size 3
floats mask {NULL,0}
CvArr labels NULL
Inpaint
CvArr src
CvArr mask
CvArr dst
double inpaintRadius
int flags
# Histograms
ClearHist
CvHistogram hist
CalcArrHist
CvArrs image
CvHistogram hist
int accumulate 0
CvArr mask NULL
CalcHist
IplImages image
CvHistogram hist
int accumulate 0
CvArr mask NULL
NormalizeHist
CvHistogram hist
double factor
ThreshHist
CvHistogram hist
double threshold
CompareHist double
CvHistogram hist1
CvHistogram hist2
int method
# CopyHist
CalcBackProject
IplImages image
CvArr back_project
CvHistogram hist
CalcArrBackProject
CvArrs image
CvArr back_project
CvHistogram hist
CalcBackProjectPatch
IplImages images
CvArr dst
CvSize patch_size
CvHistogram hist
int method
float factor
CalcProbDensity
CvHistogram hist1
CvHistogram hist2
CvHistogram dst_hist
double scale 255
EqualizeHist
CvArr src
CvArr dst
QueryHistValue_1D double
CvHistogram hist
int idx0
QueryHistValue_2D double
CvHistogram hist
int idx0
int idx1
QueryHistValue_3D double
CvHistogram hist
int idx0
int idx1
int idx2
QueryHistValue_nD double
CvHistogram hist
ints idx
# Matching
MatchTemplate
CvArr image
CvArr templ
CvArr result
int method
MatchShapes double
CvSeq object1
CvSeq object2
int method
double parameter 0
# Contour Processing Functions
ApproxChains CvSeq*
CvSeq src_seq
CvMemStorage storage
int method CV_CHAIN_APPROX_SIMPLE
double parameter 0
int minimal_perimeter 0
int recursive 0
BoundingRect CvRect
cvarrseq points
int update 0
ContourArea double
cvarrseq contour
CvSlice slice CV_WHOLE_SEQ
ArcLength double
cvarrseq curve
CvSlice slice CV_WHOLE_SEQ
int isClosed -1
# Computational Geometry
MaxRect CvRect
CvRect* rect1
CvRect* rect2
# TODO PointSeqFromMat
BoxPoints points
CvBox2D box
CvPoint2D32f_4 points /O,A
FitEllipse2 CvBox2D
CvArr points
ConvexHull2 CvSeq*
cvarrseq points
CvMemStorage storage
int orientation CV_CLOCKWISE
int return_points 0
CheckContourConvexity int
cvarrseq contour
ConvexityDefects CvSeqOfCvConvexityDefect*
cvarrseq contour
CvSeq convexhull
CvMemStorage storage
PointPolygonTest double
cvarrseq contour
CvPoint2D32f pt
int measure_dist
MinAreaRect2 CvBox2D
cvarrseq points
CvMemStorage storage NULL
MinEnclosingCircle int,center,radius
cvarrseq points
CvPoint2D32f center /O
float radius /O
# Planar Subdivisions
Subdiv2DGetEdge CvSubdiv2DEdge
CvSubdiv2DEdge edge
CvNextEdgeType type
Subdiv2DNextEdge CvSubdiv2DEdge
CvSubdiv2DEdge edge
Subdiv2DRotateEdge CvSubdiv2DEdge
CvSubdiv2DEdge edge
int rotate
Subdiv2DEdgeOrg CvSubdiv2DPoint*
CvSubdiv2DEdge edge
Subdiv2DEdgeDst CvSubdiv2DPoint*
CvSubdiv2DEdge edge
CreateSubdivDelaunay2D CvSubdiv2D*
CvRect rect
CvMemStorage storage
SubdivDelaunay2DInsert CvSubdiv2DPoint*
CvSubdiv2D* subdiv
CvPoint2D32f pt
CalcSubdivVoronoi2D
CvSubdiv2D* subdiv
ClearSubdivVoronoi2D
CvSubdiv2D* subdiv
FindNearestPoint2D CvSubdiv2DPoint*
CvSubdiv2D* subdiv
CvPoint2D32f pt
# Object Detection
HaarDetectObjects CvSeqOfCvAvgComp*
CvArr image
CvHaarClassifierCascade* cascade
CvMemStorage storage
double scale_factor 1.1 /ch_doubleAbove1
int min_neighbors 3
int flags 0
CvSize min_size cvSize(0,0)
ComputeCorrespondEpilines
CvMat points
int whichImage
CvMat F
CvMat lines
ConvertPointsHomogeneous
CvMat src
CvMat dst
ProjectPoints2
CvMat objectPoints
CvMat rvec
CvMat tvec
CvMat cameraMatrix
CvMat distCoeffs
CvMat imagePoints
CvMat dpdrot NULL
CvMat dpdt NULL
CvMat dpdf NULL
CvMat dpdc NULL
CvMat dpddist NULL
ReprojectImageTo3D
CvArr disparity
CvArr _3dImage
CvMat Q
int handleMissingValues 0
RQDecomp3x3 eulerAngles
CvMat M
CvMat R
CvMat Q
CvMat Qx NULL
CvMat Qy NULL
CvMat Qz NULL
CvPoint3D64f eulerAngles /O
FindHomography
CvMat srcPoints
CvMat dstPoints
CvMat H
int method 0
double ransacReprojThreshold 3.0
CvMat status NULL
CreateStereoBMState CvStereoBMState*
int preset CV_STEREO_BM_BASIC
int numberOfDisparities 0
CreateStereoGCState CvStereoGCState*
int numberOfDisparities
int maxIters
FindStereoCorrespondenceBM
CvArr left
CvArr right
CvArr disparity
CvStereoBMState* state
FindStereoCorrespondenceGC
CvArr left
CvArr right
CvArr dispLeft
CvArr dispRight
CvStereoGCState* state
int useDisparityGuess 0
CalibrateCamera2
CvMat objectPoints
CvMat imagePoints
CvMat pointCounts
CvSize imageSize
CvMat cameraMatrix
CvMat distCoeffs
CvMat rvecs
CvMat tvecs
int flags 0
CalibrationMatrixValues fovx,fovy,focalLength,principalPoint,pixelAspectRatio
CvMat calibMatr
CvSize image_size
double apertureWidth 0
double apertureHeight 0
double fovx /O
double fovy /O
double focalLength /O
CvPoint2D64f principalPoint /O
double pixelAspectRatio /O
FindExtrinsicCameraParams2
CvMat objectPoints
CvMat imagePoints
CvMat cameraMatrix
CvMat distCoeffs
CvMat rvec
CvMat tvec
int useExtrinsicGuess 0
FindFundamentalMat int
CvMat points1
CvMat points2
CvMat fundamentalMatrix
int method CV_FM_RANSAC
double param1 1.
double param2 0.99
CvMat status NULL
StereoCalibrate
CvMat objectPoints
CvMat imagePoints1
CvMat imagePoints2
CvMat pointCounts
CvMat cameraMatrix1
CvMat distCoeffs1
CvMat cameraMatrix2
CvMat distCoeffs2
CvSize imageSize
CvMat R
CvMat T
CvMat E NULL
CvMat F NULL
CvTermCriteria term_crit cvTermCriteria(CV_TERMCRIT_ITER+CV_TERMCRIT_EPS,30,1e-6)
int flags CV_CALIB_FIX_INTRINSIC
GetOptimalNewCameraMatrix
CvMat cameraMatrix
CvMat distCoeffs
CvSize imageSize
double alpha
CvMat newCameraMatrix
CvSize newImageSize cvSize(0,0)
CvRect* validPixROI NULL
int centerPrincipalPoint 0
InitIntrinsicParams2D
CvMat objectPoints
CvMat imagePoints
CvMat npoints
CvSize imageSize
CvMat cameraMatrix
double aspectRatio 1.
StereoRectify roi1,roi2
CvMat cameraMatrix1
CvMat cameraMatrix2
CvMat distCoeffs1
CvMat distCoeffs2
CvSize imageSize
CvMat R
CvMat T
CvMat R1
CvMat R2
CvMat P1
CvMat P2
CvMat Q NULL
int flags CV_CALIB_ZERO_DISPARITY
double alpha -1
CvSize newImageSize cvSize(0,0)
CvRect roi1 /O
CvRect roi2 /O
StereoRectifyUncalibrated
CvMat points1
CvMat points2
CvMat F
CvSize imageSize
CvMat H1
CvMat H2
double threshold 5
Rodrigues2
CvMat src
CvMat dst
CvMat jacobian 0
Undistort2
CvArr src
CvArr dst
CvMat cameraMatrix
CvMat distCoeffs
InitUndistortMap
CvMat cameraMatrix
CvMat distCoeffs
CvArr map1
CvArr map2
InitUndistortRectifyMap
CvMat cameraMatrix
CvMat distCoeffs
CvMat R
CvMat newCameraMatrix
CvArr map1
CvArr map2
UndistortPoints
CvMat src
CvMat dst
CvMat cameraMatrix
CvMat distCoeffs
CvMat R NULL
CvMat P NULL
DecomposeProjectionMatrix eulerAngles
CvMat projMatrix
CvMat cameraMatrix
CvMat rotMatrix
CvMat transVect
CvMat rotMatrX NULL
CvMat rotMatrY NULL
CvMat rotMatrZ NULL
CvPoint3D64f eulerAngles /O
DrawChessboardCorners
CvArr image
CvSize patternSize
CvPoint2D32fs corners
int patternWasFound
CreatePOSITObject CvPOSITObject*
CvPoint3D32fs points
POSIT rotationMatrix,translation_vector
CvPOSITObject* posit_object
CvPoint2D32f* imagePoints
double focal_length
CvTermCriteria criteria
CvMatr32f_i rotationMatrix /O,A
CvVect32f_i translation_vector /O,A
EstimateRigidTransform
CvArr A
CvArr B
CvMat M
int full_affine
# Accumulation of Background Statistics
Acc
CvArr image
CvArr sum
CvArr mask NULL
SquareAcc
CvArr image
CvArr sqsum
CvArr mask NULL
MultiplyAcc
CvArr image1
CvArr image2
CvArr acc
CvArr mask NULL
RunningAvg
CvArr image
CvArr acc
double alpha
CvArr mask NULL
# Motion Templates
UpdateMotionHistory
CvArr silhouette
CvArr mhi
double timestamp
double duration
CalcMotionGradient
CvArr mhi /ch_matF
CvArr mask
CvArr orientation /ch_matF
double delta1
double delta2
int apertureSize 3 /ch_aperture
CalcGlobalOrientation double
CvArr orientation
CvArr mask
CvArr mhi
double timestamp
double duration
SegmentMotion CvSeq*
CvArr mhi
CvArr seg_mask
CvMemStorage storage
double timestamp
double seg_thresh
# Object Tracking
MeanShift comp
CvArr prob_image
CvRect window
CvTermCriteria criteria
CvConnectedComp comp /O
CamShift int,comp,box
CvArr prob_image
CvRect window
CvTermCriteria criteria
CvConnectedComp comp /O
CvBox2D box /O
CreateKalman CvKalman*
int dynam_params
int measure_params
int control_params 0
KalmanCorrect ROCvMat*
CvKalman* kalman
CvMat measurement
KalmanPredict ROCvMat*
CvKalman* kalman
CvMat control NULL
SnakeImage points
IplImage image
CvPoints points
floats alpha
floats beta
floats gamma
CvSize win
CvTermCriteria criteria
int calc_gradient 1
# Optical Flow
CalcOpticalFlowLK
CvArr prev
CvArr curr
CvSize winSize
CvArr velx
CvArr vely
CalcOpticalFlowBM
CvArr prev /ch_image8
CvArr curr /ch_image8
CvSize blockSize
CvSize shiftSize
CvSize max_range
int usePrevious
CvArr velx /ch_vel
CvArr vely /ch_vel
CalcOpticalFlowHS
CvArr prev /ch_image8
CvArr curr /ch_image8
int usePrevious
CvArr velx /ch_vel_64
CvArr vely /ch_vel_64
double lambda
CvTermCriteria criteria
CalcOpticalFlowFarneback
CvArr prev /ch_image8
CvArr curr /ch_image8
CvArr flow
double pyr_scale 0.5
int levels 3
int winsize 15
int iterations 3
int poly_n 7
double poly_sigma 1.5
int flags 0
# Highgui
ConvertImage
CvArr src
CvArr dst
int flags 0
NamedWindow
char* name
int flags CV_WINDOW_AUTOSIZE
DestroyWindow
char* name
DestroyAllWindows
ResizeWindow
char* name
int width
int height
MoveWindow
char* name
int x
int y
ShowImage
char* name
CvArr image
GetTrackbarPos int
char* trackbarName
char* windowName
SetTrackbarPos
char* trackbarName
char* windowName
int pos
#WaitKey int
# int delay 0
SaveImage
char* filename
CvArr image
CaptureFromFile CvCapture*
char* filename
CreateFileCapture CvCapture*
char* filename
CaptureFromCAM CvCapture*
int index
CreateCameraCapture CvCapture*
int index
GrabFrame int
CvCapture* capture
RetrieveFrame ROIplImage*
CvCapture* capture
int index 0
QueryFrame ROIplImage*
CvCapture* capture
GetCaptureProperty double
CvCapture* capture
int property_id
SetCaptureProperty int
CvCapture* capture
int property_id
double value
CreateVideoWriter CvVideoWriter*
char* filename
int fourcc
double fps
CvSize frame_size
int is_color 1
WriteFrame int
CvVideoWriter* writer
IplImage image
EncodeImage CvMat*
char* ext
CvArr image
ints0 params {&zero,1}
DecodeImage IplImage*
CvMat buf
int iscolor CV_LOAD_IMAGE_COLOR
DecodeImageM CvMat*
CvMat buf
int iscolor CV_LOAD_IMAGE_COLOR
StartWindowThread
SetWindowProperty
char* name
int prop_id
double prop_value
GetWindowProperty double
char* name
int prop_id
GetTickCount int64
GetTickFrequency int64
# cvaux stuff
HOGDetectMultiScale CvSeq*
CvArr image
CvMemStorage storage
CvArr svm_classifier NULL
CvSize win_stride cvSize(0,0)
double hit_threshold 0
double scale 1.05
int group_threshold 2
CvSize padding cvSize(0,0)
CvSize win_size cvSize(64,128)
CvSize block_size cvSize(16,16)
CvSize block_stride cvSize(8,8)
CvSize cell_size cvSize(8,8)
int nbins 9
int gammaCorrection 1
GrabCut
CvArr image
CvArr mask
CvRect rect
CvArr bgdModel
CvArr fgdModel
int iterCount
int mode
# These functions are handwritten in cv.cpp; they appear here as 'doconly' declarations
# so that their documentation can be auto-generated
ApproxPoly /doconly
cvarrseq src_seq
CvMemStorage storage
int method
double parameter 0.0
int parameter2 0
CalcEMD2 float /doconly
CvArr signature1
CvArr signature2
int distance_type
PyCallableObject* distance_func NULL
CvArr cost_matrix NULL
CvArr flow NULL
float lower_bound 0.0
PyObject* userdata NULL
CalcOpticalFlowPyrLK currFeatures,status,track_error /doconly
CvArr prev
CvArr curr
CvArr prevPyr
CvArr currPyr
CvPoint2D32f* prevFeatures
CvSize winSize
int level
CvTermCriteria criteria
int flags
CvPoint2D32f* guesses NULL
CvPoint2D32f currFeatures /O
char status /O
float track_error /O
ClipLine point1,point2 /doconly
CvSize imgSize
CvPoint pt1
CvPoint pt2
CreateData /doconly
CvArr arr
CreateHist CvHistogram /doconly
ints dims
int type
ranges ranges None
int uniform 1
CreateImageHeader IplImage* /doconly
CvSize size
int depth
int channels
CreateImage IplImage* /doconly
CvSize size
int depth
int channels
CreateMatHeader CvMat /doconly
int rows
int cols
int type
CreateMat CvMat /doconly
int rows
int cols
int type
CreateMatNDHeader CvMatND /doconly
ints dims
int type
CreateMatND CvMatND /doconly
ints dims
int type
CreateMemStorage CvMemStorage /doconly
int blockSize 0
CreateTrackbar /doconly
char* trackbarName
char* windowName
int value
int count
PyCallableObject* onChange
FindChessboardCorners corners /doconly
CvArr image
CvSize patternSize
CvPoint2D32fs corners /O
int flags CV_CALIB_CB_ADAPTIVE_THRESH
FindContours CvSeq /doconly
CvArr image
CvMemStorage storage
int mode CV_RETR_LIST
int method CV_CHAIN_APPROX_SIMPLE
CvPoint offset (0,0)
FitLine line /doconly
CvArr points
int dist_type
double param
double reps
double aeps
PyObject* line /O
GetDims dim1,dim2,... /doconly
CvArr arr
GetHuMoments hu /doconly
CvMoments moments
PyObject* hu /O
GetImage iplimage /doconly
CvMat arr
GetMat CvMat /doconly
IplImage arr
int allowND 0
GetMinMaxHistValue min_value,max_value,min_idx,max_idx /doconly
CvHistogram hist
CvScalar min_value /O
CvScalar max_value /O
ints min_idx /O
ints max_idx /O
InitLineIterator line_iterator /doconly
CvArr image
CvPoint pt1
CvPoint pt2
iter line_iterator /O
int connectivity 8
int left_to_right 0
LoadImageM /doconly
char* filename
int iscolor CV_LOAD_IMAGE_COLOR
LoadImage /doconly
char* filename
int iscolor CV_LOAD_IMAGE_COLOR
ReshapeMatND CvMat /doconly
CvMat arr
int newCn
ints newDims
Reshape CvMat /doconly
CvArr arr
int newCn
int newRows 0
SetData /doconly
CvArr arr
PyObject* data
int step
SetMouseCallback /doconly
char* windowName
PyCallableObject* onMouse
PyObject* param None
Subdiv2DLocate loc,where /doconly
CvSubdiv2D* subdiv
CvPoint2D32f pt
int loc /O
edgeorpoint where /O
WaitKey int /doconly
int delay 0
|