You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use field `user_block_size` to set specific block size for :ocv:func:`gpu::convolve` function. If you leave its default value `Size(0,0)` then automatic estimation of block size will be used (which is optimized for speed). By varying `user_block_size` you can reduce memory requirements at the cost of speed.
:param src: Source image. Only ``CV_8UC1`` images are supported for now.
208
-
209
-
:param sqsum: Squared integral image containing 64-bit unsigned integer values packed into ``CV_64FC1`` .
210
-
211
-
:param stream: Stream for the asynchronous version.
170
+
:param user_block_size: Block size. If you leave default value `Size(0,0)` then automatic estimation of block size will be used (which is optimized for speed). By varying `user_block_size` you can reduce memory requirements at the cost of speed.
@@ -43,86 +43,108 @@ Copies each plane of a multi-channel matrix into an array.
43
43
44
44
45
45
46
-
gpu::copyMakeBorder
47
-
-----------------------
48
-
Forms a border around an image.
46
+
gpu::transpose
47
+
--------------
48
+
Transposes a matrix.
49
49
50
-
.. ocv:function:: void gpu::copyMakeBorder(const GpuMat& src, GpuMat& dst, int top, int bottom, int left, int right, int borderType, const Scalar& value = Scalar(), Stream& stream = Stream::Null())
:param src: Source image. ``CV_8UC1`` , ``CV_8UC4`` , ``CV_32SC1`` , and ``CV_32FC1`` types are supported.
52
+
:param src1: Source matrix. 1-, 4-, 8-byte element sizes are supported for now.
53
53
54
-
:param dst: Destination image with the same type as ``src``. The size is ``Size(src.cols+left+right, src.rows+top+bottom)`` .
54
+
:param dst: Destination matrix.
55
55
56
-
:param top:
56
+
:param stream: Stream for the asynchronous version.
57
57
58
-
:param bottom:
58
+
.. seealso:: :ocv:func:`transpose`
59
59
60
-
:param left:
61
60
62
-
:param right: Number of pixels in each direction from the source image rectangle to extrapolate. For example: ``top=1, bottom=1, left=1, right=1`` mean that 1 pixel-wide border needs to be built.
63
61
64
-
:param borderType: Border type. See :ocv:func:`borderInterpolate` for details. ``BORDER_REFLECT101`` , ``BORDER_REPLICATE`` , ``BORDER_CONSTANT`` , ``BORDER_REFLECT`` and ``BORDER_WRAP`` are supported for now.
62
+
gpu::flip
63
+
---------
64
+
Flips a 2D matrix around vertical, horizontal, or both axes.
:param lut: Look-up table of 256 elements. It is a continuous ``CV_8U`` matrix.
119
123
120
-
:param src: Source matrix. ``CV_8UC1`` and ``CV_8UC3`` matrices are supported for now.
121
124
122
-
:param lut: Look-up table of 256 elements. It is a continuous ``CV_8U`` matrix.
123
125
124
-
:param dst: Destination matrix with the same depth as ``lut`` and the same number of channels as ``src`` .
126
+
gpu::copyMakeBorder
127
+
-----------------------
128
+
Forms a border around an image.
129
+
130
+
.. ocv:function:: void gpu::copyMakeBorder(InputArray src, OutputArray dst, int top, int bottom, int left, int right, int borderType, Scalar value = Scalar(), Stream& stream = Stream::Null())
131
+
132
+
:param src: Source image. ``CV_8UC1`` , ``CV_8UC4`` , ``CV_32SC1`` , and ``CV_32FC1`` types are supported.
133
+
134
+
:param dst: Destination image with the same type as ``src``. The size is ``Size(src.cols+left+right, src.rows+top+bottom)`` .
135
+
136
+
:param top:
137
+
138
+
:param bottom:
139
+
140
+
:param left:
141
+
142
+
:param right: Number of pixels in each direction from the source image rectangle to extrapolate. For example: ``top=1, bottom=1, left=1, right=1`` mean that 1 pixel-wide border needs to be built.
143
+
144
+
:param borderType: Border type. See :ocv:func:`borderInterpolate` for details. ``BORDER_REFLECT101`` , ``BORDER_REPLICATE`` , ``BORDER_CONSTANT`` , ``BORDER_REFLECT`` and ``BORDER_WRAP`` are supported for now.
145
+
146
+
:param value: Border value.
125
147
126
148
:param stream: Stream for the asynchronous version.
0 commit comments