Skip to content

Commit 454434b

Browse files
committed
Cudaarithm python bindings for merge and split are inconsistent with the format of existing cuda python functions. Split does not return its output and merg's documentation is incorrect.
1 parent d486e41 commit 454434b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/cudaarithm/include/opencv2/cudaarithm.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ CV_EXPORTS_W void polarToCart(InputArray magnitude, InputArray angle, OutputArra
438438
439439
@sa merge
440440
*/
441-
CV_EXPORTS_W void merge(const GpuMat* src, size_t n, OutputArray dst, Stream& stream = Stream::Null());
441+
CV_EXPORTS void merge(const GpuMat* src, size_t n, OutputArray dst, Stream& stream = Stream::Null());
442442
/** @overload */
443443
CV_EXPORTS_W void merge(const std::vector<GpuMat>& src, OutputArray dst, Stream& stream = Stream::Null());
444444

@@ -450,9 +450,9 @@ CV_EXPORTS_W void merge(const std::vector<GpuMat>& src, OutputArray dst, Stream&
450450
451451
@sa split
452452
*/
453-
CV_EXPORTS_W void split(InputArray src, GpuMat* dst, Stream& stream = Stream::Null());
453+
CV_EXPORTS void split(InputArray src, GpuMat* dst, Stream& stream = Stream::Null());
454454
/** @overload */
455-
CV_EXPORTS_W void split(InputArray src, std::vector<GpuMat>& dst, Stream& stream = Stream::Null());
455+
CV_EXPORTS_W void split(InputArray src, CV_OUT std::vector<GpuMat>& dst, Stream& stream = Stream::Null());
456456

457457
/** @brief Transposes a matrix.
458458

0 commit comments

Comments
 (0)