opencv-contrib-python-headless 4.11.0.86__cp37-abi3-macosx_13_0_arm64.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.
- cv2/.dylibs/libSvtAv1Enc.2.2.0.dylib +0 -0
- cv2/.dylibs/libX11.6.dylib +0 -0
- cv2/.dylibs/libXau.6.0.0.dylib +0 -0
- cv2/.dylibs/libXdmcp.6.dylib +0 -0
- cv2/.dylibs/libaom.3.11.0.dylib +0 -0
- cv2/.dylibs/libarchive.13.dylib +0 -0
- cv2/.dylibs/libaribb24.0.dylib +0 -0
- cv2/.dylibs/libavcodec.61.19.100.dylib +0 -0
- cv2/.dylibs/libavformat.61.7.100.dylib +0 -0
- cv2/.dylibs/libavutil.59.39.100.dylib +0 -0
- cv2/.dylibs/libb2.1.dylib +0 -0
- cv2/.dylibs/libbluray.2.dylib +0 -0
- cv2/.dylibs/libbrotlicommon.1.1.0.dylib +0 -0
- cv2/.dylibs/libbrotlidec.1.1.0.dylib +0 -0
- cv2/.dylibs/libbrotlienc.1.1.0.dylib +0 -0
- cv2/.dylibs/libcjson.1.7.18.dylib +0 -0
- cv2/.dylibs/libcrypto.3.dylib +0 -0
- cv2/.dylibs/libdav1d.7.dylib +0 -0
- cv2/.dylibs/libfontconfig.1.dylib +0 -0
- cv2/.dylibs/libfreetype.6.dylib +0 -0
- cv2/.dylibs/libgif.7.2.0.dylib +0 -0
- cv2/.dylibs/libgmp.10.dylib +0 -0
- cv2/.dylibs/libgnutls.30.dylib +0 -0
- cv2/.dylibs/libhogweed.6.9.dylib +0 -0
- cv2/.dylibs/libhwy.1.2.0.dylib +0 -0
- cv2/.dylibs/libidn2.0.dylib +0 -0
- cv2/.dylibs/libintl.8.dylib +0 -0
- cv2/.dylibs/libjpeg.8.3.2.dylib +0 -0
- cv2/.dylibs/libjxl.0.11.1.dylib +0 -0
- cv2/.dylibs/libjxl_cms.0.11.1.dylib +0 -0
- cv2/.dylibs/libjxl_threads.0.11.1.dylib +0 -0
- cv2/.dylibs/liblcms2.2.dylib +0 -0
- cv2/.dylibs/libleptonica.6.dylib +0 -0
- cv2/.dylibs/liblz4.1.10.0.dylib +0 -0
- cv2/.dylibs/liblzma.5.dylib +0 -0
- cv2/.dylibs/libmbedcrypto.3.6.2.dylib +0 -0
- cv2/.dylibs/libmp3lame.0.dylib +0 -0
- cv2/.dylibs/libnettle.8.9.dylib +0 -0
- cv2/.dylibs/libogg.0.dylib +0 -0
- cv2/.dylibs/libopencore-amrnb.0.dylib +0 -0
- cv2/.dylibs/libopencore-amrwb.0.dylib +0 -0
- cv2/.dylibs/libopenjp2.2.5.2.dylib +0 -0
- cv2/.dylibs/libopus.0.dylib +0 -0
- cv2/.dylibs/libp11-kit.0.dylib +0 -0
- cv2/.dylibs/libpng16.16.dylib +0 -0
- cv2/.dylibs/librav1e.0.7.1.dylib +0 -0
- cv2/.dylibs/librist.4.dylib +0 -0
- cv2/.dylibs/libsharpyuv.0.1.0.dylib +0 -0
- cv2/.dylibs/libsnappy.1.2.1.dylib +0 -0
- cv2/.dylibs/libsodium.26.dylib +0 -0
- cv2/.dylibs/libsoxr.0.1.2.dylib +0 -0
- cv2/.dylibs/libspeex.1.dylib +0 -0
- cv2/.dylibs/libsrt.1.5.4.dylib +0 -0
- cv2/.dylibs/libssh.4.10.1.dylib +0 -0
- cv2/.dylibs/libssl.3.dylib +0 -0
- cv2/.dylibs/libswresample.5.3.100.dylib +0 -0
- cv2/.dylibs/libswscale.8.3.100.dylib +0 -0
- cv2/.dylibs/libtasn1.6.dylib +0 -0
- cv2/.dylibs/libtesseract.5.dylib +0 -0
- cv2/.dylibs/libtheoradec.1.dylib +0 -0
- cv2/.dylibs/libtheoraenc.1.dylib +0 -0
- cv2/.dylibs/libtiff.6.dylib +0 -0
- cv2/.dylibs/libunistring.5.dylib +0 -0
- cv2/.dylibs/libvmaf.3.dylib +0 -0
- cv2/.dylibs/libvorbis.0.dylib +0 -0
- cv2/.dylibs/libvorbisenc.2.dylib +0 -0
- cv2/.dylibs/libvpx.9.dylib +0 -0
- cv2/.dylibs/libwebp.7.1.9.dylib +0 -0
- cv2/.dylibs/libwebpmux.3.1.0.dylib +0 -0
- cv2/.dylibs/libx264.164.dylib +0 -0
- cv2/.dylibs/libx265.212.dylib +0 -0
- cv2/.dylibs/libxcb.1.1.0.dylib +0 -0
- cv2/.dylibs/libzmq.5.dylib +0 -0
- cv2/.dylibs/libzstd.1.5.6.dylib +0 -0
- cv2/Error/__init__.pyi +118 -0
- cv2/LICENSE-3RD-PARTY.txt +3090 -0
- cv2/LICENSE.txt +21 -0
- cv2/__init__.py +181 -0
- cv2/__init__.pyi +6681 -0
- cv2/aruco/__init__.pyi +392 -0
- cv2/barcode/__init__.pyi +39 -0
- cv2/bgsegm/__init__.pyi +177 -0
- cv2/bioinspired/__init__.pyi +121 -0
- cv2/ccm/__init__.pyi +167 -0
- cv2/colored_kinfu/__init__.pyi +96 -0
- cv2/config-3.py +24 -0
- cv2/config.py +5 -0
- cv2/cuda/__init__.pyi +551 -0
- cv2/cv2.abi3.so +0 -0
- cv2/data/__init__.py +3 -0
- cv2/data/haarcascade_eye.xml +12213 -0
- cv2/data/haarcascade_eye_tree_eyeglasses.xml +22619 -0
- cv2/data/haarcascade_frontalcatface.xml +14382 -0
- cv2/data/haarcascade_frontalcatface_extended.xml +13394 -0
- cv2/data/haarcascade_frontalface_alt.xml +24350 -0
- cv2/data/haarcascade_frontalface_alt2.xml +20719 -0
- cv2/data/haarcascade_frontalface_alt_tree.xml +96484 -0
- cv2/data/haarcascade_frontalface_default.xml +33314 -0
- cv2/data/haarcascade_fullbody.xml +17030 -0
- cv2/data/haarcascade_lefteye_2splits.xml +7390 -0
- cv2/data/haarcascade_license_plate_rus_16stages.xml +1404 -0
- cv2/data/haarcascade_lowerbody.xml +14056 -0
- cv2/data/haarcascade_profileface.xml +29690 -0
- cv2/data/haarcascade_righteye_2splits.xml +7407 -0
- cv2/data/haarcascade_russian_plate_number.xml +2656 -0
- cv2/data/haarcascade_smile.xml +6729 -0
- cv2/data/haarcascade_upperbody.xml +28134 -0
- cv2/datasets/__init__.pyi +80 -0
- cv2/detail/__init__.pyi +627 -0
- cv2/dnn/__init__.pyi +534 -0
- cv2/dnn_superres/__init__.pyi +37 -0
- cv2/dpm/__init__.pyi +10 -0
- cv2/dynafu/__init__.pyi +43 -0
- cv2/face/__init__.pyi +219 -0
- cv2/fisheye/__init__.pyi +83 -0
- cv2/flann/__init__.pyi +64 -0
- cv2/ft/__init__.pyi +98 -0
- cv2/gapi/__init__.py +323 -0
- cv2/gapi/__init__.pyi +349 -0
- cv2/gapi/core/__init__.pyi +7 -0
- cv2/gapi/core/cpu/__init__.pyi +9 -0
- cv2/gapi/core/fluid/__init__.pyi +9 -0
- cv2/gapi/core/ocl/__init__.pyi +9 -0
- cv2/gapi/ie/__init__.pyi +51 -0
- cv2/gapi/ie/detail/__init__.pyi +12 -0
- cv2/gapi/imgproc/__init__.pyi +5 -0
- cv2/gapi/imgproc/fluid/__init__.pyi +9 -0
- cv2/gapi/oak/__init__.pyi +37 -0
- cv2/gapi/onnx/__init__.pyi +55 -0
- cv2/gapi/onnx/ep/__init__.pyi +63 -0
- cv2/gapi/ot/__init__.pyi +32 -0
- cv2/gapi/ot/cpu/__init__.pyi +9 -0
- cv2/gapi/ov/__init__.pyi +74 -0
- cv2/gapi/own/__init__.pyi +5 -0
- cv2/gapi/own/detail/__init__.pyi +10 -0
- cv2/gapi/render/__init__.pyi +5 -0
- cv2/gapi/render/ocv/__init__.pyi +9 -0
- cv2/gapi/streaming/__init__.pyi +42 -0
- cv2/gapi/video/__init__.pyi +10 -0
- cv2/gapi/wip/__init__.pyi +41 -0
- cv2/gapi/wip/draw/__init__.pyi +119 -0
- cv2/gapi/wip/gst/__init__.pyi +17 -0
- cv2/gapi/wip/onevpl/__init__.pyi +16 -0
- cv2/hfs/__init__.pyi +53 -0
- cv2/img_hash/__init__.pyi +116 -0
- cv2/intensity_transform/__init__.pyi +27 -0
- cv2/ipp/__init__.pyi +14 -0
- cv2/kinfu/__init__.pyi +133 -0
- cv2/kinfu/detail/__init__.pyi +7 -0
- cv2/large_kinfu/__init__.pyi +73 -0
- cv2/legacy/__init__.pyi +93 -0
- cv2/line_descriptor/__init__.pyi +112 -0
- cv2/linemod/__init__.pyi +151 -0
- cv2/load_config_py2.py +6 -0
- cv2/load_config_py3.py +9 -0
- cv2/mat_wrapper/__init__.py +40 -0
- cv2/mcc/__init__.pyi +109 -0
- cv2/misc/__init__.py +1 -0
- cv2/misc/version.py +5 -0
- cv2/ml/__init__.pyi +695 -0
- cv2/motempl/__init__.pyi +29 -0
- cv2/multicalib/__init__.pyi +10 -0
- cv2/ocl/__init__.pyi +252 -0
- cv2/ogl/__init__.pyi +51 -0
- cv2/omnidir/__init__.pyi +68 -0
- cv2/optflow/__init__.pyi +286 -0
- cv2/parallel/__init__.pyi +6 -0
- cv2/phase_unwrapping/__init__.pyi +41 -0
- cv2/plot/__init__.pyi +64 -0
- cv2/ppf_match_3d/__init__.pyi +90 -0
- cv2/py.typed +0 -0
- cv2/quality/__init__.pyi +149 -0
- cv2/rapid/__init__.pyi +91 -0
- cv2/reg/__init__.pyi +210 -0
- cv2/rgbd/__init__.pyi +449 -0
- cv2/saliency/__init__.pyi +119 -0
- cv2/samples/__init__.pyi +12 -0
- cv2/segmentation/__init__.pyi +39 -0
- cv2/signal/__init__.pyi +14 -0
- cv2/stereo/__init__.pyi +87 -0
- cv2/structured_light/__init__.pyi +94 -0
- cv2/text/__init__.pyi +203 -0
- cv2/typing/__init__.py +180 -0
- cv2/utils/__init__.py +14 -0
- cv2/utils/__init__.pyi +109 -0
- cv2/utils/fs/__init__.pyi +6 -0
- cv2/utils/nested/__init__.pyi +31 -0
- cv2/version.py +5 -0
- cv2/videoio_registry/__init__.pyi +31 -0
- cv2/videostab/__init__.pyi +16 -0
- cv2/wechat_qrcode/__init__.pyi +23 -0
- cv2/xfeatures2d/__init__.pyi +537 -0
- cv2/ximgproc/__init__.pyi +742 -0
- cv2/ximgproc/segmentation/__init__.pyi +116 -0
- cv2/xphoto/__init__.pyi +142 -0
- opencv_contrib_python_headless-4.11.0.86.dist-info/LICENSE-3RD-PARTY.txt +3090 -0
- opencv_contrib_python_headless-4.11.0.86.dist-info/LICENSE.txt +21 -0
- opencv_contrib_python_headless-4.11.0.86.dist-info/METADATA +306 -0
- opencv_contrib_python_headless-4.11.0.86.dist-info/RECORD +201 -0
- opencv_contrib_python_headless-4.11.0.86.dist-info/WHEEL +5 -0
- opencv_contrib_python_headless-4.11.0.86.dist-info/top_level.txt +1 -0
cv2/optflow/__init__.pyi
ADDED
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
__all__: list[str] = []
|
|
2
|
+
|
|
3
|
+
import cv2
|
|
4
|
+
import cv2.typing
|
|
5
|
+
import typing as _typing
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Enumerations
|
|
9
|
+
SR_FIXED: int
|
|
10
|
+
SR_CROSS: int
|
|
11
|
+
SupportRegionType = int
|
|
12
|
+
"""One of [SR_FIXED, SR_CROSS]"""
|
|
13
|
+
|
|
14
|
+
ST_STANDART: int
|
|
15
|
+
ST_BILINEAR: int
|
|
16
|
+
SolverType = int
|
|
17
|
+
"""One of [ST_STANDART, ST_BILINEAR]"""
|
|
18
|
+
|
|
19
|
+
INTERP_GEO: int
|
|
20
|
+
INTERP_EPIC: int
|
|
21
|
+
INTERP_RIC: int
|
|
22
|
+
InterpolationType = int
|
|
23
|
+
"""One of [INTERP_GEO, INTERP_EPIC, INTERP_RIC]"""
|
|
24
|
+
|
|
25
|
+
GPC_DESCRIPTOR_DCT: int
|
|
26
|
+
GPC_DESCRIPTOR_WHT: int
|
|
27
|
+
GPCDescType = int
|
|
28
|
+
"""One of [GPC_DESCRIPTOR_DCT, GPC_DESCRIPTOR_WHT]"""
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
# Classes
|
|
33
|
+
class DualTVL1OpticalFlow(cv2.DenseOpticalFlow):
|
|
34
|
+
# Functions
|
|
35
|
+
def getTau(self) -> float: ...
|
|
36
|
+
|
|
37
|
+
def setTau(self, val: float) -> None: ...
|
|
38
|
+
|
|
39
|
+
def getLambda(self) -> float: ...
|
|
40
|
+
|
|
41
|
+
def setLambda(self, val: float) -> None: ...
|
|
42
|
+
|
|
43
|
+
def getTheta(self) -> float: ...
|
|
44
|
+
|
|
45
|
+
def setTheta(self, val: float) -> None: ...
|
|
46
|
+
|
|
47
|
+
def getGamma(self) -> float: ...
|
|
48
|
+
|
|
49
|
+
def setGamma(self, val: float) -> None: ...
|
|
50
|
+
|
|
51
|
+
def getScalesNumber(self) -> int: ...
|
|
52
|
+
|
|
53
|
+
def setScalesNumber(self, val: int) -> None: ...
|
|
54
|
+
|
|
55
|
+
def getWarpingsNumber(self) -> int: ...
|
|
56
|
+
|
|
57
|
+
def setWarpingsNumber(self, val: int) -> None: ...
|
|
58
|
+
|
|
59
|
+
def getEpsilon(self) -> float: ...
|
|
60
|
+
|
|
61
|
+
def setEpsilon(self, val: float) -> None: ...
|
|
62
|
+
|
|
63
|
+
def getInnerIterations(self) -> int: ...
|
|
64
|
+
|
|
65
|
+
def setInnerIterations(self, val: int) -> None: ...
|
|
66
|
+
|
|
67
|
+
def getOuterIterations(self) -> int: ...
|
|
68
|
+
|
|
69
|
+
def setOuterIterations(self, val: int) -> None: ...
|
|
70
|
+
|
|
71
|
+
def getUseInitialFlow(self) -> bool: ...
|
|
72
|
+
|
|
73
|
+
def setUseInitialFlow(self, val: bool) -> None: ...
|
|
74
|
+
|
|
75
|
+
def getScaleStep(self) -> float: ...
|
|
76
|
+
|
|
77
|
+
def setScaleStep(self, val: float) -> None: ...
|
|
78
|
+
|
|
79
|
+
def getMedianFiltering(self) -> int: ...
|
|
80
|
+
|
|
81
|
+
def setMedianFiltering(self, val: int) -> None: ...
|
|
82
|
+
|
|
83
|
+
@classmethod
|
|
84
|
+
def create(cls, tau: float = ..., lambda_: float = ..., theta: float = ..., nscales: int = ..., warps: int = ..., epsilon: float = ..., innnerIterations: int = ..., outerIterations: int = ..., scaleStep: float = ..., gamma: float = ..., medianFiltering: int = ..., useInitialFlow: bool = ...) -> DualTVL1OpticalFlow: ...
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class PCAPrior:
|
|
88
|
+
...
|
|
89
|
+
|
|
90
|
+
class OpticalFlowPCAFlow(cv2.DenseOpticalFlow):
|
|
91
|
+
...
|
|
92
|
+
|
|
93
|
+
class RLOFOpticalFlowParameter:
|
|
94
|
+
# Functions
|
|
95
|
+
def setUseMEstimator(self, val: bool) -> None: ...
|
|
96
|
+
|
|
97
|
+
def setSolverType(self, val: SolverType) -> None: ...
|
|
98
|
+
|
|
99
|
+
def getSolverType(self) -> SolverType: ...
|
|
100
|
+
|
|
101
|
+
def setSupportRegionType(self, val: SupportRegionType) -> None: ...
|
|
102
|
+
|
|
103
|
+
def getSupportRegionType(self) -> SupportRegionType: ...
|
|
104
|
+
|
|
105
|
+
def setNormSigma0(self, val: float) -> None: ...
|
|
106
|
+
|
|
107
|
+
def getNormSigma0(self) -> float: ...
|
|
108
|
+
|
|
109
|
+
def setNormSigma1(self, val: float) -> None: ...
|
|
110
|
+
|
|
111
|
+
def getNormSigma1(self) -> float: ...
|
|
112
|
+
|
|
113
|
+
def setSmallWinSize(self, val: int) -> None: ...
|
|
114
|
+
|
|
115
|
+
def getSmallWinSize(self) -> int: ...
|
|
116
|
+
|
|
117
|
+
def setLargeWinSize(self, val: int) -> None: ...
|
|
118
|
+
|
|
119
|
+
def getLargeWinSize(self) -> int: ...
|
|
120
|
+
|
|
121
|
+
def setCrossSegmentationThreshold(self, val: int) -> None: ...
|
|
122
|
+
|
|
123
|
+
def getCrossSegmentationThreshold(self) -> int: ...
|
|
124
|
+
|
|
125
|
+
def setMaxLevel(self, val: int) -> None: ...
|
|
126
|
+
|
|
127
|
+
def getMaxLevel(self) -> int: ...
|
|
128
|
+
|
|
129
|
+
def setUseInitialFlow(self, val: bool) -> None: ...
|
|
130
|
+
|
|
131
|
+
def getUseInitialFlow(self) -> bool: ...
|
|
132
|
+
|
|
133
|
+
def setUseIlluminationModel(self, val: bool) -> None: ...
|
|
134
|
+
|
|
135
|
+
def getUseIlluminationModel(self) -> bool: ...
|
|
136
|
+
|
|
137
|
+
def setUseGlobalMotionPrior(self, val: bool) -> None: ...
|
|
138
|
+
|
|
139
|
+
def getUseGlobalMotionPrior(self) -> bool: ...
|
|
140
|
+
|
|
141
|
+
def setMaxIteration(self, val: int) -> None: ...
|
|
142
|
+
|
|
143
|
+
def getMaxIteration(self) -> int: ...
|
|
144
|
+
|
|
145
|
+
def setMinEigenValue(self, val: float) -> None: ...
|
|
146
|
+
|
|
147
|
+
def getMinEigenValue(self) -> float: ...
|
|
148
|
+
|
|
149
|
+
def setGlobalMotionRansacThreshold(self, val: float) -> None: ...
|
|
150
|
+
|
|
151
|
+
def getGlobalMotionRansacThreshold(self) -> float: ...
|
|
152
|
+
|
|
153
|
+
@classmethod
|
|
154
|
+
def create(cls) -> RLOFOpticalFlowParameter: ...
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
class DenseRLOFOpticalFlow(cv2.DenseOpticalFlow):
|
|
158
|
+
# Functions
|
|
159
|
+
def setRLOFOpticalFlowParameter(self, val: RLOFOpticalFlowParameter) -> None: ...
|
|
160
|
+
|
|
161
|
+
def getRLOFOpticalFlowParameter(self) -> RLOFOpticalFlowParameter: ...
|
|
162
|
+
|
|
163
|
+
def setForwardBackward(self, val: float) -> None: ...
|
|
164
|
+
|
|
165
|
+
def getForwardBackward(self) -> float: ...
|
|
166
|
+
|
|
167
|
+
def getGridStep(self) -> cv2.typing.Size: ...
|
|
168
|
+
|
|
169
|
+
def setGridStep(self, val: cv2.typing.Size) -> None: ...
|
|
170
|
+
|
|
171
|
+
def setInterpolation(self, val: InterpolationType) -> None: ...
|
|
172
|
+
|
|
173
|
+
def getInterpolation(self) -> InterpolationType: ...
|
|
174
|
+
|
|
175
|
+
def getEPICK(self) -> int: ...
|
|
176
|
+
|
|
177
|
+
def setEPICK(self, val: int) -> None: ...
|
|
178
|
+
|
|
179
|
+
def getEPICSigma(self) -> float: ...
|
|
180
|
+
|
|
181
|
+
def setEPICSigma(self, val: float) -> None: ...
|
|
182
|
+
|
|
183
|
+
def getEPICLambda(self) -> float: ...
|
|
184
|
+
|
|
185
|
+
def setEPICLambda(self, val: float) -> None: ...
|
|
186
|
+
|
|
187
|
+
def getFgsLambda(self) -> float: ...
|
|
188
|
+
|
|
189
|
+
def setFgsLambda(self, val: float) -> None: ...
|
|
190
|
+
|
|
191
|
+
def getFgsSigma(self) -> float: ...
|
|
192
|
+
|
|
193
|
+
def setFgsSigma(self, val: float) -> None: ...
|
|
194
|
+
|
|
195
|
+
def setUsePostProc(self, val: bool) -> None: ...
|
|
196
|
+
|
|
197
|
+
def getUsePostProc(self) -> bool: ...
|
|
198
|
+
|
|
199
|
+
def setUseVariationalRefinement(self, val: bool) -> None: ...
|
|
200
|
+
|
|
201
|
+
def getUseVariationalRefinement(self) -> bool: ...
|
|
202
|
+
|
|
203
|
+
def setRICSPSize(self, val: int) -> None: ...
|
|
204
|
+
|
|
205
|
+
def getRICSPSize(self) -> int: ...
|
|
206
|
+
|
|
207
|
+
def setRICSLICType(self, val: int) -> None: ...
|
|
208
|
+
|
|
209
|
+
def getRICSLICType(self) -> int: ...
|
|
210
|
+
|
|
211
|
+
@classmethod
|
|
212
|
+
def create(cls, rlofParam: RLOFOpticalFlowParameter = ..., forwardBackwardThreshold: float = ..., gridStep: cv2.typing.Size = ..., interp_type: InterpolationType = ..., epicK: int = ..., epicSigma: float = ..., epicLambda: float = ..., ricSPSize: int = ..., ricSLICType: int = ..., use_post_proc: bool = ..., fgsLambda: float = ..., fgsSigma: float = ..., use_variational_refinement: bool = ...) -> DenseRLOFOpticalFlow: ...
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
class SparseRLOFOpticalFlow(cv2.SparseOpticalFlow):
|
|
216
|
+
# Functions
|
|
217
|
+
def setRLOFOpticalFlowParameter(self, val: RLOFOpticalFlowParameter) -> None: ...
|
|
218
|
+
|
|
219
|
+
def getRLOFOpticalFlowParameter(self) -> RLOFOpticalFlowParameter: ...
|
|
220
|
+
|
|
221
|
+
def setForwardBackward(self, val: float) -> None: ...
|
|
222
|
+
|
|
223
|
+
def getForwardBackward(self) -> float: ...
|
|
224
|
+
|
|
225
|
+
@classmethod
|
|
226
|
+
def create(cls, rlofParam: RLOFOpticalFlowParameter = ..., forwardBackwardThreshold: float = ...) -> SparseRLOFOpticalFlow: ...
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
class GPCPatchDescriptor:
|
|
230
|
+
...
|
|
231
|
+
|
|
232
|
+
class GPCPatchSample:
|
|
233
|
+
...
|
|
234
|
+
|
|
235
|
+
class GPCTrainingSamples:
|
|
236
|
+
...
|
|
237
|
+
|
|
238
|
+
class GPCTree(cv2.Algorithm):
|
|
239
|
+
...
|
|
240
|
+
|
|
241
|
+
class GPCDetails:
|
|
242
|
+
...
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
# Functions
|
|
246
|
+
@_typing.overload
|
|
247
|
+
def calcOpticalFlowDenseRLOF(I0: cv2.typing.MatLike, I1: cv2.typing.MatLike, flow: cv2.typing.MatLike, rlofParam: RLOFOpticalFlowParameter = ..., forwardBackwardThreshold: float = ..., gridStep: cv2.typing.Size = ..., interp_type: InterpolationType = ..., epicK: int = ..., epicSigma: float = ..., epicLambda: float = ..., ricSPSize: int = ..., ricSLICType: int = ..., use_post_proc: bool = ..., fgsLambda: float = ..., fgsSigma: float = ..., use_variational_refinement: bool = ...) -> cv2.typing.MatLike: ...
|
|
248
|
+
@_typing.overload
|
|
249
|
+
def calcOpticalFlowDenseRLOF(I0: cv2.UMat, I1: cv2.UMat, flow: cv2.UMat, rlofParam: RLOFOpticalFlowParameter = ..., forwardBackwardThreshold: float = ..., gridStep: cv2.typing.Size = ..., interp_type: InterpolationType = ..., epicK: int = ..., epicSigma: float = ..., epicLambda: float = ..., ricSPSize: int = ..., ricSLICType: int = ..., use_post_proc: bool = ..., fgsLambda: float = ..., fgsSigma: float = ..., use_variational_refinement: bool = ...) -> cv2.UMat: ...
|
|
250
|
+
|
|
251
|
+
@_typing.overload
|
|
252
|
+
def calcOpticalFlowSF(from_: cv2.typing.MatLike, to: cv2.typing.MatLike, layers: int, averaging_block_size: int, max_flow: int, flow: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
|
|
253
|
+
@_typing.overload
|
|
254
|
+
def calcOpticalFlowSF(from_: cv2.UMat, to: cv2.UMat, layers: int, averaging_block_size: int, max_flow: int, flow: cv2.UMat | None = ...) -> cv2.UMat: ...
|
|
255
|
+
@_typing.overload
|
|
256
|
+
def calcOpticalFlowSF(from_: cv2.typing.MatLike, to: cv2.typing.MatLike, layers: int, averaging_block_size: int, max_flow: int, sigma_dist: float, sigma_color: float, postprocess_window: int, sigma_dist_fix: float, sigma_color_fix: float, occ_thr: float, upscale_averaging_radius: int, upscale_sigma_dist: float, upscale_sigma_color: float, speed_up_thr: float, flow: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
|
|
257
|
+
@_typing.overload
|
|
258
|
+
def calcOpticalFlowSF(from_: cv2.UMat, to: cv2.UMat, layers: int, averaging_block_size: int, max_flow: int, sigma_dist: float, sigma_color: float, postprocess_window: int, sigma_dist_fix: float, sigma_color_fix: float, occ_thr: float, upscale_averaging_radius: int, upscale_sigma_dist: float, upscale_sigma_color: float, speed_up_thr: float, flow: cv2.UMat | None = ...) -> cv2.UMat: ...
|
|
259
|
+
|
|
260
|
+
@_typing.overload
|
|
261
|
+
def calcOpticalFlowSparseRLOF(prevImg: cv2.typing.MatLike, nextImg: cv2.typing.MatLike, prevPts: cv2.typing.MatLike, nextPts: cv2.typing.MatLike, status: cv2.typing.MatLike | None = ..., err: cv2.typing.MatLike | None = ..., rlofParam: RLOFOpticalFlowParameter = ..., forwardBackwardThreshold: float = ...) -> tuple[cv2.typing.MatLike, cv2.typing.MatLike, cv2.typing.MatLike]: ...
|
|
262
|
+
@_typing.overload
|
|
263
|
+
def calcOpticalFlowSparseRLOF(prevImg: cv2.UMat, nextImg: cv2.UMat, prevPts: cv2.UMat, nextPts: cv2.UMat, status: cv2.UMat | None = ..., err: cv2.UMat | None = ..., rlofParam: RLOFOpticalFlowParameter = ..., forwardBackwardThreshold: float = ...) -> tuple[cv2.UMat, cv2.UMat, cv2.UMat]: ...
|
|
264
|
+
|
|
265
|
+
@_typing.overload
|
|
266
|
+
def calcOpticalFlowSparseToDense(from_: cv2.typing.MatLike, to: cv2.typing.MatLike, flow: cv2.typing.MatLike | None = ..., grid_step: int = ..., k: int = ..., sigma: float = ..., use_post_proc: bool = ..., fgs_lambda: float = ..., fgs_sigma: float = ...) -> cv2.typing.MatLike: ...
|
|
267
|
+
@_typing.overload
|
|
268
|
+
def calcOpticalFlowSparseToDense(from_: cv2.UMat, to: cv2.UMat, flow: cv2.UMat | None = ..., grid_step: int = ..., k: int = ..., sigma: float = ..., use_post_proc: bool = ..., fgs_lambda: float = ..., fgs_sigma: float = ...) -> cv2.UMat: ...
|
|
269
|
+
|
|
270
|
+
def createOptFlow_DeepFlow() -> cv2.DenseOpticalFlow: ...
|
|
271
|
+
|
|
272
|
+
def createOptFlow_DenseRLOF() -> cv2.DenseOpticalFlow: ...
|
|
273
|
+
|
|
274
|
+
def createOptFlow_DualTVL1() -> DualTVL1OpticalFlow: ...
|
|
275
|
+
|
|
276
|
+
def createOptFlow_Farneback() -> cv2.DenseOpticalFlow: ...
|
|
277
|
+
|
|
278
|
+
def createOptFlow_PCAFlow() -> cv2.DenseOpticalFlow: ...
|
|
279
|
+
|
|
280
|
+
def createOptFlow_SimpleFlow() -> cv2.DenseOpticalFlow: ...
|
|
281
|
+
|
|
282
|
+
def createOptFlow_SparseRLOF() -> cv2.SparseOpticalFlow: ...
|
|
283
|
+
|
|
284
|
+
def createOptFlow_SparseToDense() -> cv2.DenseOpticalFlow: ...
|
|
285
|
+
|
|
286
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
__all__: list[str] = []
|
|
2
|
+
|
|
3
|
+
import cv2
|
|
4
|
+
import cv2.typing
|
|
5
|
+
import typing as _typing
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Classes
|
|
9
|
+
class HistogramPhaseUnwrapping(PhaseUnwrapping):
|
|
10
|
+
# Classes
|
|
11
|
+
class Params:
|
|
12
|
+
width: int
|
|
13
|
+
height: int
|
|
14
|
+
histThresh: float
|
|
15
|
+
nbrOfSmallBins: int
|
|
16
|
+
nbrOfLargeBins: int
|
|
17
|
+
|
|
18
|
+
# Functions
|
|
19
|
+
def __init__(self) -> None: ...
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# Functions
|
|
24
|
+
@classmethod
|
|
25
|
+
def create(cls, parameters: HistogramPhaseUnwrapping.Params = ...) -> HistogramPhaseUnwrapping: ...
|
|
26
|
+
|
|
27
|
+
@_typing.overload
|
|
28
|
+
def getInverseReliabilityMap(self, reliabilityMap: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
|
|
29
|
+
@_typing.overload
|
|
30
|
+
def getInverseReliabilityMap(self, reliabilityMap: cv2.UMat | None = ...) -> cv2.UMat: ...
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class PhaseUnwrapping(cv2.Algorithm):
|
|
34
|
+
# Functions
|
|
35
|
+
@_typing.overload
|
|
36
|
+
def unwrapPhaseMap(self, wrappedPhaseMap: cv2.typing.MatLike, unwrappedPhaseMap: cv2.typing.MatLike | None = ..., shadowMask: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
|
|
37
|
+
@_typing.overload
|
|
38
|
+
def unwrapPhaseMap(self, wrappedPhaseMap: cv2.UMat, unwrappedPhaseMap: cv2.UMat | None = ..., shadowMask: cv2.UMat | None = ...) -> cv2.UMat: ...
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
cv2/plot/__init__.pyi
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
__all__: list[str] = []
|
|
2
|
+
|
|
3
|
+
import cv2
|
|
4
|
+
import cv2.typing
|
|
5
|
+
import typing as _typing
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# Classes
|
|
9
|
+
class Plot2d(cv2.Algorithm):
|
|
10
|
+
# Functions
|
|
11
|
+
def setMinX(self, _plotMinX: float) -> None: ...
|
|
12
|
+
|
|
13
|
+
def setMinY(self, _plotMinY: float) -> None: ...
|
|
14
|
+
|
|
15
|
+
def setMaxX(self, _plotMaxX: float) -> None: ...
|
|
16
|
+
|
|
17
|
+
def setMaxY(self, _plotMaxY: float) -> None: ...
|
|
18
|
+
|
|
19
|
+
def setPlotLineWidth(self, _plotLineWidth: int) -> None: ...
|
|
20
|
+
|
|
21
|
+
def setNeedPlotLine(self, _needPlotLine: bool) -> None: ...
|
|
22
|
+
|
|
23
|
+
def setPlotLineColor(self, _plotLineColor: cv2.typing.Scalar) -> None: ...
|
|
24
|
+
|
|
25
|
+
def setPlotBackgroundColor(self, _plotBackgroundColor: cv2.typing.Scalar) -> None: ...
|
|
26
|
+
|
|
27
|
+
def setPlotAxisColor(self, _plotAxisColor: cv2.typing.Scalar) -> None: ...
|
|
28
|
+
|
|
29
|
+
def setPlotGridColor(self, _plotGridColor: cv2.typing.Scalar) -> None: ...
|
|
30
|
+
|
|
31
|
+
def setPlotTextColor(self, _plotTextColor: cv2.typing.Scalar) -> None: ...
|
|
32
|
+
|
|
33
|
+
def setPlotSize(self, _plotSizeWidth: int, _plotSizeHeight: int) -> None: ...
|
|
34
|
+
|
|
35
|
+
def setShowGrid(self, needShowGrid: bool) -> None: ...
|
|
36
|
+
|
|
37
|
+
def setShowText(self, needShowText: bool) -> None: ...
|
|
38
|
+
|
|
39
|
+
def setGridLinesNumber(self, gridLinesNumber: int) -> None: ...
|
|
40
|
+
|
|
41
|
+
def setInvertOrientation(self, _invertOrientation: bool) -> None: ...
|
|
42
|
+
|
|
43
|
+
def setPointIdxToPrint(self, pointIdx: int) -> None: ...
|
|
44
|
+
|
|
45
|
+
@_typing.overload
|
|
46
|
+
def render(self, _plotResult: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
|
|
47
|
+
@_typing.overload
|
|
48
|
+
def render(self, _plotResult: cv2.UMat | None = ...) -> cv2.UMat: ...
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
@_typing.overload
|
|
52
|
+
def create(cls, data: cv2.typing.MatLike) -> Plot2d: ...
|
|
53
|
+
@classmethod
|
|
54
|
+
@_typing.overload
|
|
55
|
+
def create(cls, data: cv2.UMat) -> Plot2d: ...
|
|
56
|
+
@classmethod
|
|
57
|
+
@_typing.overload
|
|
58
|
+
def create(cls, dataX: cv2.typing.MatLike, dataY: cv2.typing.MatLike) -> Plot2d: ...
|
|
59
|
+
@classmethod
|
|
60
|
+
@_typing.overload
|
|
61
|
+
def create(cls, dataX: cv2.UMat, dataY: cv2.UMat) -> Plot2d: ...
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
__all__: list[str] = []
|
|
2
|
+
|
|
3
|
+
import cv2.typing
|
|
4
|
+
import typing as _typing
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# Classes
|
|
8
|
+
class ICP:
|
|
9
|
+
# Functions
|
|
10
|
+
@_typing.overload
|
|
11
|
+
def __init__(self) -> None: ...
|
|
12
|
+
@_typing.overload
|
|
13
|
+
def __init__(self, iterations: int, tolerence: float = ..., rejectionScale: float = ..., numLevels: int = ..., sampleType: int = ..., numMaxCorr: int = ...) -> None: ...
|
|
14
|
+
|
|
15
|
+
@_typing.overload
|
|
16
|
+
def registerModelToScene(self, srcPC: cv2.typing.MatLike, dstPC: cv2.typing.MatLike) -> tuple[int, float, cv2.typing.Matx44d]: ...
|
|
17
|
+
@_typing.overload
|
|
18
|
+
def registerModelToScene(self, srcPC: cv2.typing.MatLike, dstPC: cv2.typing.MatLike, poses: _typing.Sequence[Pose3D]) -> tuple[int, _typing.Sequence[Pose3D]]: ...
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class Pose3D:
|
|
22
|
+
@property
|
|
23
|
+
def alpha(self) -> float: ...
|
|
24
|
+
@property
|
|
25
|
+
def residual(self) -> float: ...
|
|
26
|
+
@property
|
|
27
|
+
def modelIndex(self) -> int: ...
|
|
28
|
+
@property
|
|
29
|
+
def numVotes(self) -> int: ...
|
|
30
|
+
@property
|
|
31
|
+
def pose(self) -> cv2.typing.Matx44d: ...
|
|
32
|
+
@property
|
|
33
|
+
def angle(self) -> float: ...
|
|
34
|
+
@property
|
|
35
|
+
def t(self) -> cv2.typing.Vec3d: ...
|
|
36
|
+
@property
|
|
37
|
+
def q(self) -> cv2.typing.Vec4d: ...
|
|
38
|
+
|
|
39
|
+
# Functions
|
|
40
|
+
@_typing.overload
|
|
41
|
+
def __init__(self) -> None: ...
|
|
42
|
+
@_typing.overload
|
|
43
|
+
def __init__(self, Alpha: float, ModelIndex: int = ..., NumVotes: int = ...) -> None: ...
|
|
44
|
+
|
|
45
|
+
@_typing.overload
|
|
46
|
+
def updatePose(self, NewPose: cv2.typing.Matx44d) -> None: ...
|
|
47
|
+
@_typing.overload
|
|
48
|
+
def updatePose(self, NewR: cv2.typing.Matx33d, NewT: cv2.typing.Vec3d) -> None: ...
|
|
49
|
+
|
|
50
|
+
def updatePoseQuat(self, Q: cv2.typing.Vec4d, NewT: cv2.typing.Vec3d) -> None: ...
|
|
51
|
+
|
|
52
|
+
def appendPose(self, IncrementalPose: cv2.typing.Matx44d) -> None: ...
|
|
53
|
+
|
|
54
|
+
def printPose(self) -> None: ...
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class PoseCluster3D:
|
|
58
|
+
...
|
|
59
|
+
|
|
60
|
+
class PPF3DDetector:
|
|
61
|
+
# Functions
|
|
62
|
+
@_typing.overload
|
|
63
|
+
def __init__(self) -> None: ...
|
|
64
|
+
@_typing.overload
|
|
65
|
+
def __init__(self, relativeSamplingStep: float, relativeDistanceStep: float = ..., numAngles: float = ...) -> None: ...
|
|
66
|
+
|
|
67
|
+
def trainModel(self, Model: cv2.typing.MatLike) -> None: ...
|
|
68
|
+
|
|
69
|
+
def match(self, scene: cv2.typing.MatLike, relativeSceneSampleStep: float = ..., relativeSceneDistance: float = ...) -> _typing.Sequence[Pose3D]: ...
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
# Functions
|
|
74
|
+
def addNoisePC(pc: cv2.typing.MatLike, scale: float) -> cv2.typing.MatLike: ...
|
|
75
|
+
|
|
76
|
+
def computeNormalsPC3d(PC: cv2.typing.MatLike, NumNeighbors: int, FlipViewpoint: bool, viewpoint: cv2.typing.Vec3f, PCNormals: cv2.typing.MatLike | None = ...) -> tuple[int, cv2.typing.MatLike]: ...
|
|
77
|
+
|
|
78
|
+
def getRandomPose(Pose: cv2.typing.Matx44d) -> None: ...
|
|
79
|
+
|
|
80
|
+
def loadPLYSimple(fileName: str, withNormals: int = ...) -> cv2.typing.MatLike: ...
|
|
81
|
+
|
|
82
|
+
def samplePCByQuantization(pc: cv2.typing.MatLike, xrange: cv2.typing.Vec2f, yrange: cv2.typing.Vec2f, zrange: cv2.typing.Vec2f, sample_step_relative: float, weightByCenter: int = ...) -> cv2.typing.MatLike: ...
|
|
83
|
+
|
|
84
|
+
def transformPCPose(pc: cv2.typing.MatLike, Pose: cv2.typing.Matx44d) -> cv2.typing.MatLike: ...
|
|
85
|
+
|
|
86
|
+
def writePLY(PC: cv2.typing.MatLike, fileName: str) -> None: ...
|
|
87
|
+
|
|
88
|
+
def writePLYVisibleNormals(PC: cv2.typing.MatLike, fileName: str) -> None: ...
|
|
89
|
+
|
|
90
|
+
|
cv2/py.typed
ADDED
|
File without changes
|
cv2/quality/__init__.pyi
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
__all__: list[str] = []
|
|
2
|
+
|
|
3
|
+
import cv2
|
|
4
|
+
import cv2.ml
|
|
5
|
+
import cv2.typing
|
|
6
|
+
import typing as _typing
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# Classes
|
|
10
|
+
class QualityBase(cv2.Algorithm):
|
|
11
|
+
# Functions
|
|
12
|
+
@_typing.overload
|
|
13
|
+
def compute(self, img: cv2.typing.MatLike) -> cv2.typing.Scalar: ...
|
|
14
|
+
@_typing.overload
|
|
15
|
+
def compute(self, img: cv2.UMat) -> cv2.typing.Scalar: ...
|
|
16
|
+
|
|
17
|
+
@_typing.overload
|
|
18
|
+
def getQualityMap(self, dst: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
|
|
19
|
+
@_typing.overload
|
|
20
|
+
def getQualityMap(self, dst: cv2.UMat | None = ...) -> cv2.UMat: ...
|
|
21
|
+
|
|
22
|
+
def clear(self) -> None: ...
|
|
23
|
+
|
|
24
|
+
def empty(self) -> bool: ...
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class QualityBRISQUE(QualityBase):
|
|
28
|
+
# Functions
|
|
29
|
+
@_typing.overload
|
|
30
|
+
def compute(self, img: cv2.typing.MatLike) -> cv2.typing.Scalar: ...
|
|
31
|
+
@_typing.overload
|
|
32
|
+
def compute(self, img: cv2.UMat) -> cv2.typing.Scalar: ...
|
|
33
|
+
@_typing.overload
|
|
34
|
+
def compute(self, img: cv2.typing.MatLike, model_file_path: str, range_file_path: str) -> cv2.typing.Scalar: ...
|
|
35
|
+
@_typing.overload
|
|
36
|
+
def compute(self, img: cv2.UMat, model_file_path: str, range_file_path: str) -> cv2.typing.Scalar: ...
|
|
37
|
+
|
|
38
|
+
@classmethod
|
|
39
|
+
@_typing.overload
|
|
40
|
+
def create(cls, model_file_path: str, range_file_path: str) -> QualityBRISQUE: ...
|
|
41
|
+
@classmethod
|
|
42
|
+
@_typing.overload
|
|
43
|
+
def create(cls, model: cv2.ml.SVM, range: cv2.typing.MatLike) -> QualityBRISQUE: ...
|
|
44
|
+
|
|
45
|
+
@staticmethod
|
|
46
|
+
@_typing.overload
|
|
47
|
+
def computeFeatures(img: cv2.typing.MatLike, features: cv2.typing.MatLike | None = ...) -> cv2.typing.MatLike: ...
|
|
48
|
+
@staticmethod
|
|
49
|
+
@_typing.overload
|
|
50
|
+
def computeFeatures(img: cv2.UMat, features: cv2.UMat | None = ...) -> cv2.UMat: ...
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class QualityGMSD(QualityBase):
|
|
54
|
+
# Functions
|
|
55
|
+
@_typing.overload
|
|
56
|
+
def compute(self, cmp: cv2.typing.MatLike) -> cv2.typing.Scalar: ...
|
|
57
|
+
@_typing.overload
|
|
58
|
+
def compute(self, cmp: cv2.UMat) -> cv2.typing.Scalar: ...
|
|
59
|
+
@_typing.overload
|
|
60
|
+
def compute(self, ref: cv2.typing.MatLike, cmp: cv2.typing.MatLike, qualityMap: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.Scalar, cv2.typing.MatLike]: ...
|
|
61
|
+
@_typing.overload
|
|
62
|
+
def compute(self, ref: cv2.UMat, cmp: cv2.UMat, qualityMap: cv2.UMat | None = ...) -> tuple[cv2.typing.Scalar, cv2.UMat]: ...
|
|
63
|
+
|
|
64
|
+
def empty(self) -> bool: ...
|
|
65
|
+
|
|
66
|
+
def clear(self) -> None: ...
|
|
67
|
+
|
|
68
|
+
@classmethod
|
|
69
|
+
@_typing.overload
|
|
70
|
+
def create(cls, ref: cv2.typing.MatLike) -> QualityGMSD: ...
|
|
71
|
+
@classmethod
|
|
72
|
+
@_typing.overload
|
|
73
|
+
def create(cls, ref: cv2.UMat) -> QualityGMSD: ...
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class QualityMSE(QualityBase):
|
|
77
|
+
# Functions
|
|
78
|
+
@_typing.overload
|
|
79
|
+
def compute(self, cmpImgs: _typing.Sequence[cv2.typing.MatLike]) -> cv2.typing.Scalar: ...
|
|
80
|
+
@_typing.overload
|
|
81
|
+
def compute(self, cmpImgs: _typing.Sequence[cv2.UMat]) -> cv2.typing.Scalar: ...
|
|
82
|
+
@_typing.overload
|
|
83
|
+
def compute(self, ref: cv2.typing.MatLike, cmp: cv2.typing.MatLike, qualityMap: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.Scalar, cv2.typing.MatLike]: ...
|
|
84
|
+
@_typing.overload
|
|
85
|
+
def compute(self, ref: cv2.UMat, cmp: cv2.UMat, qualityMap: cv2.UMat | None = ...) -> tuple[cv2.typing.Scalar, cv2.UMat]: ...
|
|
86
|
+
|
|
87
|
+
def empty(self) -> bool: ...
|
|
88
|
+
|
|
89
|
+
def clear(self) -> None: ...
|
|
90
|
+
|
|
91
|
+
@classmethod
|
|
92
|
+
@_typing.overload
|
|
93
|
+
def create(cls, ref: cv2.typing.MatLike) -> QualityMSE: ...
|
|
94
|
+
@classmethod
|
|
95
|
+
@_typing.overload
|
|
96
|
+
def create(cls, ref: cv2.UMat) -> QualityMSE: ...
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class QualityPSNR(QualityBase):
|
|
100
|
+
# Functions
|
|
101
|
+
@classmethod
|
|
102
|
+
@_typing.overload
|
|
103
|
+
def create(cls, ref: cv2.typing.MatLike, maxPixelValue: float = ...) -> QualityPSNR: ...
|
|
104
|
+
@classmethod
|
|
105
|
+
@_typing.overload
|
|
106
|
+
def create(cls, ref: cv2.UMat, maxPixelValue: float = ...) -> QualityPSNR: ...
|
|
107
|
+
|
|
108
|
+
@_typing.overload
|
|
109
|
+
def compute(self, cmp: cv2.typing.MatLike) -> cv2.typing.Scalar: ...
|
|
110
|
+
@_typing.overload
|
|
111
|
+
def compute(self, cmp: cv2.UMat) -> cv2.typing.Scalar: ...
|
|
112
|
+
@_typing.overload
|
|
113
|
+
def compute(self, ref: cv2.typing.MatLike, cmp: cv2.typing.MatLike, qualityMap: cv2.typing.MatLike | None = ..., maxPixelValue: float = ...) -> tuple[cv2.typing.Scalar, cv2.typing.MatLike]: ...
|
|
114
|
+
@_typing.overload
|
|
115
|
+
def compute(self, ref: cv2.UMat, cmp: cv2.UMat, qualityMap: cv2.UMat | None = ..., maxPixelValue: float = ...) -> tuple[cv2.typing.Scalar, cv2.UMat]: ...
|
|
116
|
+
|
|
117
|
+
def empty(self) -> bool: ...
|
|
118
|
+
|
|
119
|
+
def clear(self) -> None: ...
|
|
120
|
+
|
|
121
|
+
def getMaxPixelValue(self) -> float: ...
|
|
122
|
+
|
|
123
|
+
def setMaxPixelValue(self, val: float) -> None: ...
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
class QualitySSIM(QualityBase):
|
|
127
|
+
# Functions
|
|
128
|
+
@_typing.overload
|
|
129
|
+
def compute(self, cmp: cv2.typing.MatLike) -> cv2.typing.Scalar: ...
|
|
130
|
+
@_typing.overload
|
|
131
|
+
def compute(self, cmp: cv2.UMat) -> cv2.typing.Scalar: ...
|
|
132
|
+
@_typing.overload
|
|
133
|
+
def compute(self, ref: cv2.typing.MatLike, cmp: cv2.typing.MatLike, qualityMap: cv2.typing.MatLike | None = ...) -> tuple[cv2.typing.Scalar, cv2.typing.MatLike]: ...
|
|
134
|
+
@_typing.overload
|
|
135
|
+
def compute(self, ref: cv2.UMat, cmp: cv2.UMat, qualityMap: cv2.UMat | None = ...) -> tuple[cv2.typing.Scalar, cv2.UMat]: ...
|
|
136
|
+
|
|
137
|
+
def empty(self) -> bool: ...
|
|
138
|
+
|
|
139
|
+
def clear(self) -> None: ...
|
|
140
|
+
|
|
141
|
+
@classmethod
|
|
142
|
+
@_typing.overload
|
|
143
|
+
def create(cls, ref: cv2.typing.MatLike) -> QualitySSIM: ...
|
|
144
|
+
@classmethod
|
|
145
|
+
@_typing.overload
|
|
146
|
+
def create(cls, ref: cv2.UMat) -> QualitySSIM: ...
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|