opencv-contrib-python 4.12.0.88__cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. cv2/Error/__init__.pyi +118 -0
  2. cv2/LICENSE-3RD-PARTY.txt +3513 -0
  3. cv2/LICENSE.txt +21 -0
  4. cv2/__init__.py +181 -0
  5. cv2/__init__.pyi +6789 -0
  6. cv2/aruco/__init__.pyi +405 -0
  7. cv2/barcode/__init__.pyi +39 -0
  8. cv2/bgsegm/__init__.pyi +177 -0
  9. cv2/bioinspired/__init__.pyi +121 -0
  10. cv2/ccm/__init__.pyi +167 -0
  11. cv2/colored_kinfu/__init__.pyi +96 -0
  12. cv2/config-3.py +24 -0
  13. cv2/config.py +5 -0
  14. cv2/cuda/__init__.pyi +553 -0
  15. cv2/cv2.abi3.so +0 -0
  16. cv2/data/__init__.py +3 -0
  17. cv2/data/haarcascade_eye.xml +12213 -0
  18. cv2/data/haarcascade_eye_tree_eyeglasses.xml +22619 -0
  19. cv2/data/haarcascade_frontalcatface.xml +14382 -0
  20. cv2/data/haarcascade_frontalcatface_extended.xml +13394 -0
  21. cv2/data/haarcascade_frontalface_alt.xml +24350 -0
  22. cv2/data/haarcascade_frontalface_alt2.xml +20719 -0
  23. cv2/data/haarcascade_frontalface_alt_tree.xml +96484 -0
  24. cv2/data/haarcascade_frontalface_default.xml +33314 -0
  25. cv2/data/haarcascade_fullbody.xml +17030 -0
  26. cv2/data/haarcascade_lefteye_2splits.xml +7390 -0
  27. cv2/data/haarcascade_license_plate_rus_16stages.xml +1404 -0
  28. cv2/data/haarcascade_lowerbody.xml +14056 -0
  29. cv2/data/haarcascade_profileface.xml +29690 -0
  30. cv2/data/haarcascade_righteye_2splits.xml +7407 -0
  31. cv2/data/haarcascade_russian_plate_number.xml +2656 -0
  32. cv2/data/haarcascade_smile.xml +6729 -0
  33. cv2/data/haarcascade_upperbody.xml +28134 -0
  34. cv2/datasets/__init__.pyi +80 -0
  35. cv2/detail/__init__.pyi +627 -0
  36. cv2/dnn/__init__.pyi +536 -0
  37. cv2/dnn_superres/__init__.pyi +37 -0
  38. cv2/dpm/__init__.pyi +10 -0
  39. cv2/dynafu/__init__.pyi +43 -0
  40. cv2/face/__init__.pyi +219 -0
  41. cv2/fisheye/__init__.pyi +88 -0
  42. cv2/flann/__init__.pyi +64 -0
  43. cv2/ft/__init__.pyi +98 -0
  44. cv2/gapi/__init__.py +323 -0
  45. cv2/gapi/__init__.pyi +349 -0
  46. cv2/gapi/core/__init__.pyi +7 -0
  47. cv2/gapi/core/cpu/__init__.pyi +9 -0
  48. cv2/gapi/core/fluid/__init__.pyi +9 -0
  49. cv2/gapi/core/ocl/__init__.pyi +9 -0
  50. cv2/gapi/ie/__init__.pyi +51 -0
  51. cv2/gapi/ie/detail/__init__.pyi +12 -0
  52. cv2/gapi/imgproc/__init__.pyi +5 -0
  53. cv2/gapi/imgproc/fluid/__init__.pyi +9 -0
  54. cv2/gapi/oak/__init__.pyi +37 -0
  55. cv2/gapi/onnx/__init__.pyi +55 -0
  56. cv2/gapi/onnx/ep/__init__.pyi +63 -0
  57. cv2/gapi/ot/__init__.pyi +32 -0
  58. cv2/gapi/ot/cpu/__init__.pyi +9 -0
  59. cv2/gapi/ov/__init__.pyi +74 -0
  60. cv2/gapi/own/__init__.pyi +5 -0
  61. cv2/gapi/own/detail/__init__.pyi +10 -0
  62. cv2/gapi/render/__init__.pyi +5 -0
  63. cv2/gapi/render/ocv/__init__.pyi +9 -0
  64. cv2/gapi/streaming/__init__.pyi +42 -0
  65. cv2/gapi/video/__init__.pyi +10 -0
  66. cv2/gapi/wip/__init__.pyi +41 -0
  67. cv2/gapi/wip/draw/__init__.pyi +119 -0
  68. cv2/gapi/wip/gst/__init__.pyi +17 -0
  69. cv2/gapi/wip/onevpl/__init__.pyi +16 -0
  70. cv2/hfs/__init__.pyi +53 -0
  71. cv2/img_hash/__init__.pyi +116 -0
  72. cv2/intensity_transform/__init__.pyi +27 -0
  73. cv2/ipp/__init__.pyi +14 -0
  74. cv2/kinfu/__init__.pyi +133 -0
  75. cv2/kinfu/detail/__init__.pyi +7 -0
  76. cv2/large_kinfu/__init__.pyi +73 -0
  77. cv2/legacy/__init__.pyi +93 -0
  78. cv2/line_descriptor/__init__.pyi +112 -0
  79. cv2/linemod/__init__.pyi +151 -0
  80. cv2/load_config_py2.py +6 -0
  81. cv2/load_config_py3.py +9 -0
  82. cv2/mat_wrapper/__init__.py +40 -0
  83. cv2/mcc/__init__.pyi +109 -0
  84. cv2/misc/__init__.py +1 -0
  85. cv2/misc/version.py +5 -0
  86. cv2/ml/__init__.pyi +695 -0
  87. cv2/motempl/__init__.pyi +29 -0
  88. cv2/multicalib/__init__.pyi +10 -0
  89. cv2/ocl/__init__.pyi +252 -0
  90. cv2/ogl/__init__.pyi +51 -0
  91. cv2/omnidir/__init__.pyi +68 -0
  92. cv2/optflow/__init__.pyi +286 -0
  93. cv2/parallel/__init__.pyi +6 -0
  94. cv2/phase_unwrapping/__init__.pyi +41 -0
  95. cv2/plot/__init__.pyi +64 -0
  96. cv2/ppf_match_3d/__init__.pyi +90 -0
  97. cv2/py.typed +0 -0
  98. cv2/qt/fonts/DejaVuSans-Bold.ttf +0 -0
  99. cv2/qt/fonts/DejaVuSans-BoldOblique.ttf +0 -0
  100. cv2/qt/fonts/DejaVuSans-ExtraLight.ttf +0 -0
  101. cv2/qt/fonts/DejaVuSans-Oblique.ttf +0 -0
  102. cv2/qt/fonts/DejaVuSans.ttf +0 -0
  103. cv2/qt/fonts/DejaVuSansCondensed-Bold.ttf +0 -0
  104. cv2/qt/fonts/DejaVuSansCondensed-BoldOblique.ttf +0 -0
  105. cv2/qt/fonts/DejaVuSansCondensed-Oblique.ttf +0 -0
  106. cv2/qt/fonts/DejaVuSansCondensed.ttf +0 -0
  107. cv2/qt/plugins/platforms/libqxcb.so +0 -0
  108. cv2/quality/__init__.pyi +149 -0
  109. cv2/rapid/__init__.pyi +91 -0
  110. cv2/reg/__init__.pyi +210 -0
  111. cv2/rgbd/__init__.pyi +449 -0
  112. cv2/saliency/__init__.pyi +119 -0
  113. cv2/samples/__init__.pyi +12 -0
  114. cv2/segmentation/__init__.pyi +39 -0
  115. cv2/signal/__init__.pyi +14 -0
  116. cv2/stereo/__init__.pyi +87 -0
  117. cv2/structured_light/__init__.pyi +94 -0
  118. cv2/text/__init__.pyi +203 -0
  119. cv2/typing/__init__.py +180 -0
  120. cv2/utils/__init__.py +14 -0
  121. cv2/utils/__init__.pyi +109 -0
  122. cv2/utils/fs/__init__.pyi +6 -0
  123. cv2/utils/nested/__init__.pyi +31 -0
  124. cv2/version.py +5 -0
  125. cv2/videoio_registry/__init__.pyi +31 -0
  126. cv2/videostab/__init__.pyi +16 -0
  127. cv2/wechat_qrcode/__init__.pyi +23 -0
  128. cv2/xfeatures2d/__init__.pyi +537 -0
  129. cv2/ximgproc/__init__.pyi +746 -0
  130. cv2/ximgproc/segmentation/__init__.pyi +116 -0
  131. cv2/xphoto/__init__.pyi +142 -0
  132. opencv_contrib_python-4.12.0.88.dist-info/LICENSE-3RD-PARTY.txt +3513 -0
  133. opencv_contrib_python-4.12.0.88.dist-info/LICENSE.txt +21 -0
  134. opencv_contrib_python-4.12.0.88.dist-info/METADATA +299 -0
  135. opencv_contrib_python-4.12.0.88.dist-info/RECORD +172 -0
  136. opencv_contrib_python-4.12.0.88.dist-info/WHEEL +6 -0
  137. opencv_contrib_python-4.12.0.88.dist-info/top_level.txt +1 -0
  138. opencv_contrib_python.libs/libQt5Core-104e39d9.so.5.15.16 +0 -0
  139. opencv_contrib_python.libs/libQt5Gui-b4c09495.so.5.15.16 +0 -0
  140. opencv_contrib_python.libs/libQt5Test-9a114c6a.so.5.15.16 +0 -0
  141. opencv_contrib_python.libs/libQt5Widgets-42fd29df.so.5.15.16 +0 -0
  142. opencv_contrib_python.libs/libQt5XcbQpa-3d8da064.so.5.15.16 +0 -0
  143. opencv_contrib_python.libs/libX11-xcb-a0297738.so.1.0.0 +0 -0
  144. opencv_contrib_python.libs/libXau-21870672.so.6.0.0 +0 -0
  145. opencv_contrib_python.libs/libaom-e47476b8.so.3.12.1 +0 -0
  146. opencv_contrib_python.libs/libavcodec-df1d7c1e.so.59.37.100 +0 -0
  147. opencv_contrib_python.libs/libavformat-ef9e8359.so.59.27.100 +0 -0
  148. opencv_contrib_python.libs/libavif-f4efd5aa.so.16.3.0 +0 -0
  149. opencv_contrib_python.libs/libavutil-2dc4740f.so.57.28.100 +0 -0
  150. opencv_contrib_python.libs/libcrypto-43e37667.so.1.1 +0 -0
  151. opencv_contrib_python.libs/libgfortran-8634ef04.so.3.0.0 +0 -0
  152. opencv_contrib_python.libs/libopenblas-r0-8966572e.3.3.so +0 -0
  153. opencv_contrib_python.libs/libpng16-035647ca.so.16.48.0 +0 -0
  154. opencv_contrib_python.libs/libssl-b9692d76.so.1.1 +0 -0
  155. opencv_contrib_python.libs/libswresample-da2ce214.so.4.7.100 +0 -0
  156. opencv_contrib_python.libs/libswscale-e52af062.so.6.7.100 +0 -0
  157. opencv_contrib_python.libs/libvpx-06ef2ab1.so.11.0.0 +0 -0
  158. opencv_contrib_python.libs/libxcb-icccm-05fb8c7f.so.4.0.0 +0 -0
  159. opencv_contrib_python.libs/libxcb-image-75825d2e.so.0.0.0 +0 -0
  160. opencv_contrib_python.libs/libxcb-keysyms-73cd270d.so.1.0.0 +0 -0
  161. opencv_contrib_python.libs/libxcb-randr-e1606dfc.so.0.1.0 +0 -0
  162. opencv_contrib_python.libs/libxcb-render-76b15fe5.so.0.0.0 +0 -0
  163. opencv_contrib_python.libs/libxcb-render-util-486ef3ee.so.0.0.0 +0 -0
  164. opencv_contrib_python.libs/libxcb-shape-e8fe4bc4.so.0.0.0 +0 -0
  165. opencv_contrib_python.libs/libxcb-shm-cad72500.so.0.0.0 +0 -0
  166. opencv_contrib_python.libs/libxcb-sync-dc271c48.so.1.0.0 +0 -0
  167. opencv_contrib_python.libs/libxcb-util-c74d156a.so.1.0.0 +0 -0
  168. opencv_contrib_python.libs/libxcb-xfixes-f4cf71d4.so.0.0.0 +0 -0
  169. opencv_contrib_python.libs/libxcb-xinerama-6372573d.so.0.0.0 +0 -0
  170. opencv_contrib_python.libs/libxcb-xkb-e2f6f9de.so.1.0.0 +0 -0
  171. opencv_contrib_python.libs/libxkbcommon-e272a37d.so.0.0.0 +0 -0
  172. opencv_contrib_python.libs/libxkbcommon-x11-b76c7d31.so.0.0.0 +0 -0
cv2/rapid/__init__.pyi ADDED
@@ -0,0 +1,91 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2
4
+ import cv2.typing
5
+ import typing as _typing
6
+
7
+
8
+ # Classes
9
+ class Tracker(cv2.Algorithm):
10
+ # Functions
11
+ @_typing.overload
12
+ def compute(self, img: cv2.typing.MatLike, num: int, len: int, K: cv2.typing.MatLike, rvec: cv2.typing.MatLike, tvec: cv2.typing.MatLike, termcrit: cv2.typing.TermCriteria = ...) -> tuple[float, cv2.typing.MatLike, cv2.typing.MatLike]: ...
13
+ @_typing.overload
14
+ def compute(self, img: cv2.UMat, num: int, len: int, K: cv2.UMat, rvec: cv2.UMat, tvec: cv2.UMat, termcrit: cv2.typing.TermCriteria = ...) -> tuple[float, cv2.UMat, cv2.UMat]: ...
15
+
16
+ def clearState(self) -> None: ...
17
+
18
+
19
+ class Rapid(Tracker):
20
+ # Functions
21
+ @classmethod
22
+ @_typing.overload
23
+ def create(cls, pts3d: cv2.typing.MatLike, tris: cv2.typing.MatLike) -> Rapid: ...
24
+ @classmethod
25
+ @_typing.overload
26
+ def create(cls, pts3d: cv2.UMat, tris: cv2.UMat) -> Rapid: ...
27
+
28
+
29
+ class OLSTracker(Tracker):
30
+ # Functions
31
+ @classmethod
32
+ @_typing.overload
33
+ def create(cls, pts3d: cv2.typing.MatLike, tris: cv2.typing.MatLike, histBins: int = ..., sobelThesh: int = ...) -> OLSTracker: ...
34
+ @classmethod
35
+ @_typing.overload
36
+ def create(cls, pts3d: cv2.UMat, tris: cv2.UMat, histBins: int = ..., sobelThesh: int = ...) -> OLSTracker: ...
37
+
38
+
39
+ class GOSTracker(Tracker):
40
+ # Functions
41
+ @staticmethod
42
+ @_typing.overload
43
+ def create(pts3d: cv2.typing.MatLike, tris: cv2.typing.MatLike, histBins: int = ..., sobelThesh: int = ...) -> OLSTracker: ...
44
+ @staticmethod
45
+ @_typing.overload
46
+ def create(pts3d: cv2.UMat, tris: cv2.UMat, histBins: int = ..., sobelThesh: int = ...) -> OLSTracker: ...
47
+
48
+
49
+
50
+ # Functions
51
+ @_typing.overload
52
+ def convertCorrespondencies(cols: cv2.typing.MatLike, srcLocations: cv2.typing.MatLike, pts2d: cv2.typing.MatLike | None = ..., pts3d: cv2.typing.MatLike | None = ..., mask: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
53
+ @_typing.overload
54
+ def convertCorrespondencies(cols: cv2.UMat, srcLocations: cv2.UMat, pts2d: cv2.UMat | None = ..., pts3d: cv2.UMat | None = ..., mask: cv2.UMat | None = ...) -> tuple[cv2.UMat, cv2.UMat]: ...
55
+
56
+ @_typing.overload
57
+ def drawCorrespondencies(bundle: cv2.typing.MatLike, cols: cv2.typing.MatLike, colors: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
58
+ @_typing.overload
59
+ def drawCorrespondencies(bundle: cv2.UMat, cols: cv2.UMat, colors: cv2.UMat | None = ...) -> cv2.UMat: ...
60
+
61
+ @_typing.overload
62
+ def drawSearchLines(img: cv2.typing.MatLike, locations: cv2.typing.MatLike, color: cv2.typing.Scalar) -> cv2.typing.MatLike: ...
63
+ @_typing.overload
64
+ def drawSearchLines(img: cv2.UMat, locations: cv2.UMat, color: cv2.typing.Scalar) -> cv2.UMat: ...
65
+
66
+ @_typing.overload
67
+ def drawWireframe(img: cv2.typing.MatLike, pts2d: cv2.typing.MatLike, tris: cv2.typing.MatLike, color: cv2.typing.Scalar, type: int = ..., cullBackface: bool = ...) -> cv2.typing.MatLike: ...
68
+ @_typing.overload
69
+ def drawWireframe(img: cv2.UMat, pts2d: cv2.UMat, tris: cv2.UMat, color: cv2.typing.Scalar, type: int = ..., cullBackface: bool = ...) -> cv2.UMat: ...
70
+
71
+ @_typing.overload
72
+ def extractControlPoints(num: int, len: int, pts3d: cv2.typing.MatLike, rvec: cv2.typing.MatLike, tvec: cv2.typing.MatLike, K: cv2.typing.MatLike, imsize: cv2.typing.Size, tris: cv2.typing.MatLike, ctl2d: cv2.typing.MatLike | None = ..., ctl3d: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
73
+ @_typing.overload
74
+ def extractControlPoints(num: int, len: int, pts3d: cv2.UMat, rvec: cv2.UMat, tvec: cv2.UMat, K: cv2.UMat, imsize: cv2.typing.Size, tris: cv2.UMat, ctl2d: cv2.UMat | None = ..., ctl3d: cv2.UMat | None = ...) -> tuple[cv2.UMat, cv2.UMat]: ...
75
+
76
+ @_typing.overload
77
+ def extractLineBundle(len: int, ctl2d: cv2.typing.MatLike, img: cv2.typing.MatLike, bundle: cv2.typing.MatLike | None = ..., srcLocations: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
78
+ @_typing.overload
79
+ def extractLineBundle(len: int, ctl2d: cv2.UMat, img: cv2.UMat, bundle: cv2.UMat | None = ..., srcLocations: cv2.UMat | None = ...) -> tuple[cv2.UMat, cv2.UMat]: ...
80
+
81
+ @_typing.overload
82
+ def findCorrespondencies(bundle: cv2.typing.MatLike, cols: cv2.typing.MatLike | None = ..., response: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike]: ...
83
+ @_typing.overload
84
+ def findCorrespondencies(bundle: cv2.UMat, cols: cv2.UMat | None = ..., response: cv2.UMat | None = ...) -> tuple[cv2.UMat, cv2.UMat]: ...
85
+
86
+ @_typing.overload
87
+ def rapid(img: cv2.typing.MatLike, num: int, len: int, pts3d: cv2.typing.MatLike, tris: cv2.typing.MatLike, K: cv2.typing.MatLike, rvec: cv2.typing.MatLike, tvec: cv2.typing.MatLike) -> tuple[float, cv2.typing.MatLike, cv2.typing.MatLike, float]: ...
88
+ @_typing.overload
89
+ def rapid(img: cv2.UMat, num: int, len: int, pts3d: cv2.UMat, tris: cv2.UMat, K: cv2.UMat, rvec: cv2.UMat, tvec: cv2.UMat) -> tuple[float, cv2.UMat, cv2.UMat, float]: ...
90
+
91
+
cv2/reg/__init__.pyi ADDED
@@ -0,0 +1,210 @@
1
+ __all__: list[str] = []
2
+
3
+ import cv2
4
+ import cv2.typing
5
+ import typing as _typing
6
+
7
+
8
+ # Classes
9
+ class Map:
10
+ # Functions
11
+ @_typing.overload
12
+ def warp(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
13
+ @_typing.overload
14
+ def warp(self, img1: cv2.UMat, img2: cv2.UMat | None = ...) -> cv2.UMat: ...
15
+
16
+ @_typing.overload
17
+ def inverseWarp(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
18
+ @_typing.overload
19
+ def inverseWarp(self, img1: cv2.UMat, img2: cv2.UMat | None = ...) -> cv2.UMat: ...
20
+
21
+ def inverseMap(self) -> Map: ...
22
+
23
+ def compose(self, map: Map) -> None: ...
24
+
25
+ def scale(self, factor: float) -> None: ...
26
+
27
+
28
+ class MapAffine(Map):
29
+ # Functions
30
+ @_typing.overload
31
+ def __init__(self) -> None: ...
32
+ @_typing.overload
33
+ def __init__(self, linTr: cv2.typing.MatLike, shift: cv2.typing.MatLike) -> None: ...
34
+ @_typing.overload
35
+ def __init__(self, linTr: cv2.UMat, shift: cv2.UMat) -> None: ...
36
+
37
+ @_typing.overload
38
+ def inverseWarp(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
39
+ @_typing.overload
40
+ def inverseWarp(self, img1: cv2.UMat, img2: cv2.UMat | None = ...) -> cv2.UMat: ...
41
+
42
+ def inverseMap(self) -> Map: ...
43
+
44
+ def compose(self, map: Map) -> None: ...
45
+
46
+ def scale(self, factor: float) -> None: ...
47
+
48
+ @_typing.overload
49
+ def getLinTr(self, linTr: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
50
+ @_typing.overload
51
+ def getLinTr(self, linTr: cv2.UMat | None = ...) -> cv2.UMat: ...
52
+
53
+ @_typing.overload
54
+ def getShift(self, shift: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
55
+ @_typing.overload
56
+ def getShift(self, shift: cv2.UMat | None = ...) -> cv2.UMat: ...
57
+
58
+
59
+ class Mapper:
60
+ # Functions
61
+ @_typing.overload
62
+ def calculate(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike, init: Map = ...) -> Map: ...
63
+ @_typing.overload
64
+ def calculate(self, img1: cv2.UMat, img2: cv2.UMat, init: Map = ...) -> Map: ...
65
+
66
+ def getMap(self) -> Map: ...
67
+
68
+
69
+ class MapperGradAffine(Mapper):
70
+ # Functions
71
+ def __init__(self) -> None: ...
72
+
73
+ @_typing.overload
74
+ def calculate(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike, init: Map = ...) -> Map: ...
75
+ @_typing.overload
76
+ def calculate(self, img1: cv2.UMat, img2: cv2.UMat, init: Map = ...) -> Map: ...
77
+
78
+ def getMap(self) -> Map: ...
79
+
80
+
81
+ class MapperGradEuclid(Mapper):
82
+ # Functions
83
+ def __init__(self) -> None: ...
84
+
85
+ @_typing.overload
86
+ def calculate(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike, init: Map = ...) -> Map: ...
87
+ @_typing.overload
88
+ def calculate(self, img1: cv2.UMat, img2: cv2.UMat, init: Map = ...) -> Map: ...
89
+
90
+ def getMap(self) -> Map: ...
91
+
92
+
93
+ class MapperGradProj(Mapper):
94
+ # Functions
95
+ def __init__(self) -> None: ...
96
+
97
+ @_typing.overload
98
+ def calculate(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike, init: Map = ...) -> Map: ...
99
+ @_typing.overload
100
+ def calculate(self, img1: cv2.UMat, img2: cv2.UMat, init: Map = ...) -> Map: ...
101
+
102
+ def getMap(self) -> Map: ...
103
+
104
+
105
+ class MapperGradShift(Mapper):
106
+ # Functions
107
+ def __init__(self) -> None: ...
108
+
109
+ @_typing.overload
110
+ def calculate(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike, init: Map = ...) -> Map: ...
111
+ @_typing.overload
112
+ def calculate(self, img1: cv2.UMat, img2: cv2.UMat, init: Map = ...) -> Map: ...
113
+
114
+ def getMap(self) -> Map: ...
115
+
116
+
117
+ class MapperGradSimilar(Mapper):
118
+ # Functions
119
+ def __init__(self) -> None: ...
120
+
121
+ @_typing.overload
122
+ def calculate(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike, init: Map = ...) -> Map: ...
123
+ @_typing.overload
124
+ def calculate(self, img1: cv2.UMat, img2: cv2.UMat, init: Map = ...) -> Map: ...
125
+
126
+ def getMap(self) -> Map: ...
127
+
128
+
129
+ class MapperPyramid(Mapper):
130
+ numLev_: int
131
+ numIterPerScale_: int
132
+
133
+ # Functions
134
+ def __init__(self, baseMapper: Mapper) -> None: ...
135
+
136
+ @_typing.overload
137
+ def calculate(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike, init: Map = ...) -> Map: ...
138
+ @_typing.overload
139
+ def calculate(self, img1: cv2.UMat, img2: cv2.UMat, init: Map = ...) -> Map: ...
140
+
141
+ def getMap(self) -> Map: ...
142
+
143
+
144
+ class MapTypeCaster:
145
+ # Functions
146
+ @staticmethod
147
+ def toAffine(sourceMap: Map) -> MapAffine: ...
148
+
149
+ @staticmethod
150
+ def toShift(sourceMap: Map) -> MapShift: ...
151
+
152
+ @staticmethod
153
+ def toProjec(sourceMap: Map) -> MapProjec: ...
154
+
155
+
156
+ class MapProjec(Map):
157
+ # Functions
158
+ @_typing.overload
159
+ def __init__(self) -> None: ...
160
+ @_typing.overload
161
+ def __init__(self, projTr: cv2.typing.MatLike) -> None: ...
162
+ @_typing.overload
163
+ def __init__(self, projTr: cv2.UMat) -> None: ...
164
+
165
+ @_typing.overload
166
+ def inverseWarp(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
167
+ @_typing.overload
168
+ def inverseWarp(self, img1: cv2.UMat, img2: cv2.UMat | None = ...) -> cv2.UMat: ...
169
+
170
+ def inverseMap(self) -> Map: ...
171
+
172
+ def compose(self, map: Map) -> None: ...
173
+
174
+ def scale(self, factor: float) -> None: ...
175
+
176
+ @_typing.overload
177
+ def getProjTr(self, projTr: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
178
+ @_typing.overload
179
+ def getProjTr(self, projTr: cv2.UMat | None = ...) -> cv2.UMat: ...
180
+
181
+ def normalize(self) -> None: ...
182
+
183
+
184
+ class MapShift(Map):
185
+ # Functions
186
+ @_typing.overload
187
+ def __init__(self) -> None: ...
188
+ @_typing.overload
189
+ def __init__(self, shift: cv2.typing.MatLike) -> None: ...
190
+ @_typing.overload
191
+ def __init__(self, shift: cv2.UMat) -> None: ...
192
+
193
+ @_typing.overload
194
+ def inverseWarp(self, img1: cv2.typing.MatLike, img2: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
195
+ @_typing.overload
196
+ def inverseWarp(self, img1: cv2.UMat, img2: cv2.UMat | None = ...) -> cv2.UMat: ...
197
+
198
+ def inverseMap(self) -> Map: ...
199
+
200
+ def compose(self, map: Map) -> None: ...
201
+
202
+ def scale(self, factor: float) -> None: ...
203
+
204
+ @_typing.overload
205
+ def getShift(self, shift: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
206
+ @_typing.overload
207
+ def getShift(self, shift: cv2.UMat | None = ...) -> cv2.UMat: ...
208
+
209
+
210
+