1{
2    "AdditionalImports" : {
3        "Imgproc" : [ "\"imgproc/bindings.hpp\"" ]
4    },
5    "enum_ignore_list" : [
6        "MorphShapes_c",
7        "SmoothMethod_c"
8    ],
9    "module_imports": ["Size2i"],
10    "const_ignore_list": [
11        "CV_TM_.+",
12        "CV_COLORCVT_MAX",
13        "CV_.*Bayer.*",
14        "CV_YUV420(i|sp|p)2.+",
15        "CV_L?(BGRA?|RGBA?|GRAY|XYZ|YCrCb|Luv|Lab|HLS|YUV|HSV)\\d*2L?(BGRA?|RGBA?|GRAY|XYZ|YCrCb|Luv|Lab|HLS|YUV|HSV).*",
16        "CV_FLOODFILL_.+",
17        "CV_ADAPTIVE_THRESH_.+",
18        "CV_DIST_.+",
19        "CV_HOUGH_.+",
20        "CV_CONTOURS_MATCH_.+",
21        "CV_COMP_.+"
22    ],
23    "const_private_list" : [
24        "CV_MOP_.+",
25        "CV_INTER_.+",
26        "CV_THRESH_.+",
27        "CV_INPAINT_.+",
28        "CV_RETR_.+",
29        "CV_CHAIN_APPROX_.+"
30    ],
31    "missing_consts" : {
32        "Imgproc" : {
33            "private" : [
34                ["IPL_BORDER_CONSTANT",    0 ],
35                ["IPL_BORDER_REPLICATE",   1 ],
36                ["IPL_BORDER_REFLECT",     2 ],
37                ["IPL_BORDER_WRAP",        3 ],
38                ["IPL_BORDER_REFLECT_101", 4 ],
39                ["IPL_BORDER_TRANSPARENT", 5 ]
40            ]
41        }
42    },
43    "func_arg_fix" : {
44        "Imgproc" : {
45            "goodFeaturesToTrack" : { "corners" : {"ctype" : "vector_Point"} },
46            "minEnclosingCircle" : { "points" : {"ctype" : "vector_Point2f"} },
47            "fitEllipse" : { "points" : {"ctype" : "vector_Point2f"} },
48            "fillPoly"   : { "pts" : {"ctype" : "vector_vector_Point"},
49                             "lineType" : {"ctype" : "LineTypes"}},
50            "polylines"  : { "pts" : {"ctype" : "vector_vector_Point"},
51                             "lineType" : {"ctype" : "LineTypes"} },
52            "fillConvexPoly" : { "points" : {"ctype" : "vector_Point"},
53                                 "lineType" : {"ctype" : "LineTypes"} },
54            "approxPolyDP" : { "curve"       : {"ctype" : "vector_Point2f"},
55                               "approxCurve" : {"ctype" : "vector_Point2f"} },
56            "arcLength" : { "curve" : {"ctype" : "vector_Point2f"} },
57            "pointPolygonTest" : { "contour" : {"ctype" : "vector_Point2f"} },
58            "minAreaRect" : { "points" : {"ctype" : "vector_Point2f"} },
59            "getAffineTransform" : { "src" : {"ctype" : "vector_Point2f"},
60                                     "dst" : {"ctype" : "vector_Point2f"} },
61            "drawContours" : { "contours" : {"ctype" : "vector_vector_Point"},
62                               "lineType" : {"ctype" : "LineTypes"} },
63            "findContours" : { "contours" : {"ctype" : "vector_vector_Point"},
64                               "mode" : {"ctype" : "RetrievalModes"},
65                               "method" : {"ctype" : "ContourApproximationModes"} },
66            "convexityDefects" : { "contour"          : {"ctype" : "vector_Point"},
67                                   "convexhull"       : {"ctype" : "vector_int"},
68                                   "convexityDefects" : {"ctype" : "vector_Vec4i"} },
69            "isContourConvex" : { "contour" : {"ctype" : "vector_Point"} },
70            "convexHull" : { "points" : {"ctype" : "vector_Point"},
71                             "hull"   : {"ctype" : "vector_int"},
72                             "returnPoints" : {"ctype" : ""} },
73            "getStructuringElement" : { "shape" : {"ctype" : "MorphShapes"} },
74            "EMD" : {"lowerBound" : {"defval" : "cv::Ptr<float>()"},
75                     "distType" : {"ctype" : "DistanceTypes"}},
76            "createLineSegmentDetector" : { "_refine" : {"ctype" : "LineSegmentDetectorModes"}},
77            "compareHist" : { "method" : {"ctype" : "HistCompMethods"}},
78            "matchShapes" : { "method" : {"ctype" : "ShapeMatchModes"}},
79            "threshold" : { "type" : {"ctype" : "ThresholdTypes"}},
80            "connectedComponentsWithStatsWithAlgorithm" : { "ccltype" : {"ctype" : "ConnectedComponentsAlgorithmsTypes"}},
81            "GaussianBlur" : { "borderType" : {"ctype" : "BorderTypes"}},
82            "HoughCircles" : { "method" : {"ctype" : "HoughModes"}},
83            "Laplacian" : { "borderType" : {"ctype" : "BorderTypes"}},
84            "Scharr" : { "borderType" : {"ctype" : "BorderTypes"}},
85            "Sobel" : { "borderType" : {"ctype" : "BorderTypes"}},
86            "adaptiveThreshold" : { "adaptiveMethod" : {"ctype" : "AdaptiveThresholdTypes"},
87                                    "thresholdType" : {"ctype" : "ThresholdTypes"}},
88            "applyColorMap" : { "colormap" : {"ctype" : "ColormapTypes"}},
89            "arrowedLine" : { "line_type" : {"ctype" : "LineTypes"}},
90            "bilateralFilter" : { "borderType" : {"ctype" : "BorderTypes"}},
91            "blur" : { "borderType" : {"ctype" : "BorderTypes"}},
92            "boxFilter" : { "borderType" : {"ctype" : "BorderTypes"}},
93            "circle" : { "lineType" : {"ctype" : "LineTypes"}},
94            "cornerEigenValsAndVecs" : { "borderType" : {"ctype" : "BorderTypes"}},
95            "cornerHarris" : { "borderType" : {"ctype" : "BorderTypes"}},
96            "cornerMinEigenVal" : { "borderType" : {"ctype" : "BorderTypes"}},
97            "cvtColor" : { "code" : {"ctype" : "ColorConversionCodes"}},
98            "dilate" : { "borderType" : {"ctype" : "BorderTypes"}},
99            "distanceTransformWithLabels" : { "labelType" : {"ctype" : "DistanceTransformLabelTypes"},
100                                              "distanceType" : {"ctype" : "DistanceTypes"},
101                                              "maskSize" : {"ctype" : "DistanceTransformMasks"}},
102            "distanceTransform" : { "distanceType" : {"ctype" : "DistanceTypes"},
103                                    "maskSize" : {"ctype" : "DistanceTransformMasks"}},
104            "drawMarker" : { "markerType" : {"ctype" : "MarkerTypes"},
105                             "line_type" : {"ctype" : "LineTypes"}},
106            "ellipse" : { "lineType" : {"ctype" : "LineTypes"}},
107            "erode" : { "borderType" : {"ctype" : "BorderTypes"}},
108            "filter2D" : { "borderType" : {"ctype" : "BorderTypes"}},
109            "fitLine" : { "distType" : {"ctype" : "DistanceTypes"}},
110            "line" : { "lineType" : {"ctype" : "LineTypes"}},
111            "matchTemplate" : { "method" : {"ctype" : "TemplateMatchModes"}},
112            "morphologyEx" : { "op" : {"ctype" : "MorphTypes"},
113                               "borderType" : {"ctype" : "BorderTypes"}},
114            "preCornerDetect" : { "borderType" : {"ctype" : "BorderTypes"}},
115            "putText" : { "fontFace" : {"ctype" : "HersheyFonts"},
116                          "lineType" : {"ctype" : "LineTypes"}},
117            "pyrDown" : { "borderType" : {"ctype" : "BorderTypes"}},
118            "pyrUp" : { "borderType" : {"ctype" : "BorderTypes"}},
119            "rectangle" : { "lineType" : {"ctype" : "LineTypes"}},
120            "remap" : { "borderMode": {"ctype" : "BorderTypes"}},
121            "sepFilter2D" : { "borderType" : {"ctype" : "BorderTypes"}},
122            "spatialGradient" : { "borderType" : {"ctype" : "BorderTypes"}},
123            "sqrBoxFilter" : { "borderType" : {"ctype" : "BorderTypes"}},
124            "warpAffine" : { "borderMode": {"ctype" : "BorderTypes"}},
125            "warpPerspective" : { "borderMode": {"ctype" : "BorderTypes"}},
126            "getTextSize" : { "fontFace": {"ctype" : "HersheyFonts"}}
127        },
128        "Subdiv2D" : {
129            "(void)insert:(NSArray<Point2f*>*)ptvec" : { "insert" : {"name" : "insertVector"} }
130        }
131    }
132}
133