Vadim Pisarevsky
51b5fdba25
Merge pull request #10805 from dkurt:dnn_inf_engine_tf_ssd
2018-02-12 11:40:00 +00:00
yuki takehara
379ea15d16
Add new Mat constructor ( #10808 )
...
* Add new Mat constructor
* Fix build error
* Fix build error
* Fixed the code about 4 comments
* Fixed three comments
* delete previous local declaration
* fix build error
2018-02-12 14:36:54 +03:00
Maksim Shabunin
4437e0c3b9
Split stat.cpp into smaller pieces
2018-02-12 14:14:08 +03:00
Alexander Alekhin
fad3a6bf15
ocl: disable Laplacian5 and sepFilter2D_SinglePass kernels for AMD OpenCL
2018-02-12 14:06:57 +03:00
Alexander Alekhin
ab0f0f26a1
Merge pull request #10839 from csukuangfj:fix-9486
2018-02-12 09:24:29 +00:00
Alexander Alekhin
b7ad95beaa
Merge pull request #10836 from csukuangfj:fix-10826
2018-02-12 09:23:55 +00:00
Alexander Alekhin
2c8da29f3a
Merge pull request #10835 from csukuangfj:fix-10827
2018-02-12 09:19:52 +00:00
Alexander Alekhin
efd3fafa25
Merge pull request #10834 from csukuangfj:fix-issue-9387
2018-02-12 09:19:25 +00:00
Alexander Alekhin
d61528b2d5
Merge pull request #10833 from csukuangfj:improve-viz3d
2018-02-12 09:12:39 +00:00
Fangjun Kuang
e8b2c5682e
fix issue #9387 and #9575 .
2018-02-11 21:04:20 +08:00
Fangjun Kuang
ce2a65db85
fix issue #9486 .
2018-02-11 20:08:53 +08:00
Fangjun Kuang
2f3d4df2f2
improve the doc for the viz module.
2018-02-11 16:14:09 +08:00
Fangjun Kuang
6205981235
Fix issue 10826.
2018-02-11 16:01:21 +08:00
Fangjun Kuang
28a78003f0
Fix issue 10827.
2018-02-11 15:54:36 +08:00
Alexander Alekhin
e2a99d24ec
Merge pull request #10813 from alalek:cmake_cxx_flags
2018-02-10 12:27:00 +00:00
Alexander Alekhin
601e3aaf98
Merge pull request #10820 from alalek:python_isystem
2018-02-09 15:32:50 +00:00
Alexander Alekhin
dd2fd39c05
Merge pull request #10819 from alalek:ocl_fix_dgpu_locks
2018-02-09 15:24:33 +00:00
Alexander Alekhin
84887d3011
cmake: use -isystem for Python/numpy include directories
2018-02-09 17:10:02 +03:00
Alexander Alekhin
9e298ea1bb
build: eliminate c++17 Python build warning
2018-02-09 17:09:36 +03:00
Alexander Alekhin
42e1fe301c
ocl: allow recursive UMatData lock() calls with the same objects
...
OpenCLAllocator::copy() may call upload()/download() methods
2018-02-09 14:19:10 +03:00
Dmitry Kurtaev
7fe97376c2
MobileNet-SSD from TensorFlow 1.3 and Inception-V2-SSD using Inference Engine backend
2018-02-09 13:45:45 +03:00
take1014
03407a9da0
Merge pull request #10646 from take1014:master
...
* Add a new interface for hough transform
* Fixed warning code
* Fix HoughLinesUsingSetOfPoints based on HoughLinesStandard
* Delete memset
* Rename HoughLinesUsingSetOfPoints and add common function
* Fix test error
* Change static function name
* Change using CV_Assert instead of if-block and add integer test case
* I solve the conflict and delete 'std :: tr1' and changed it to use 'tuple'
* I deleted std::tr1::get and changed int to use 'get'
* Fixed sample code
* revert test_main.cpp
* Delete sample code in comment and add snippets
* Change file name
* Delete static function
* Fixed build error
2018-02-08 22:54:43 +03:00
Vadim Pisarevsky
835acd3f31
Merge pull request #10799 from dkurt:dnn_inference_engine_face_detection
2018-02-07 13:42:08 +00:00
Alexander Alekhin
44d7435a48
build: eliminate calls of removed functionality from C++17
...
Most part is deprecated since C++11
2018-02-07 12:00:33 +03:00
Alexander Alekhin
f77f2876ff
Merge pull request #10800 from alalek:parallel_for_update
2018-02-06 17:56:33 +00:00
Alexander Alekhin
914f57f28d
core(parallel_for): fix data race
2018-02-06 18:19:50 +03:00
Dmitry Kurtaev
ed94136548
OpenCV face detection network using Inference Engine backend
2018-02-06 17:53:24 +03:00
Alexander Alekhin
c973aaabc5
Merge pull request #10787 from dkurt:dnn_tutorial_face_detection
2018-02-06 14:37:09 +00:00
Vitaly Tuzov
3267fb90c6
Updated check on OutputArray to allow recreation of fixed_size for 1-d sizes array
2018-02-06 17:07:36 +03:00
Alexander Alekhin
b10fedde56
core(parallel_for): cleanup
...
remove 'dont_wait' (can be replaced with has_wake_signal)
2018-02-06 16:10:41 +03:00
Dmitry Kurtaev
8817907647
Test for FP16 version of OpenCV face detection network
2018-02-06 13:16:07 +03:00
Alexander Alekhin
398ebbac98
Merge pull request #10795 from pengli:dnn
2018-02-06 10:04:29 +00:00
Li Peng
c43498c6ad
check vector emptiness before access it
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-02-06 22:59:51 +08:00
Li Peng
389fa5d38e
slice layer ocl update
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-02-06 22:59:47 +08:00
Alexander Alekhin
2a1f46c42d
Merge pull request #9770 from alalek:refactor_test_files
2018-02-06 09:33:58 +00:00
Maksim Shabunin
e225850cc6
Split persistence.cpp into smaller pieces ( #10788 )
...
* Extracted base64 persistence functionality
* Extracted YML persistence functionality
* Extracted JSON persistence functionality
* Extracted XML persistence functionality
* Extracted public C and C++ interfaces implementation in persistence
* Persistence: cleanup and fixes
* fixup! Persistence: cleanup and fixes
2018-02-06 11:59:32 +03:00
Dmitry Kurtaev
10e1de74d2
Intel Inference Engine deep learning backend ( #10608 )
...
* Intel Inference Engine deep learning backend.
* OpenFace network using Inference Engine backend
2018-02-06 11:57:35 +03:00
Vadim Pisarevsky
292dfc2d72
Merge pull request #10789 from mshabunin:split-matrix
2018-02-06 08:54:16 +00:00
denmatfoton
b085158d59
Fix unstable work of stereoRectify function. Issue description: https://github.com/opencv/opencv/issues/10791
2018-02-05 15:30:26 -05:00
Maksim Shabunin
904640c9ae
Split matrix.cpp into smaller pieces
2018-02-05 19:16:33 +03:00
Alexander Alekhin
06455fc0cd
Merge pull request #10764 from sturkmen72:update_cmake
2018-02-05 14:07:40 +00:00
Suleyman TURKMEN
3b191bf2dd
update CMakeList.txt
2018-02-05 16:23:52 +03:00
csukuangfj
f1c91a8d34
Fix issue #10781
...
Fix issue #10781 .
2018-02-05 11:26:25 +08:00
Alexander Alekhin
0d01b97b75
cuda: don't use std::numeric_limits
...
CUDA code uses own implementation in cuda/limits.hpp
2018-02-03 19:43:05 +00:00
Alexander Alekhin
7fedfa0380
cudev(test): avoid namespace check
2018-02-03 19:39:47 +00:00
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
2018-02-03 19:39:47 +00:00
Alexander Alekhin
f1e50ecab3
ts: fix missing std::tr1 (C++17)
2018-02-02 20:02:45 +00:00
Alexander Alekhin
a0ce12f8ba
Merge pull request #10767 from alalek:fix_cmake
2018-02-02 19:26:49 +00:00
Alexander Alekhin
3d6659112f
cmake: fix includes processing
2018-02-02 21:52:54 +03:00
Rostislav Vasilikhin
1055f9d208
Merge pull request #10757 from savuor:test_hist_renew
...
* old types removed
* QueryHist tests: new types
* ThreshHist tests: new types
* CalcHist tests: new types
* CalcBackProject tests: new types
* CalcBackProjectPatch tests: new types
* const ref added
2018-02-02 21:35:44 +03:00
Alexander Alekhin
877b175565
Merge pull request #10758 from mshabunin:allow-many-contrib
2018-02-02 16:07:48 +00:00
Alexander Alekhin
82f889d9b8
Merge pull request #10765 from BelBES:sb/findContours_fix
2018-02-02 16:03:15 +00:00
Harshal Nishar
384fa95680
Fix in Canny when Sobel apertureSize is 7 ( #10743 )
...
* Fixing a bug in Canny implemetation when Sobel aperture size is 7.
* Fixing the bug in Canny accross variants and in test_canny.cpp
* Replacing a tab with white space
2018-02-02 17:00:11 +03:00
sergeybe
2266a8c85f
fix FindContours default offset for CV_LINK_RUNS method
2018-02-02 16:46:05 +03:00
Vadim Pisarevsky
83761d5f8e
Merge pull request #10761 from seiko2plus:issue10753
2018-02-02 11:27:26 +00:00
Alexander Alekhin
ecbd5b0574
Merge pull request #10751 from nglee:dev
2018-02-02 10:48:50 +00:00
Ya-Chiu Wu
c8d8b1fbcd
Merge pull request #10553 from GlueCrow:bgfg_knn_opencl
...
Add ocl version BackgroundSubtractorKNN (#10553 )
* Add ocl version bgfg_knn
* Add ocl KNN perf test
* ocl KNN: Avoid unnecessary initializing when non-UMat parameters are used
* video: turn off OpenCL for color KNN on Intel devices
due performance degradation
* video: turn off KNN OpenCL on Apple devices with Intel iGPU
due process freeze during clBuildProgram() call
2018-02-02 13:20:46 +03:00
Alexander Alekhin
02bc17be6f
js: filterout OpenCL headers
2018-02-02 12:26:22 +03:00
Sayed Adel
534dcbe017
core:ppc Fix compile issue with Eigen
2018-02-02 03:31:25 +00:00
Alexander Alekhin
12cd3b55ec
Merge pull request #10756 from terfendail:orb_firstlevel
2018-02-01 18:34:57 +00:00
Alexander Alekhin
bbfa239036
Merge pull request #10706 from alalek:exception_opencv_version
2018-02-01 18:32:13 +00:00
Alexander Alekhin
c96630c9f0
Merge pull request #10705 from alalek:opencv_version_update
2018-02-01 18:31:52 +00:00
Maksim Shabunin
82aff110b7
cmake: allow providing list of extra modules paths
2018-02-01 19:02:02 +03:00
Vitaly Tuzov
26321795f7
Fixed assertion in ORB::setFirstLevel()
2018-02-01 16:58:35 +03:00
Vadim Pisarevsky
f780ee12a0
Merge pull request #10690 from terfendail:orb_firstlevel
2018-02-01 13:41:29 +00:00
Maksim Shabunin
e56d6054aa
Do not build protobuf without dnn ( #10689 )
...
* Do not build protobuf if dnn is disabled
* Added BUILD_LIST cmake option to the cache
* Moved protobuf to the top level
* Fixed static build
* Fixed world build
* fixup! Fixed world build
2018-02-01 16:30:23 +03:00
Vadim Pisarevsky
36222c9eed
Merge pull request #10730 from dkurt:dnn_faster_rcnn_rfcn_tests
2018-02-01 13:28:10 +00:00
Vadim Pisarevsky
8436dac090
Merge pull request #10742 from alalek:fix_winrt_fs_build
2018-02-01 13:23:49 +00:00
Vadim Pisarevsky
713ec7be45
Merge pull request #10746 from dkurt:dnn_batch_norm_from_nvidia_caffe
2018-02-01 13:22:09 +00:00
Alexander Alekhin
42569cfd61
Merge pull request #10748 from dkurt:fix_dnn_slice_layer
2018-02-01 13:21:17 +00:00
Alexander Alekhin
9d25bd583f
Merge pull request #10754 from dkurt:dnn_ocl_gemv_min_globalsize
2018-02-01 12:39:27 +00:00
Aditya Rohan
ccea0a831a
Merge pull request #10732 from Riyuzakii:10598
...
* Introduces error throw for line drawn with THICKNESS=0
2018-02-01 15:21:00 +03:00
Dmitry Kurtaev
65a6674c6e
ocl4dnnGEMV in case of row_size < 4
2018-02-01 14:06:47 +03:00
Alexander Alekhin
9698b93d10
Merge pull request #10717 from pengli:dnn
2018-02-01 10:49:54 +00:00
Li Peng
6aec71d7ee
mvn layer ocl update
...
it fuse ocl kernels to reduce kernel enqueue
Signed-off-by: Li Peng <peng.li@intel.com>
2018-02-01 17:48:12 +08:00
Li Peng
83b16ab7b7
fix extra spaces in build option
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-02-01 17:46:11 +08:00
Li Peng
54c81cbde4
eltwise layer SUM op update
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-02-01 17:46:06 +08:00
Namgoo Lee
3cf535926a
cuda_stream: do not allocate GPU memory by default ( fixes #8725 )
2018-02-01 03:55:52 +09:00
Dmitry Kurtaev
184862582c
Fix slice layer from TensorFlow
2018-01-31 19:12:37 +03:00
Arjan van de Ven
a75840d19c
Merge pull request #10468 from fenrus75:avx512-2
...
* Add a 512 bit codepath to the AVX512 fastConv function
this patch adds a 512 wide codepath to the fastConv() function for
AVX512 use.
The basic idea is to process the first N * 16 elements of the vector
with avx512, and then run the rest of the vector using the traditional
AVX2 codepath.
* dnn: use unaligned AVX512 load (OpenCV aligns data on 32-byte boundary)
* dnn: change "vecsize" condition for AVX512
* dnn: fix indentation
2018-01-31 16:34:12 +03:00
Alexander Alekhin
f06c44f1f1
Merge pull request #10701 from dkurt:tf_ave_pooling
2018-01-31 13:28:09 +00:00
Dmitry Kurtaev
844f1d0281
Fix Batch Normalization layer imported from NVIDIA Caffe.
2018-01-31 16:25:45 +03:00
Dmitry Kurtaev
a2e9bfbaf4
Fix padding for average pooling from TensorFlow
2018-01-31 15:54:30 +03:00
Alexander Alekhin
2e45095e8d
winrt: fix build
2018-01-31 15:00:45 +03:00
Alexander Alekhin
027da35c33
Merge pull request #10738 from tomoaki0705:fixBuildVisualStudio
2018-01-31 09:57:29 +00:00
Tomoaki Teshima
5f4b48da34
fix build error on Visual Studio 2013 and earlier
2018-01-31 18:22:09 +09:00
Sayed Adel
4e1d396ce1
core:ppc Add yield support
2018-01-31 04:03:35 +00:00
Alexander Alekhin
f57630d92b
Merge pull request #10691 from alalek:parallel_for_2018
2018-01-30 14:13:29 +00:00
Dmitry Kurtaev
ae2e4af4a1
Faster-RCNN and RFCN tests
...
https://github.com/rbgirshick/py-faster-rcnn
https://github.com/YuwenXiong/py-R-FCN
2018-01-30 13:17:35 +03:00
Vadim Pisarevsky
cb66f82c1d
Merge pull request #10707 from alalek:update_reports
2018-01-30 09:22:46 +00:00
Vadim Pisarevsky
1389fd67ab
Merge pull request #10721 from alalek:ocl_force_clBuildProgram
2018-01-30 09:20:58 +00:00
Li Peng
7a4c5e9421
slice layer ocl support
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-29 22:34:32 +08:00
Alexander Alekhin
ebdb0eb0c1
ocl: force clBuildProgram() call after clCreateProgramWithBinary()
2018-01-29 15:51:07 +03:00
Ali Sentas
4d80419f29
Fix cv::CommandLineParser::check() documentation
2018-01-29 15:14:21 +03:00
Alexander Alekhin
2876670de3
dnn(ocl): fix build options for Apple OpenCL
2018-01-28 01:54:25 +00:00
Alexander Alekhin
c8930cc279
opencv_version: dump detected HW features
2018-01-27 17:08:29 +00:00
Alexander Alekhin
01f4a173ab
opencv_version: dump OpenCL information via opencv_version
...
fix missing "opencv2/core/opencl" headers from core module (updated install list)
2018-01-27 17:08:28 +00:00
Alexander Alekhin
daf3368d2e
perf reports: remove units from table cells
...
- moved to table title
- can be restored via '--show_units' option
- fix microseconds: mks -> us
2018-01-27 14:38:40 +00:00
Alexander Alekhin
f6fd3abd31
core: add OpenCV version information into Exception messages
2018-01-27 13:51:16 +00:00
Woody Chow
f1c52e426b
Merge pull request #10697 from woodychow:tbb_task_arena
...
* Use Intel TBB's task arena if possible
2018-01-27 08:46:54 +03:00
Pavel Rojtberg
203dc3bb48
Merge pull request #10667 from paroj:stereo_calib_ex
...
calib3d: add stereoCalibrateExtended (#10667 )
* cvCalibrateCamera2Internal: simplify per view error computation
* calib3d: add stereoCalibrateExtended
- allow CALIB_USE_EXTRINSIC_GUESS
- returns per view errors
* calib3d: add stereoCalibrateExtended test
2018-01-26 22:05:13 +03:00
Alexander Alekhin
7b8ab4e5c6
Merge pull request #10688 from LaurentBerger:calcback
2018-01-26 19:01:48 +00:00
Alexander Alekhin
fe4fbc2c3b
Merge pull request #10693 from travbid:IntrinsicParams_fix
2018-01-26 16:22:38 +00:00
LaurentBerger
2ebf4e084a
solve issue #10687
2018-01-26 17:01:02 +01:00
Alexander Alekhin
df22bafe6d
Merge pull request #10681 from hmaarrfk:python_stitching_scans
2018-01-26 10:04:41 +00:00
Alexander Alekhin
c49d5d5252
core: fix pthreads performance
...
OpenCV pthreads-based implementation changes:
- rework worker threads pool, allow to execute job by the main thread too
- rework synchronization scheme (wait for job completion, threads 'pong' answer is not required)
- allow "active wait" (spin) by worker threads and by the main thread
- use _mm_pause() during active wait (support for Hyper-Threading technology)
- use sched_yield() to avoid preemption of still working other workers
- don't use getTickCount()
- optional builtin thread pool profiler (disabled by compilation flag)
2018-01-26 04:09:11 +00:00
Alexander Alekhin
104502c5be
Merge pull request #10676 from dkurt:dnn_for_newer_mobilenet_ssd
2018-01-26 04:02:21 +00:00
Travers
7d6cf66303
IntrinsicParams operator+ fix
2018-01-26 14:04:45 +13:00
Maksim Shabunin
d1b08486ae
Merge pull request #10619 from mshabunin:fix-run-py-without-java
2018-01-25 13:47:47 +00:00
Vitaly Tuzov
205022ceee
Fixed issue in ORB detection if firstLevel property is set above 0
2018-01-25 16:14:16 +03:00
Alexander Alekhin
47998c03f8
perf: update message
2018-01-25 13:18:47 +03:00
Alexander Alekhin
27cddfb8e9
Merge pull request #10661 from alalek:parallel_kmeans
2018-01-25 10:18:37 +00:00
Alexander Alekhin
8c2563be41
Merge pull request #10672 from pengli:dnn
2018-01-25 07:18:25 +00:00
Li Peng
2493083935
mvn, batch_norm and relu layer fusion
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-25 18:57:05 +08:00
Li Peng
e15928b49e
convolution and tanh layer fusion
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-25 17:45:33 +08:00
Mark Harfouche
df434298b8
Exported a high level stitcher the DLL
...
allows Stitcher to be used for scans from within python.
I had to use very strange notation because I couldn't export the `enum`
`Mode` making the Cpython generated code unable to compile.
```c++
class Stitcher {
public:
enum Mode
{
PANORAMA = 0,
SCANS = 1,
};
...
```
Also removed duplicate code from the `createStitcher` function making
use of the `Stitcher::create` function
2018-01-24 12:43:00 -08:00
Alexander Alekhin
81c5fae56f
core(lapack): fix build issues related to 'extern "C"'
2018-01-24 14:53:04 +03:00
Dmitry Kurtaev
9e9926a2f0
PriorBox layer with explicit normalized sizes
2018-01-24 14:01:42 +03:00
Elena Gvozdeva
b97b650ab3
add HAL for FAST ( #10362 )
...
* add HAL for FAST
* add new interface
2018-01-24 01:48:06 +03:00
Vadim Pisarevsky
a1d2258ac3
Merge pull request #10635 from csukuangfj:doc-checkVector
2018-01-23 10:42:05 +00:00
Vadim Pisarevsky
8f04c8b16c
Merge pull request #10644 from csukuangfj:doc-fundamental-matrix
2018-01-23 10:38:14 +00:00
Pavel Rojtberg
2d674fc151
persistence: replace arbitrary limit of cn to 4 by CV_CN_MAX ( #10636 )
...
* persistence: replace arbitrary limit of cn to 4 by CV_CN_MAX
* python: added persistence test, remove temp files
* fixup! python: added persistence test, remove temp files
* fixup! python: added persistence test, remove temp files
2018-01-23 13:36:30 +03:00
Alexander Alekhin
479179638e
Merge pull request #10655 from dkurt:dnn_tests
2018-01-23 10:16:55 +00:00
Dmitry Kurtaev
a3d74704e5
OpenCV face detection network test
2018-01-23 09:27:58 +03:00
Alexander Alekhin
90aac764dd
core: kmeans refactoring
...
- reduce scope of i,k,j variables
- use cv::AutoBuffer
- template<bool onlyDistance> class KMeansDistanceComputer
- eliminate manual unrolling: CV_ENABLE_UNROLLED
2018-01-22 14:26:41 +03:00
Alexander Alekhin
46470d92a0
core: fix kmeans multi-threaded performance
2018-01-22 14:26:41 +03:00
Alexander Alekhin
a5cd62f7bf
core(perf): refactor kmeans test
...
- don't use RNG for "task size" parameters (N, K, dims)
- add "good" kmeans test data (without singularities: K > unique points)
2018-01-22 14:25:29 +03:00
Vitaly Tuzov
12ea8477a3
bitexact gaussianblur implementation ( #10345 )
...
* Bit-exact implementation of GaussianBlur smoothing
* Added universal intrinsics based implementation for bit-exact CV_8U GaussianBlur smoothing.
* Added parallel_for to evaluation of bit-exact GaussianBlur
* Added custom implementations for 3x3 and 5x5 bit-exact GaussianBlur
2018-01-22 13:26:32 +03:00
Glue Crow
c5c620bab0
ocl: Avoid unnecessary initializing when non-UMat parameters are used
2018-01-21 23:02:05 +08:00
Gregory Morse
d84c7e5143
Merge pull request #10649 from GregoryMorse:patch-3
...
* Fix for QT image window rectangle
* Update window_QT.h
* Update window_QT.cpp
* trailing whitespace
* highgui: fix QT getWindowImageRect()
2018-01-21 09:26:48 +03:00
Maksim Shabunin
8ba88892d7
run.py: simplified scripts, fixed most of PEP8 warnings
2018-01-19 17:05:40 +03:00
Fangjun Kuang
eb2901bd69
Improve the doc for fundamental matrix.
2018-01-19 13:41:47 +01:00
Vadim Pisarevsky
c89ae6e537
Merge pull request #10629 from GlueCrow:ocl_mog2_test_fix
2018-01-19 11:12:19 +00:00
Namgoo Lee
25c36fb05f
cv::cuda::cvtColor bug fix ( #10640 )
...
* cuda::cvtColor bug fix
Fixed bug in conversion formula between RGB space and LUV space.
Testing with opencv_test_cudaimgproc.exe, this commit reduces the number
of failed tests from 191 to 95. (96 more tests pass)
* Rename variables
2018-01-19 14:06:05 +03:00
Vadim Pisarevsky
71ba54b2f4
Merge pull request #10637 from catree:fix_perf_build_cuda_9
2018-01-19 11:02:14 +00:00
Alexander Alekhin
18ce529256
Merge pull request #10633 from csukuangfj:doc-estimateAffine
2018-01-19 10:11:56 +00:00
Alexander Alekhin
26e0f408f0
Merge pull request #10639 from pengli:dnn
2018-01-19 10:01:41 +00:00
Li Peng
fe494297e4
more update on MVN layer ocl implementation
...
cut one ocl kernel if normVariance is disabled,
also use native_powr for performance reason.
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-19 22:54:04 +08:00
Alexander Alekhin
c3569211d5
Merge pull request #10591 from drkoller:master
2018-01-19 09:44:21 +00:00
catree
dcc5a2cb22
Fix perf build with CUDA 9.
2018-01-19 00:23:02 +01:00
Fangjun Kuang
67842df9e2
Improve the documentation for affine transform estimation.
2018-01-18 19:54:18 +01:00
Alexander Alekhin
8226bd25c4
Merge pull request #10625 from pengli:dnn
2018-01-18 18:26:30 +00:00
Fangjun Kuang
8efe7bafaa
Improve the doc for cv::Mat::checkVector.
2018-01-18 16:48:59 +01:00
Li Peng
2124361ff7
ocl support for Deconvolution layer
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-18 23:40:22 +08:00
Alexander Alekhin
0def2dbb73
Merge pull request #10605 from alalek:ocl_fix_deadlock
2018-01-18 13:39:36 +00:00
Maksim Shabunin
1b0ff57562
Merge pull request #10621 from mshabunin:disable-docs
...
Documentation generation refactoring (#10621 )
* Documentation build updates:
- disable documentation by default, do not add to ALL target
- combine Doxygen and Javadoc
- optimize Doxygen html
* javadoc: fix path in build directory
* cmake: fix "Documentation" status line
2018-01-18 16:37:19 +03:00
Glue Crow
95ce21d407
Fix #10525
2018-01-18 18:49:29 +08:00
Gregory Morse
ec353dbdda
Merge pull request #10412 from GregoryMorse:patch-2
...
Update to add window position and size retrieval to HighGUI (#10412 )
* Update highgui.hpp
Add read only property retrieval for enhanced rendering capabilities and more sophisticated research tools
* Update window.cpp
* Update window_w32.cpp
* Update window_QT.cpp
* Update window_QT.h
* Update window_QT.h
* Update window_gtk.cpp
* Update precomp.hpp
* Update highgui_c.h
* Update highgui_c.h
* Update window_w32.cpp
* Update precomp.hpp
* Update window_QT.cpp
* Update window_QT.h
* Update window_gtk.cpp
* Update window_gtk.cpp
* Update window_w32.cpp
* Update window_QT.cpp
* Update window_carbon.cpp
* Update window_cocoa.mm
* Update precomp.hpp
* Update window_cocoa.mm
* Update window_w32.cpp
* Update window_gtk.cpp
* Update window_QT.cpp
* Update window_gtk.cpp
* Update window_QT.cpp
* Update window_cocoa.mm
* Update window_carbon.cpp
* Update window_w32.cpp
* Update window_cocoa.mm
* Update window_gtk.cpp
* Update window_cocoa.mm
* Update window_gtk.cpp
* Update window_cocoa.mm
* Update window_cocoa.mm
* Update window.cpp
* Update test_gui.cpp
* Update test_gui.cpp
* Update test_gui.cpp
* Update highgui_c.h
* Update highgui.hpp
* Update window.cpp
* Update highgui_c.h
* Update test_gui.cpp
* Update highgui.hpp
* Update window.cpp
* Update window.cpp
* Update window.cpp
* Update window.cpp
* Update window.cpp
2018-01-18 07:49:47 +03:00
Alexander Alekhin
f056e713c3
Merge pull request #10512 from sturkmen72:update_documentation
2018-01-18 04:44:59 +00:00
David Koller
d1a3b530be
Make DNN Crop layer match Caffe default offset behavior
...
and add parametric unit test for crop layer.
2018-01-17 10:52:36 -05:00
Alexander Alekhin
b067e0ca5d
Merge pull request #10613 from csukuangfj:fix-10612
2018-01-17 09:58:34 +00:00
Alexander Alekhin
4a086cf517
Merge pull request #10609 from csukuangfj:patch-1
2018-01-17 09:02:50 +00:00
razerhell
fb22028be3
Merge pull request #10574 from razerhell:patch-1
...
* Newton's method can be more efficient
when we get the result of function distortPoint with a point (0, 0) and then undistortPoint with the result, we get the point not (0, 0). and then we discovered that the old method is not convergence sometimes. finally we have gotten the right values by Newton's method.
* modify by advice Newton's method...#10574
* calib3d(fisheye): fix codestyle, update theta before exit EPS check
2018-01-17 12:05:13 +03:00
Alexander Alekhin
6728b40ad3
Merge pull request #10602 from pengli:dnn
2018-01-17 08:58:25 +00:00
Li Peng
e77af4ae33
MVN layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-17 17:11:32 +08:00
Li Peng
7bc017601f
Power, Tanh and Channels ReLU layer ocl support
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-17 17:11:27 +08:00
csukuangfj
decf6cab5e
Improve the documentation for cv::completeSymm and cv::RANSACUpdateNumIters.
2018-01-17 08:05:39 +01:00
Fangjun Kuang
2b635edce6
fix issue #10612 .
2018-01-16 23:47:15 +01:00
Alexander Alekhin
4dc788ff84
Merge pull request #10606 from alalek:update_copyright_2018
2018-01-16 17:47:30 +00:00
Alexander Alekhin
cec700525c
core(ocl): fix deadlock in UMatDataAutoLock
...
UMatData locks are not mapped on real locks (they are mapped to some "pre-initialized" pool).
Concurrent execution of these statements may lead to deadlock:
- a.copyTo(b) from thread 1
- c.copyTo(d) from thread 2
where:
- 'a' and 'd' are mapped to single lock "A".
- 'b' and 'c' are mapped to single lock "B".
Workaround is to process locks with strict order.
2018-01-16 17:33:06 +03:00
Woody Chow
20b3261204
Propagate calculated Gaussian kernel size(ref). Otherwise, ipp_GaussianBlur will fail if user doesn't specify a kernel size. ( #10579 )
2018-01-16 17:15:23 +03:00
Maksim Shabunin
8b87c4b96a
Fixed several warnings produced by clang 6 and static analyzers
2018-01-16 15:26:28 +03:00
Alexander Alekhin
cbb21f3cf2
Merge pull request #10595 from oqtvs:updateProtobuf
2018-01-16 12:18:18 +00:00
Li Peng
4189214d04
batch_norm layer ocl update
...
use a batch_norm ocl kernel to do the work
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-16 19:01:58 +08:00
Alexander Alekhin
e6ed853905
copyright: 2018
2018-01-16 13:55:42 +03:00
Vadim Pisarevsky
59915a3fc9
Merge pull request #10575 from ioxp:getFontScale
2018-01-16 10:51:04 +00:00
Alexander Alekhin
4d84999452
dnn: protobuf build warnings
2018-01-15 21:15:23 +00:00
oqtvs
6d4b778303
dnn: Updated protobuf files (3.5.1)
2018-01-15 15:51:38 +00:00
Alexander Alekhin
be1207e5e4
Merge pull request #10580 from woodychow:parallel_initUndistortRectifyMap
2018-01-15 15:05:32 +00:00
Alexander Alekhin
1255bd8d4b
Merge pull request #10585 from dkurt:dnn_weightless_scale
2018-01-15 06:07:50 +00:00
woody.chow
f5d9a2a9c1
Parallelize initUndistortRectifyMap
2018-01-15 09:20:35 +09:00
Dmitry Kurtaev
6a395d88ff
dnn::blobFromImage with OutputArray
2018-01-13 18:20:24 +03:00
Dmitry Kurtaev
1f4fdfd599
Untrainable version of Scale layer from Caffe
2018-01-13 10:35:29 +03:00
Alexander Alekhin
839cffdefe
java: fix MacOS Java problem
2018-01-13 02:12:39 +00:00
Alexander Alekhin
a362fd80df
java: fix bindings generator
...
- fix imports override.
Problem is observed with BoostDesc.
- add Ptr<> handling (constructor is protected from other packages).
Observed in ximgproc:
Ptr<StereoMatcher> createRightMatcher(Ptr<StereoMatcher> matcher_left)"
where, "StereoMather" is from another package (calib3d)
2018-01-13 02:12:39 +00:00
Alexander Alekhin
1237faef80
java: disable highgui wrapped code
2018-01-13 02:12:39 +00:00
Alexander Alekhin
a0d9d6db5b
fixes for old CMake (2.8.12.2)
2018-01-13 02:12:39 +00:00
Alexander Alekhin
8533b45ce9
cmake: Java/Android SDK refactoring
2018-01-13 02:12:39 +00:00
Suleyman TURKMEN
dcd4f8f5db
Update documentation
2018-01-12 22:21:14 +03:00
Alexander Alekhin
0cad2d2a83
java: files rename
...
intermediate commit (to simplify code review)
2018-01-12 19:14:00 +00:00
Alexander Alekhin
73316e10a0
java(test): fix test names
2018-01-12 19:14:00 +00:00
Maksim Shabunin
594a93316c
Fixed concurrent OpenCL cache folder name generation
2018-01-12 19:03:16 +03:00
SarenT
c6d9ce8fd3
Merge pull request #10489 from SarenT:offset-mat_put
...
Adding capability to parse subsections of a byte array in Java bindings (#10489 )
* Adding capability to parse subsections of a byte array in Java bindings. (Because Java lacks pointers. Therefore, reading images within a subsection of a byte array is impossible by Java's nature and limitations. Because of this, many IO functions in Java require additional parameters offset and length to define, which section of an array to be read.)
* Corrected according to the review. Previous interfaces were restored, instead internal interfaces were modified to provide subsampling of java byte arrays.
* Adding tests and test related files.
* Adding missing files for the test.
* Simplified the test
* Check was corrected according to discussion. An OutOfRangeException will be thrown instead of returning.
* java: update MatOfByte implementation checks / tests
2018-01-12 18:00:58 +03:00
Stanislaw Halik
c8794c89c7
modules/videoio: fix PS3Eye camera property window
...
v2: fix stray trailing whitespace
v3: only allow for up to one property window at the time
Opening multiple windows in the same process will just confuse
the camera filter or outright crash.
Suggested-by: @alalek
Also return whether a dialog was opened at the time.
2018-01-11 16:37:02 +01:00
Alexander Alekhin
18edd917e3
Merge pull request #10391 from ElenaGvozdeva:HAL_minMaxIdx
2018-01-11 14:15:40 +00:00
Philipp Hasper
6032d86e23
Added getFontScaleFromHeight()
2018-01-11 14:00:27 +01:00
Dmitry Kurtaev
64a9e92390
Merge pull request #10466 from dkurt:reduce_umat_try_2
...
* UMat blobs are wrapped
* Replace getUMat and getMat at OpenCLBackendWrapper
2018-01-10 21:50:54 +03:00
Alexander Alekhin
b6075e11b8
Merge pull request #10549 from Sahloul:bug_fix/FLANN
2018-01-10 11:39:47 +00:00
Alexander Alekhin
c19764e557
Merge pull request #10568 from alalek:fix_10565
2018-01-10 11:35:25 +00:00
Alexander Alekhin
f943261847
Merge pull request #10566 from alalek:jasper_checks
2018-01-10 10:15:41 +00:00
Alexander Alekhin
7763b58a60
Merge pull request #10563 from alalek:issue_10540
2018-01-10 10:15:10 +00:00
Alexander Alekhin
6113dc1b99
core: fix unresolved symbols from utils::fs
2018-01-09 19:29:50 +00:00
Alexander Alekhin
4d4f291553
Merge pull request #10513 from pengli:dnn
2018-01-09 19:24:28 +00:00
Alexander Alekhin
435a3e337b
imgcodecs: add more Jasper checks for supported and tested cases
2018-01-09 19:06:03 +03:00
Alexander Alekhin
f92e880d3d
Merge pull request #10544 from alalek:issue_10535
2018-01-09 15:32:42 +00:00
Alexander Alekhin
8a76fadaa3
imgcodecs: add overflow checks
2018-01-09 18:05:24 +03:00
Alexander Alekhin
be5247921d
imgcodecs: remove assert() usage
2018-01-09 17:49:38 +03:00
Li Peng
e3b42bf93b
batch_norm and blank layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-09 21:58:46 +08:00
tobycollins
f34a0a874a
Merge pull request #10522 from tobycollins:issue10519
2018-01-09 15:54:36 +03:00
Alexander Alekhin
f3dde79ed6
cmake: allow BUILD_FAT_JAVA_LIB for non-Android targets too
2018-01-08 19:24:39 +00:00
Alexander Alekhin
da0904df2d
Merge pull request #10550 from dkurt:replace_psroi_pooling_tag
2018-01-08 19:19:00 +00:00
Dmitry Kurtaev
27b55ea761
Replace Caffe's psroi_pooling_param tag from 10001 to 10002
2018-01-08 13:29:20 +03:00
Hamdi Sahloul
8943441115
resolves #10548 - FLANN::knnSearch
garbage bug (when kNN is larger than the dataset size)
2018-01-08 18:58:55 +09:00
Alexander Alekhin
6674a024fc
dnn: add OPENCV_DNN_DISABLE_MEMORY_OPTIMIZATIONS runtime option
...
replaces REUSE_DNN_MEMORY compile-time option
2018-01-07 18:38:14 +00:00
Moshe
84596bff09
Bitwise "and false"
...
Bitwise "and false" is always false.
2018-01-07 10:12:53 +02:00
Alexander Alekhin
e3a6d74945
Merge pull request #10536 from Sahloul:bug_fix/BLOB
2018-01-07 06:50:49 +00:00
Alexander Alekhin
3a5cd12dee
Merge pull request #10527 from csukuangfj:local
2018-01-07 06:46:45 +00:00
Hamdi Sahloul
2d2499f610
BLOB - Support RGBA
2018-01-07 14:30:40 +09:00
Alexander Alekhin
d0b2e60edc
Merge pull request #10514 from alalek:build_warnings
2018-01-05 20:54:01 +00:00
Alexander Alekhin
8e1f31f543
Merge pull request #10521 from DabatoIsCool:master
2018-01-05 23:56:07 +03:00
Fangjun Kuang
a2869109f0
Improve the documentation for cv::Affine3.
2018-01-05 19:35:38 +01:00
Arthur Williams
8a67858068
Fixed missing #include "../precomp.hpp"
2018-01-05 15:10:39 +00:00
Alexander Alekhin
f5862dacb6
Merge pull request #10432 from GlueCrow:bgfg_knn_fix
2018-01-05 14:16:17 +00:00
Li Peng
67f9406cbe
add normalize_bbox layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-05 19:38:36 +08:00
Li Peng
f99a135eda
add eltwise layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-05 19:38:30 +08:00
Alexander Alekhin
e1ec45c948
Merge pull request #10517 from alalek:perf_video_bgfg
2018-01-05 10:27:24 +00:00
Alexander Alekhin
8acd05f12a
Merge pull request #10421 from cezheng:patch-1
2018-01-05 09:24:33 +00:00
Alexander Alekhin
be01ea734d
video(perf): add Mog2/KNN tests, fixed bug in prepareData()
...
prepareData() bug feeds the same image (the latest)
OCL perf test doesn't pass accuracy(!) check now, so this check is disabled.
2018-01-05 08:50:38 +00:00
Alexander Alekhin
59c6661db0
cmake: eliminate ninja generator warning (CMake 3.10), refactor code
2018-01-05 04:42:24 +00:00
Alexander Alekhin
f0453bd853
build: eliminate warning
...
warning: 'layout.channel_layout::gchan' may be used uninitialized in this function [-Wmaybe-uninitialized]
2018-01-05 04:33:30 +00:00
Alexander Alekhin
116c8d0ddf
build: eliminate warnings
...
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
2018-01-05 04:30:08 +00:00
Coralie RACHEX
16821b877c
Merge pull request #10493 from RachexCoralie:tiff32FC1Codec
...
* Load and save tiff images in CV_32FC1 format (1 channel of floats).
* Add test
* Fix error handling and resources leak. Improve test.
2018-01-04 15:51:58 +03:00
Alexander Alekhin
f46eff4eb0
Merge pull request #10492 from pengli:dnn
2018-01-04 04:40:02 +00:00
Li Peng
34bfd7ef51
add ocl implementation of proposal layer
...
Signed-off-by: Li Peng <peng.li@intel.com>
2018-01-04 18:40:51 +08:00
Alexander Alekhin
ea5a3e557f
python: filter modules headers (from <module>/include directory)
2018-01-01 15:56:14 +00:00
Alexander Alekhin
4ca89db22d
imgproc(hdr): fix bounds check in HdrDecoder::checkSignature()
2018-01-01 13:12:21 +00:00
victor-ludorum
ad23c10600
Updating rotcalipers.cpp to resolve issue #10096
...
Updating the documentation of the rotcalipers.cpp to resolve issue #10096
2017-12-30 10:21:46 +05:30
Alexander Alekhin
7d67d60fb1
cmake(opt): AVX512_SKX
2017-12-29 07:18:11 +00:00
Alexander Alekhin
fc1d85bf59
Merge pull request #10329 from jasjuang:master
2017-12-28 16:45:16 +00:00
Alexander Alekhin
125f9f0be1
Merge pull request #10410 from GlueCrow:master
2017-12-28 16:43:17 +00:00
Alexander Alekhin
8e7af7f089
Merge pull request #10456 from dkurt:dnn_allocate_mem_for_optimized_concat
2017-12-28 16:04:51 +00:00
Alexander Alekhin
a65b5df5da
Merge pull request #10416 from fenrus75:avx512
2017-12-28 15:56:56 +00:00
Alexander Alekhin
2b3c140f04
Merge pull request #10436 from alalek:test_threads
2017-12-28 18:29:30 +03:00
Alexander Alekhin
ec32022bdf
Merge pull request #10444 from alalek:fix_asan_imgcodecs
2017-12-28 18:28:29 +03:00
Alexander Alekhin
898ca38257
cmake: AVX512 -> AVX_512F
2017-12-28 15:20:27 +00:00
Vinay Sharma
5aac909046
Merge pull request #10352 from vinay0410:write_pbm
...
* added write as pbm
* add tests for pbm
* imgcodecs: PBM support
- drop additional PBM parameters
- write: fix P1/P4 mode (no maxval 255 value after width/height)
- write: invert values for P1/P4
- write: P1: compact ASCII mode (no spaces)
- simplify pbm test
- drop .pxm extension (http://netpbm.sourceforge.net/doc/ doesn't know such extension)
2017-12-28 17:28:34 +03:00
Tom Becker
592f8d8c1b
Merge pull request #10232 from TomBecker-BD:hough-many-circles
...
Hough many circles (#10232 )
* Add Hui's optimization. Merge with latest changes in OpenCV.
* Use conditional compilation instead of a runtime flag.
* Whitespace.
* Create the sequence for the nonzero edge pixels only if using that approach.
* Improve performance for finding very large numbers of circles
* Return the circles with the larger accumulator values first, as per API documentation.
Use a separate step to check distance between circles. Allows circles to be sorted by strength first. Avoids locking in EstimateRadius which was slowing it down.
Return centers only if maxRadius == 0 as per API documentation.
* Sort the circles so results are deterministic. Otherwise the order of circles with the same strength depends on parallel processing completion order.
* Add test for HoughCircles.
* Add beads test.
* Wrap the non-zero points structure in a common interface so the code can use either a vector or a matrix.
* Remove the special case for skipping the radius search if maxRadius==0.
* Add performance tests.
* Use NULL instead of nullptr.
OpenCV should compile with C++98 compiler.
* Put test suite name first.
Use different test suite names for each test to avoid an error from the test runner.
* Address build bot errors and warnings.
* Skip radius search if maxRadius < 0.
* Dynamically switch to NZPointList when it will be faster than NZPointSet.
* Fix compile error: missing 'typename' prior to dependent type name.
* Fix compile error: missing 'typename' prior to dependent type name.
This time fix it the non C++ 11 way.
* Fix compile error: no type named 'const_reference' in 'class cv::NZPointList'
* Disable ManySmallCircles tests. Failing on Mac.
* Change beads image to JPEG for smaller file size.
Try enabling the ManySmallCircles tests again.
* Remove ManySmallCircles tests. They are failing on the Mac build.
* Fix expectations to check all circles.
* Changing case on a case-insensitive file system
Step 1: remove the old file names
* Changing case on a case-insensitive file system
Step 2: add them back with the new names
* Fix cmpAccum function to be strictly weak ordered.
* Add tests for many small circles.
* imgproc(perf): fix HoughCircles tests
* imgproc(houghCircles): refactor code
- simplify NZPointList
- drop broken (de-synchronization of 'current'/'mi' fields) NZPointSet iterator
- NZPointSet iterator is replaced to direct area scan
- use SIMD intrinsics
- avoid std exceptions (build for embedded systems)
2017-12-28 17:23:11 +03:00
Dmitry Kurtaev
a9807d8f54
Allocate new memory for optimized concat to prevent collisions.
...
Add a flag to disable memory reusing in dnn module.
2017-12-28 16:45:53 +03:00
Maksim Shabunin
f0b606ff77
Changed VA device in MediaSDK session initialization
2017-12-28 14:10:36 +03:00
Li Peng
00f03c5739
Add ocl version FasterRCNN accuracy test
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-28 19:15:15 +08:00
Alexander Alekhin
4f6c493b87
imgcodecs(png): resolve ASAN issue with vars scope and setjmp() call
2017-12-28 02:43:07 +00:00
Alexander Alekhin
73c2a12449
Merge pull request #10435 from DabatoIsCool:master
2017-12-28 05:30:59 +03:00
Alexander Alekhin
99a9c10b57
Merge pull request #10424 from dkurt:fix_concat_optim
2017-12-28 01:26:14 +00:00
Alexander Alekhin
9b131b5f7e
dnn(test): avoid calling of cv::setNumThreads() in tests directly
...
It is not necessary by default.
Also it breaks test system command-line parameters: --perf_threads / --test_threads
2017-12-27 15:16:41 +00:00
Alexander Alekhin
5232ea1ee6
ts(feature): add "--test_threads=<N>" command-line option
2017-12-27 15:16:41 +00:00
Arthur Williams
d8d4ea857a
Fixed #10433
2017-12-27 14:09:25 +00:00
Alexander Alekhin
f3880c60a6
Merge pull request #10428 from pengli:dnn
2017-12-27 13:18:10 +00:00
Glue Crow
6045608330
Parallelization of BackgroundSubtractorKNN
2017-12-27 19:28:09 +08:00
Arjan van de Ven
2938860b3f
Provide a few AVX512 optimized functions for the DNN module
...
This patch adds AVX512 optimized fastConv as well as the hookups
needed to get these called in the convolution_layer.
AVX512 fastConv is code-identical on a C level to the AVX2 one,
but is measurably faster due to AVX512 having more registers available
to cache results in.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
2017-12-26 16:00:17 +00:00
Alexander Alekhin
1e4395a8e1
Merge pull request #10418 from mypopydev:master
2017-12-26 14:21:59 +00:00
Dmitry Kurtaev
70c605a03d
Limit Concat layer optimization
2017-12-26 16:49:33 +03:00
Li Peng
84e2fa79a0
dnn(ocl4dnn): update pre-tuned kernel config
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-26 20:14:41 +08:00
Jun Zhao
0369431ebd
opencl/cvtclr_dx: fix not compile-time constants issue.
...
fix the "initializing global variables with values that are not
compile-time constants" issue in Intel SDK for OpenCL. The root cause
is when initializing global variables with value, the variable need is
compile-time constants.
Thanks Zheng, Yang <yang.zheng@intel.com>,
Chodor, Jaroslaw <jaroslaw.chodor@intel.com> give a help.
Signed-off-by: Liu,Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
2017-12-26 13:44:37 +08:00
Sayed Adel
fd0ac962fb
core: replace raw intrinsics with universal intrinsics in copy.cpp
...
- use universal intrinsic instead of raw intrinsic
- add performance check for Mat::copyTo/setTo with mask
2017-12-26 05:30:32 +02:00
Arjan van de Ven
fc8e848a54
Add basic plumbing for AVX512 support
...
The opencv infrastructure mostly has the basics for supporting avx512 math functions,
but it wasn't hooked up (likely due to lack of users)
In order to compile the DNN functions for AVX512, a few things need to be hooked up
and this patch does that
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
2017-12-25 21:06:52 +00:00
GlueCrow
26d288bd11
Optimize OpenCL BackgroundSubstractionMOG2
2017-12-23 21:57:17 +08:00
Alexander Alekhin
adf43e7d2a
build: fix MSVS2010 build error
2017-12-23 00:06:34 +00:00
Alexander Alekhin
047764f476
Merge tag '3.4.0'
2017-12-22 23:22:50 +00:00
Alexander Alekhin
6d4f66472e
OpenCV version++
...
3.4.0
2017-12-22 19:46:21 +00:00
Alexander Alekhin
eba176c299
Merge pull request #10398 from alalek:ml_simplify_simulated_annealing
2017-12-22 22:43:59 +03:00
Alexander Alekhin
00e43a9022
ml(ANN_MLP): ensure that train() call is always successful
2017-12-22 18:50:04 +00:00
Alexander Alekhin
9148a37624
Merge pull request #10401 from terfendail:resize_linear_revert
2017-12-22 16:18:50 +00:00
Alexander Alekhin
019b7c5a66
Merge pull request #10402 from dkurt:dnn_tf_quantized
2017-12-22 15:58:56 +00:00
Alexander Alekhin
59e825ee02
Merge pull request #10385 from pengli:dnn
2017-12-22 15:48:40 +00:00
Dmitry Kurtaev
bcc669f3f7
TensorFlow weights dequantization
2017-12-22 17:25:10 +03:00
Vitaly Tuzov
e5313246a7
Reverted calls to linear resize back to generic version for floating point matrices
2017-12-22 17:10:03 +03:00
Alexander Alekhin
97af608030
Merge pull request #10397 from mshabunin:fix-incorrect-assert
2017-12-22 14:07:02 +00:00
Li Peng
181b448c4d
add one more convolution kernel tuning candidate
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-22 21:37:00 +08:00
Alexander Alekhin
289a8da39e
ml: simplify interfaces of SimulatedAnnealingSolver
2017-12-22 16:35:48 +03:00
Vadim Pisarevsky
0742e12f0b
Merge pull request #10265 from dkurt:nms_for_region_layer
2017-12-22 13:29:37 +00:00
Vadim Pisarevsky
69a6765bf7
Merge pull request #10387 from terfendail:resize23_perftest
2017-12-22 13:26:05 +00:00
Vadim Pisarevsky
3f68d6d8a7
Merge pull request #10392 from terfendail:bitexact_fallback
2017-12-22 13:23:55 +00:00
Alexander Alekhin
83b8cd0152
Merge pull request #10375 from tomoaki0705:buildWarningMSVC
2017-12-22 13:17:12 +00:00
Alexander Alekhin
4e542a65a3
Merge pull request #10390 from alalek:ocl_option_buffer_rect
2017-12-22 12:52:56 +00:00
Maksim Shabunin
aa46e31c6d
Replaced incorrect CV_Assert calls with CV_Error
2017-12-22 15:20:13 +03:00
Vitaly Tuzov
5fdb42a7c9
Added fallback to generic linear resize in case bit-exact resize of provided matrix isn't supported
2017-12-22 14:29:50 +03:00
Vadim Pisarevsky
636b7ec0c4
Merge pull request #10386 from terfendail:resizeexact_c3
2017-12-22 10:54:49 +00:00
Alexander Alekhin
534645a12f
ocl: workaround option to disable usage of buffer "Rect" operations
2017-12-22 13:05:03 +03:00
elenagvo
cd1c8693d8
HAL for minMaxIdx
2017-12-22 12:56:52 +03:00
Vadim Pisarevsky
325cbd7c84
Merge pull request #10364 from dkurt:dnn_smooth_tf_data_layout
2017-12-22 09:56:45 +00:00
Ce Zheng
602b08d9c7
Update resize inline comments
...
Reading through the implementation, I feel this line of comment is not consistent with the actually code, so this is for correcting it.
2017-12-22 16:03:12 +08:00
Vitaly Tuzov
019162486c
Disabled universal intrinsic based implementation for bit-exact resize of 3-channel images
2017-12-22 10:08:30 +03:00
Tomoaki Teshima
fe7b3f1228
clean up the code
...
* disable the warning in CMake, not int the code using pragma
2017-12-22 08:42:21 +09:00
Alexander Alekhin
1bc1f3d311
Merge pull request #10374 from tomoaki0705:removeGstreamerTest
2017-12-21 19:02:13 +00:00
Vadim Pisarevsky
a8a51db42b
Merge pull request #10316 from terfendail:bitexact_c234
2017-12-21 18:56:54 +00:00
Vadim Pisarevsky
70d49446e9
Merge pull request #10369 from alalek:issue_10351
2017-12-21 18:48:38 +00:00
Alexander Alekhin
a2620f72c7
Merge pull request #10370 from pengli:dnn
2017-12-21 15:36:23 +00:00
Tomoaki Teshima
50d44e06e3
avoid the test which is too strict
...
* confirmed test failure on Jetson TX1 and TX2
* show the performance but not bit exact result
2017-12-22 00:14:10 +09:00
Li Peng
c5fc8e03ff
cleanup unnecessary macros in convolution ocl kernel
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-21 20:32:36 +08:00
Li Peng
0aa5e43a14
refactor candidate generation of convolution auto-tuning
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-21 23:05:54 +08:00
jasjuang
235889ddbb
handle legacy VTK functions
2017-12-21 01:33:25 -08:00
Dmitry Kurtaev
c67e75b68f
Refactor NMS procedure at RegionLayer
2017-12-21 12:21:45 +03:00
Vadim Pisarevsky
047ad4ff71
Merge pull request #10366 from alalek:ocl_fix_cvtcolor_read
2017-12-21 08:33:59 +00:00
Vadim Pisarevsky
ae8bb718cd
Merge pull request #10340 from alalek:log_level_option
2017-12-21 08:33:18 +00:00
Alexander Alekhin
7bbe1a53cf
imgcodecs(pxm): fix memcpy size
2017-12-21 01:10:24 +00:00
Vitaly Tuzov
b6fe4cc807
Added performance tests for linear resize of 2 and 3-channel images
2017-12-20 18:11:21 +03:00
Vadim Pisarevsky
eecb64a973
Merge pull request #10331 from arrybn:python_dnn_net
2017-12-20 14:30:27 +00:00
LaurentBerger
e43997dbb5
Calcerror uses now weighted samples ( #10346 )
...
* Calcerror uses now sample weights
* catree comment in #10319
2017-12-20 17:24:46 +03:00
Alexander Alekhin
813ff37967
imgproc(ocl): fix RGB2RGBA kernel out of range access
2017-12-20 14:19:46 +00:00
Vadim Pisarevsky
b8a24b36ce
Merge pull request #10356 from dkurt:dnn_rfcn
2017-12-20 14:19:46 +00:00
Vitaly Tuzov
1eb2fa9efb
Added universal intrinsics based implementations for CV_8UC2, CV_8UC3, CV_8UC4 bit-exact resizes.
2017-12-20 17:17:10 +03:00
Dmitry Kurtaev
7e48fa58eb
Manage TensorFlow's NHWC data layout is smoother
2017-12-20 14:13:40 +03:00
Dmitry Kurtaev
0ed2cbc931
R-FCN models support
2017-12-20 10:43:22 +03:00
Alexander Alekhin
b450811e4b
core(logger): add log level configuration option
2017-12-19 22:57:07 +00:00
catree
87160cb297
Add Demo 5: Basic panorama stitching from a rotating camera in the homography tutorial.
2017-12-19 22:45:35 +01:00
Alexander Alekhin
dcdd6af5a8
Merge pull request #10341 from pengli:dnn
2017-12-19 14:04:55 +00:00
Alexander Alekhin
badc3bd312
Merge pull request #10348 from ElenaGvozdeva:Canny_HAL
2017-12-19 13:07:59 +00:00
Vadim Pisarevsky
b1ed8bc0d1
Merge pull request #10347 from dkurt:dnn_remove_deprecated_importer
2017-12-19 11:03:06 +00:00
Li Peng
3b84acfc48
add ocl accuracy test for tf mobilenet ssd
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-19 18:38:55 +08:00
Li Peng
436d7e4eaf
add depthwise convolution kernel
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-19 17:59:13 +08:00
Li Peng
910d7dab1f
prior box layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-19 17:44:10 +08:00
elenagvo
b0e9d76ced
HAL for canny
2017-12-19 11:03:10 +03:00
Dmitry Kurtaev
6aabd6cc7a
Remove cv::dnn::Importer
2017-12-18 18:08:28 +03:00
Alexander Rybnikov
19c914db51
Changed wrapping mode for cv::dnn::Net::forward
2017-12-18 15:56:09 +03:00
Suleyman TURKMEN
1654dfe3a9
Update samples ( #10333 )
...
* Update samples
* Update calib3d.hpp
* Update calib3d.hpp
* Update calib3d.hpp
* Update calib3d.hpp
2017-12-18 13:44:11 +03:00
Vadim Pisarevsky
d3a124c820
Merge pull request #10339 from catree:add_doc_solvepnp_figure_desc
2017-12-18 09:13:06 +00:00
Vadim Pisarevsky
86cc4f3aa4
Merge pull request #10337 from dkurt:fix_pooling_layer
2017-12-18 09:11:54 +00:00
catree
fcb537bacd
Add a figure and some formulas to illustrate the PnP pose estimation principle.
2017-12-17 21:38:22 +01:00
Jiri Horner
3dbf392d48
fix build with intrinsics enabled
...
* since #10231 opencv with instrumentation does not build
2017-12-17 20:23:15 +01:00
Dmitry Kurtaev
2b43d4f477
Fix default pooling layer type
2017-12-17 16:46:40 +03:00
Alexander Alekhin
cac4a7e5b5
OpenCV version++
...
OpenCV 3.4.0-rc
2017-12-16 01:30:43 +03:00
Alexander Alekhin
3fddce67c6
experimental version++
2017-12-16 01:30:36 +03:00
Alexander Alekhin
361bb1197f
cmake: fix opencv_world build with contrib
2017-12-15 21:36:22 +00:00
Alexander Alekhin
70e1b4ddf0
Merge pull request #10319 from catree:move_SimulatedAnnealingSolver_Impl_cpp
...
Move SimulatedAnnealingSolver::Impl in cpp file
2017-12-15 23:06:48 +03:00
Rostislav Vasilikhin
bab86d65cb
Merge pull request #10258 from savuor:fix/kmeans_channels
...
* kmeans: number of channels in _centers fixed
* fixedType() is checked now
2017-12-15 21:48:48 +03:00
Alexander Alekhin
aef3019152
ml: fix SimulatedAnnealingSolver interface
2017-12-15 21:44:32 +03:00
Alexander Alekhin
28b19d6e3e
Merge pull request #10313 from alalek:rename_fix
...
Fix file names
2017-12-15 21:40:22 +03:00
Maksim Shabunin
1033f2b1bd
Fixed 3 issues found by static analysis
2017-12-15 17:29:26 +03:00
catree
0a439570a0
Move SimulatedAnnealingSolver::Impl in cpp file. Fix some typos.
2017-12-15 14:09:59 +01:00
Vadim Pisarevsky
62359f70ff
Merge pull request #10306 from dkurt:faster_rcnn
2017-12-15 12:23:53 +00:00
Alexander Alekhin
7d4a67f2a8
Merge pull request #10315 from alalek:issue_10147_debug
...
dnn: more debug information
2017-12-15 15:01:12 +03:00
Alexander Alekhin
d5f152494b
fix file names
2017-12-15 14:59:35 +03:00
Sayed Adel
1b8acd662f
core:ppc Fix several issues for VSX ( #10303 )
...
- fix conversion intrinsics compatibility with xlc
- implement odd-elements 2 to 4 conversion intrinsics
- improve implementation of universal intrinsic v_popcount
- rename FORCE_INLINE to VSX_FINLINE in vsx_utils.hpp
2017-12-15 14:03:46 +03:00
LaurentBerger
7ad308ea47
Simulated Annealing for ANN_MLP training method ( #10213 )
...
* Simulated Annealing for ANN_MLP training method
* EXPECT_LT
* just to test new data
* manage RNG
* Try again
* Just run buildbot with new data
* try to understand
* Test layer
* New data- new test
* Force RNG in backprop
* Use Impl to avoid virtual method
* reset all weights
* try to solve ABI
* retry
* ABI solved?
* till problem with dynamic_cast
* Something is wrong
* Solved?
* disable backprop test
* remove ANN_MLP_ANNEALImpl
* Disable weight in varmap
* Add example for SimulatedAnnealing
2017-12-15 13:57:39 +03:00
zhijackchen
6df8ac0342
Merge pull request #10283 from zhijackchen:exr_export
...
* Fix issue #10114
Convert table change
From:
CV_8U -> HALF
CV_8S -> HALF
CV_16U -> UINT
CV_16S -> UINT
CV_32S -> UINT
CV_32F -> FLOAT
To:
CV_8U -> HALF
CV_8S -> HALF
CV_16U -> UINT
CV_16S -> FLOAT
CV_32S -> FLOAT loss precision
CV_32F -> FLOAT
Signed integer can't be presented well with UINT. Even adjust bias, CV16S and CV32S will be confused when load from exr file.
Also fix CV_8S negative value incorrect bug
* EXR import and export
imread() from EXR returns CV_32F only
imwrite() accepts CV_32 cv::Mat only and stores FLOAT images by default. Add imwrite() flag to store in HALF format.
* fix compiling error
* clean up
* fix EXR import issues
2017-12-15 12:23:44 +03:00
Dmitry Kurtaev
08112f3821
Faster-RCNN models support
2017-12-15 12:16:21 +03:00
Vadim Pisarevsky
84535a60f2
Merge pull request #10307 from savuor:fix/expect_softfloat
2017-12-14 21:00:46 +00:00
Tomoaki Teshima
ca1a0a1108
core: remove raw SSE2/NEON implementation from convert.cpp ( #9831 )
...
* remove raw SSE2/NEON implementation from convert.cpp
* remove raw implementation from Cvt_SIMD
* remove raw implementation from cvtScale_SIMD
* remove raw implementation from cvtScaleAbs_SIMD
* remove duplicated implementation cvt_<float, short>
* remove duplicated implementation cvtScale_<short, short, float>
* add "from double" version of Cvt_SIMD
* modify the condition of test ConvertScaleAbs
* Update convert.cpp
fixed crash in cvtScaleAbs(8s=>8u)
* fixed compile error on Win32
* fixed several test failures because of accuracy loss in cvtScale(int=>int)
* fixed NEON implementation of v_cvt_f64(int=>double) intrinsic
* another attempt to fix test failures
* keep trying to fix the test failures and just introduced compile warnings
* fixed one remaining test (subtractScalar)
2017-12-15 00:00:35 +03:00
Rostislav Vasilikhin
7d18f49a49
SoftFloat tests: assert => expect
2017-12-14 21:03:25 +03:00
Alexander Alekhin
0da947e6b3
dnn: more debug information
2017-12-14 19:21:17 +03:00
Vadim Pisarevsky
d0d2faf551
Merge pull request #10294 from alalek:fix_copyToMask_dst_initialization
2017-12-14 11:05:09 +00:00
Vadim Pisarevsky
7b701fee60
Merge pull request #10302 from alalek:issue_10254
2017-12-13 17:31:40 +00:00
Vadim Pisarevsky
99183e98d3
Merge pull request #10293 from alalek:fix_persistence_with_deprecated_traits
2017-12-13 17:30:23 +00:00
Alexander Alekhin
c231472ad6
Merge pull request #10290 from tomoaki0705:fixVS2012Round
2017-12-13 15:30:21 +00:00
Alexander Alekhin
9930076dc5
core(test): avoid filename duplicates in tests
2017-12-13 18:21:55 +03:00
Tomoaki Teshima
ecb6bcf2e0
fix build error on Visual Studio 2012
...
* round doesn't exists in standard library of Visual Studio 2012
* apply the correct computation of ROI
2017-12-13 17:40:07 +03:00
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
2017-12-13 15:00:38 +03:00
Vadim Pisarevsky
84ee4d701a
Merge pull request #10297 from tomoaki0705:suppressOclWarning
2017-12-13 07:56:35 +00:00
Tomoaki Teshima
267c5a747b
suppress warnings on OpenCL build
...
* stop re-enabling the warning C4127
* disabling is done in CMakeLists.txt
2017-12-13 15:07:51 +09:00
Alexander Alekhin
62ed6cdc74
core: fix copyTo(with mask) dst initialization
2017-12-12 18:40:13 +03:00
Alexander Alekhin
ce20efb8e7
Merge pull request #9804 from woodychow:optimize_cveigen
2017-12-12 14:58:04 +00:00
Alexander Alekhin
825b14278e
core: fix persistence with deprecated traits
2017-12-12 17:07:36 +03:00
Alexander Alekhin
c0b6061a5e
core(test): Core_Eigen.vector_32 use relative norm
2017-12-12 15:07:31 +03:00
Alexander Alekhin
2324674dfb
core(test): update eps in testEigen<float>: 1e-6 => 1e-4
2017-12-12 15:07:31 +03:00
Alexander Alekhin
53b5afbba9
core(test): refactor Java Eigenvalues/PCA tests
2017-12-12 15:07:31 +03:00
Alexander Alekhin
d48d2d7fe2
core(test): refactor PCA test
...
- CV_L2 -> relative NORM_L2
- eigenEps: 1e-6 ==> 1e-4
- evalEps: 1e-6 ==> 1e-5
- evecEps: 1e-3 ==> 5e-3
- RNG seed: 12345
- drop non-informative legacy test code (ts->printf, etc)
2017-12-12 15:07:27 +03:00
Alexander Alekhin
b0bce60c16
Merge pull request #10284 from alalek:dnn_debug_error
2017-12-12 09:33:50 +00:00
Alexander Alekhin
eff42f6387
dnn: more debug info
2017-12-12 12:04:10 +03:00
Alexander Alekhin
5404930112
Merge pull request #9260 from Cartucho:add_python_signatures
2017-12-12 08:58:14 +00:00
Alexander Alekhin
e49febb70f
Merge pull request #10269 from terfendail:softdouble_round
2017-12-11 12:48:03 +00:00
Vadim Pisarevsky
7e680bd9ff
Merge pull request #10215 from dkurt:dnn_js
2017-12-11 12:47:52 +00:00
Vadim Pisarevsky
9fa505027a
Merge pull request #10263 from mshabunin:embedded-build
2017-12-11 12:42:45 +00:00
Vadim Pisarevsky
61c2f094b9
Merge pull request #10280 from alalek:python_cv2_to_cv
2017-12-11 12:39:00 +00:00
Vadim Pisarevsky
558b17dede
Merge pull request #10231 from alalek:ocl_refactor_program_api
2017-12-11 12:34:22 +00:00
Vitaly Tuzov
86b128dbb3
Added implementation of softdouble rounding to int64_t
2017-12-11 14:29:32 +03:00
Alexander Alekhin
5560db73bf
python: 'cv2.' -> 'cv.' via 'import cv2 as cv'
2017-12-11 13:46:55 +03:00
Maksim Shabunin
7349b8f5ce
Build for embedded systems
2017-12-11 13:27:37 +03:00
Alexander Alekhin
768f4cb7bc
python: 'sub-module' for binding sources and documentation meta information
2017-12-09 21:01:46 +00:00
Alexander Alekhin
66e09bc9a4
Merge pull request #10260 from native-api:ffmpeg_load_from_package
2017-12-08 20:58:17 +00:00
Vadim Pisarevsky
cd7526c973
Merge pull request #10266 from ChristofKaufmann:warp_documentation
2017-12-08 18:48:48 +00:00
Vadim Pisarevsky
c24f10d647
Merge pull request #10268 from dkurt:fix_scale_layer
2017-12-08 18:46:50 +00:00
Ivan Pozdeev
4bee238cf8
GetModuleFileName() doesn't reset last error on success
2017-12-08 21:11:41 +03:00
Dmitry Kurtaev
f503515082
JavaScript bindings for dnn module
2017-12-08 18:33:48 +03:00
Dmitry Kurtaev
e307065c8e
Scale layer in case of 2D inputs
2017-12-08 17:34:59 +03:00
Elena Gvozdeva
6185f7209e
Merge pull request #10172 from ElenaGvozdeva:eg/HAL_sobel
...
* add HAL for SobelFilter
* add HAL for pyrDown
* add HAL for Scharr
2017-12-08 16:36:24 +03:00
Christof Kaufmann
9c5b231b2d
doc: Add type restriction note for geometric transformations
...
This is added according to #7862 .
2017-12-08 12:33:51 +01:00
Alexander Alekhin
f2070c9f5d
Merge pull request #10255 from dkurt:dnn_roi_pooling
2017-12-08 11:20:07 +00:00
Riyuzakii
8f1345091e
Remove typo/repeated code block
2017-12-08 12:10:00 +05:30
Dmitry Kurtaev
17dcf0e82d
ROIPooling layer
2017-12-07 19:04:38 +03:00
Alexander Alekhin
d329674f68
Merge pull request #8198 from mshabunin:cmakeex
2017-12-07 15:02:41 +00:00
Dmitry Kurtaev
ef0650179b
Fix conv/deconv/fc layers FLOPS computation
2017-12-07 11:42:04 +03:00
Pavel Rojtberg
6fb9d42c3f
Hid symbols in static builds, added LTO flags, removed exports from ts
2017-12-07 10:26:48 +03:00
Alexander Alekhin
6074f92d48
Merge pull request #10228 from pengli:dnn_new
2017-12-06 15:50:12 +00:00
Alexander Alekhin
0b688cd23f
Merge pull request #10240 from alalek:dnn_perf_ssd
2017-12-06 15:41:18 +00:00
Li Peng
59cbaca4d3
detection_output layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-06 22:35:59 +08:00
Li Peng
66feea6cac
region layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-07 02:26:46 +08:00
Li Peng
7707c9bfba
reorg layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-07 02:26:46 +08:00
Li Peng
85b1c4060c
support axis in concat layer ocl path
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-07 02:26:46 +08:00
Li Peng
07bec6bdcd
reshape layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-07 02:26:40 +08:00
Alexander Alekhin
d8a737b4b0
dnn: SSD performance test
2017-12-06 15:55:18 +03:00
Alexander Alekhin
3a8a73ef6c
ocl: skip unstable tests
...
during pre-commit testing
2017-12-06 12:58:35 +03:00
Vadim Pisarevsky
4781f0a337
Merge pull request #10024 from iago-suarez:bugfix-lsd-multiple-imgs-issue#10023
2017-12-06 09:01:37 +00:00
Vadim Pisarevsky
4b8275061e
Merge pull request #10058 from ElenaGvozdeva:eg/HAL
2017-12-05 20:56:24 +00:00
Vadim Pisarevsky
2c4d3d92c7
Merge pull request #10221 from dkurt:non_spatial_torch_layers
2017-12-05 20:52:00 +00:00
Alexander Alekhin
15b909e80b
ocl: add SPIR Program loading test
...
SPIR kernels are located in opencv_extra
2017-12-05 22:25:14 +03:00
Alexander Alekhin
a82d2363f4
ocl: refactor Program API
...
- don't store ProgramSource in compiled Programs (resolved problem with "source" buffers lifetime)
- completelly remove Program::read/write methods implementation:
- replaced with method to query RAW OpenCL binary without any "custom" data
- deprecate Program::getPrefix() methods
2017-12-05 22:25:14 +03:00
Alexander Alekhin
13c4a02157
ocl: low-level API to support OpenCL binary programs
2017-12-05 22:25:14 +03:00
Alexander Alekhin
4d721e368a
Merge pull request #10218 from catree:fix_cuda_integral
2017-12-05 15:10:00 +00:00
Li Peng
7b7033ac60
permute layer ocl implementation
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-12-05 22:10:05 +08:00
Juha Reunanen
5b41599911
Fix pointPolygonTest for large coordinate values ( #10222 )
...
* Add test that fails
* Fix integer pointPolygonTest for large coordinate values
* Review fixes:
- change type from long long to int64
- move test code to test_contours.cpp, and make it C++98 compliant
* Hopefully fix compiler error by using push_back instead of emplace_back
2017-12-05 15:49:44 +03:00
Vadim Pisarevsky
5ce38e516e
Merge pull request #10223 from vpisarev:ocl_mac_fixes
...
* fixed OpenCL functions on Mac, so that the tests pass
* fixed compile warnings; temporarily disabled OCL branch of TV L1 optical flow on mac
* fixed other few warnings on macos
2017-12-05 13:32:28 +03:00
woody.chow
611cf8d86f
Use Eigen::SelfAdjointEigenSolver in cv::eigen
2017-12-05 02:40:55 +03:00
Dmitry Kurtaev
bbbec300a6
nn.BatchNormalization and nn.Dropout layers from Torch
2017-12-04 12:57:21 +03:00
catree
6d06fcb414
Fix CUDA integral.
2017-12-04 02:22:52 +01:00
Alexander Alekhin
fc9e031454
Merge pull request #10212 from alalek:ocl_cache_with_address_bits
2017-12-01 15:42:28 +00:00
Alexander Alekhin
74d321d901
Merge pull request #10199 from alalek:fix_calib3d_fisheye_rectify_test
2017-12-01 15:26:50 +00:00
elenagvo
7bfb38055c
remove matrix release
2017-12-01 14:38:00 +03:00
elenagvo
81519537ae
fix the parameters order
2017-12-01 14:38:00 +03:00
elenagvo
0f12351a41
fix accelerators order
2017-12-01 14:38:00 +03:00
elenagvo
7aadbc9607
remove complex data structs
2017-12-01 14:38:00 +03:00
elenagvo
ce65975625
call HAL for GaussianBlur is fixed
2017-12-01 14:38:00 +03:00
elenagvo
a25c443d1f
add perf test for boxFilter CV8U to CV16U
2017-12-01 14:38:00 +03:00
elenagvo
c2c7333107
add hal for GaussianBlur
2017-12-01 14:38:00 +03:00
elenagvo
cb9e110adb
add HAL for BoxFilter
2017-12-01 14:38:00 +03:00
Alexander Alekhin
0595ab3eef
ocl: fix usage of invalid OpenCL cache on mixed 64/32-bit platforms
...
Observed during launch of 32/64-bit applications on Windows.
Added '32-bit' prefix for 32-bit OpenCL devices. No prefix on 64-bit configurations.
2017-12-01 14:20:18 +03:00
Maksim Shabunin
800294ad4b
Merge pull request #10060 from allnes:videoio_tests_backend
2017-12-01 09:38:19 +00:00
Alexander Alekhin
ac58405a71
calib3d: fix fisheye stereoRectify test
...
- don't write into testdata directory
- check matrices instead of result images
2017-11-30 15:50:29 +03:00
Alexander Alekhin
9bf6ec6fe1
Revert "Adapted estimateNewCameraMatrix to make it work with pincushion-like distortion."
...
This reverts commit 5384a2205a
.
2017-11-30 15:47:48 +03:00
Vadim Pisarevsky
7ae19467b5
Merge pull request #10171 from ElenaGvozdeva:Threshold
2017-11-30 10:02:47 +00:00
Vadim Pisarevsky
fe95d5a720
Merge pull request #10200 from alalek:cmake_fix_dependencies
2017-11-30 10:00:51 +00:00
Alexander Alekhin
0105518422
Merge pull request #10190 from seiko2plus:issue10189
2017-11-30 07:16:12 +00:00
Alexander Alekhin
22c0bb7dc9
cmake: fix WITH_VTK usage
...
'WITH_' variables is intended to enable CMake scripts with some autodetection logic.
'WITH_' can be off, but components is really enabled via command-line options
with proper variables setup (including 'HAVE_').
2017-11-29 21:43:09 +03:00
Alexander Alekhin
e703c3090a
Merge pull request #10184 from catree:solvePnP_iterative_guess_3_pts
2017-11-29 18:24:04 +00:00
Maksim Shabunin
7eb1065944
Fixed/disabled warnings produced by GCC 7
2017-11-29 17:21:22 +03:00
Alexander Alekhin
cc2ee923e4
Merge pull request #10164 from pengli:dnn
2017-11-29 12:05:10 +00:00
Vadim Pisarevsky
f5dba12762
Merge pull request #10180 from alalek:ocl_avoid_unnecessary_initialization
2017-11-29 11:42:22 +00:00
Vadim Pisarevsky
86ff4a1ccf
Merge pull request #10182 from romanc:fix/divByZeroSimdDouble
2017-11-29 10:01:58 +00:00
Vadim Pisarevsky
614e254331
Merge pull request #10170 from LaurentBerger:Issue10166
2017-11-29 09:51:20 +00:00
Sayed Adel
6fe6436162
core:ppc Fixed compilation with xlc, clang.
...
- Use EXPECT_TRUE instead of EXPECT_EQ for comparing NULL in xlc
- Added support for int64 to vec_promote in xlc, clang
- Fixed v_rotate_right in xlc
2017-11-29 07:48:26 +00:00
elenagvo
73ac5321f5
fix threshold HAL
2017-11-28 17:42:29 +03:00
catree
2e56a47f8c
Allow to use 3 points in SolvePnP if SOLVEPNP_ITERATIVE and useExtrinsicGuess==true. Add bibtex citations for P3P. Update SolvPnP tests.
2017-11-28 15:04:59 +01:00
Vadim Pisarevsky
666fc0ba69
Merge pull request #9986 from terfendail:drawcontours_docfix
2017-11-28 13:19:06 +00:00
Vadim Pisarevsky
cfd845ac07
Merge pull request #10141 from LaurentBerger:MLP_ReLU
2017-11-28 13:17:43 +00:00
Vadim Pisarevsky
2a8344f75b
Merge pull request #10149 from mshabunin:fix-saturate-intrin
2017-11-28 13:17:10 +00:00
elenagvo
762138e77e
define adaptiveMethod and thresholdType for HAL
2017-11-28 16:02:06 +03:00
Roman Cattaneo
d381e499ea
Fixes Issue #10181
...
This PR fixes incorrect division by zero handling in template
specialization of `Div_SIMD` for type `double`.
2017-11-28 13:48:40 +01:00
Alexander Alekhin
0ed3209b00
ocl: avoid unnecessary loading/initializing OpenCL subsystem
...
If there are no OpenCL/UMat methods calls from application.
OpenCL subsystem is initialized:
- haveOpenCL() is called from application
- useOpenCL() is called from application
- access to OpenCL allocator: UMat is created (empty UMat is ignored) or UMat <-> Mat conversions are called
Don't call OpenCL functions if OPENCV_OPENCL_RUNTIME=disabled
(independent from OpenCL linkage type)
2017-11-28 14:02:42 +03:00
Vadim Pisarevsky
bc547c4290
Merge pull request #10124 from zhongwuzw:master
2017-11-28 10:53:00 +00:00
Vadim Pisarevsky
9e4a8a31e1
Merge pull request #10173 from dkurt:update_priorbox_layer
2017-11-28 10:51:06 +00:00
Vadim Pisarevsky
b900496c40
Merge pull request #10152 from alalek:py_fix_isalgorithm
2017-11-28 10:46:41 +00:00
Alexander Alekhin
abad8977b6
Merge pull request #9247 from paroj:wrap_alog_rw
2017-11-28 10:35:33 +00:00
Maksim Shabunin
6c135261b2
Universal Intrinsics: aligned v_pack behavior on different platforms, fixed 64-bit register on ARM, added more saturate_cast variants
2017-11-28 13:31:56 +03:00
LaurentBerger
a44573c43b
Add ReLU and LeakyReLU activation function in ml module
2017-11-28 11:02:05 +01:00
Alexander Alekhin
378e05c16b
Merge pull request #10178 from alalek:ts_message
2017-11-28 05:39:29 +00:00
Alexander Alekhin
486cfd1040
ts: detailed message
2017-11-27 19:22:39 +03:00
Pavel Rojtberg
3c795a0dab
add test_algorithm_rw using AKAZE
2017-11-27 17:04:56 +01:00
Pavel Rojtberg
6fbf0758bc
Python: wrap Algorithm::read and Algorithm::write
2017-11-27 17:04:56 +01:00
Wu Zhiwen
1f465a0ef9
dnn(ocl4dnn): fuseLayer() use umat_input/outputBlobs for OpenCL target
...
Also, fix bug when use OPENCL target but no OpenCL runtime
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
2017-11-27 22:25:53 +08:00
Li Peng
a47fbd2610
Add ocl accuracy test for a few dnn nets
...
They are alexnet, mobilenet-ssd, resnet50, squeezeNet_v1_1,
yolo and fast_neural_style.
Signed-off-by: Li Peng <peng.li@intel.com>
2017-11-27 23:33:21 +08:00
Dmitry Kurtaev
99ed085752
Update PriorBox layer
2017-11-27 16:47:20 +03:00
elenagvo
c95bc0c7fd
add HAL for threshold
2017-11-27 15:35:02 +03:00
elenagvo
11ddb9332c
add HAL for adaptiveThreshold
2017-11-27 15:35:02 +03:00
LaurentBerger
606a5fd537
Try to solve issue 10166
2017-11-27 13:13:05 +01:00
Alexander Alekhin
c4b158ff91
Merge pull request #10167 from alalek:ocl_fix_issue_contrib1467
2017-11-27 11:05:07 +00:00
Vadim Pisarevsky
ec076bfba3
Update imgproc.hpp
...
rewrote the added note in perhaps a cleaner way
2017-11-27 13:42:10 +03:00
Vadim Pisarevsky
92be112388
Merge pull request #10107 from ElenaGvozdeva:medianBlur_HAL
2017-11-27 10:12:16 +00:00
Vadim Pisarevsky
a83c12c3d5
Merge pull request #10154 from alalek:ocl_cleanup_obsolete_cache
2017-11-27 10:04:04 +00:00
Vadim Pisarevsky
7f554f3cc4
Merge pull request #10155 from alalek:ocl_update_loader
2017-11-27 10:03:31 +00:00
Alexander Alekhin
92b35e6758
ocl: fix null pointer access crash
2017-11-27 12:43:29 +03:00
Alexander Alekhin
11330b9253
Merge pull request #10095 from alalek:fix_canny_intrinsics
2017-11-25 12:31:47 +00:00
Alexander Alekhin
c38620e966
ocl: update OpenCL runtime loader
...
- fix compilation on Apple (undefined 'oclpath')
- don't warn on OPENCV_OPENCL_RUNTIME=disabled
2017-11-24 19:18:22 +03:00
Alexander Alekhin
b6abf0d3f9
ocl: drop obsolete cache directories after upgrade of OpenCL driver
...
Entries with the same platform name, the same device name and with different driver versions
are assumed obsolete.
2017-11-24 17:02:28 +03:00
Alexander Alekhin
cbf2b51e40
bindings(py): fix handling of 'isalgorithm'
2017-11-24 09:54:44 +03:00
Alexander Alekhin
13f374660f
dnn(ocl4dnn): drop unused batch_size_ in pooling
2017-11-23 20:46:56 +00:00
Alexander Alekhin
e34b64c979
dnn(ocl4dnn): refactor pooling OpenCL calls
2017-11-23 20:46:44 +00:00
Alexander Alekhin
f071a48ec7
Merge pull request #10143 from pengli:ocl4dnn
2017-11-23 18:47:14 +00:00
Maksim Shabunin
a1479cc2c1
Merge pull request #10148 from alalek:fix_ffmpeg_sws_scale_crash
2017-11-23 18:35:00 +00:00
Alexander Alekhin
107582c767
Merge pull request #9996 from dkurt:dnn_multiple_inputs
2017-11-23 18:22:37 +00:00
Li Peng
636d6368ee
use OutputArrayOfArrays in net forward interface
...
It allows umat buffers used in net forward interface
Signed-off-by: Li Peng <peng.li@intel.com>
2017-11-24 02:19:10 +08:00
Wu, Zhiwen
04edc8fe3a
cleanup ocl4dnn spatial convolution kernels
...
remove unused macros and half definition macros,
also remove unused ocl::Queue
Signed-off-by: Li Peng <peng.li@intel.com>
2017-11-24 02:19:10 +08:00
Alexander Alekhin
559235ac74
videoio(ffmpeg): more workarounds for sws_scale() crash
...
Prevents access data after the end of input buffer near 4K page boundaries
2017-11-23 18:56:19 +03:00
Alexander Alekhin
49a5280198
Merge pull request #10139 from alalek:dnn_rename_caffe_proto_package
2017-11-23 14:10:42 +00:00
Alexander Alekhin
e5d1790b7b
Merge pull request #10018 from alalek:ocl_binary_cache
2017-11-23 13:37:32 +00:00
Vadim Pisarevsky
fed2a277e0
Merge pull request #10142 from alalek:pytests_update
2017-11-23 12:51:55 +00:00
Maksim Shabunin
6f48dc2482
Fixed GStreamer pipeline building on Ubuntu 17
2017-11-23 15:03:20 +03:00
Alexander Nesterov
8082011546
Update videoio tests
2017-11-23 14:57:38 +03:00
Maksim Shabunin
7628c143f4
videoio: fixed capture open order, added apiPrefernce to FFMPEG tests
2017-11-23 13:33:48 +03:00
elenagvo
5d0a8d2aaf
fix the parameters order
2017-11-23 13:30:00 +03:00
Alexander Alekhin
019de554a0
python(test): don't write bytecode
...
Tests are usually lauched from source directory, so additional unnecessary
files should be eliminated.
Alternative ways (command line):
- python -B ...
- PYTHONDONTWRITEBYTECODE=1 python ...
2017-11-23 13:13:11 +03:00
Alexander Alekhin
3ee8079f35
python(test): add tests filter
...
Usage example (bash):
$ OPENCV_PYTEST_FILTER=test_digits python test.py -v
2017-11-23 12:16:59 +03:00
Alexander Alekhin
e4aa2ccd66
Merge pull request #10136 from alalek:issue_10134
2017-11-22 18:39:47 +00:00
Alexander Alekhin
f37f4cf3b4
Merge pull request #9994 from r2d3:dnn_memory_load
2017-11-22 18:15:00 +00:00
Alexander Alekhin
e7d62d6ef3
Merge pull request #10126 from alalek:dnn_issue_10125
2017-11-22 18:03:51 +00:00
Alexander Alekhin
b29893b938
dnn: autogenerated files
2017-11-22 18:34:07 +03:00
Alexander Alekhin
1c88a566e0
dnn: rename caffe protobuf package
2017-11-22 18:34:07 +03:00
Alexander Alekhin
3f37be5a30
core: fix compilation of intrinsic code
2017-11-22 17:28:50 +03:00
Alexander Alekhin
9db5cbf9a4
dnn: sync output/internals blobs back
2017-11-22 14:00:58 +03:00
Alexander Alekhin
8e6280fc8e
ocl: binary program cache
2017-11-22 12:56:38 +03:00
Vadim Pisarevsky
f8ad289311
Merge pull request #10092 from alalek:dnn_rename_caffe_proto
2017-11-22 08:16:20 +00:00
Maksim Shabunin
e57f22a386
Fixed allocSingleton
2017-11-21 18:07:30 +03:00
Maksim Shabunin
12662e064b
align singleton malloc
2017-11-21 17:55:23 +03:00
Maksim Shabunin
1c46034166
Other buffers
2017-11-21 17:55:23 +03:00
Maksim Shabunin
2178c5e95e
init ABtoXZ
2017-11-21 17:55:23 +03:00
Maksim Shabunin
b3018ba89e
LUV tables
2017-11-21 17:55:23 +03:00
Maksim Shabunin
e75056a084
static init
2017-11-21 17:55:23 +03:00
Maksim Shabunin
51fc891a5c
cvtColor: fixed tables init, moved some tables to heap
2017-11-21 17:55:23 +03:00
Alexander Alekhin
0f34628af7
dnn: drop OpenCL code path for DetectionOutputLayer
...
getUMat()/getMat() calls are scope based. Results of these calls can't be
stored somewhere for future usage.
2017-11-21 17:28:42 +03:00
Vadim Pisarevsky
c3cced0f89
Merge pull request #10121 from alalek:ocl_syntax_fix
2017-11-21 12:40:19 +00:00
Rostislav Vasilikhin
397b57dd72
Merge pull request #10041 from savuor:RevHoughWorks
...
HoughCircles rewritten (PR #7434 updated) (#10041 )
* initial version of renewed HoughCircles done
* fixed compilation
* fixed SIMD ability & compilation warning
* fixed accumulator nonmax comparison
* common Mutex for all invokers
* nzLocal is std::vector
* nz is std::vector
* SSE2 -> SIMD128
* centers is now std::vector
* circles is std::vector
* estimateRadius updated
* accum calculation w/o mutex
* less deprecated code
* several bugs fixed
* back to mutex, TLS gathering doesn't work
* extra code removed
* little refactoring
* docs note updated
* a little speedup
* warning fixed
2017-11-21 14:18:47 +03:00
zhongwuzw
01b581048d
Fix customPreviewLayer layout issue when rotateVideo is NO in iOS
2017-11-21 12:56:23 +08:00
Alexander Alekhin
438e456ce9
Merge pull request #10113 from wzw-intel:fusion
2017-11-20 18:13:33 +00:00
Alexander Alekhin
b389c1cfe7
core(ocl): syntax fix
2017-11-20 19:19:35 +03:00
Alexander Alekhin
f19f2bbcde
dnn: autogenerated files
...
rename caffe.proto => opencv-caffe.proto
2017-11-20 19:04:02 +03:00
Alexander Alekhin
f6d927ef3b
dnn: avoid conflicts with original caffe.proto
...
rename caffe.proto => opencv-caffe.proto
2017-11-20 19:04:00 +03:00
Alexander Alekhin
75b980ac64
Merge pull request #10120 from dkurt:remove_caffe_header_from_layer
2017-11-20 15:59:56 +00:00
David Geldreich
f723cede2e
add loading TensorFlow/Caffe net from memory buffer
...
add a corresponding test
2017-11-20 16:28:22 +01:00
Dmitry Kurtaev
6c5dd5cf6d
Replace caffe::NormalizedBBox to local structure
2017-11-20 18:03:31 +03:00
elenagvo
3a09da71d8
add HAL for medianBlur
2017-11-20 17:09:22 +03:00
Tomoaki Teshima
3cbe60cca2
Merge pull request #9753 from tomoaki0705:universalMatmul
...
* add accuracy test and performance check for matmul
* add performance tests for transform and dotProduct
* add test Core_TransformLargeTest for 8u version of transform
* remove raw SSE2/NEON implementation from matmul.cpp
* use universal intrinsic instead of raw intrinsic
* remove unused templated function
* add v_matmuladd which multiply 3x3 matrix and add 3x1 vector
* add v_rotate_left/right in universal intrinsic
* suppress intrinsic on some function and platform
* add pure SW implementation of new universal intrinsics
* add test for new universal intrinsics
* core: prevent memory access after the end of buffer
* fix perf tests
2017-11-20 15:56:53 +03:00
gdkessler
2674c6b5e0
Merge pull request #10093 from gdkessler/gdal_image_read_fix_10089
...
Fix GDAL image decoding color problems identified by issue #10089 , by: (#10093 )
* Fix GDAL image decoding color problems identified by issue #10089 , by:
Fixing CV_8UC1 symbol, which should be CV_8UC3 for RGB GDAL color table images.
Fixing image.ptr<VecX>(row,col)[] to be (*image.ptr<VecX>(row,col))[] to correctly access VecX array elements, as ptr<VecX>() returns a pointer to the VecX, not the first element of VecX. This fixes the color problem with color table gif images, and avoids out-of-bounds memory access.
Respecting the color identification of raster bands provided by the GDAL image driver, and produce BGR or BGRA images. Note that color bands of images using the HSL, CMY, CMYK, or YCbCr color space are ignored, rather than converting them to BGR.
* When reading image files using the GDAL decoder, exit with an error if a color band is encountered that isn't used (eg. from CMYK or YCbCbr), rather than silently ignoring the band's data.
2017-11-20 15:07:24 +03:00
Wu Zhiwen
45d11dde57
dnn(ocl4dnn): add fusion support for Power activation and eltwise add
...
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
2017-11-20 14:58:53 +08:00
Jonathan Viney
b1d208891b
Merge pull request #10011 from jviney:master
...
Fix build with FFmpeg master. Some deprecated APIs have been removed. (#10011 )
* Fix build with FFmpeg master.
* ffmpeg: update AVFMT_RAWPICTURE support removal
2017-11-18 21:08:41 +03:00
Alexander Alekhin
017a38a54e
Merge pull request #10108 from mshabunin:fix-eigen-stride
2017-11-17 20:09:08 +00:00
Alexander Alekhin
b45403ed75
Merge pull request #10102 from seiko2plus:coreVsxPacksFix
2017-11-17 19:01:38 +00:00
Maksim Shabunin
f50ec229de
Eigen: fix Mat construction stride
2017-11-17 18:27:09 +03:00
Alexander Alekhin
3e33820ee5
Merge pull request #10104 from wzw-intel:fusion_debug
2017-11-17 13:57:36 +00:00
elenagvo
20c08eab73
change border type for medianBlur to BORDER_ISOLATED
2017-11-17 15:13:04 +03:00
Maksim Shabunin
eb136ebba6
Do not reset step for single-row Mat created on user data
2017-11-17 13:15:15 +03:00
elenagvo
1a9d8e9447
test for GaussianBlur with border
2017-11-17 13:15:15 +03:00
Alexander Alekhin
0eb1bfa874
Merge pull request #10099 from alalek:fix_js_tests
2017-11-17 09:16:34 +00:00
Wu Zhiwen
394101d6ed
dnn(ocl4dnn): Fix relu fusion bug
...
Incorrect type of negative_slope result in this bug.
Also and OCL test for darknet to validate this patch.
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
2017-11-17 16:21:56 +08:00
Sayed Adel
56bda8917d
core:vsx Fix vec_packs in gcc-5
2017-11-16 21:54:56 +00:00
Maksim Shabunin
e730048f69
Merge pull request #10078 from justdoitqd:master
2017-11-16 15:20:44 +00:00
Maksim Shabunin
751cee8e67
Merge pull request #9907 from seiko2plus:vsxFixesImproves
2017-11-16 15:20:16 +00:00
Jcrist99
0608227e10
Merge pull request #9698 from abratchik:parse.doxygen
...
Support @deprecated tag in java wrappers (#9698 )
2017-11-16 16:48:12 +03:00
Alexander Alekhin
2210ed4fdd
js: fix tests (qunit -> node-qunit)
2017-11-16 15:00:33 +03:00
Alexander Alekhin
65061948af
Merge pull request #10091 from alalek:build_python_reduce_global_symbols
2017-11-16 10:17:39 +00:00
Wu Zhiwen
88e6daa315
dnn(ocl4dnn): Fix wrong measurement for tuning time
...
convolution kernel use default queue to run, so that ocl::Timer
, to measure the kernel run time, should use the default queue too.
Also remove useless parameter for convolve()
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
2017-11-16 13:09:57 +08:00
Alexander Alekhin
baff521b63
imgproc(Canny): eliminate unnecessary operations
...
drop manual loop unrolling:
- don't block compiler optimizations
- no effect on i5
2017-11-15 19:29:59 +00:00
Alexander Alekhin
3a0039d204
core(intrinsics): v_load_low
2017-11-15 16:04:18 +03:00
Alexander Alekhin
aa70199ce1
build: avoid exporting of unnecessary symbols from Python bindings
2017-11-15 13:21:35 +03:00
Alexander Alekhin
42f449880c
Merge pull request #10068 from paroj:fs_doc
2017-11-13 09:18:42 +00:00
Simon Guo
2610a47c89
core:ppc Fix 2 interleave logic errors in vsx_utils.hpp
...
When elements are 64 bits, the vec_st_interleave()/vec_ld_deinterleave()
doesn't interleave 4 elements correctly.
For vec_st_interleave(), following is saved into mem:
a0 b0 a1 b1 c0 d0 c1 d1
-> we expected:
a0 b0 c0 d0 a1 b1 c1 d1
for vec_ld_deinterleave(), following is loaded into a b c d for memory
string { 1 2 3 4 5 6 7 8 }:
a: 1 3
b: 2 4
c: 5 7
d: 6 8
-> we expected:
a: 1 5
b: 2 6
c: 3 7
d: 4 8
This patch corrects this behavior.
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
2017-11-13 12:47:10 +08:00
Li Peng
55260a8d3c
reshape mat before doing computation in fc layer
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-11-13 09:29:50 +08:00
Suleyman TURKMEN
992a81dcaa
Update lsd.cpp
2017-11-11 22:26:44 +03:00
Florian Echtler
2e772510ea
Merge pull request #10050 from floe/android-studio-3.3.1
...
Add Android Mat constructor with support for native buffer (#10050 )
2017-11-10 19:35:32 +00:00
Alexander Alekhin
c6fb99357c
Merge pull request #10057 from LaurentBerger:ParaCalcError
2017-11-10 19:04:36 +00:00
Pavel Rojtberg
7190028b23
FileStorage: use copydoc to add base64 info to constructor
2017-11-10 13:06:36 +01:00
Alexander Alekhin
bafdc44d37
Merge pull request #10061 from Sahloul:dnn_torch_fix
2017-11-10 05:05:52 +00:00
Alexander Alekhin
1af16afb89
Merge pull request #10062 from alalek:gtest_show_params
2017-11-10 05:04:55 +00:00
LaurentBerger
b9cf65e905
Parallel version of calcError in statmodel
2017-11-09 21:29:06 +01:00
Alexander Alekhin
8a3a75cc16
Merge pull request #9882 from pengli:ocl4dnn
2017-11-09 18:54:43 +00:00
Alexander Alekhin
fbe18e80f6
ts: dump test parameters value
2017-11-09 19:11:49 +03:00
Hamdi Sahloul
06bda58a2c
DNN Torch - workaround when torch importer is disabled
2017-11-10 00:44:06 +09:00
Alexander Alekhin
e89ae986fa
Merge pull request #10053 from terfendail:intersectconvex_fix
2017-11-09 11:05:56 +00:00
Li Peng
8f99083726
Add new layer forward interface
...
Add layer forward interface with InputArrayOfArrays and
OutputArrayOfArrays parameters, it allows UMat buffer to be
processed and transferred in the layers.
Signed-off-by: Li Peng <peng.li@intel.com>
2017-11-09 15:59:39 +08:00
Vitaly Tuzov
0205238dca
Fix for intersectConvexConvex nested contours check
2017-11-08 20:27:07 +03:00
Fakabbir Amin
a0c658b012
Merge pull request #9979 from fakabbir:ImproveDoc
...
* Improve Documentation
Fixes Spelling Mistakes.
2017-11-08 16:55:48 +00:00
Suleyman TURKMEN
e51a8e047c
update grfmt_gdal.cpp
2017-11-08 17:47:43 +03:00
Alexander Alekhin
48ed769b18
Merge pull request #10036 from alalek:fix_ocl4dnn_invalid_kernel
2017-11-07 19:17:21 +00:00
Alexander Alekhin
bffe254a81
Merge pull request #10003 from sturkmen72:documentation_updates
2017-11-07 16:52:15 +00:00
Suleyman TURKMEN
63fb79b519
updates documentation and samples
2017-11-07 19:21:21 +03:00
Alexander Alekhin
97181a90ba
dnn(ocl4dnn/conv): bailout on missing kernel configuration
2017-11-07 17:02:17 +03:00
Alexander Alekhin
981009ac1f
Merge pull request #9999 from mshabunin:fix-gcc72-warnings
2017-11-07 13:37:25 +00:00
Alexander Alekhin
96aebbe7f9
Merge pull request #9970 from mshabunin:media-sdk-convert
2017-11-07 13:37:07 +00:00
Alexander Alekhin
888d0cda40
Merge pull request #10001 from alalek:cmake_exclude_java_from_cpp_modules
2017-11-07 13:35:00 +00:00
Iago Suárez
42d942e19c
Clearing data into the detect method of the class cv::LineSegmentDetectorImpl
2017-11-04 17:12:20 +01:00
Cartucho
7267e94be7
Merge pull request #9736 from Cartucho/const_and_class_to_json
...
* Adding constants to json file
* adding sub-module to constants name
* adding namespace to functions
* adding namespace to classes
* remove namespace from methods
* static methods
* python signatures generation
* python: more fixes for signatures generation
Python names existence can be checked via command:
python -c "import cv2 as cv; print(repr(<py_name>))"
2017-11-04 06:38:18 +03:00
Maksim Shabunin
184daa155f
Fixed minor issues reported by GCC 7.2
2017-11-03 18:06:39 +03:00
Alexander Alekhin
9c4f0a984f
ocl: drop CV_OclDbgAssert
2017-11-03 13:31:37 +03:00
Alexander Alekhin
8fb48c09f7
ocl: improve debug information
2017-11-03 13:31:37 +03:00
Alexander Alekhin
6e4f9433d0
Merge pull request #9998 from alalek:ocl_fix_dnn_softmax_9991
2017-11-03 09:16:39 +00:00
Alexander Alekhin
c624967049
Merge pull request #10007 from alalek:videoio_gst_mjpeg_fix
2017-11-02 18:27:00 +00:00
Dmitry Kurtaev
20a2dc6ac5
Fix multiple inputs models from Caffe.
...
Fixed Concat optimization.
2017-11-02 18:55:08 +03:00
Alexander Alekhin
b1b2528e50
videoio: improve condition for MJPEG gstreamer sink
2017-11-02 18:27:30 +03:00
Alexander Alekhin
bacc96f4e8
dnn(ocl): fix softmax global/local size consistency
2017-11-02 17:08:40 +03:00
Alexander Alekhin
cc3f9323bb
cmake: exclude opencv_java (JNI) from OpenCV C++ modules list
...
for non-ANDROID platforms
2017-11-02 17:06:12 +03:00
Alexander Alekhin
f9ac1665b6
Merge pull request #9983 from dkurt:fix_halide_copy_to_device
2017-11-02 12:01:39 +00:00
Alexander Alekhin
942672ad91
Merge pull request #9995 from alalek:ocl_fix_moments_9990
2017-11-02 11:45:09 +00:00
Alexander Alekhin
47ae5197a9
test: extract OpenCL Moments tests, drop 'coi' parameter
2017-11-02 13:37:58 +03:00
Alexander Alekhin
c9c759f700
ocl: fix moments global_size (should be >= local_size)
2017-11-02 13:37:57 +03:00
Alexander Alekhin
7db612a545
core(ocl): fix parameters for 'intelblas_gemm_buffer_NT' kernel
2017-11-02 12:50:32 +03:00
Vitaly Tuzov
b9b553b8bc
Add more details to drawContour description
2017-11-01 16:01:12 +03:00
Maksim Shabunin
0c79f4a00f
MediaSDK: fixed Linux build, improved BGR<->NV12 conversions
2017-11-01 14:14:45 +03:00
Vadim Pisarevsky
cc626a3b5a
Merge pull request #9627 from dtmoodie:pyrlk_bugfix
2017-11-01 11:03:09 +00:00
Dmitry Kurtaev
14af2a0c0c
Fixed Halide's copy_to_device invocation
2017-11-01 14:01:54 +03:00
Vadim Pisarevsky
bc348eb8ab
Merge pull request #9963 from dkurt:fix_caffe_shrinker
2017-10-31 12:27:19 +00:00
Alexander Alekhin
6e4dacc0b3
Merge pull request #9971 from csukuangfj:fix-doc
2017-10-31 10:03:54 +00:00
Dmitry Kurtaev
e1ebc4e991
Specify layer types for Caffe FP32->FP16 weights converter
2017-10-31 12:31:40 +03:00
KUANG Fangjun
67acfc6e25
improve doc.
2017-10-31 10:30:01 +01:00
Vadim Pisarevsky
87984f2c6a
Merge pull request #9854 from opalmirror:test_stereo_min_disparity_master
2017-10-31 09:28:54 +00:00
Vadim Pisarevsky
15df161b22
Merge pull request #9959 from dkurt:reset_detection_outputs
2017-10-31 09:26:42 +00:00
Alexander Alekhin
bc9c9abab0
Merge pull request #9877 from mapreri:non-linux
2017-10-30 15:41:36 +00:00
Alexander Alekhin
7809c4156f
core(ocl): workaround CL_OUT_OF_RESOURCES error
...
Flush deallocation queue before calling map/unmap
2017-10-30 17:54:56 +03:00
Fakabbir Amin
cd428fb798
Error in the documentation for cv::getRectSubPix. #9788 ( #9871 )
...
* Error in the documentation for cv::getRectSubPix. #9788
The function name is corrected to GetRectSubPix since, it uses the notation
of src, dst and center. Also added the number of channel assertion criteria.
* Error in the documentation for cv::getRectSubPix. #9788
Replace dst with patch in the formula, reverted function name to
getRectSubPix, removed BorderTypes comment line due to no explicit call
to the function found.
* Error in the documentation for cv::getRectSubPix. #9788
Replace dst with patch in the formula, reverted function name to
getRectSubPix, removed BorderTypes comment line due to no explicit call
to the function found.
2017-10-30 13:04:20 +03:00
Dmitry Kurtaev
03cefa7bfe
Set zero confidences in case of no detections
2017-10-30 10:17:57 +03:00
Sayed Adel
def444d99f
core: Several improvements to Power/VSX
...
- changed behavior of vec_ctf, vec_ctu, vec_cts
in gcc and clang to make them compatible with XLC
- implemented most of missing conversion intrinsics in gcc and clang
- implemented conversions intrinsics of odd-numbered elements
- ignored gcc bug warning that caused by -Wunused-but-set-variable in rare cases
- replaced right shift with algebraic right shift for signed vectors
to shift in the sign bit.
- added new universal intrinsics v_matmuladd, v_rotate_left/right
- avoid using floating multiply-add in RNG
2017-10-28 17:46:12 +00:00
Alexander Alekhin
7b0d2d189f
Merge pull request #9951 from alalek:fix_bilateral_f32_simd
2017-10-27 16:43:20 +00:00
Vadim Pisarevsky
e0e40405ed
Merge pull request #9847 from wzw-intel:ocl4dnn_fusion
2017-10-27 13:59:46 +00:00
Vadim Pisarevsky
ff037ebe5f
Merge pull request #9845 from dkurt:fast_neural_style_models
2017-10-27 13:59:02 +00:00
Alexander Alekhin
91c0b13743
Merge pull request #9922 from alalek:ts_markdown_table
...
ts(misc): support tables exporting in markdown format
2017-10-27 17:01:18 +03:00
Vadim Pisarevsky
ede39b85f6
Merge pull request #9947 from sovrasov:floodfill_docs
2017-10-27 13:06:11 +00:00
Vadim Pisarevsky
ff190b1ef4
Merge pull request #9802 from Nickolays:Fix#9797
2017-10-27 13:00:34 +00:00
Vadim Pisarevsky
1a495a5817
Merge pull request #9875 from terfendail:fast_avx
2017-10-27 12:53:59 +00:00
Vadim Pisarevsky
8b1b126e3e
Merge pull request #9892 from terfendail:v4l_custom
2017-10-27 11:57:18 +00:00
Vadim Pisarevsky
5384d2f090
Merge pull request #9880 from dkurt:caffe_ceil_mode
2017-10-27 11:51:46 +00:00
Dmitry Kurtaev
4b52b8df34
Layers for fast-neural-style models: https://github.com/jcjohnson/fast-neural-style
2017-10-27 14:26:45 +03:00
Vadim Pisarevsky
9e6ef99422
Merge pull request #9850 from klchang:master
2017-10-27 11:22:28 +00:00
Vadim Pisarevsky
58a83e99c0
Merge pull request #9839 from terfendail:features/python_wrapper/surface_matching_cleanup
2017-10-27 11:22:10 +00:00
Alexander Alekhin
cc9ab7e582
imgproc: fix bilateral filter SIMD 32f optimization
2017-10-27 14:20:13 +03:00
Vadim Pisarevsky
bc93775385
Merge pull request #9862 from sovrasov:dnn_nms
2017-10-27 11:19:57 +00:00
Vadim Pisarevsky
b4367c92f3
Merge pull request #9889 from IgWod:add-const-getviewerpose
2017-10-27 11:16:19 +00:00
Vadim Pisarevsky
825c0ffdb4
Merge pull request #9874 from dkurt:fix_identity_permute_layer
2017-10-27 11:11:48 +00:00
Vadim Pisarevsky
69f2590359
Merge pull request #9921 from dkurt:fix_prelu_after_fully_connected
2017-10-27 11:10:59 +00:00
Vadim Pisarevsky
7060ee4d00
Merge pull request #9923 from savuor:fitellipse_enable_tests
2017-10-27 11:09:41 +00:00
Vladislav Sovrasov
a385fff3bf
imgproc: clarify usage of the mask in floodfill
2017-10-27 14:06:24 +03:00
Vadim Pisarevsky
7b8fb64f21
Merge pull request #9939 from alalek:fix_dnn_getUMat_crash
2017-10-27 11:06:22 +00:00
Vadim Pisarevsky
0c291c7768
Merge pull request #9940 from catree:fix_issue_9925
2017-10-27 11:05:07 +00:00
Vladislav Sovrasov
5bf39ceb5d
dnn: handle 4-channel images in blobFromImage ( #9944 )
2017-10-27 14:06:53 +03:00
Alexander Alekhin
9cdeb6dfbf
ocl: increase SURF stitching test tolerance
...
OpenCL SURF implementation is unstable
2017-10-26 13:03:44 +03:00
catree
f9aa411c92
Fix double definitions, correct comment.
2017-10-25 18:11:31 +02:00
Alexander Alekhin
436a1f72a5
dnn: fix sporadic crashes in getUMat()
...
Incorrect "total" buffer size calculated in StdMatAllocator::allocate() due wrong step values.
2017-10-25 18:07:05 +03:00
Vladislav Sovrasov
7e3e9144de
dnn: add an accuracy test for NMS
2017-10-25 13:40:56 +03:00
Vladislav Sovrasov
c704942b8a
dnn: add a documentation for NMS, fix missing experimantal namespace
2017-10-25 13:35:49 +03:00
Vladislav Sovrasov
acedb4a579
dnn: make NMS function public
2017-10-25 13:35:49 +03:00
Vitaly Tuzov
2eb61a4a99
AVX2 optimized implementation of FAST corner tracking migrated to separate file
2017-10-24 20:00:48 +03:00
Vitaly Tuzov
868ad16041
Python wrappers for Vec and Matx
2017-10-23 18:50:49 +03:00
Alexander Alekhin
21c8e6d02d
Merge tag '3.3.1'
2017-10-23 18:42:41 +03:00
Alexander Alekhin
a871f9e4f7
Merge branch 'update_version' into release
2017-10-23 18:41:12 +03:00
Rostislav Vasilikhin
fb5cd42c6b
enabled tests for fitEllipse since the issue is fixed
2017-10-23 16:28:49 +03:00
Dmitry Kurtaev
a36ebaecdc
PReLU layer for multidimensional input
2017-10-23 16:13:03 +03:00
Maksim Shabunin
bf418ba342
Merge pull request #9917 from alalek:ocl_cache_program_failures
2017-10-23 12:25:25 +00:00
Maksim Shabunin
be9767e014
Merge pull request #9919 from alalek:ocl_fix_macosx_invalid_options
2017-10-23 12:24:42 +00:00
Alexander Alekhin
9e9881aacc
ts(misc): support tables exporting in markdown format
...
basic support only (no symbol escapes/sanitizing)
2017-10-23 14:57:45 +03:00
Alexander Alekhin
734ea77c9a
ocl(macosx): fix CL_INVALID_BUILD_OPTIONS for gemm programs
...
MacOSX OpenCL compiler is very strict to whitespace issues
2017-10-23 13:56:11 +03:00
Alexander Alekhin
d96cac1341
ocl: cache program build failures
...
To prevent unnecessary compiler invocations
2017-10-23 13:46:56 +03:00
Suleyman TURKMEN
d1c5e79ec3
Update grfmt_gdal.cpp
2017-10-22 19:01:34 +03:00
blendin
08a5fe3661
Fix out of bounds write
2017-10-21 12:12:53 -07:00
Dmitry Kurtaev
410d44d67d
Binary data for batch normalization test from Torch
2017-10-20 12:01:42 +03:00
Igor Wodiany
d7cbe6e947
Add const to getViewerPose()
...
getViewerPose() doesn't modify an object of the class so it can be
made const. It also makes this method consistent with other getters
in the class as they are defined as const.
2017-10-19 22:05:49 +01:00
Vitaly Tuzov
ad051cdd99
Fixed CAP_PROP_FORMAT evaluation in case CvCaptureCAM_V4L returns CV_16U image
2017-10-19 20:51:00 +03:00
Maksim Shabunin
c97c1a2454
Merge pull request #9879 from alalek:fix_build
2017-10-18 14:49:44 +00:00
Alexander Alekhin
185faf99bd
ocl: simplify ocl::Timer interface
2017-10-18 16:01:21 +03:00
Dmitry Kurtaev
b903ff8992
Ceil mode from experimental version of Caffe, https://github.com/BVLC/caffe/pull/3057
2017-10-18 14:04:53 +03:00
Alexander Alekhin
3fd03964a3
fix code style
2017-10-18 13:08:01 +03:00
Vitaly Tuzov
8d5a5d5ceb
AVX2 optimizations for FAST corner tracking provided by Victoria Zhislina
2017-10-17 18:53:15 +03:00
Dmitry Kurtaev
a3a446c197
Output blobs shapes initialization in case of identity permutation (NCHW->NCHW)
2017-10-17 17:15:25 +03:00
Mattia Rizzolo
d026d7dcfb
Fix build for non-linux architectures but still glibc-based
...
Exampls of these are gnu/kfreebsd and gnu/hurd, both available as
unofficial Debian ports.
They don't define __linux__ (as they are non-linux…) but still define
__GLIBC__, so check on that.
Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
2017-10-17 00:45:27 +02:00
Alexander Alekhin
110af09bf9
Merge pull request #9853 from catree:fix_dnn_samples_python3
2017-10-16 16:18:22 +00:00
Alexander Alekhin
73af899b7c
Merge pull request #9860 from mshabunin:fix-static-9
2017-10-16 14:39:08 +00:00
Wu Zhiwen
2d8f2c2aea
dnn(ocl4dnn): add fusion support
...
ocl4dnn supports following fusion styles:
Conv + [BN] + [Scale] + [ReLU/PReLU]
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
2017-10-16 19:18:36 +08:00
Maksim Shabunin
b066dd36ff
Fixed uninitialized class fields
2017-10-16 13:47:43 +03:00
Vadim Pisarevsky
1563300197
Merge pull request #9833 from tomoaki0705:universalMathFuncs
2017-10-16 10:46:56 +00:00
Vadim Pisarevsky
2914443685
Merge pull request #9848 from jet47:features2d-optional-flann-dep
2017-10-16 10:45:16 +00:00
Vadim Pisarevsky
2808bea7fa
Merge pull request #9857 from americast:mat_fix
2017-10-16 10:43:37 +00:00
Gregory Morse
d30a0c6f03
Merge pull request #9856 from GregoryMorse:patch-1
...
* Update OpenCVCompilerOptimizations.cmake
Neon not supported on MSVC ARM breaking build fix
* Update OpenCVCompilerOptimizations.cmake
Whitespace
* Update intrin.hpp
Many problems in MSVC ARM builds (at least on VS2017) being fixed in this PR now.
C:\Users\Gregory\DOCUME~1\MYLIBR~1\OPENCV~3\opencv\sources\modules\core\include\opencv2/core/hal/intrin.hpp(444): error C3861: '_tzcnt_u32': identifier not found
* Update hal_replacement.hpp
Passing variadic expansion in a macro to another macro does not work properly in MSVC and a famous known workaround is hereby applied. Discussion of it: https://stackoverflow.com/questions/5134523/msvc-doesnt-expand-va-args-correctly
Only needed the fix for ARM builds: TEGRA_ macros are used for cv_hal_ functions in the carotene library.
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): warning C4003: not enough actual parameters for macro 'TEGRA_ADD'
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): error C2143: syntax error: missing ')' before ','
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): error C2059: syntax error: ')'
* Update hal_replacement.hpp
All hal_replacement's using carotene\hal\tegra_hal.hpp TEGRA_ functions as macros preprocessed by variadic macros should be changed, identical as was done in core.
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\imgproc\src\color.cpp(9604): warning C4003: not enough actual parameters for macro 'TEGRA_CVTBGRTOBGR'
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\imgproc\src\color.cpp(9604): error C2059: syntax error: '=='
* Update OpenCVCompilerOptimizations.cmake
* Update hal_replacement.hpp
* Update hal_replacement.hpp
2017-10-16 12:12:35 +03:00
catree
22dece8146
Fix DNN samples for compatibility with Python 3.
...
Add PyInt_Check in pyopencv_dnn.hpp.
2017-10-15 20:24:56 +02:00
dtmoodie
4566105578
fixed non c++11 warnings.
2017-10-15 12:12:00 -04:00
Igor Wodiany
e2499e5b2f
Move vector_size_t and vector_vector_Mat
...
These two typdefs are not compiled when BUILD_opencv_dnn is set to
false, however there are other modules that uses these typedef so
it may cause build errors. Moving typedef to the python module
ensures they are always defined.
2017-10-14 19:06:15 +01:00
Sayan Sinha
60bcb16ca8
Fix typo in mat.hpp
2017-10-14 21:46:11 +05:30