platform/upstream/opencv.git
5 years agoMerge pull request #12147 from D-Alex:master
Alexander Duda [Thu, 13 Sep 2018 12:43:04 +0000 (14:43 +0200)]
Merge pull request #12147 from D-Alex:master

* add new chessboard detector

The chessboar detector is based on the paper.
Accurate Detection and Localization of Checkerboard Corners for
Calibration Alexander Duda, Udo Frese
British Machine Vision Conference, o.A., 2018.

It utilizes point symmetry of checkerboard corners in combination with a
localized Radon transform approximated by box filters to achieve high
performance even on large images. Here, tests have shown that the
ability to localize checkerboard corners is close to the theoretical
limit of 1/100 of a pixel while being considerably less sensitive
to image noise than standard methods.

* chessboard: add reference to bibtex file

* chessboard: add dependency to opencv_flann

* fix: test chesscorners. It is valid to return an empty list

In case no chessboard was detected it should be valid for the detector
to return an empty list.

For simplifcation, it should be allowed to return any number of corners
if they are flagged as not found.

* fix: opencv.bib remove empty lines

* fix: doc findChessboardCorners replace cvSize with cv::Size

* chessboard tests: factor out logic selecting detector

* chessboard: add unit test for findChessboardCorners2

This is includes a new chessboard generator which supports subpix
corners with high accuracy by wrapping an optimal chessboard using
wrapPerspective.

* fix: chessboard unit test - overwrite of default parameter flag of findCirclesGrid

* chessboard: remove trailing whitespace

* chessboard: fix debug drawing

* chessboard: fix some issues during code review

* chessboard: normalize asymmetric chessboard

* chessboard: fix float double warning

* remove trailing whitespace

* chessboards: fix compiler warnings

* chessboards: fix compiler warnings

* checkerboard: some performance improvements

* chessboard: remove NULL macros for language bindinges from internal headers

* chessboard: shorten license terms

* chessboard: remove unused internal method

* chessboard: set helper functions to static

* chessboard: fix normalizePoints1D using unshifted points

* chessboard: remove wrongly copied text

* chessboard: use CV_CheckTypeEQ macro

* chessboard: comment all NaN checks

* chessboard: use consistent color conversion

* chessboard: use CheckChannelEQ macro

* chessboard: assume gray color image for internal methods

* chessboard: use std::swap

* chessboard: use Mat.dataend

* chessboard: fix compiler warnings

* chessboard: replace some checks witch CV_CHECK macro

* chessboard: fix comparison function for partial sort

* chessboard: small cleanup

* chessboard: use short license header

* chessboard: rename findChessboard2 to findChessboardSB

* chessboard: fix type in unit test

5 years agoMerge pull request #12509 from alalek:fix_cv_ptr_default_deleter
Alexander Alekhin [Wed, 12 Sep 2018 18:45:00 +0000 (18:45 +0000)]
Merge pull request #12509 from alalek:fix_cv_ptr_default_deleter

5 years agocore: change cv::Ptr DefaultDeleter
Alexander Alekhin [Wed, 12 Sep 2018 09:52:50 +0000 (09:52 +0000)]
core: change cv::Ptr DefaultDeleter

5 years agoMerge pull request #12486 from cv3d:fix_cpp11
Hamdi Sahloul [Tue, 11 Sep 2018 19:35:03 +0000 (04:35 +0900)]
Merge pull request #12486 from cv3d:fix_cpp11

Support MSVC 2013 (#12486)

* Added CV_CONSTEXPR macro

* Utilize CV_NOEXCEPT and CV_CONSTEXPR

* Provides some Ptr<> logical operators

5 years agoMerge pull request #12478 from alalek:fix_python_converters
Alexander Alekhin [Tue, 11 Sep 2018 19:33:11 +0000 (19:33 +0000)]
Merge pull request #12478 from alalek:fix_python_converters

5 years agoMerge pull request #12477 from alalek:drop_legacy_headers
Alexander Alekhin [Tue, 11 Sep 2018 19:31:16 +0000 (19:31 +0000)]
Merge pull request #12477 from alalek:drop_legacy_headers

5 years agoMerge pull request #12467 from alalek:core_use_shared_ptr
Vadim Pisarevsky [Mon, 10 Sep 2018 13:59:14 +0000 (13:59 +0000)]
Merge pull request #12467 from alalek:core_use_shared_ptr

5 years agoadded basic support for CV_16F (the new datatype etc.) (#12463)
Vadim Pisarevsky [Mon, 10 Sep 2018 13:56:29 +0000 (16:56 +0300)]
added basic support for CV_16F (the new datatype etc.) (#12463)

* added basic support for CV_16F (the new datatype etc.). CV_USRTYPE1 is now equal to CV_16F, which may break some [rarely used] functionality. We'll see

* fixed just introduced bug in norm; reverted errorneous changes in Torch importer (need to find a better solution)

* addressed some issues found during the PR review

* restored the patch to fix some perf test failures

5 years agopython: fix "unsigned int" / "size_t" overloading conflict
Alexander Alekhin [Sat, 8 Sep 2018 07:33:23 +0000 (07:33 +0000)]
python: fix "unsigned int" / "size_t" overloading conflict

5 years agodrop legacy headers
Alexander Alekhin [Sun, 9 Sep 2018 21:46:46 +0000 (21:46 +0000)]
drop legacy headers

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sun, 9 Sep 2018 21:04:29 +0000 (00:04 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #12475 from sturkmen72:patch-1
Alexander Alekhin [Sun, 9 Sep 2018 20:16:47 +0000 (20:16 +0000)]
Merge pull request #12475 from sturkmen72:patch-1

5 years agoMerge pull request #12473 from cv3d:cmake/python_detection
Alexander Alekhin [Sun, 9 Sep 2018 20:16:28 +0000 (20:16 +0000)]
Merge pull request #12473 from cv3d:cmake/python_detection

5 years agoCMAKE: Improve python detection
Hamdi Sahloul [Sun, 9 Sep 2018 04:47:03 +0000 (13:47 +0900)]
CMAKE: Improve python detection

5 years agoavoid `Ptr<> == NULL` checks
Alexander Alekhin [Sat, 8 Sep 2018 16:49:11 +0000 (16:49 +0000)]
avoid `Ptr<> == NULL` checks

5 years agocore(test): update cv::Ptr tests
Alexander Alekhin [Fri, 7 Sep 2018 22:16:53 +0000 (22:16 +0000)]
core(test): update cv::Ptr tests

5 years agocore: replace cv::Ptr implementation => std::shared_ptr
Alexander Alekhin [Thu, 6 Sep 2018 23:05:40 +0000 (23:05 +0000)]
core: replace cv::Ptr implementation => std::shared_ptr

5 years agoUpdate window.cpp
Suleyman TURKMEN [Sun, 9 Sep 2018 14:49:09 +0000 (17:49 +0300)]
Update window.cpp

5 years agoMerge pull request #12449 from Nuzhny007:master
Sergey Nuzhny [Sat, 8 Sep 2018 20:20:14 +0000 (23:20 +0300)]
Merge pull request #12449 from Nuzhny007:master

* Fixed compilation error WITH_OPENMP under Windows

* Move up OpenMP condition

5 years agoMerge pull request #12465 from hmaarrfk:fix_bayer2rgba
Alexander Alekhin [Sat, 8 Sep 2018 11:44:04 +0000 (11:44 +0000)]
Merge pull request #12465 from hmaarrfk:fix_bayer2rgba

5 years agoMerge pull request #12469 from cv3d:fix/js/python3_msvc
Alexander Alekhin [Sat, 8 Sep 2018 11:42:11 +0000 (11:42 +0000)]
Merge pull request #12469 from cv3d:fix/js/python3_msvc

5 years agoopencv_js: Support Python3 and MSVC
Hamdi Sahloul [Sat, 8 Sep 2018 06:49:39 +0000 (15:49 +0900)]
opencv_js: Support Python3 and MSVC

5 years agoopencv_js: fix a bug in handling enums using the new parser
Hamdi Sahloul [Sat, 8 Sep 2018 09:23:22 +0000 (18:23 +0900)]
opencv_js: fix a bug in handling enums using the new parser

5 years agoMerge pull request #12464 from alalek:fix_contrib_1754
Alexander Alekhin [Fri, 7 Sep 2018 20:03:41 +0000 (20:03 +0000)]
Merge pull request #12464 from alalek:fix_contrib_1754

5 years agoOutput RGBA images when bayer_xx2YYYA is called
Mark Harfouche [Fri, 7 Sep 2018 19:57:55 +0000 (15:57 -0400)]
Output RGBA images when bayer_xx2YYYA is called

5 years agoMerge pull request #12462 from alalek:issue_12453
Alexander Alekhin [Fri, 7 Sep 2018 16:55:01 +0000 (16:55 +0000)]
Merge pull request #12462 from alalek:issue_12453

5 years agofeatures2d(test): extract common extract/invariance test code
Alexander Alekhin [Fri, 7 Sep 2018 13:31:01 +0000 (16:31 +0300)]
features2d(test): extract common extract/invariance test code

to share with opencv_contrib/xfeatures2d

5 years agoMerge pull request #12458 from DEEPIR:3.4
cyy [Fri, 7 Sep 2018 15:43:47 +0000 (23:43 +0800)]
Merge pull request #12458 from DEEPIR:3.4

* may be an typo fix

* remove identical branch,may be paste error

* add parentheses around macro parameter

* simplify if condition

* check malloc fail

* change the condition of branch removed by commit 3041502861318c85d901e8c08226ff67898c77ed

5 years agovideo(perf): drop unreliable sanity checks
Alexander Alekhin [Fri, 7 Sep 2018 10:42:09 +0000 (13:42 +0300)]
video(perf): drop unreliable sanity checks

5 years agoMerge pull request #12460 from cv3d:lint_unused
Alexander Alekhin [Fri, 7 Sep 2018 13:03:44 +0000 (13:03 +0000)]
Merge pull request #12460 from cv3d:lint_unused

5 years agoUtilize CV_UNUSED macro
Hamdi Sahloul [Fri, 7 Sep 2018 11:33:52 +0000 (20:33 +0900)]
Utilize CV_UNUSED macro

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 7 Sep 2018 09:40:27 +0000 (12:40 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #12459 from alalek:fix_cuda_build
Alexander Alekhin [Fri, 7 Sep 2018 09:27:31 +0000 (09:27 +0000)]
Merge pull request #12459 from alalek:fix_cuda_build

5 years agoMerge pull request #12452 from seiko2plus:issue12427
Alexander Alekhin [Fri, 7 Sep 2018 07:32:15 +0000 (07:32 +0000)]
Merge pull request #12452 from seiko2plus:issue12427

5 years agocuda: fix build (legacy C-API usage)
Alexander Alekhin [Fri, 7 Sep 2018 07:26:17 +0000 (07:26 +0000)]
cuda: fix build (legacy C-API usage)

5 years agoMerge pull request #12446 from alalek:imgproc_grabcut_numeric_issues
Alexander Alekhin [Thu, 6 Sep 2018 20:18:45 +0000 (20:18 +0000)]
Merge pull request #12446 from alalek:imgproc_grabcut_numeric_issues

5 years agoMerge pull request #12443 from DEEPIR:master
cyy [Thu, 6 Sep 2018 20:09:39 +0000 (04:09 +0800)]
Merge pull request #12443 from DEEPIR:master

* simplify condition

* dims must > 0 or latter sz[dims-1] will underflow

5 years agoMerge pull request #11630 from alalek:c_api_eliminate_constructors
Alexander Alekhin [Thu, 6 Sep 2018 20:07:16 +0000 (20:07 +0000)]
Merge pull request #11630 from alalek:c_api_eliminate_constructors

5 years agopython:ppc64 Add missing support for PyLongObject
Sayed Adel [Thu, 6 Sep 2018 20:04:05 +0000 (20:04 +0000)]
python:ppc64 Add missing support for PyLongObject

5 years agoMerge pull request #12411 from vpisarev:wide_convert
Vadim Pisarevsky [Thu, 6 Sep 2018 16:36:59 +0000 (19:36 +0300)]
Merge pull request #12411 from vpisarev:wide_convert

* rewrote Mat::convertTo() and convertScaleAbs() to wide universal intrinsics; added always-available and SIMD-optimized FP16<=>FP32 conversion

* fixed compile warnings

* fix some more compile errors

* slightly relaxed accuracy threshold for int->float conversion (since we now do it using single-precision arithmetics, not double-precision)

* fixed compile errors on iOS, Android and in the baseline C++ version (intrin_cpp.hpp)

* trying to fix ARM-neon builds

* trying to fix ARM-neon builds

* trying to fix ARM-neon builds

* trying to fix ARM-neon builds

5 years agoMerge pull request #12437 from vpisarev:avx2_fixes
Vadim Pisarevsky [Thu, 6 Sep 2018 15:56:55 +0000 (18:56 +0300)]
Merge pull request #12437 from vpisarev:avx2_fixes

* trying to fix the custom AVX2 builder test failures (false alarms)

* fixed compile error with CPU_BASELINE=AVX2 on x86; raised tolerance thresholds in a couple of tests

* fixed compile error with CPU_BASELINE=AVX2 on x86; raised tolerance thresholds in a couple of tests

* fixed compile error with CPU_BASELINE=AVX2 on x86; raised tolerance thresholds in a couple of tests

* seemingly disabled false alarm warning in surf.cpp; increased tolerance thresholds in the tests for SolvePnP and in DNN/ENet

5 years agoimgproc: grabcut numeric stability
Alexander Alekhin [Thu, 6 Sep 2018 14:05:54 +0000 (17:05 +0300)]
imgproc: grabcut numeric stability

5 years agodon't use constructors for C API structures
Alexander Alekhin [Thu, 6 Sep 2018 11:34:16 +0000 (14:34 +0300)]
don't use constructors for C API structures

5 years agocore: remove constructors from C API structures
Alexander Alekhin [Wed, 30 May 2018 13:59:52 +0000 (16:59 +0300)]
core: remove constructors from C API structures

POD structures can't have constructors.

5 years agoMerge pull request #12440 from woodychow:fix_normL2Sqr_speed_regression_3.4
Alexander Alekhin [Thu, 6 Sep 2018 10:33:33 +0000 (10:33 +0000)]
Merge pull request #12440 from woodychow:fix_normL2Sqr_speed_regression_3.4

5 years agoMerge pull request #12279 from savuor:cvtcolor_bgr2gray_8u_15bits
Rostislav Vasilikhin [Thu, 6 Sep 2018 10:28:24 +0000 (13:28 +0300)]
Merge pull request #12279 from savuor:cvtcolor_bgr2gray_8u_15bits

* bgr2gray 8u fixed to be in conformance with IPP code

* coefficients fixed so their sum is 32768

* java test for CascadeDetect fixed: equalizeHist added

5 years agoMerge pull request #12264 from dkurt:dnn_remove_forward_method
Dmitry Kurtaev [Thu, 6 Sep 2018 10:26:47 +0000 (13:26 +0300)]
Merge pull request #12264 from dkurt:dnn_remove_forward_method

* Remove a forward method in dnn::Layer

* Add a test

* Fix tests

* Mark multiple dnn::Layer::finalize methods as deprecated

* Replace back dnn's inputBlobs to vector of pointers

* Remove Layer::forward_fallback from CV_OCL_RUN scopes

5 years agoReplace naive normL2Sqr with hal::normL2Sqr_ for better performance
woody.chow [Thu, 6 Sep 2018 08:43:07 +0000 (17:43 +0900)]
Replace naive normL2Sqr with hal::normL2Sqr_ for better performance

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 5 Sep 2018 16:52:16 +0000 (19:52 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #12434 from alalek:pr12414_rebased
Alexander Alekhin [Wed, 5 Sep 2018 16:46:36 +0000 (16:46 +0000)]
Merge pull request #12434 from alalek:pr12414_rebased

5 years agoMerge pull request #12355 from sturkmen72:update_samples
Alexander Alekhin [Wed, 5 Sep 2018 16:24:02 +0000 (16:24 +0000)]
Merge pull request #12355 from sturkmen72:update_samples

5 years agoTo fix bug #12389, which is a validation for the potential null pointer.
Zhenqing Hu [Tue, 4 Sep 2018 18:35:57 +0000 (14:35 -0400)]
To fix bug #12389, which is a validation for the potential null pointer.

Signed-off-by: Zhenqing Hu <huzq85@gmail.com>
5 years agoMerge pull request #12433 from alalek:fix_contrib_1746
Alexander Alekhin [Wed, 5 Sep 2018 16:09:27 +0000 (16:09 +0000)]
Merge pull request #12433 from alalek:fix_contrib_1746

5 years agoUpdate samples
Suleyman TURKMEN [Sat, 25 Aug 2018 02:37:54 +0000 (05:37 +0300)]
Update samples

5 years agoimgproc: fix Subdiv2D::getTriangleList()
Alexander Alekhin [Wed, 5 Sep 2018 13:16:53 +0000 (16:16 +0300)]
imgproc: fix Subdiv2D::getTriangleList()

5 years agoMerge pull request #12408 from dkurt:dnn_myriad_batch_tests
Alexander Alekhin [Wed, 5 Sep 2018 10:04:04 +0000 (10:04 +0000)]
Merge pull request #12408 from dkurt:dnn_myriad_batch_tests

5 years agoMerge pull request #12424 from alalek:fix_build_avoid_nullptr
Alexander Alekhin [Wed, 5 Sep 2018 09:46:26 +0000 (09:46 +0000)]
Merge pull request #12424 from alalek:fix_build_avoid_nullptr

5 years agoEnable Myriad tests with batch size > 1
Dmitry Kurtaev [Tue, 4 Sep 2018 14:33:34 +0000 (17:33 +0300)]
Enable Myriad tests with batch size > 1

5 years agobuild: don't use nullptr without C++11 guard
Alexander Alekhin [Wed, 5 Sep 2018 06:19:02 +0000 (06:19 +0000)]
build: don't use nullptr without C++11 guard

5 years agoMerge pull request #12420 from cv3d:fix/gtest_vc12
Alexander Alekhin [Wed, 5 Sep 2018 06:12:09 +0000 (06:12 +0000)]
Merge pull request #12420 from cv3d:fix/gtest_vc12

5 years agoWorkaround for GTest v1.8.1 + Visual Studio 2013 (vc12)
Hamdi Sahloul [Wed, 5 Sep 2018 02:44:30 +0000 (11:44 +0900)]
Workaround for GTest v1.8.1 + Visual Studio 2013 (vc12)

5 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 4 Sep 2018 16:35:38 +0000 (19:35 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

5 years agoMerge pull request #12409 from dkurt:fix_12407
Alexander Alekhin [Tue, 4 Sep 2018 16:34:30 +0000 (16:34 +0000)]
Merge pull request #12409 from dkurt:fix_12407

5 years agoMerge pull request #12406 from alalek:backport_12357_12391
Alexander Alekhin [Tue, 4 Sep 2018 16:09:43 +0000 (16:09 +0000)]
Merge pull request #12406 from alalek:backport_12357_12391

5 years agoMerge pull request #12400 from alalek:dnn_update_inline_namespace_master
Alexander Alekhin [Tue, 4 Sep 2018 15:17:15 +0000 (15:17 +0000)]
Merge pull request #12400 from alalek:dnn_update_inline_namespace_master

5 years agoMerge pull request #12394 from alalek:imgproc_GaussianBlur_allow_HAL_8U
Alexander Alekhin [Tue, 4 Sep 2018 15:16:08 +0000 (15:16 +0000)]
Merge pull request #12394 from alalek:imgproc_GaussianBlur_allow_HAL_8U

5 years agoMerge pull request #12383 from alalek:ts_qemu_support
Alexander Alekhin [Tue, 4 Sep 2018 15:15:39 +0000 (15:15 +0000)]
Merge pull request #12383 from alalek:ts_qemu_support

5 years agoFix #12407
Dmitry Kurtaev [Tue, 4 Sep 2018 14:48:52 +0000 (17:48 +0300)]
Fix #12407

5 years agobackport fixes for static analyzer warnings
Alexander Alekhin [Tue, 4 Sep 2018 13:44:47 +0000 (16:44 +0300)]
backport fixes for static analyzer warnings

Commits:
09837928d934d104b3f327ce42122b7b8f35fff3
10fb88d02791b33d83a3756c62e21aa1c5a1e68d

Excluded changes with std::atomic (C++98 requirement)

5 years agoMerge pull request #12391 from DEEPIR:master
cyy [Tue, 4 Sep 2018 13:39:19 +0000 (21:39 +0800)]
Merge pull request #12391 from DEEPIR:master

fix some errors found by static analyzer. (#12391)

* fix possible divided by zero and by negative values

* only 4 elements are used in these arrays

* fix uninitialized member

* use boolean type for semantic boolean variables

* avoid invalid array index

* to avoid exception and because base64_beg is only used in this block

* use std::atomic<bool> to avoid thread control race condition

5 years agoMerge pull request #12382 from alalek:update_gtest_1.8.1
Alexander Alekhin [Tue, 4 Sep 2018 13:28:55 +0000 (13:28 +0000)]
Merge pull request #12382 from alalek:update_gtest_1.8.1

5 years agoMerge pull request #12405 from todortomov:3.4_cap_v4l_query_conrtols
Alexander Alekhin [Tue, 4 Sep 2018 12:55:05 +0000 (12:55 +0000)]
Merge pull request #12405 from todortomov:3.4_cap_v4l_query_conrtols

5 years agoMerge pull request #12398 from alalek:samples_eliminate_cvconfig
Alexander Alekhin [Tue, 4 Sep 2018 11:38:34 +0000 (11:38 +0000)]
Merge pull request #12398 from alalek:samples_eliminate_cvconfig

5 years agoMerge pull request #12377 from alalek:inputarray_raw_wrapper_customtype
Alexander Alekhin [Tue, 4 Sep 2018 11:29:23 +0000 (11:29 +0000)]
Merge pull request #12377 from alalek:inputarray_raw_wrapper_customtype

5 years agocap_v4l: Fix private control enumeration end condition
Todor Tomov [Tue, 4 Sep 2018 08:33:08 +0000 (11:33 +0300)]
cap_v4l: Fix private control enumeration end condition

Currently the private control enumeration will be stopped when QUERYCTRL
returns -EINVAL only. It is possible however that other errors occur.

One particular case is when the v4l2 device doesn't support any controls
and doesn't implement the QUERYCTRL ioctl. In that case the v4l2
framework returns -ENOTTY. In that case the current control enumeration
will go in an endless loop.

To fix this change the control enumeration stop condition. If any errors
occur, end the control enumeration.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
5 years agosamples: eliminate cvconfig.h usage
Alexander Alekhin [Mon, 3 Sep 2018 18:56:04 +0000 (18:56 +0000)]
samples: eliminate cvconfig.h usage

- don't use TBB in samples

5 years agoMerge pull request #12402 from alalek:fix_build_dnn_tests
Alexander Alekhin [Tue, 4 Sep 2018 06:39:20 +0000 (06:39 +0000)]
Merge pull request #12402 from alalek:fix_build_dnn_tests

5 years agodnn: fix tests build with disabled OpenCL
Alexander Alekhin [Mon, 3 Sep 2018 23:11:25 +0000 (23:11 +0000)]
dnn: fix tests build with disabled OpenCL

5 years agoMerge pull request #12303 from cv3d:improvements/binding_python
Alexander Alekhin [Mon, 3 Sep 2018 20:57:11 +0000 (20:57 +0000)]
Merge pull request #12303 from cv3d:improvements/binding_python

5 years agodnn: update "guard" inline namespace
Alexander Alekhin [Mon, 3 Sep 2018 20:20:02 +0000 (20:20 +0000)]
dnn: update "guard" inline namespace

- differ from 3.4 branch

5 years agoMerge pull request #12396 from LaurentBerger:I12392
Alexander Alekhin [Mon, 3 Sep 2018 20:26:14 +0000 (20:26 +0000)]
Merge pull request #12396 from LaurentBerger:I12392

5 years agoMerge pull request #12397 from terfendail:resize_wintr_fix
Alexander Alekhin [Mon, 3 Sep 2018 20:25:45 +0000 (20:25 +0000)]
Merge pull request #12397 from terfendail:resize_wintr_fix

5 years agoCUDA: drop OPENCV_TRAITS_ENABLE_DEPRECATED requirement
Alexander Alekhin [Sun, 2 Sep 2018 03:31:05 +0000 (03:31 +0000)]
CUDA: drop OPENCV_TRAITS_ENABLE_DEPRECATED requirement

5 years agocore: wrap custom types via _RawArray (raw() call)
Alexander Alekhin [Sun, 2 Sep 2018 01:04:31 +0000 (01:04 +0000)]
core: wrap custom types via _RawArray (raw() call)

- support passing of `std::vector<KeyPoint>` via InputArray

5 years agoFixed bit-exact resize wide intrinsics implementation for 16U
Vitaly Tuzov [Mon, 3 Sep 2018 16:57:11 +0000 (19:57 +0300)]
Fixed bit-exact resize wide intrinsics implementation for 16U

5 years agoSolves issue 12392
LaurentBerger [Mon, 3 Sep 2018 17:30:49 +0000 (19:30 +0200)]
Solves issue 12392

5 years agoMerge pull request #12393 from peterjozsa:issue_12301
Alexander Alekhin [Mon, 3 Sep 2018 16:16:48 +0000 (16:16 +0000)]
Merge pull request #12393 from peterjozsa:issue_12301

5 years agoimgproc(GaussianBlur): restore processing order
Alexander Alekhin [Mon, 3 Sep 2018 15:39:42 +0000 (18:39 +0300)]
imgproc(GaussianBlur): restore processing order

5 years agoMerge pull request #12371 from alalek:issue_12366
Vadim Pisarevsky [Mon, 3 Sep 2018 14:30:16 +0000 (14:30 +0000)]
Merge pull request #12371 from alalek:issue_12366

5 years agoFix bug in distanceTransform (#12278)
yuki takehara [Mon, 3 Sep 2018 14:18:10 +0000 (23:18 +0900)]
Fix bug in distanceTransform (#12278)

* fix 12218

* Update test_distancetransform.cpp

marked the test as "BIGDATA_TEST" in order to skip it on low-mem platforms

* modify test

* use a smaller image in the test

* fix test code

5 years agoImport SSDs from TensorFlow by training config (#12188)
Dmitry Kurtaev [Mon, 3 Sep 2018 14:08:40 +0000 (17:08 +0300)]
Import SSDs from TensorFlow by training config (#12188)

* Remove TensorFlow and protobuf dependencies from object detection scripts

* Create text graphs for TensorFlow object detection networks from sample

5 years agoFix https://github.com/opencv/opencv/issues/12301
Peter Jozsa [Mon, 3 Sep 2018 12:56:38 +0000 (14:56 +0200)]
Fix https://github.com/opencv/opencv/issues/12301

5 years agoMerge pull request #12376 from alalek:issue_12337
Alexander Alekhin [Mon, 3 Sep 2018 10:17:56 +0000 (10:17 +0000)]
Merge pull request #12376 from alalek:issue_12337

5 years agoMerge pull request #12374 from alalek:issue_12368
Alexander Alekhin [Mon, 3 Sep 2018 10:17:09 +0000 (10:17 +0000)]
Merge pull request #12374 from alalek:issue_12368

5 years agoMerge pull request #12373 from alalek:issue_12365
Alexander Alekhin [Mon, 3 Sep 2018 10:16:51 +0000 (10:16 +0000)]
Merge pull request #12373 from alalek:issue_12365

5 years agoMerge pull request #12386 from wzw-intel:redundant_code
Alexander Alekhin [Mon, 3 Sep 2018 09:33:00 +0000 (09:33 +0000)]
Merge pull request #12386 from wzw-intel:redundant_code

5 years agodnn: Remove a duplicated code snippet for flatten layer
Wu Zhiwen [Mon, 3 Sep 2018 00:51:26 +0000 (08:51 +0800)]
dnn: Remove a duplicated code snippet for flatten layer

Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
5 years agocmake: drop unconditional forcing of CMAKE_SKIP_RPATH=TRUE
Alexander Alekhin [Sun, 2 Sep 2018 21:48:10 +0000 (21:48 +0000)]
cmake: drop unconditional forcing of CMAKE_SKIP_RPATH=TRUE

CMake "cache" entry for CMAKE_SKIP_RPATH is in the end of this file

5 years agots: support QEMU launcher
Alexander Alekhin [Fri, 31 Aug 2018 14:28:27 +0000 (17:28 +0300)]
ts: support QEMU launcher

5 years agots: re-apply OpenCV-specific patch on googletest 1.8.1
Alexander Alekhin [Sun, 2 Sep 2018 12:40:49 +0000 (12:40 +0000)]
ts: re-apply OpenCV-specific patch on googletest 1.8.1