platform/upstream/opencv.git
5 years agoimgcodecs: force reshaping of imdecode() input into a single row
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.

5 years agoMerge pull request #14981 from alalek:android_camera_use_calc_frame_size_method
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

5 years agoMerge pull request #14983 from tomoaki0705:fixOclCvtColorMRGBA
Alexander Alekhin [Fri, 5 Jul 2019 09:31:08 +0000 (09:31 +0000)]
Merge pull request #14983 from tomoaki0705:fixOclCvtColorMRGBA

5 years agofix test failure of OCL_ImgProc/CvtColor8u.mRGBA2RGBA
Tomoaki Teshima [Fri, 5 Jul 2019 02:22:22 +0000 (11:22 +0900)]
fix test failure of OCL_ImgProc/CvtColor8u.mRGBA2RGBA

5 years agoandroid: JavaCamera2View use calculateCameraFrameSize() method
Alexander Alekhin [Thu, 4 Jul 2019 21:41:14 +0000 (21:41 +0000)]
android: JavaCamera2View use calculateCameraFrameSize() method

from CameraBridgeViewBase (common base with JavaCameraView)

5 years agoMerge pull request #14858 from dvd42:instancenorm_onnx
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

5 years agoMerge pull request #14970 from terfendail:undistort_avx2_fix
Alexander Alekhin [Thu, 4 Jul 2019 14:01:27 +0000 (14:01 +0000)]
Merge pull request #14970 from terfendail:undistort_avx2_fix

5 years agoFixed initUndistortRectifyMap AVX2 implementation
Vitaly Tuzov [Wed, 3 Jul 2019 12:15:28 +0000 (15:15 +0300)]
Fixed initUndistortRectifyMap AVX2 implementation

5 years agoMerge pull request #14860 from vonchenplus:ocv_maxpoolgrad
Alexander Alekhin [Thu, 4 Jul 2019 06:57:14 +0000 (09:57 +0300)]
Merge pull request #14860 from vonchenplus:ocv_maxpoolgrad

5 years agoMerge pull request #14959 from dvd42:onnx_clip
Diego [Thu, 4 Jul 2019 05:56:00 +0000 (07:56 +0200)]
Merge pull request #14959 from dvd42:onnx_clip

* onnx clip operation

5 years agoMerge pull request #14975 from alalek:clang_suppress_warnings
Alexander Alekhin [Wed, 3 Jul 2019 22:33:26 +0000 (22:33 +0000)]
Merge pull request #14975 from alalek:clang_suppress_warnings

5 years agovideoio: eliminate build warnings (clang)
Alexander Alekhin [Wed, 3 Jul 2019 21:55:30 +0000 (21:55 +0000)]
videoio: eliminate build warnings (clang)

5 years agoMerge pull request #14974 from alalek:ts_optional_files_runtime_check
Alexander Alekhin [Wed, 3 Jul 2019 19:14:43 +0000 (19:14 +0000)]
Merge pull request #14974 from alalek:ts_optional_files_runtime_check

5 years agoMerge pull request #14973 from alalek:itt_aarch64_support
Alexander Alekhin [Wed, 3 Jul 2019 19:13:57 +0000 (19:13 +0000)]
Merge pull request #14973 from alalek:itt_aarch64_support

5 years agots: runtime check for misused 'optional' test data files
Alexander Alekhin [Wed, 3 Jul 2019 16:01:03 +0000 (19:01 +0300)]
ts: runtime check for misused 'optional' test data files

5 years ago3rdparty(itt): support AARCH64
Alexander Alekhin [Wed, 3 Jul 2019 15:06:59 +0000 (18:06 +0300)]
3rdparty(itt): support AARCH64

5 years agotensroflow support maxpoolgrad
gal0is [Sat, 15 Jun 2019 15:51:13 +0000 (23:51 +0800)]
tensroflow support maxpoolgrad

5 years agoMerge pull request #14954 from rafagjordana:fix_blob_detection_insertion_sort
Alexander Alekhin [Tue, 2 Jul 2019 21:14:02 +0000 (21:14 +0000)]
Merge pull request #14954 from rafagjordana:fix_blob_detection_insertion_sort

5 years agoMerge pull request #14926 from alalek:tbb_version_2019u8
Alexander Alekhin [Tue, 2 Jul 2019 21:12:00 +0000 (21:12 +0000)]
Merge pull request #14926 from alalek:tbb_version_2019u8

5 years agoMerge pull request #14929 from alalek:cmake_rpath_link_support
Alexander Alekhin [Tue, 2 Jul 2019 20:31:33 +0000 (20:31 +0000)]
Merge pull request #14929 from alalek:cmake_rpath_link_support

5 years agoFix blob detector insertion sort
Rafa Gomez-Jordana [Mon, 1 Jul 2019 15:48:48 +0000 (17:48 +0200)]
Fix blob detector insertion sort

5 years agoMerge pull request #14964 from arnaudbrejeon:bug_fix_14955
Alexander Alekhin [Tue, 2 Jul 2019 19:50:47 +0000 (19:50 +0000)]
Merge pull request #14964 from arnaudbrejeon:bug_fix_14955

5 years agoMerge pull request #14963 from alalek:pr14925_fix
Alexander Alekhin [Tue, 2 Jul 2019 19:43:09 +0000 (19:43 +0000)]
Merge pull request #14963 from alalek:pr14925_fix

5 years agoFix crash, add assert and test
arnaudbrejeon [Tue, 2 Jul 2019 16:56:31 +0000 (09:56 -0700)]
Fix crash, add assert and test

5 years agoMerge pull request #14958 from tomoaki0705:fixArmFp16Behavior
Alexander Alekhin [Tue, 2 Jul 2019 16:40:21 +0000 (16:40 +0000)]
Merge pull request #14958 from tomoaki0705:fixArmFp16Behavior

5 years agoMerge pull request #14925 from StefanBruens:handle_absolute_include_path
Alexander Alekhin [Tue, 2 Jul 2019 16:05:53 +0000 (16:05 +0000)]
Merge pull request #14925 from StefanBruens:handle_absolute_include_path

5 years agore-enable CPU_BASELINE=FP16 on Armv7 platform
Tomoaki Teshima [Tue, 2 Jul 2019 12:57:15 +0000 (21:57 +0900)]
re-enable CPU_BASELINE=FP16 on Armv7 platform

5 years agoMerge pull request #14953 from alalek:core_static_analysis_eval_expr
Alexander Alekhin [Tue, 2 Jul 2019 09:44:29 +0000 (09:44 +0000)]
Merge pull request #14953 from alalek:core_static_analysis_eval_expr

5 years agoMerge pull request #14828 from armenpoghosov:parmen_RANSACPointSetRegistrator_getSubs...
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)

5 years agoMerge pull request #14837 from Cartucho:fix_laplace_operator_on_python
Alexander Alekhin [Mon, 1 Jul 2019 17:00:24 +0000 (17:00 +0000)]
Merge pull request #14837 from Cartucho:fix_laplace_operator_on_python

5 years agoMerge pull request #14880 from dkurt:dnn_ie_tests
Alexander Alekhin [Mon, 1 Jul 2019 16:58:57 +0000 (16:58 +0000)]
Merge pull request #14880 from dkurt:dnn_ie_tests

5 years agoMerge pull request #14916 from terfendail:wsignmask_deprecated
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

5 years agocore: evaluate CV_Error() parameters during static scans
Alexander Alekhin [Mon, 1 Jul 2019 15:17:03 +0000 (18:17 +0300)]
core: evaluate CV_Error() parameters during static scans

5 years agoMerge pull request #14936 from StefanBruens:crosscorr_cleanup
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>
5 years agoMerge pull request #14934 from StefanBruens:silence_assignment_operator_warning
Alexander Alekhin [Sun, 30 Jun 2019 07:47:07 +0000 (07:47 +0000)]
Merge pull request #14934 from StefanBruens:silence_assignment_operator_warning

5 years agoExplicitly default operator= for Vec<T, n>
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>
5 years agoMerge pull request #14931 from dkurt:fix_dnn_js_sample_v4
Alexander Alekhin [Sat, 29 Jun 2019 17:26:31 +0000 (17:26 +0000)]
Merge pull request #14931 from dkurt:fix_dnn_js_sample_v4

5 years agoMerge pull request #14920 from StefanBruens:fix_arm_on_aarch64_detection
Alexander Alekhin [Sat, 29 Jun 2019 17:17:16 +0000 (17:17 +0000)]
Merge pull request #14920 from StefanBruens:fix_arm_on_aarch64_detection

5 years agoFix JS sample of dnn
Dmitry Kurtaev [Sat, 29 Jun 2019 16:21:14 +0000 (19:21 +0300)]
Fix JS sample of dnn

5 years ago3rdparty: TBB version 2018u1 => 2019u8
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

5 years agocmake: support rpath-link linker option
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

5 years agocmake: normalize include directories in OpenCVConfig.cmake
Alexander Alekhin [Fri, 28 Jun 2019 20:33:17 +0000 (20:33 +0000)]
cmake: normalize include directories in OpenCVConfig.cmake

5 years agoHandle absolute OPENCV_INCLUDE_INSTALL_PATH correctly
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".

5 years agoEnable some tests for Inference Engine backend
Dmitry Kurtaev [Mon, 24 Jun 2019 18:55:32 +0000 (21:55 +0300)]
Enable some tests for Inference Engine backend

5 years agoFix detection of 32bit ARM builds on Aarch64
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>
5 years agoMerge pull request #14918 from alalek:dnn_ie_compilation
Alexander Alekhin [Thu, 27 Jun 2019 21:34:41 +0000 (21:34 +0000)]
Merge pull request #14918 from alalek:dnn_ie_compilation

5 years agodnn: adjust compilation options
Alexander Alekhin [Thu, 27 Jun 2019 14:04:10 +0000 (17:04 +0300)]
dnn: adjust compilation options

5 years agoMerge pull request #14914 from Nuzhny007:3.4
Alexander Alekhin [Thu, 27 Jun 2019 14:22:15 +0000 (14:22 +0000)]
Merge pull request #14914 from Nuzhny007:3.4

5 years agoMerge pull request #14905 from savuor:fix/inst_region_unique
Alexander Alekhin [Thu, 27 Jun 2019 10:16:59 +0000 (10:16 +0000)]
Merge pull request #14905 from savuor:fix/inst_region_unique

5 years agoMerge pull request #14881 from dkurt:dnn_ie_num_threads
Alexander Alekhin [Thu, 27 Jun 2019 10:14:24 +0000 (10:14 +0000)]
Merge pull request #14881 from dkurt:dnn_ie_num_threads

5 years agoFixed names conflict with dldt
Nuzhny007 [Thu, 27 Jun 2019 10:13:48 +0000 (13:13 +0300)]
Fixed names conflict with dldt

5 years agoLimit number of threads in CPU plugin of IE by OpenCV's getNumThreads
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

5 years agofixed multi instrumentations
Rostislav Vasilikhin [Wed, 26 Jun 2019 22:17:26 +0000 (01:17 +0300)]
fixed multi instrumentations

5 years agoMerge pull request #14899 from alalek:dnn_fix_bnll_layer
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

5 years agoMerge pull request #14895 from alalek:dnn_ie_extensions_path
Alexander Alekhin [Wed, 26 Jun 2019 20:03:57 +0000 (20:03 +0000)]
Merge pull request #14895 from alalek:dnn_ie_extensions_path

5 years agoMerge pull request #14886 from alalek:fix_grabcut_kmeans_call_14879
Alexander Alekhin [Wed, 26 Jun 2019 20:03:04 +0000 (20:03 +0000)]
Merge pull request #14886 from alalek:fix_grabcut_kmeans_call_14879

5 years agoMerge pull request #14898 from UnderscoreAsterisk:flann-warnings-and-4376
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

5 years agoMerge pull request #14900 from opencv:dnn_fix_js_sample_v3
Alexander Alekhin [Wed, 26 Jun 2019 15:54:46 +0000 (15:54 +0000)]
Merge pull request #14900 from opencv:dnn_fix_js_sample_v3

5 years agoRemove extra ")"
Dmitry Kurtaev [Wed, 26 Jun 2019 14:27:56 +0000 (17:27 +0300)]
Remove extra ")"

5 years agoMerge pull request #14890 from alalek:dnn_consistent_protobuf_readers
Alexander Alekhin [Wed, 26 Jun 2019 14:13:03 +0000 (14:13 +0000)]
Merge pull request #14890 from alalek:dnn_consistent_protobuf_readers

5 years agoMerge pull request #14889 from alalek:issue_14863
Alexander Alekhin [Wed, 26 Jun 2019 14:10:14 +0000 (14:10 +0000)]
Merge pull request #14889 from alalek:issue_14863

5 years agoMerge pull request #14775 from cudawarped:master
Alexander Alekhin [Wed, 26 Jun 2019 13:35:21 +0000 (13:35 +0000)]
Merge pull request #14775 from cudawarped:master

5 years agoMerge pull request #13252 from take1014:filter2d_13179
Alexander Alekhin [Wed, 26 Jun 2019 13:34:09 +0000 (13:34 +0000)]
Merge pull request #13252 from take1014:filter2d_13179

5 years agoUpdate obsolete flag in Intel video decoder.
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.

5 years agodnn: configure plugin path for InferenceEngine
Alexander Alekhin [Wed, 26 Jun 2019 06:41:01 +0000 (06:41 +0000)]
dnn: configure plugin path for InferenceEngine

5 years agoMerge pull request #14869 from alalek:samples_msvs2019_support
Alexander Alekhin [Tue, 25 Jun 2019 22:07:02 +0000 (22:07 +0000)]
Merge pull request #14869 from alalek:samples_msvs2019_support

5 years agoMerge pull request #14814 from alalek:dnn_skip_test_tags
Alexander Alekhin [Tue, 25 Jun 2019 22:00:25 +0000 (22:00 +0000)]
Merge pull request #14814 from alalek:dnn_skip_test_tags

5 years agodnn: both protobuf readers have similar behavior
Alexander Alekhin [Tue, 25 Jun 2019 15:03:04 +0000 (18:03 +0300)]
dnn: both protobuf readers have similar behavior

- ReadProtoFromTextFile
- ReadProtoFromTextBuffer

5 years agoMerge pull request #14849 from thangktran:thangktran/feature/fillPoly_and_fillConvexP...
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

5 years agocore(intrin): v_load_low() workaround for aarch64+clang
Alexander Alekhin [Tue, 25 Jun 2019 14:24:50 +0000 (17:24 +0300)]
core(intrin): v_load_low() workaround for aarch64+clang

5 years agoMerge pull request #14875 from Legoless:master
Alexander Alekhin [Tue, 25 Jun 2019 10:53:49 +0000 (10:53 +0000)]
Merge pull request #14875 from Legoless:master

5 years agoimgproc: fix kmeans() call from grabCut()
Alexander Alekhin [Tue, 25 Jun 2019 10:42:04 +0000 (13:42 +0300)]
imgproc: fix kmeans() call from grabCut()

5 years ago[#14873] Fix code signing issue in Try Compile script
Dal Rupnik [Mon, 24 Jun 2019 12:42:03 +0000 (14:42 +0200)]
[#14873] Fix code signing issue in Try Compile script

5 years agoMerge pull request #14876 from dkurt:fix_js_face_recognition_v2
Alexander Alekhin [Mon, 24 Jun 2019 18:29:05 +0000 (18:29 +0000)]
Merge pull request #14876 from dkurt:fix_js_face_recognition_v2

5 years agoFix face recognition JS sample
Dmitry Kurtaev [Mon, 24 Jun 2019 13:41:37 +0000 (16:41 +0300)]
Fix face recognition JS sample

5 years agoMerge pull request #14845 from vonchenplus:ocv_mirrorpad
Feng Chen [Mon, 24 Jun 2019 09:27:42 +0000 (17:27 +0800)]
Merge pull request #14845 from vonchenplus:ocv_mirrorpad

* tensorflow support mirror pad

* revert macro define

* revert macro define

* reduce code duplication

* revert macro define

5 years agoFix Python code, for the tutorial_laplace_operator, to get the same result between...
tribta [Wed, 19 Jun 2019 18:52:09 +0000 (19:52 +0100)]
Fix Python code, for the tutorial_laplace_operator, to get the same result between the Cpp, Java and Python

5 years agodnn(test): replace SkipTestException with tags
Alexander Alekhin [Sat, 15 Jun 2019 12:17:25 +0000 (12:17 +0000)]
dnn(test): replace SkipTestException with tags

5 years agoMerge pull request #14847 from alalek:dnn_fix_test_data_searching
Alexander Alekhin [Sun, 23 Jun 2019 12:42:26 +0000 (12:42 +0000)]
Merge pull request #14847 from alalek:dnn_fix_test_data_searching

5 years agoMerge pull request #14305 from cameron-martin:calib3d-js
Alexander Alekhin [Sat, 22 Jun 2019 16:43:40 +0000 (16:43 +0000)]
Merge pull request #14305 from cameron-martin:calib3d-js

5 years agosamples: support MSVS 2019 compiler
Alexander Alekhin [Sat, 22 Jun 2019 16:24:21 +0000 (16:24 +0000)]
samples: support MSVS 2019 compiler

requires CMake 3.14+

5 years agoMerge pull request #14864 from dkurt:fix_js_face_recognition
Alexander Alekhin [Sat, 22 Jun 2019 07:15:02 +0000 (07:15 +0000)]
Merge pull request #14864 from dkurt:fix_js_face_recognition

5 years agoMerge pull request #14833 from l-bat:ocv_eltwise3d
Lubov Batanina [Sat, 22 Jun 2019 07:13:28 +0000 (10:13 +0300)]
Merge pull request #14833 from l-bat:ocv_eltwise3d

* Support Eltwise3d

* Refactoring

* Fix test

5 years agoFix face recognition sample for JS
Dmitry Kurtaev [Sat, 22 Jun 2019 04:53:52 +0000 (21:53 -0700)]
Fix face recognition sample for JS

5 years agoMerge pull request #14855 from alalek:update_version_3.4.7-pre
Alexander Alekhin [Fri, 21 Jun 2019 14:26:40 +0000 (17:26 +0300)]
Merge pull request #14855 from alalek:update_version_3.4.7-pre

5 years agopre: OpenCV 3.4.7 (version++)
Alexander Alekhin [Fri, 21 Jun 2019 11:25:06 +0000 (14:25 +0300)]
pre: OpenCV 3.4.7 (version++)

5 years agoexperimental version++
Alexander Alekhin [Fri, 21 Jun 2019 11:22:01 +0000 (14:22 +0300)]
experimental version++

5 years agoMerge pull request #14848 from alalek:build_warnings_avx512
Alexander Alekhin [Fri, 21 Jun 2019 13:53:52 +0000 (13:53 +0000)]
Merge pull request #14848 from alalek:build_warnings_avx512

5 years agoMerge pull request #14834 from alalek:videoio_gstreamer_issues
Alexander Alekhin [Fri, 21 Jun 2019 13:38:34 +0000 (13:38 +0000)]
Merge pull request #14834 from alalek:videoio_gstreamer_issues

5 years agoMerge pull request #14836 from alalek:static_analysis_issues_3.4
Alexander Alekhin [Fri, 21 Jun 2019 10:26:09 +0000 (10:26 +0000)]
Merge pull request #14836 from alalek:static_analysis_issues_3.4

5 years agojs: Add findHomography js bindings.
Cameron Martin [Thu, 11 Apr 2019 23:13:12 +0000 (00:13 +0100)]
js: Add findHomography js bindings.

Removed constants from legacy C api and switched out header with shorter version.

Removed blank line that was failing CI.

5 years agoMerge pull request #14737 from Wenzhao-Xiang:master
Alexander Alekhin [Thu, 20 Jun 2019 19:01:32 +0000 (19:01 +0000)]
Merge pull request #14737 from Wenzhao-Xiang:master

5 years agojs: added fillPoly() and fillConvexPoly()
Thang Tran [Thu, 20 Jun 2019 17:56:23 +0000 (19:56 +0200)]
js: added fillPoly() and fillConvexPoly()

5 years agocore: eliminate AVX512 build warnings
Alexander Alekhin [Thu, 20 Jun 2019 16:28:53 +0000 (19:28 +0300)]
core: eliminate AVX512 build warnings

from MSVS2017 and GCC8 -O1 mode

5 years agotest: fix usage of findDataFile()
Alexander Alekhin [Thu, 20 Jun 2019 13:43:28 +0000 (16:43 +0300)]
test: fix usage of findDataFile()

misused 'optional' mode

5 years agovideoio: refactor GStreamer backend
Alexander Alekhin [Mon, 17 Jun 2019 16:33:02 +0000 (19:33 +0300)]
videoio: refactor GStreamer backend

- exception safe smart pointers, fixed many memory leaks
- fixed errors handling
- fixed strings handling
- fixed file existence check
- fixed toFraction() implementation
- add 'drop=true' for v4l2 input
- avoid overriding custom pipelines sink's 'max-buffers' value
- updated valgrind supression rules
- added support for GStreamer native leaks tracking (via gst_deinit() call)
- repaired capturing through GStreamer0.10 (fixed CV_8UC1)

5 years agovideoio(test): avoid raw ptr in ffmpeg tests
Alexander Alekhin [Tue, 18 Jun 2019 14:25:43 +0000 (17:25 +0300)]
videoio(test): avoid raw ptr in ffmpeg tests

causes leaks if FFmpeg is disabled through OPENCV_VIDEOIO_PRIORITY_FFMPEG=0

5 years agocore: backport toLowerCase()/toUpperCase()
Alexander Alekhin [Tue, 18 Jun 2019 12:35:16 +0000 (15:35 +0300)]
core: backport toLowerCase()/toUpperCase()

5 years agovideoio(test): add extra videoio tests
Alexander Alekhin [Mon, 17 Jun 2019 20:47:41 +0000 (20:47 +0000)]
videoio(test): add extra videoio tests

5 years agostatic analysis issues
Alexander Alekhin [Wed, 19 Jun 2019 16:04:51 +0000 (19:04 +0300)]
static analysis issues