platform/upstream/opencv.git
4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 14 Feb 2020 16:25:45 +0000 (19:25 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16561 from vpisarev:better_hough_circles
Vadim Pisarevsky [Fri, 14 Feb 2020 16:16:41 +0000 (19:16 +0300)]
Merge pull request #16561 from vpisarev:better_hough_circles

* improved version of HoughCircles (HOUGH_GRADIENT_ALT method)

* trying to fix build problems on Windows

* fixed typo

* * fixed warnings on Windows
* make use of param2. make it minCos2 (minimal value of squared cosine between the gradient at the pixel edge and the vector connecting it with circle center). with minCos2=0.85 we can detect some more eyes :)

* * added description of HOUGH_GRADIENT_ALT
* cleaned up the implementation; added comments, replaced built-in numeic constants with symbolic constants
* rewrote circle_popcount() to use built-in popcount() if possible
* modified some of HoughCircles tests to use method parameter instead of the built-in loop

* fixed warnings on Windows

4 years agoMerge pull request #16580 from dkurt:fix_14566
Alexander Alekhin [Fri, 14 Feb 2020 16:11:36 +0000 (16:11 +0000)]
Merge pull request #16580 from dkurt:fix_14566

4 years agoResolve #14566
Dmitry Kurtaev [Thu, 13 Feb 2020 21:21:38 +0000 (00:21 +0300)]
Resolve #14566

4 years agoMerge pull request #16559 from alalek:cmake_msvc_mp_customize
Alexander Alekhin [Thu, 13 Feb 2020 19:28:56 +0000 (19:28 +0000)]
Merge pull request #16559 from alalek:cmake_msvc_mp_customize

4 years agoMerge pull request #16567 from alalek:dnn_updates_from_openvino_2020.1
Alexander Alekhin [Wed, 12 Feb 2020 18:17:44 +0000 (18:17 +0000)]
Merge pull request #16567 from alalek:dnn_updates_from_openvino_2020.1

4 years agodnn: turn off visibility workaround for OpenVINO 2020.1
Alexander Alekhin [Wed, 12 Feb 2020 14:22:44 +0000 (17:22 +0300)]
dnn: turn off visibility workaround for OpenVINO 2020.1

4 years agodnn: use OpenVINO 2020.1 defines
Alexander Alekhin [Tue, 14 Jan 2020 13:20:12 +0000 (16:20 +0300)]
dnn: use OpenVINO 2020.1 defines

4 years agocmake: update handling of MSVC /MP flag
Alexander Alekhin [Tue, 11 Feb 2020 14:24:52 +0000 (17:24 +0300)]
cmake: update handling of MSVC /MP flag

4 years agoMerge pull request #16516 from alalek:dnn_dump_network
Alexander Alekhin [Tue, 11 Feb 2020 16:22:32 +0000 (16:22 +0000)]
Merge pull request #16516 from alalek:dnn_dump_network

4 years agoMerge pull request #16488 from vpisarev:filestorage_longlines
Vadim Pisarevsky [Tue, 11 Feb 2020 15:46:15 +0000 (18:46 +0300)]
Merge pull request #16488 from vpisarev:filestorage_longlines

trying to fix handling file storages with extremely long lines

* trying to fix handling of file storages with extremely long lines: https://github.com/opencv/opencv/issues/11061

* * fixed errorneous pointer access in JSON parser.
* it's now crash-test time! temporarily set the initial parser buffer size to just 40 bytes. let's run all the test and check if the buffer is always correctly resized and handled

* fixed pointer use in JSON parser; added the proper test to catch this case

* fixed the test to make it more challenging. generate test json with
*
**
***
etc. shape

4 years agoMerge pull request #16552 from dkurt:3.4_docs
Alexander Alekhin [Tue, 11 Feb 2020 10:03:12 +0000 (10:03 +0000)]
Merge pull request #16552 from dkurt:3.4_docs

4 years agoMerge pull request #16549 from rayonnant14:objdetect_QRCode_issue_memory_allocation
Alexander Alekhin [Tue, 11 Feb 2020 10:02:52 +0000 (10:02 +0000)]
Merge pull request #16549 from rayonnant14:objdetect_QRCode_issue_memory_allocation

4 years ago3.4 docs for 3.4 branch
Dmitry Kurtaev [Tue, 11 Feb 2020 06:31:16 +0000 (09:31 +0300)]
3.4 docs for 3.4 branch

4 years agofix wrong memory allocation
rayonnant14 [Mon, 10 Feb 2020 17:21:58 +0000 (20:21 +0300)]
fix wrong memory allocation

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Mon, 10 Feb 2020 16:40:29 +0000 (19:40 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16542 from asmorkalov:asmorkal/base64_json
Alexander Alekhin [Mon, 10 Feb 2020 16:28:55 +0000 (16:28 +0000)]
Merge pull request #16542 from asmorkalov:asmorkal/base64_json

4 years agoMerge pull request #16539 from baka-gori:bugfix_cudacodec
Alexander Alekhin [Mon, 10 Feb 2020 16:28:31 +0000 (16:28 +0000)]
Merge pull request #16539 from baka-gori:bugfix_cudacodec

4 years agoMerge pull request #16531 from paroj:featlinepy
Alexander Alekhin [Mon, 10 Feb 2020 16:28:07 +0000 (16:28 +0000)]
Merge pull request #16531 from paroj:featlinepy

4 years agoMerge pull request #16527 from mshabunin:fix-msmf-fmt-34
Alexander Alekhin [Mon, 10 Feb 2020 16:27:00 +0000 (16:27 +0000)]
Merge pull request #16527 from mshabunin:fix-msmf-fmt-34

4 years agoMerge pull request #16520 from GArik:3.4
Alexander Alekhin [Mon, 10 Feb 2020 16:25:30 +0000 (16:25 +0000)]
Merge pull request #16520 from GArik:3.4

4 years agoMerge pull request #16505 from alalek:issue_16326
Alexander Alekhin [Mon, 10 Feb 2020 15:51:49 +0000 (15:51 +0000)]
Merge pull request #16505 from alalek:issue_16326

4 years agoMerge pull request #16546 from alalek:backport_16544
Alexander Alekhin [Mon, 10 Feb 2020 15:49:11 +0000 (15:49 +0000)]
Merge pull request #16546 from alalek:backport_16544

4 years agoCMAKE: more robust custom IE libraries support
Ilya Lavrenov [Fri, 7 Feb 2020 15:10:14 +0000 (18:10 +0300)]
CMAKE: more robust custom IE libraries support

backporting of commit 98d96f2cc84ea4192e278125b431eb2ced29b786

4 years agoMerge pull request #16544 from ilya-lavrenov:il/custom-ie-libraries
Alexander Alekhin [Mon, 10 Feb 2020 14:09:43 +0000 (14:09 +0000)]
Merge pull request #16544 from ilya-lavrenov:il/custom-ie-libraries

4 years agocore: export getCPUFeaturesLine to bindings
Pavel Rojtberg [Fri, 7 Feb 2020 14:59:34 +0000 (15:59 +0100)]
core: export getCPUFeaturesLine to bindings

4 years agoCMAKE: more robust custom IE libraries support
Ilya Lavrenov [Fri, 7 Feb 2020 15:10:14 +0000 (18:10 +0300)]
CMAKE: more robust custom IE libraries support

4 years agoImplemented BASE64 support in cv::FileStorage parser.
Alexander Smorkalov [Mon, 10 Feb 2020 08:38:19 +0000 (11:38 +0300)]
Implemented BASE64 support in cv::FileStorage parser.

4 years agoadd cuda 10 support
baka-gori [Sun, 9 Feb 2020 13:18:29 +0000 (22:18 +0900)]
add cuda 10 support

4 years agoMerge pull request #16473 from ashishkrshrivastava:opencvtf
Alexander Alekhin [Sun, 9 Feb 2020 08:52:24 +0000 (11:52 +0300)]
Merge pull request #16473 from ashishkrshrivastava:opencvtf

4 years agocommit: Corrected end tensor_content parsing for StridedSlice layer.
ashishiva3@gmail.com [Fri, 31 Jan 2020 19:10:03 +0000 (00:40 +0530)]
commit: Corrected end tensor_content parsing for StridedSlice layer.

4 years agoMerge pull request #16486 from alalek:cmake_use_target_compile_features
Alexander Alekhin [Sat, 8 Feb 2020 20:01:12 +0000 (20:01 +0000)]
Merge pull request #16486 from alalek:cmake_use_target_compile_features

4 years agoMerge pull request #16463 from alalek:core_strong_ptr_alignment
Alexander Alekhin [Sat, 8 Feb 2020 19:45:42 +0000 (19:45 +0000)]
Merge pull request #16463 from alalek:core_strong_ptr_alignment

4 years agoMerge pull request #16529 from alalek:dnn_skip_failed_ngraph_tests
Alexander Alekhin [Sat, 8 Feb 2020 18:53:10 +0000 (18:53 +0000)]
Merge pull request #16529 from alalek:dnn_skip_failed_ngraph_tests

4 years agodnn(test): skip failed ngraph tests
Alexander Alekhin [Fri, 7 Feb 2020 13:40:50 +0000 (16:40 +0300)]
dnn(test): skip failed ngraph tests

4 years agoMerge pull request #16421 from mshabunin:add-local-pool
Alexander Alekhin [Fri, 7 Feb 2020 21:44:50 +0000 (21:44 +0000)]
Merge pull request #16421 from mshabunin:add-local-pool

4 years agovideoio/MSMF: refactored format handling and selection, property reading and writing
Maksim Shabunin [Fri, 7 Feb 2020 12:03:20 +0000 (15:03 +0300)]
videoio/MSMF: refactored format handling and selection, property reading and writing

4 years agoMerge pull request #16530 from collinbrake:imread_unchanged_exif_doc
Alexander Alekhin [Fri, 7 Feb 2020 20:37:44 +0000 (20:37 +0000)]
Merge pull request #16530 from collinbrake:imread_unchanged_exif_doc

4 years agoMerge pull request #16438 from ashishkrshrivastava:opencvc
Alexander Alekhin [Fri, 7 Feb 2020 20:17:59 +0000 (23:17 +0300)]
Merge pull request #16438 from ashishkrshrivastava:opencvc

4 years agoimproved documentation for imread()
Collin Brake [Fri, 7 Feb 2020 13:54:34 +0000 (08:54 -0500)]
improved documentation for imread()

4 years agoBufferArea: initial version, usage in StereoBM
Maksim Shabunin [Thu, 23 Jan 2020 11:25:58 +0000 (14:25 +0300)]
BufferArea: initial version, usage in StereoBM

New class BufferArea is used to hide complexity of buffers allocations and allow instrumentation with valgrind and sanitizers.

4 years agoMerge pull request #16510 from andrey-golubev:unify_g_typed_kernel
Alexander Alekhin [Fri, 7 Feb 2020 11:22:23 +0000 (11:22 +0000)]
Merge pull request #16510 from andrey-golubev:unify_g_typed_kernel

4 years agoMerge pull request #16523 from collinbrake:imread_unchanged_exif_doc
Alexander Alekhin [Fri, 7 Feb 2020 10:42:39 +0000 (10:42 +0000)]
Merge pull request #16523 from collinbrake:imread_unchanged_exif_doc

4 years agoMerge pull request #16522 from alalek:dnn_build_warnings_from_ngraph
Alexander Alekhin [Fri, 7 Feb 2020 10:33:00 +0000 (10:33 +0000)]
Merge pull request #16522 from alalek:dnn_build_warnings_from_ngraph

4 years agoAdded parsing for Connected and Dropout. Modified maxpool padding
ashishiva3@gmail.com [Sun, 26 Jan 2020 11:32:13 +0000 (17:02 +0530)]
Added parsing for Connected and Dropout. Modified maxpool padding

4 years agoimproved documentation for IMREAD_UNCHANGED flag
Collin Brake [Thu, 6 Feb 2020 22:49:14 +0000 (17:49 -0500)]
improved documentation for IMREAD_UNCHANGED flag

4 years agodnn: eliminate MSVC warnings from ngraph.hpp
Alexander Alekhin [Thu, 6 Feb 2020 19:35:11 +0000 (22:35 +0300)]
dnn: eliminate MSVC warnings from ngraph.hpp

4 years agoMerge pull request #16509 from omasaht:imwrite-throwerr-permissiondenied
Alexander Alekhin [Thu, 6 Feb 2020 19:32:09 +0000 (19:32 +0000)]
Merge pull request #16509 from omasaht:imwrite-throwerr-permissiondenied

4 years agoInstall all CMake files required to build samples
Igor Murzov [Thu, 6 Feb 2020 15:04:09 +0000 (18:04 +0300)]
Install all CMake files required to build samples

CMakeLists.txt includes samples_utils.cmake, so the later should be
installed as well to make samples build successfully

4 years agoMerge pull request #16519 from TolyaTalamanov:at/fix-render-text-slowdown
Alexander Alekhin [Thu, 6 Feb 2020 13:38:21 +0000 (13:38 +0000)]
Merge pull request #16519 from TolyaTalamanov:at/fix-render-text-slowdown

4 years agoFix render opencv backend text slowdown
Talamanov, Anatoliy [Thu, 6 Feb 2020 12:12:38 +0000 (15:12 +0300)]
Fix render opencv backend text slowdown

4 years agoMerge pull request #16518 from asmorkalov:as/gstreamer_docs
Alexander Alekhin [Thu, 6 Feb 2020 11:38:27 +0000 (11:38 +0000)]
Merge pull request #16518 from asmorkalov:as/gstreamer_docs

4 years agoImproved GStreamer documentation.
Alexander Smorkalov [Thu, 6 Feb 2020 09:51:09 +0000 (12:51 +0300)]
Improved GStreamer documentation.

4 years agodnn: auto network dump through parameter
Alexander Alekhin [Wed, 5 Feb 2020 21:20:10 +0000 (21:20 +0000)]
dnn: auto network dump through parameter

4 years agodnn: don't require setInput in .dump()
Alexander Alekhin [Wed, 5 Feb 2020 19:22:37 +0000 (19:22 +0000)]
dnn: don't require setInput in .dump()

4 years agoIf applied, this commit will describe permission denied message in imwrite_ function...
Omar Hassan [Wed, 5 Feb 2020 09:16:45 +0000 (14:16 +0500)]
If applied, this commit will describe permission denied message in imwrite_ function when user does not have write permission

4 years agoUpdate documentation and clean up redundant code
Andrey Golubev [Wed, 5 Feb 2020 13:01:42 +0000 (15:01 +0200)]
Update documentation and clean up redundant code

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 4 Feb 2020 16:49:24 +0000 (19:49 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16490 from dkurt:dnn_refactor_resize
Alexander Alekhin [Tue, 4 Feb 2020 16:45:35 +0000 (16:45 +0000)]
Merge pull request #16490 from dkurt:dnn_refactor_resize

4 years agoMerge pull request #16504 from alalek:issue_16501
Alexander Alekhin [Tue, 4 Feb 2020 16:39:17 +0000 (16:39 +0000)]
Merge pull request #16504 from alalek:issue_16501

4 years agoMerge pull request #16495 from vpisarev:drawing_aa_border_fix
Vadim Pisarevsky [Tue, 4 Feb 2020 16:37:33 +0000 (19:37 +0300)]
Merge pull request #16495 from vpisarev:drawing_aa_border_fix

* fixed antialiased line rendering to process image border correctly

* fixed warning on Windows

* imgproc(test): circle drawing regression

4 years agoMerge pull request #16491 from rayonnant14:objdetect_decodeMulti_issue
Polina Smolnikova [Tue, 4 Feb 2020 16:31:11 +0000 (19:31 +0300)]
Merge pull request #16491 from rayonnant14:objdetect_decodeMulti_issue

* fixed issue with Mat reshape in decodeMulti()

* added test for decodeMulti

* used assign

4 years agocmake: hide IPPICV symbols using --exclude-libs
Alexander Alekhin [Tue, 4 Feb 2020 15:10:00 +0000 (18:10 +0300)]
cmake: hide IPPICV symbols using --exclude-libs

4 years agoimgproc(resize): drop optimization for channels>4
Alexander Alekhin [Tue, 4 Feb 2020 14:14:52 +0000 (17:14 +0300)]
imgproc(resize): drop optimization for channels>4

4 years agoMerge pull request #16499 from ankit6979:3.4
ankit6979 [Tue, 4 Feb 2020 12:22:18 +0000 (17:52 +0530)]
Merge pull request #16499 from ankit6979:3.4

* Update py_thresholding.markdown

* :memo: Update py_thresholding.markdown

4 years agoMerge pull request #16502 from tomoaki0705:fixTypo
Alexander Alekhin [Tue, 4 Feb 2020 12:18:50 +0000 (12:18 +0000)]
Merge pull request #16502 from tomoaki0705:fixTypo

4 years agoMerge pull request #16442 from asmorkalov:as/pr_template_checklist
Alexander Alekhin [Tue, 4 Feb 2020 12:17:00 +0000 (12:17 +0000)]
Merge pull request #16442 from asmorkalov:as/pr_template_checklist

4 years agoMerge pull request #16487 from asmorkalov:as/gapi_freetype
Alexander Alekhin [Tue, 4 Feb 2020 11:40:15 +0000 (11:40 +0000)]
Merge pull request #16487 from asmorkalov:as/gapi_freetype

4 years agoMerge pull request #16493 from vpisarev:bordertype_sgbm_doc_fixes
Vadim Pisarevsky [Tue, 4 Feb 2020 11:30:16 +0000 (14:30 +0300)]
Merge pull request #16493 from vpisarev:bordertype_sgbm_doc_fixes

* added note about BORDER_TYPE in separable filters; fixed SGBMStereo description

* added # to BORDER_ constants to generate hyperlinks

4 years agoMerge pull request #16496 from andrey-golubev:unify_g_typed_kernel
Alexander Alekhin [Tue, 4 Feb 2020 11:11:38 +0000 (11:11 +0000)]
Merge pull request #16496 from andrey-golubev:unify_g_typed_kernel

4 years agoapply to correct range (entire 3.0 and 4.0 series)
Tomoaki Teshima [Tue, 4 Feb 2020 09:49:19 +0000 (18:49 +0900)]
apply to correct range (entire 3.0 and 4.0 series)

4 years agoFix dnn::ResizeLayer to manage varying input shapes
Dmitry Kurtaev [Mon, 3 Feb 2020 15:54:59 +0000 (18:54 +0300)]
Fix dnn::ResizeLayer to manage varying input shapes

4 years agoAdded PR readiness checklist.
Alexander Smorkalov [Mon, 27 Jan 2020 11:49:24 +0000 (14:49 +0300)]
Added PR readiness checklist.

4 years agoUnify G_TYPED_KERNEL and G_TYPED_KERNEL_M
Andrey Golubev [Tue, 4 Feb 2020 00:16:51 +0000 (02:16 +0200)]
Unify G_TYPED_KERNEL and G_TYPED_KERNEL_M

4 years agocmake: enable C++11 implicitly
Alexander Alekhin [Mon, 3 Feb 2020 12:38:08 +0000 (15:38 +0300)]
cmake: enable C++11 implicitly

4 years agoMerge pull request #16483 from saskatchewancatch:issue-16458
Alexander Alekhin [Mon, 3 Feb 2020 13:49:21 +0000 (13:49 +0000)]
Merge pull request #16483 from saskatchewancatch:issue-16458

4 years agoFixed build with FREETYPE and without tests.
Alexander Smorkalov [Mon, 3 Feb 2020 13:41:31 +0000 (16:41 +0300)]
Fixed build with FREETYPE and without tests.

4 years agoMerge pull request #16481 from hannesa2:DeleteOldAndroidManifest.xml
hannesa2 [Mon, 3 Feb 2020 13:34:03 +0000 (14:34 +0100)]
Merge pull request #16481 from hannesa2:DeleteOldAndroidManifest.xml

* delete old AndroidManifrst.xml

* fix tutorial generation

4 years agoMerge pull request #15464 from tallestorange:3.4
Alexander Alekhin [Mon, 3 Feb 2020 12:54:03 +0000 (12:54 +0000)]
Merge pull request #15464 from tallestorange:3.4

4 years agofixed incorrect dump of the pixel format
Vadim Pisarevsky [Mon, 3 Feb 2020 10:22:56 +0000 (13:22 +0300)]
fixed incorrect dump of the pixel format

4 years agoGCC 10 warnings not caught by CMake ignore regex
Rajkiran Natarajan [Mon, 3 Feb 2020 06:39:14 +0000 (06:39 +0000)]
GCC 10 warnings not caught by CMake ignore regex

4 years agoMerge pull request #16479 from StefanBruens:fix_gles_glx_h_include
StefanBruens [Sun, 2 Feb 2020 13:29:04 +0000 (14:29 +0100)]
Merge pull request #16479 from StefanBruens:fix_gles_glx_h_include

Fix compilation errors on GLES platforms

* Do not include glx.h when using GLES

GL/glx.h is included on all LINUX plattforms, which is wrong
for a number of reasons:

- GL_PERSPECTIVE_CORRECTION_HINT is defined in GL/gl.h, so we
  want gl.h not glx.h, the latter just includes the former
- GL/gl.h is a Desktop GL header, and should not be included
  on GLES plattforms
- GL/gl.h is already included via QtOpenGL ->
  QtGui/qopengl.h on desktop plattforms

This fixes a problem when Qt is compiled with GLES, which
is often done on ARM platforms where desktop GL is not or
only poorly supported (e.g. slow due to emulation).

Fixes part of #9171.

* Only set GL_PERSPECTIVE_CORRECTION_HINT when GL version defines it

GL_PERSPECTIVE_CORRECTION_HINT does not exist in GLES 2.0/3.x,
and has been deprecated in OpenGL 3.0 core profiles.

Fixes part of #9171.

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 1 Feb 2020 17:25:39 +0000 (17:25 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16474 from gapry:issue_16336
Alexander Alekhin [Sat, 1 Feb 2020 17:22:12 +0000 (17:22 +0000)]
Merge pull request #16474 from gapry:issue_16336

4 years agoMerge pull request #16366 from themechanicalcoder:features2D-tutorial-python
Gourav Roy [Sat, 1 Feb 2020 17:20:00 +0000 (22:50 +0530)]
Merge pull request #16366 from themechanicalcoder:features2D-tutorial-python

* Add python version of panorama_stitching_rotating_camera and perspective_correction

* Updated code

* added in the docs

* added python code in the docs

* docs change

* Add java tutorial as well

* Add toggle in documentation

* Added the link for Java code

* format code

* Refactored code

4 years agoFixed Compilation warnings | Issue #16336
gapry [Fri, 31 Jan 2020 15:33:32 +0000 (23:33 +0800)]
Fixed Compilation warnings | Issue #16336

4 years agoMerge pull request #15993 from midjji:master
midjji [Fri, 31 Jan 2020 14:50:21 +0000 (15:50 +0100)]
Merge pull request #15993 from midjji:master

This is a correction of the previously missleading documentation and a warning related to a common calibration failure described in issue 15992

* corrected incorrect description of failed calibration state.

see issue 15992

* calib3d: apply suggestions from code review by catree

4 years agoMerge pull request #16246 from VadimLevin:dev/vlevin/videoio_classes_cleanup
Alexander Alekhin [Fri, 31 Jan 2020 13:08:43 +0000 (13:08 +0000)]
Merge pull request #16246 from VadimLevin:dev/vlevin/videoio_classes_cleanup

4 years agoMerge pull request #16118 from smirnov-alexey:as/gopaque
Alexey Smirnov [Thu, 30 Jan 2020 18:08:11 +0000 (21:08 +0300)]
Merge pull request #16118 from smirnov-alexey:as/gopaque

G-API: GOpaque implementation

* Stub initial copypasted solution

* Fix mov test and add a couple of others

* Fix warnings

* More code coverage and tests

* fix macos warning

* address review comments

* Address review comments and fix indentation

* Fix build on armv7

4 years agoMerge pull request #16459 from nh2:patch-1
Alexander Alekhin [Thu, 30 Jan 2020 14:25:18 +0000 (14:25 +0000)]
Merge pull request #16459 from nh2:patch-1

4 years agoMerge pull request #16220 from YashasSamaga:cuda4dnn-roi-pooling-test_fix-optim
Alexander Alekhin [Wed, 29 Jan 2020 20:57:14 +0000 (20:57 +0000)]
Merge pull request #16220 from YashasSamaga:cuda4dnn-roi-pooling-test_fix-optim

4 years agoMerge pull request #16415 from arnaudbrejeon:bug_fix_16410
Arnaud Brejeon [Wed, 29 Jan 2020 20:55:43 +0000 (12:55 -0800)]
Merge pull request #16415 from arnaudbrejeon:bug_fix_16410

* Fix bug 16410 and add test

* imgproc(connectedcomponents): avoid manual uninitialized allocations

* imgproc(connectedcomponents): force 'odd' chunk range size

* imgproc(connectedcomponents): reuse stripeFirstLabel{4/8}Connectivity

* imgproc(connectedcomponents): extend fix from PR14964

4 years agoMerge pull request #16452 from alalek:objdetect_align_with_master
Alexander Alekhin [Wed, 29 Jan 2020 16:12:31 +0000 (16:12 +0000)]
Merge pull request #16452 from alalek:objdetect_align_with_master

4 years agoMerge pull request #16461 from seiko2plus:issue16455
Alexander Alekhin [Wed, 29 Jan 2020 15:56:59 +0000 (15:56 +0000)]
Merge pull request #16461 from seiko2plus:issue16455

4 years agocore: CV_STRONG_ALIGNMENT macro
Alexander Alekhin [Wed, 29 Jan 2020 14:42:16 +0000 (17:42 +0300)]
core: CV_STRONG_ALIGNMENT macro

Should be used to guard unsafe type casts of pointers

4 years agocvdef.h: Don't use C's limits.h under C++
Niklas Hambüchen [Wed, 29 Jan 2020 01:39:33 +0000 (02:39 +0100)]
cvdef.h: Don't use C's limits.h under C++

Just like with the other headers in the rest of the file.

See e.g. https://stackoverflow.com/questions/36831465/what-difference-does-it-make-when-i-include-limits-or-limits-h-in-my-c-cod
for the reasons, the most important one being that limits.h does not respect
namespaces, which can make problems for downstream consumers of cvdef.h.

4 years agocore:vsx workaround for the unexpected results of `vec_vbpermq` in gcc4.9
Sayed Adel [Wed, 29 Jan 2020 12:20:55 +0000 (14:20 +0200)]
core:vsx workaround for the unexpected results of `vec_vbpermq` in gcc4.9

4 years agoMerge pull request #15714 from neurodroid:patch-1
Alexander Alekhin [Wed, 29 Jan 2020 10:54:22 +0000 (10:54 +0000)]
Merge pull request #15714 from neurodroid:patch-1

4 years agoMerge pull request #16453 from seiko2plus:issue16448
Alexander Alekhin [Wed, 29 Jan 2020 10:34:17 +0000 (10:34 +0000)]
Merge pull request #16453 from seiko2plus:issue16448

4 years agoMerge pull request #16248 from cudawarped:fix_python_cudawarping_cudaarithm
cudawarped [Wed, 29 Jan 2020 09:54:02 +0000 (09:54 +0000)]
Merge pull request #16248 from cudawarped:fix_python_cudawarping_cudaarithm

* Move python CUDA  tests to the contrib repo.