zuoshaobo
a34c02a001
add support for tf.add_n operation
2019-04-02 03:20:53 -04:00
Alexander Alekhin
b4e2c99346
Merge pull request #14201 from alalek:fix_ossfuzz_13295
2019-04-01 18:47:00 +00:00
Alexander Alekhin
33dde339fe
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-01 18:11:55 +03:00
Alexander Alekhin
341e2fa72d
Merge pull request #14214 from alalek:backport_14202
2019-04-01 14:39:25 +00:00
Alexander Alekhin
21f0146402
Merge pull request #14212 from dkurt:reduce_ie_models_tests
2019-04-01 14:38:07 +00:00
Alexander Alekhin
45169577ca
Merge pull request #14207 from alalek:fix_leak_eigenvalue_decomposition
2019-04-01 14:17:37 +00:00
Alexander Alekhin
2ece029fe0
imgcodecs(tiff): avoid leak of helper struct on malformed inputs
...
backporting of commit: 45428b897f
2019-04-01 14:08:40 +00:00
Dmitry Kurtaev
144b1f4d9d
Reduce number of tested models from OpenVINO
2019-04-01 15:15:00 +03:00
Alexander Alekhin
bda90dae77
Merge pull request #14200 from alalek:fix_imgcodecs_stream_set_pos
2019-04-01 11:04:20 +00:00
Alexander Alekhin
1e583942b9
core(lda): don't perform calculations in constructor
...
- exceptions from constructor will not cause destructor calls
2019-03-31 21:48:44 +00:00
Alexander Alekhin
142a524d2f
cmake: fix CUDA world build
2019-03-31 19:56:30 +00:00
Alexander Alekhin
6894651027
Merge pull request #14198 from alalek:issue_14195
2019-03-31 12:56:57 +00:00
Alexander Alekhin
6dfb6a3016
imgcodecs: fix RBaseStream::setPos() outside of current block
...
Seeking outside of the current block doesn't update actual data,
so getByte()/etc will get wrong data from stalled buffer.
2019-03-31 12:55:32 +00:00
Alexander Alekhin
f2803aba07
imgcodecs(sunras): avoid undefined shift
...
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13292
2019-03-31 12:14:42 +00:00
Alexander Alekhin
45428b897f
imgcodecs(tiff): avoid leak of helper struct on malformed inputs
...
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13285
2019-03-31 11:50:33 +00:00
Alexander Alekhin
ccb89a889a
imgcodecs(bmp): limit size of processed images
...
2Gb+ images can't be handled properly by current implementation
backporting of commit: 50a6f9d251
2019-03-31 10:52:33 +00:00
Alexander Alekhin
50a6f9d251
imgcodecs(bmp): limit size of processed images
...
2Gb+ images can't be handled properly by current implementation
ozz-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13295
2019-03-31 10:48:07 +00:00
David Carlier
06a4c20f60
OpenBSD build fix
...
required for close calls.
2019-03-31 10:54:47 +01:00
Alexander Alekhin
fcb07c64f3
cmake: fix build of dnn tests with shared common code
...
- don't share .cpp files (PCH support is broken)
2019-03-31 08:52:25 +00:00
Sayed Adel
de22442046
dnn:perf add missing definition __OPENCV_TEST to fix pch
2019-03-31 03:28:33 +02:00
Alexander Alekhin
7442100caa
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-29 19:29:36 +00:00
Maksim Shabunin
52cd1dacbf
Merge pull request #14156 from mshabunin:videowriter-bad-test
...
* videoio: added bad parameters handling to VideoWriter
* AVFoundation/Writer: support UTF-8, check input parameters
2019-03-29 17:52:22 +03:00
Lubov Batanina
7d3d6bc4e2
Merge pull request #13932 from l-bat:MyriadX_master_dldt
...
* Fix precision in tests for MyriadX
* Fix ONNX tests
* Add output range in ONNX tests
* Skip tests on Myriad OpenVINO 2018R5
* Add detect MyriadX
* Add detect MyriadX on OpenVINO R5
* Skip tests on Myriad next version of OpenVINO
* dnn(ie): VPU type from environment variable
* dnn(test): validate VPU type
* dnn(test): update DLIE test skip conditions
2019-03-29 16:42:58 +03:00
Pavel Rojtberg
62775660d1
core: python - test cv::copyTo with pre-allocated dst
2019-03-29 13:56:26 +01:00
Alexander Alekhin
f75152a597
gapi: fix build with Intel Compiler 2019
2019-03-28 19:24:43 +00:00
Alexander Alekhin
b761ec0132
Merge pull request #14177 from alalek:fix_14173
2019-03-28 14:57:07 +00:00
Alexander Alekhin
3cd6e3b304
Merge pull request #14166 from dkurt:fix_slim_mobilenet_v2
2019-03-28 14:37:35 +00:00
Alexander Alekhin
428ff431df
Merge pull request #14168 from alalek:dnn_fix_drop_IE_2018R2
2019-03-28 14:23:39 +00:00
Alexander Alekhin
c7c987843c
cmake: emit error if CUDA is enabled without opencv_contrib
2019-03-28 16:51:11 +03:00
Alexander Alekhin
73191ad3ec
Merge pull request #14172 from smirnov-alexey:gapi_fix_nv12_valgrind
2019-03-28 13:45:45 +00:00
smirnov-alexey
769d2f4c44
Fix valgrind issue in NV12 test
2019-03-28 12:59:51 +03:00
Alexander Alekhin
e8c20bfae6
dnn: fix support drop for IE<2018R3
...
- fix build with IE 2018R3
2019-03-27 20:36:48 +00:00
Alexander Alekhin
d6b82dcd65
Merge pull request #14162 from alalek:eliminate_coverity_scan_issues
...
core: eliminate coverity scan issues (#14162 )
* core(hal): avoid using of r,g,b,a parameters in interleave/deinterleave
- static analysis tools blame on possible parameters reordering
- align AVX parameters with corresponding SSE/NEO/VSX/cpp code
* core: avoid "i,j" parameters in Matx methods
- static analysis tools blame on possible parameters reordering
* core: resolve coverity scan issues
2019-03-27 15:48:00 +03:00
Alexander Alekhin
5368a4ac41
Merge pull request #14102 from alalek:core_refactor_eigenvalues
2019-03-27 12:46:51 +00:00
Dmitry Kurtaev
9cfd219d70
Fix Mobilenet v2 from TensorFlow slim
2019-03-27 15:10:57 +03:00
Alexander Alekhin
90df5e00b4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-26 18:56:54 +00:00
Alexander Alekhin
f738e490a3
Merge pull request #13989 from kohei-us:onnx-conv-transpose-output-shape
2019-03-26 17:04:52 +00:00
Alexander Alekhin
55366caecd
Merge pull request #14155 from alalek:fix_macos_ocl_warnings_3.4
2019-03-26 15:34:49 +00:00
Kohei Yoshida
212420516f
Add a test case for handling output_shape property for deconvolution layer.
2019-03-26 10:46:17 -04:00
Kohei Yoshida
3bcff7f941
Make use of explicit output shape for the de-convolution layer.
...
This is relevant to cases where the net is loaded from an ONNX model
containing ConvTranspose layers, which may include the output_shape
attribute.
c.f. https://github.com/onnx/onnx/blob/master/docs/Operators.md#ConvTranspose
2019-03-26 10:46:09 -04:00
Alexander Alekhin
6686559c70
ocl: define CL_SILENCE_DEPRECATION on MacOSX
2019-03-26 13:11:53 +03:00
Alexander Alekhin
cedd78d526
Merge pull request #14142 from mshabunin:fix-c-api-3.4
2019-03-25 18:58:28 +00:00
Maksim Shabunin
41da3ef1d2
Fixed cvdef.h for MSVC C users
2019-03-25 16:44:08 +03:00
Dmitry Kurtaev
714b38360f
Extend LRN layer support with IE backend
2019-03-25 12:53:34 +03:00
iPanda
097fc1a271
Merge pull request #13972 from Mainvooid:add_cuda_support_for_D3D11_interop
...
* Add CUDA support for D3D11 interop. #13888
color_detail.hpp: fixed build error : dynamic initialization is not supported for a __constant__ variable.
directx.cpp: Add CUDA support(cl_nv_d3d11_sharing) for D3D11 interop. #13888
Update directx.cpp
Format adjustment.
Update directx.cpp
fix error.
Update directx.cpp
Format adjustment
Update directx.cpp
fix trailing whitespace.
fix format errors
convert indentation to spaces .
Trim trailing whitespace.
Add information about source of cl_d3d11_ext.h
Avoid unrelated changes.
Increase compile-time conditional judgment.
Increase the judgment of whether the OCL device has the required extensions at compile time.
Add compilation option `HAVE_CLNVEXT`.Check CL support in runtime.
Check result of `clGetExtensionFunctionAddressForPlatform` for KHR is invalid.It always can get the address(from OpenCL.dll),So I check NV support(from nvopencl64.dll) before KHR when `HAVE_CLNVEXT` is enabled.
Delete cl_d3d11_ext.h
Modified parameter list
fix "cannot open include file: 'CL/cl_d3d11_ext.h'"
remove not referenced var
fix C2143: syntax error
Improve compile-time judgment.
dlrectx.cpp Modify the detection order.
initializeContextFromD3D11Device:
```
// try with NV(Need to check it first)
// try with KHR
```
fix warnig C4100
Revert "fix warnig C4100"
This reverts commit 76e5becb67780071d0cbde61cc4f5f807ad7c5ac.
fix warning C4100
fix warning C4505
Format alignment
Format adjustment and automatically detect header files.
Automatically detect header files when users are not configured or configuration errors occur.
avoid unrelated changes.
Update .cmake
Update .cmake
* fix build errors
* fix warning:defined but not used
* Revert "fix warning:defined but not used"
This reverts commit 7ab3537cd0
.
* fix warning:defined but not used
* fix build error for mac
* fix build error for win
* optimizing branch judgment
* Revert "optimizing branch judgment"
This reverts commit 88b72b870e
.
* fix warning C4702: unreachable code
* remove unused code
* Fix problems that may lead to undefined behavior
* Add status check
* fix error C2664,C2665 : cannot convert argument
* Format adjustment
VSCODE will automatically format the indentation to 4 spaces in some situation.
* fix error C2440
* fix error C2440
* add cl_d3d11_ext.h
* Format adjustment
* remove unnecessary checks
2019-03-24 18:34:09 +03:00
Brad Kelly
0fe17eeb68
Implementing AVX512 Support for 1 channel mats for CV_64F format
2019-03-22 09:44:23 -07:00
Alexander Alekhin
8c25a8eb7b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-22 19:31:31 +03:00
Alexander Alekhin
c43371f190
Merge pull request #14101 from alalek:core_fix_constexpt_fallback
2019-03-22 10:34:19 +00:00
Bharat123Rox
ea68f7ea1e
Remove dead link in calib3d.hpp
2019-03-21 07:41:32 +05:30
Alexander Alekhin
e09a464242
Merge pull request #14092 from mattismyname:fix-kmeans
2019-03-20 16:20:46 +00:00
Alexander Alekhin
4e60db9030
Merge pull request #14110 from seiko2plus:core_vsx_fp16
2019-03-20 16:04:20 +00:00
Matthew K. Gumbel
74e3403620
flann/kmeans: Fix non-determinism of KMeans index
...
When running with >1 OpenCV thread, KMeans index generation was
non-deterministic because of a RWW race. Issue is resolved by removing
the offending logic from the parallel section.
2019-03-20 08:44:31 -07:00
Alexander Alekhin
a8e635f177
Merge pull request #14069 from terfendail:transform_wintr
2019-03-20 15:39:40 +00:00
Sayed Adel
f41359688b
core:vsx Add support for VSX3 half precision conversions
2019-03-20 10:19:42 +02:00
Giles Payne
0d1a0b126b
Merge pull request #14005 from komakai:android-video-cap
...
* Add Android Media NDK video i/o file capture back-end
* Fix failing test
* Improve error handling/prevent resource leaks
* Add license text
* Modify default for WITH_ANDROID_MEDIANDK option
* Fix spelling of deleter_AMediaExtractor
2019-03-19 21:28:45 +03:00
Alexander Alekhin
9a202c1522
Merge pull request #14090 from andrey-golubev:gapi_unused_node_fluid_fix
2019-03-19 15:15:53 +00:00
Alexander Alekhin
6c862fae13
Merge pull request #14099 from seiko2plus:vsx_improvements_3
2019-03-19 14:59:58 +00:00
Alexander Alekhin
93a402d0f2
core: fix Core_EigenNonSymmetric.convergence test
2019-03-19 15:18:43 +03:00
Sayed Adel
4fe2d9bdbc
core:vsx Several improvements(3)
...
* optimize v_lut_deinterleave
* optimize v_interleave_/pairs/quads/triplets
* optimize v_lut, use vec_extract instead of aligned store
2019-03-19 12:30:50 +02:00
Alexander Alekhin
8518d078d7
core: fix fallback CV_CONSTEXPR definition
...
keep it empty to avoid failures of these declarations:
static CV_CONSTEXPR const int var = ...;
2019-03-19 13:02:22 +03:00
Vitaly Tuzov
d43597c199
transform() implementation updated to utilize wide universal intrinsics
2019-03-18 20:33:19 +03:00
Alexander Alekhin
6e90b85cae
core: cache dir version update
2019-03-18 19:17:54 +03:00
Alexander Alekhin
5451b89aed
core: refactor EigenvalueDecomposition (hqr2)
...
- fix resource allocation management
- reduce variables scope
- fix complex_div
- fix comments, constants
- simplify add/sub operations
2019-03-18 19:07:34 +03:00
Andrey Golubev
dd2823aaec
[G-API] Allow unused nodes in Fluid backend
...
Allow nodes produced after some operation to be
"unused": not being an output and not being used
as inputs to other operations
Add fluid test to cover this case
2019-03-18 18:20:11 +03:00
Alexander Alekhin
a7c4ee9ae1
core: add iterations limit check in eigenNonSymmetric()
2019-03-18 17:49:17 +03:00
Alexander Alekhin
26087e28ad
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-15 22:42:57 +00:00
Alexander Alekhin
19e8121a38
Merge pull request #14059 from alalek:imgcodecs_disable_jasper
2019-03-15 16:32:57 +00:00
zuoshaobo
8b52eabd48
fix the region layer's output anchor size normalization error
2019-03-15 08:41:11 -04:00
Alexander Alekhin
d4b9e2d0f4
Merge pull request #14068 from alalek:fix_python_standalone_build
2019-03-15 11:33:08 +00:00
Alexander Alekhin
470dfba96c
python: update CMake install rules
2019-03-15 13:11:00 +03:00
Alexander Alekhin
43c68d1864
imgcodecs: OPENCV_IO_ENABLE_JASPER runtime parameter
2019-03-14 21:43:24 +00:00
Alexander Alekhin
73bf170800
Merge pull request #14050 from npochhi:mlp_ann_eps_change
2019-03-14 13:36:57 +00:00
Alexander Alekhin
1ed47900d8
Merge pull request #14048 from alalek:issue_13522
2019-03-14 13:26:34 +00:00
Alexander Alekhin
990afa9032
Merge pull request #14054 from mshabunin:fix-dc1394
2019-03-14 13:04:56 +00:00
Alexander Alekhin
c03a936cfc
Merge pull request #14040 from seiko2plus:issue13211
2019-03-14 13:04:35 +00:00
Maksim Shabunin
e4a4f93b72
Removed obsolete functions from cap_dc1394_v2.cpp
2019-03-14 12:08:16 +03:00
npochhi
f1a99995c4
Changed eps checking condition
2019-03-14 14:01:34 +05:30
Sayed Adel
872e7894b4
core:vsx working around gcc aligned memory access bug
...
- allow cmake to check sanity of vsx aligned ld/st
- force universal intrinsics v_load_aligned/v_store_aligned
to failback to unaligned ld/st if cmake runtime vsx aligned test fail
2019-03-14 01:55:40 +02:00
Alexander Alekhin
bd1fd59fc1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-13 19:13:13 +00:00
Alexander Alekhin
1fa3d21f6a
android: don't install java/build.gradle
2019-03-13 18:52:15 +00:00
Alexander Alekhin
de8eda5fdf
Merge pull request #13655 from sturkmen72:update_doc_photo
2019-03-13 17:57:17 +00:00
Richard Veale
8158e5b7a0
Merge pull request #13695 from flyingfalling:3.4
...
* Fixed bug that made cuda::filter give corrupted output when different filters called in different threads. This was due to use of global texture variable shared by all filters.
* REV: fixed tab issue for opencv coding style...
2019-03-13 20:53:59 +03:00
Alexander Alekhin
f4b6ae46d1
Merge pull request #14045 from rpici:fix_bug_in_test_tiff
2019-03-13 16:17:43 +00:00
Alexander Alekhin
cdf6e460e8
Merge pull request #14021 from dkurt:init_opencv_wasm
2019-03-13 16:09:21 +00:00
Alexander Alekhin
be1ae9d4a6
Merge pull request #14046 from alalek:fix_static_analysis_issues_3.4
2019-03-13 16:03:21 +00:00
rpici
9cca066ee8
Fix bug in test_tiff.cpp
...
The big endian data in the tiff_sample_data array was never being tested. This could be observed by e.g. changing the 9th byte in the big endian data from 0xde to something that should fail the test, e.g. 0xdd, and the test would still pass even though it should fail.
2019-03-13 09:42:47 -05:00
Alexander Alekhin
8c8715c4dd
fix static analysis issues
2019-03-13 17:19:39 +03:00
Alexander Alekhin
f73b4f4a26
imgproc: revert #13843
...
This reverts commit 00e8c7810f
2019-03-13 15:07:37 +03:00
Namgoo Lee
a54affeb8d
Move Ptr-related code from lut.cu to lut.cpp
2019-03-13 20:25:28 +09:00
Dmitry Kurtaev
18ab85efc2
Backport commits from
...
https://github.com/opencv/opencv/pull/12601
https://github.com/opencv/opencv/pull/12622
2019-03-13 13:32:44 +03:00
Alexander Alekhin
ea9a17ebc2
Merge pull request #14036 from jveitchmichaelis:Y16_v4l_fix
2019-03-12 14:38:37 +00:00
Josh Veitch-Michaelis
2143f7cee1
release frame after disabling convert rgb
2019-03-12 12:42:07 +00:00
Alexander Alekhin
80e5642ca2
pre: OpenCV 3.4.6 (version++)
2019-03-12 13:29:42 +03:00
Alexander Alekhin
6e2ede8c56
pre: OpenCV 4.1.0 (version++)
2019-03-12 13:01:44 +03:00
Alexander Alekhin
8c0b0714e7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-11 19:20:22 +00:00
Giles Payne
55f02d8c66
Merge pull request #14011 from komakai:debug-build
...
* Add Android SDK debug build flag
* Change LOG_TAG define for consistency with other modules
2019-03-11 17:16:42 +03:00
Alexander Alekhin
2c07c6718f
imgproc: dispatch morph
2019-03-11 13:54:12 +00:00
Alexander Alekhin
5a01227aa1
imgproc: dispatch box_filter
2019-03-11 13:54:12 +00:00
Alexander Alekhin
ce3c92eb1f
imgproc: dispatch bilateral_filter
2019-03-11 13:54:12 +00:00
Alexander Alekhin
b99c9145bf
imgproc: dispatch smooth
2019-03-11 13:54:12 +00:00