Alexander Alekhin [Sat, 20 Jul 2019 08:07:14 +0000 (08:07 +0000)]
Merge pull request #15093 from tomoaki0705:fixCudaLegacyRansac
Lubov Batanina [Fri, 19 Jul 2019 16:18:34 +0000 (19:18 +0300)]
Merge pull request #15032 from l-bat:reduce_mean
* Added support for the ONNX "ReduceMean" Layer. (as this is the same as the GlobalAveragePool)
* Add ReduceMean test
* Fix ONNX importer
* Fix ReduceMean
* Add assert
* Split test
* Fix split test
Alexander Alekhin [Fri, 19 Jul 2019 15:50:54 +0000 (15:50 +0000)]
Merge pull request #15092 from alalek:videoio_gstreamer_more_get_checks
Alexander Alekhin [Thu, 18 Jul 2019 22:12:01 +0000 (22:12 +0000)]
videoio(gstreamer): more .get() checks
Tomoaki Teshima [Fri, 19 Jul 2019 08:50:00 +0000 (17:50 +0900)]
cudalegacy: fix test failure of SolvePnPRansac
* use SOLVE_EPNP for the initial guess
Alexander Alekhin [Thu, 18 Jul 2019 19:07:05 +0000 (19:07 +0000)]
Merge pull request #15050 from alalek:core_fix_base64_packed_struct
Vitaly Tuzov [Thu, 18 Jul 2019 16:32:51 +0000 (19:32 +0300)]
Merge pull request #14994 from terfendail:wintr_undistort
WUI based implementation to initUndistortRectifyMap (#14994)
* Add initUndistortRectifyMap performance test
* Move cv namespace boundaries
* Add wide universal intrinsics based implementation to initUndistortRectifyMap
* Dispatch undistort
Lubov Batanina [Thu, 18 Jul 2019 15:41:08 +0000 (18:41 +0300)]
Merge pull request #15057 from l-bat:fix_vizualizer
* Fix dumpToFile
* Add test
* Fix test
Alexander Alekhin [Thu, 18 Jul 2019 08:12:42 +0000 (08:12 +0000)]
Merge pull request #15071 from l-bat:tf_split
Liubov Batanina [Wed, 17 Jul 2019 12:50:50 +0000 (15:50 +0300)]
Fix TF Split layer
Alexander Alekhin [Tue, 16 Jul 2019 16:00:33 +0000 (16:00 +0000)]
Merge pull request #15052 from alalek:dnn_fix_required_data
Alexander Alekhin [Tue, 16 Jul 2019 13:28:15 +0000 (13:28 +0000)]
Merge pull request #15037 from hugolm84:noop-noexcept-for-vs13
Chip Kerchner [Tue, 16 Jul 2019 13:10:49 +0000 (09:10 -0400)]
Merge pull request #15048 from ChipKerchner:reduceStoreGatheringThreshold
* Reduce store gathering pressures - speeds thresholds by up to 20%
* Rename temporary histogram array and initialize so that MACOSX builder is happy
Alexander Alekhin [Mon, 15 Jul 2019 21:30:35 +0000 (21:30 +0000)]
core(persistence): fix writeRaw() / readRaw() struct support
- writeRaw(): support structs
- readRaw(): 'len' is buffer limit in bytes (documentation is fixed)
Alexander Alekhin [Tue, 16 Jul 2019 07:53:50 +0000 (07:53 +0000)]
dnn(test): fix required data
Alexander Alekhin [Mon, 15 Jul 2019 17:17:34 +0000 (20:17 +0300)]
core(persistence): struct storage layout without alignment gaps
Alexander Alekhin [Fri, 12 Jul 2019 18:31:09 +0000 (18:31 +0000)]
Merge pull request #15026 from terfendail:gaussian_fix
Hugo Lindström [Fri, 12 Jul 2019 17:01:47 +0000 (19:01 +0200)]
Support compiliation for <=VS13
Alexander Alekhin [Fri, 12 Jul 2019 15:28:44 +0000 (15:28 +0000)]
Merge pull request #15025 from alalek:issue_14281
Vitaly Tuzov [Thu, 11 Jul 2019 22:53:49 +0000 (01:53 +0300)]
Fix pixel value evaluation overflow in bit-exact GaussianBlur implementation
Lubov Batanina [Fri, 12 Jul 2019 12:51:44 +0000 (15:51 +0300)]
Merge pull request #14996 from l-bat:ocv_deconv3d
* Support Deconvolution3D on IE backend
* Add test tag
* Fix tests
Alexander Alekhin [Thu, 11 Jul 2019 20:49:47 +0000 (20:49 +0000)]
imgproc: fix unaligned memory access
may cause crashes on ARM platform
Lubov Batanina [Thu, 11 Jul 2019 17:13:52 +0000 (20:13 +0300)]
Merge pull request #14842 from l-bat:ocv_conv3d
* Support Conv3D on OCV backend
* Add header
* Add perf tests
* Support pool3d
* Enable Resnet34_kinetics on OCV backend
* Add test
* Fix conv
* Optimize Conv2D
Alexander Alekhin [Tue, 9 Jul 2019 14:34:11 +0000 (14:34 +0000)]
Merge pull request #15001 from antmicro:v4l2-y10-support
Alexander Alekhin [Tue, 9 Jul 2019 14:14:06 +0000 (14:14 +0000)]
Merge pull request #14989 from alalek:issue_14978
Tomasz Gorochowik [Tue, 9 Jul 2019 12:00:17 +0000 (14:00 +0200)]
V4L2: Add V4L2_PIX_FMT_Y10 (10 bit grey) support
Alexander Alekhin [Mon, 8 Jul 2019 16:47:19 +0000 (16:47 +0000)]
Merge pull request #14811 from jxu:ubuntu-doc-fix
jxu [Fri, 14 Jun 2019 21:57:28 +0000 (17:57 -0400)]
Fix python setup in ubuntu dependencies
Alexander Alekhin [Sat, 6 Jul 2019 10:06:03 +0000 (10:06 +0000)]
imgcodecs: force reshaping of imdecode() input into a single row
OpenCV upstream stuff may reinterpret vector as column.
Alexander Alekhin [Sat, 6 Jul 2019 08:20:20 +0000 (08:20 +0000)]
Merge pull request #14981 from alalek:android_camera_use_calc_frame_size_method
Alexander Alekhin [Fri, 5 Jul 2019 09:31:08 +0000 (09:31 +0000)]
Merge pull request #14983 from tomoaki0705:fixOclCvtColorMRGBA
Tomoaki Teshima [Fri, 5 Jul 2019 02:22:22 +0000 (11:22 +0900)]
fix test failure of OCL_ImgProc/CvtColor8u.mRGBA2RGBA
Alexander Alekhin [Thu, 4 Jul 2019 21:41:14 +0000 (21:41 +0000)]
android: JavaCamera2View use calculateCameraFrameSize() method
from CameraBridgeViewBase (common base with JavaCameraView)
Diego [Thu, 4 Jul 2019 18:15:04 +0000 (20:15 +0200)]
Merge pull request #14858 from dvd42:instancenorm_onnx
Instancenorm onnx (#14858)
* Onnx unsupported operation handling
* instance norm implementation
* Revert "Onnx unsupported operation handling"
* instance norm layer test
* onnx instancenorm layer
Alexander Alekhin [Thu, 4 Jul 2019 14:01:27 +0000 (14:01 +0000)]
Merge pull request #14970 from terfendail:undistort_avx2_fix
Vitaly Tuzov [Wed, 3 Jul 2019 12:15:28 +0000 (15:15 +0300)]
Fixed initUndistortRectifyMap AVX2 implementation
Alexander Alekhin [Thu, 4 Jul 2019 06:57:14 +0000 (09:57 +0300)]
Merge pull request #14860 from vonchenplus:ocv_maxpoolgrad
Diego [Thu, 4 Jul 2019 05:56:00 +0000 (07:56 +0200)]
Merge pull request #14959 from dvd42:onnx_clip
* onnx clip operation
Alexander Alekhin [Wed, 3 Jul 2019 22:33:26 +0000 (22:33 +0000)]
Merge pull request #14975 from alalek:clang_suppress_warnings
Alexander Alekhin [Wed, 3 Jul 2019 21:55:30 +0000 (21:55 +0000)]
videoio: eliminate build warnings (clang)
Alexander Alekhin [Wed, 3 Jul 2019 19:14:43 +0000 (19:14 +0000)]
Merge pull request #14974 from alalek:ts_optional_files_runtime_check
Alexander Alekhin [Wed, 3 Jul 2019 19:13:57 +0000 (19:13 +0000)]
Merge pull request #14973 from alalek:itt_aarch64_support
Alexander Alekhin [Wed, 3 Jul 2019 16:01:03 +0000 (19:01 +0300)]
ts: runtime check for misused 'optional' test data files
Alexander Alekhin [Wed, 3 Jul 2019 15:06:59 +0000 (18:06 +0300)]
3rdparty(itt): support AARCH64
gal0is [Sat, 15 Jun 2019 15:51:13 +0000 (23:51 +0800)]
tensroflow support maxpoolgrad
Alexander Alekhin [Tue, 2 Jul 2019 21:14:02 +0000 (21:14 +0000)]
Merge pull request #14954 from rafagjordana:fix_blob_detection_insertion_sort
Alexander Alekhin [Tue, 2 Jul 2019 21:12:00 +0000 (21:12 +0000)]
Merge pull request #14926 from alalek:tbb_version_2019u8
Alexander Alekhin [Tue, 2 Jul 2019 20:31:33 +0000 (20:31 +0000)]
Merge pull request #14929 from alalek:cmake_rpath_link_support
Rafa Gomez-Jordana [Mon, 1 Jul 2019 15:48:48 +0000 (17:48 +0200)]
Fix blob detector insertion sort
Alexander Alekhin [Tue, 2 Jul 2019 19:50:47 +0000 (19:50 +0000)]
Merge pull request #14964 from arnaudbrejeon:bug_fix_14955
Alexander Alekhin [Tue, 2 Jul 2019 19:43:09 +0000 (19:43 +0000)]
Merge pull request #14963 from alalek:pr14925_fix
arnaudbrejeon [Tue, 2 Jul 2019 16:56:31 +0000 (09:56 -0700)]
Fix crash, add assert and test
Alexander Alekhin [Tue, 2 Jul 2019 16:40:21 +0000 (16:40 +0000)]
Merge pull request #14958 from tomoaki0705:fixArmFp16Behavior
Alexander Alekhin [Tue, 2 Jul 2019 16:05:53 +0000 (16:05 +0000)]
Merge pull request #14925 from StefanBruens:handle_absolute_include_path
Tomoaki Teshima [Tue, 2 Jul 2019 12:57:15 +0000 (21:57 +0900)]
re-enable CPU_BASELINE=FP16 on Armv7 platform
Alexander Alekhin [Tue, 2 Jul 2019 09:44:29 +0000 (09:44 +0000)]
Merge pull request #14953 from alalek:core_static_analysis_eval_expr
armenpoghosov [Mon, 1 Jul 2019 18:57:28 +0000 (20:57 +0200)]
Merge pull request #14828 from armenpoghosov:parmen_RANSACPointSetRegistrator_getSubset_disaster_cleanup
Parmen ransac point set registrator get subset disaster cleanup (#14828)
Alexander Alekhin [Mon, 1 Jul 2019 17:00:24 +0000 (17:00 +0000)]
Merge pull request #14837 from Cartucho:fix_laplace_operator_on_python
Alexander Alekhin [Mon, 1 Jul 2019 16:58:57 +0000 (16:58 +0000)]
Merge pull request #14880 from dkurt:dnn_ie_tests
Vitaly Tuzov [Mon, 1 Jul 2019 16:53:51 +0000 (19:53 +0300)]
Merge pull request #14916 from terfendail:wsignmask_deprecated
* Avoid using v_signmask universal intrinsic and mark it as deprecated
* Renamed v_find_negative to v_scan_forward
Alexander Alekhin [Mon, 1 Jul 2019 15:17:03 +0000 (18:17 +0300)]
core: evaluate CV_Error() parameters during static scans
StefanBruens [Sun, 30 Jun 2019 16:04:25 +0000 (18:04 +0200)]
Merge pull request #14936 from StefanBruens:crosscorr_cleanup
Crosscorr cleanup (#14936)
* Simplify code for convolution destination type/size
For the 2d filter code, destination size equals source size, and the
crossCorr function even (re-)creates the output matrix with the given size.
The number of channels also have to match. The destination type() is the
one used to create the output matrix, so we can use its type() here.
This is a preparatory patch.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
* Remove redundant destination size and type parameters from crossCorr
All calling sites of crossCorr already use (...,
mat, mat.size(), mat.type(), ...), so the parameters are redundant.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Alexander Alekhin [Sun, 30 Jun 2019 07:47:07 +0000 (07:47 +0000)]
Merge pull request #14934 from StefanBruens:silence_assignment_operator_warning
Stefan Brüns [Sat, 29 Jun 2019 18:28:24 +0000 (20:28 +0200)]
Explicitly default operator= for Vec<T, n>
Due to the explicitly declared copy constructor Vec<T, n>::Vec(Vec <T,n>&)
GCC 9 warns if there is no assignment operator, as having one typically
requires the other (rule-of-three, constructor/desctructor/assginment).
As the values are just a plain array the default assignment operator does
the right thing. Tell the compiler explicitly to default it.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Alexander Alekhin [Sat, 29 Jun 2019 17:26:31 +0000 (17:26 +0000)]
Merge pull request #14931 from dkurt:fix_dnn_js_sample_v4
Alexander Alekhin [Sat, 29 Jun 2019 17:17:16 +0000 (17:17 +0000)]
Merge pull request #14920 from StefanBruens:fix_arm_on_aarch64_detection
Dmitry Kurtaev [Sat, 29 Jun 2019 16:21:14 +0000 (19:21 +0300)]
Fix JS sample of dnn
Alexander Alekhin [Fri, 28 Jun 2019 16:32:59 +0000 (19:32 +0300)]
3rdparty: TBB version 2018u1 => 2019u8
- make it configurable via OPENCV_TBB_RELEASE + OPENCV_TBB_RELEASE_MD5
- remove legacy support
Alexander Alekhin [Fri, 28 Jun 2019 22:39:38 +0000 (22:39 +0000)]
cmake: support rpath-link linker option
- builds with CMAKE_SKIP_RPATH=ON should properly find project .so files from <build>/lib directory
- $ORIGIN doesn't work properly in cross-compilation mode
Alexander Alekhin [Fri, 28 Jun 2019 20:33:17 +0000 (20:33 +0000)]
cmake: normalize include directories in OpenCVConfig.cmake
Stefan Brüns [Fri, 28 Jun 2019 13:36:18 +0000 (15:36 +0200)]
Handle absolute OPENCV_INCLUDE_INSTALL_PATH correctly
In case OPENCV_INCLUDE_INSTALL_PATH is absolute (i.e. starts with a "/"),
the path ends up with a double "/".
While this is mostly equivalent to a single slash, it may have a nasty
side effect when:
- OpenCV_INSTALL_PATH is empty
- OPENCV_INCLUDE_INSTALL_PATH is "/usr/include"
- the calling build script uses "-isystem" to specify the path to the
headers of dependencies (to avoid warnings)
Specifying "-isystem /usr/include" breaks the path ordering, and GCC can
no longer find its "stdlib.h", thus CMake filters such statements.
Unfortunately it fails to do so when using "//usr/include".
Dmitry Kurtaev [Mon, 24 Jun 2019 18:55:32 +0000 (21:55 +0300)]
Enable some tests for Inference Engine backend
Stefan Brüns [Thu, 27 Jun 2019 22:17:26 +0000 (00:17 +0200)]
Fix detection of 32bit ARM builds on Aarch64
It is perfectly possible to compile ARM binaries on Aarch64. Generalize
the code to no only swap X86 with X86_64, but also ARM and AARCH64.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Alexander Alekhin [Thu, 27 Jun 2019 21:34:41 +0000 (21:34 +0000)]
Merge pull request #14918 from alalek:dnn_ie_compilation
Alexander Alekhin [Thu, 27 Jun 2019 14:04:10 +0000 (17:04 +0300)]
dnn: adjust compilation options
Alexander Alekhin [Thu, 27 Jun 2019 14:22:15 +0000 (14:22 +0000)]
Merge pull request #14914 from Nuzhny007:3.4
Alexander Alekhin [Thu, 27 Jun 2019 10:16:59 +0000 (10:16 +0000)]
Merge pull request #14905 from savuor:fix/inst_region_unique
Alexander Alekhin [Thu, 27 Jun 2019 10:14:24 +0000 (10:14 +0000)]
Merge pull request #14881 from dkurt:dnn_ie_num_threads
Nuzhny007 [Thu, 27 Jun 2019 10:13:48 +0000 (13:13 +0300)]
Fixed names conflict with dldt
Dmitry Kurtaev [Mon, 24 Jun 2019 19:41:30 +0000 (22:41 +0300)]
Limit number of threads in CPU plugin of IE by OpenCV's getNumThreads
Rostislav Vasilikhin [Wed, 26 Jun 2019 22:17:26 +0000 (01:17 +0300)]
fixed multi instrumentations
Alexander Alekhin [Wed, 26 Jun 2019 20:04:26 +0000 (23:04 +0300)]
Merge pull request #14899 from alalek:dnn_fix_bnll_layer
* dnn: fix BNLLLayer implementation
details: https://github.com/BVLC/caffe/blame/1.0/src/caffe/layers/bnll_layer.cpp#L17
* dnn: enable OCV/OpenCL BNLL layer
Alexander Alekhin [Wed, 26 Jun 2019 20:03:57 +0000 (20:03 +0000)]
Merge pull request #14895 from alalek:dnn_ie_extensions_path
Alexander Alekhin [Wed, 26 Jun 2019 20:03:04 +0000 (20:03 +0000)]
Merge pull request #14886 from alalek:fix_grabcut_kmeans_call_14879
Apoorv Goel [Wed, 26 Jun 2019 16:35:11 +0000 (19:35 +0300)]
Merge pull request #14898 from UnderscoreAsterisk:flann-warnings-and-4376
Keep a local copy of `features` from `flann::GenericIndex ` constructor (#14898)
* Fix warnings on Windows
* Fix #4376
Alexander Alekhin [Wed, 26 Jun 2019 15:54:46 +0000 (15:54 +0000)]
Merge pull request #14900 from opencv:dnn_fix_js_sample_v3
Dmitry Kurtaev [Wed, 26 Jun 2019 14:27:56 +0000 (17:27 +0300)]
Remove extra ")"
Alexander Alekhin [Wed, 26 Jun 2019 14:13:03 +0000 (14:13 +0000)]
Merge pull request #14890 from alalek:dnn_consistent_protobuf_readers
Alexander Alekhin [Wed, 26 Jun 2019 14:10:14 +0000 (14:10 +0000)]
Merge pull request #14889 from alalek:issue_14863
Alexander Alekhin [Wed, 26 Jun 2019 13:35:21 +0000 (13:35 +0000)]
Merge pull request #14775 from cudawarped:master
Alexander Alekhin [Wed, 26 Jun 2019 13:34:09 +0000 (13:34 +0000)]
Merge pull request #13252 from take1014:filter2d_13179
James Bowley [Mon, 10 Jun 2019 16:42:37 +0000 (17:42 +0100)]
Update obsolete flag in Intel video decoder.
Old flag resulted in software implementation being selected when the Intel decoder is not the primary adapter.
Alexander Alekhin [Wed, 26 Jun 2019 06:41:01 +0000 (06:41 +0000)]
dnn: configure plugin path for InferenceEngine
Alexander Alekhin [Tue, 25 Jun 2019 22:07:02 +0000 (22:07 +0000)]
Merge pull request #14869 from alalek:samples_msvs2019_support
Alexander Alekhin [Tue, 25 Jun 2019 22:00:25 +0000 (22:00 +0000)]
Merge pull request #14814 from alalek:dnn_skip_test_tags
Alexander Alekhin [Tue, 25 Jun 2019 15:03:04 +0000 (18:03 +0300)]
dnn: both protobuf readers have similar behavior
- ReadProtoFromTextFile
- ReadProtoFromTextBuffer
Alexander Alekhin [Tue, 25 Jun 2019 15:01:12 +0000 (15:01 +0000)]
Merge pull request #14849 from thangktran:thangktran/feature/fillPoly_and_fillConvexPoly_js_binding
Alexander Alekhin [Tue, 25 Jun 2019 14:24:50 +0000 (17:24 +0300)]
core(intrin): v_load_low() workaround for aarch64+clang
Alexander Alekhin [Tue, 25 Jun 2019 10:53:49 +0000 (10:53 +0000)]
Merge pull request #14875 from Legoless:master
Alexander Alekhin [Tue, 25 Jun 2019 10:42:04 +0000 (13:42 +0300)]
imgproc: fix kmeans() call from grabCut()