platform/upstream/opencv.git
7 years agoMerge pull request #9098 from savuor:fix/luv_div
Alexander Alekhin [Fri, 14 Jul 2017 15:46:02 +0000 (15:46 +0000)]
Merge pull request #9098 from savuor:fix/luv_div

7 years agoMerge pull request #9042 from terfendail:haar_avx
Alexander Alekhin [Fri, 14 Jul 2017 15:05:11 +0000 (15:05 +0000)]
Merge pull request #9042 from terfendail:haar_avx

AVX optimized implementation of haar migrated to separate file

7 years agoMerge pull request #9021 from terfendail:corner_avx
Alexander Alekhin [Fri, 14 Jul 2017 14:58:06 +0000 (14:58 +0000)]
Merge pull request #9021 from terfendail:corner_avx

7 years agoMerge pull request #9027 from terfendail:undistort_avx
Alexander Alekhin [Fri, 14 Jul 2017 14:56:42 +0000 (14:56 +0000)]
Merge pull request #9027 from terfendail:undistort_avx

7 years agoMerge pull request #9063 from alalek:hamming_perf_test
Alexander Alekhin [Fri, 14 Jul 2017 14:46:16 +0000 (14:46 +0000)]
Merge pull request #9063 from alalek:hamming_perf_test

7 years agoMerge pull request #9093 from wzw-intel:histogram
Alexander Alekhin [Fri, 14 Jul 2017 14:38:55 +0000 (14:38 +0000)]
Merge pull request #9093 from wzw-intel:histogram

7 years agoMerge pull request #9122 from ivsgroup:fix_msvc_virtual_destructor
Alexander Alekhin [Fri, 14 Jul 2017 14:37:22 +0000 (14:37 +0000)]
Merge pull request #9122 from ivsgroup:fix_msvc_virtual_destructor

7 years agoMerge pull request #9110 from patrikhuber:fix-msvc1911-cmake
Alexander Alekhin [Fri, 14 Jul 2017 14:37:01 +0000 (14:37 +0000)]
Merge pull request #9110 from patrikhuber:fix-msvc1911-cmake

7 years agoMerge pull request #9153 from sovrasov:fix_tangent_dist_flag
Alexander Alekhin [Fri, 14 Jul 2017 14:35:51 +0000 (14:35 +0000)]
Merge pull request #9153 from sovrasov:fix_tangent_dist_flag

7 years agoMerge pull request #9094 from ArkadiuszRaj:fix-aravis-dependency
Alexander Alekhin [Fri, 14 Jul 2017 14:31:57 +0000 (14:31 +0000)]
Merge pull request #9094 from ArkadiuszRaj:fix-aravis-dependency

7 years agoMerge pull request #9024 from tomoaki0705:featureDispatchAccumulate
Alexander Alekhin [Fri, 14 Jul 2017 14:30:05 +0000 (14:30 +0000)]
Merge pull request #9024 from tomoaki0705:featureDispatchAccumulate

7 years agoMerge pull request #9058 from alalek:dnn_minor_fixes
Alexander Alekhin [Fri, 14 Jul 2017 09:53:09 +0000 (09:53 +0000)]
Merge pull request #9058 from alalek:dnn_minor_fixes

7 years agodnn: cleanup dispatched code, fix SIMD128 types
Alexander Alekhin [Thu, 13 Jul 2017 15:42:36 +0000 (18:42 +0300)]
dnn: cleanup dispatched code, fix SIMD128 types

7 years agodnn: code cleanup, refactor detection output layer
Alexander Alekhin [Thu, 13 Jul 2017 13:34:23 +0000 (16:34 +0300)]
dnn: code cleanup, refactor detection output layer

7 years agodnn: some minor fixes in docs, indentation, unused code
Alexander Alekhin [Fri, 30 Jun 2017 15:46:00 +0000 (18:46 +0300)]
dnn: some minor fixes in docs, indentation, unused code

7 years agoMerge pull request #9111 from vpisarev:dnn_optim_avx1
Alexander Alekhin [Thu, 13 Jul 2017 12:27:05 +0000 (12:27 +0000)]
Merge pull request #9111 from vpisarev:dnn_optim_avx1

7 years agocalib3d: fix not working CALIB_FIX_TANGENT_DIST flag
Vladislav Sovrasov [Thu, 13 Jul 2017 07:49:35 +0000 (10:49 +0300)]
calib3d: fix not working CALIB_FIX_TANGENT_DIST flag

7 years agoMerge pull request #9107 from alalek:static_analyze_python
Alexander Alekhin [Wed, 12 Jul 2017 16:45:13 +0000 (16:45 +0000)]
Merge pull request #9107 from alalek:static_analyze_python

7 years agoMerge pull request #9142 from alalek:vzeroupper_guard_unused_warning
Alexander Alekhin [Wed, 12 Jul 2017 16:44:00 +0000 (16:44 +0000)]
Merge pull request #9142 from alalek:vzeroupper_guard_unused_warning

7 years agoMerge pull request #9149 from alalek:ocl_fp16_test
Alexander Alekhin [Wed, 12 Jul 2017 16:23:33 +0000 (16:23 +0000)]
Merge pull request #9149 from alalek:ocl_fp16_test

7 years agocore(test): fix input data for OCL FP16 test
Alexander Alekhin [Wed, 12 Jul 2017 15:51:11 +0000 (18:51 +0300)]
core(test): fix input data for OCL FP16 test

7 years agoMerge pull request #9145 from alalek:ipp_minmaxidx_nan
Alexander Alekhin [Wed, 12 Jul 2017 15:37:53 +0000 (15:37 +0000)]
Merge pull request #9145 from alalek:ipp_minmaxidx_nan

7 years agoipp(minmaxIdx): disable SSE4.2 optimizations for 32f datatype
Alexander Alekhin [Wed, 12 Jul 2017 13:06:18 +0000 (16:06 +0300)]
ipp(minmaxIdx): disable SSE4.2 optimizations for 32f datatype

NaN values handling issue

7 years agobuild: fix unused variable warning for vzeroupper guard
Alexander Alekhin [Tue, 11 Jul 2017 13:46:35 +0000 (16:46 +0300)]
build: fix unused variable warning for vzeroupper guard

7 years agoMerge pull request #9131 from dkurt:fix_eltwise_layer
Alexander Alekhin [Tue, 11 Jul 2017 07:18:41 +0000 (07:18 +0000)]
Merge pull request #9131 from dkurt:fix_eltwise_layer

7 years agoMerge pull request #9134 from mshabunin:fix-static-6
Alexander Alekhin [Mon, 10 Jul 2017 20:49:36 +0000 (20:49 +0000)]
Merge pull request #9134 from mshabunin:fix-static-6

7 years agoFixed several issues found by static analysis (Windows specific)
Maksim Shabunin [Mon, 10 Jul 2017 20:14:02 +0000 (23:14 +0300)]
Fixed several issues found by static analysis (Windows specific)

7 years agoEltwise layer fixes
dkurt [Mon, 10 Jul 2017 09:58:11 +0000 (12:58 +0300)]
Eltwise layer fixes

7 years agocore/bufferpool.hpp: let msvc accept a non virtual protected destructor
Pascal Thomet [Fri, 7 Jul 2017 19:04:12 +0000 (21:04 +0200)]
core/bufferpool.hpp: let msvc accept a non virtual protected destructor

BufferPoolController has a non virtual protected destructor (which is legitimate)

However, Visual Studio sees this as a bug, if you enable more warnings, like below
```
add_compile_options(/W3)     # level 3 warnings
add_compile_options(/we4265) # warning about missing virtual destructors
```

This is a proposition in order to silence this warning.

See https://github.com/ivsgroup/boost_warnings_minimal_demo for a demo of the same problem
with boost/exception.hpp

7 years agoMerge pull request #9115 from alalek:ocl_async_cleanup_queue
Maksim Shabunin [Fri, 7 Jul 2017 12:05:34 +0000 (12:05 +0000)]
Merge pull request #9115 from alalek:ocl_async_cleanup_queue

7 years agoocl: async cl_buffer cleanup queue (for event callback)
Alexander Alekhin [Thu, 6 Jul 2017 14:57:05 +0000 (17:57 +0300)]
ocl: async cl_buffer cleanup queue (for event callback)

7 years agodispatch accumulate series
Tomoaki Teshima [Fri, 7 Jul 2017 09:45:30 +0000 (18:45 +0900)]
dispatch accumulate series
 - use universal intrinsic for base
 - dispatch for float/double version using AVX
 - AVX2 optimization not done yet

7 years agoMerge pull request #9105 from alalek:ocl_update_event_callback
Maksim Shabunin [Fri, 7 Jul 2017 08:23:46 +0000 (08:23 +0000)]
Merge pull request #9105 from alalek:ocl_update_event_callback

7 years agoreuse AVX2-optimized kernels for AVX1 CPUs (like IvyBridge)
Vadim Pisarevsky [Thu, 6 Jul 2017 18:36:59 +0000 (21:36 +0300)]
reuse AVX2-optimized kernels for AVX1 CPUs (like IvyBridge)

7 years agoAdded detection of MSVC1911
Patrik Huber [Thu, 6 Jul 2017 18:02:19 +0000 (19:02 +0100)]
Added detection of MSVC1911

This is VS2017 Preview. It makes sure the version is detected properly and the INSTALL target then correctly installs to x64/vc15 (the same as MSVC1910).

7 years agostatic analyze: python dynamic_cast checks
Alexander Alekhin [Thu, 6 Jul 2017 12:57:12 +0000 (15:57 +0300)]
static analyze: python dynamic_cast checks

7 years agoocl: rework events handling with clSetEventCallback
Alexander Alekhin [Thu, 6 Jul 2017 10:25:32 +0000 (13:25 +0300)]
ocl: rework events handling with clSetEventCallback

7 years agoAVX optimized implementation of undistort migrated to separate file
Vitaly Tuzov [Wed, 28 Jun 2017 16:57:26 +0000 (19:57 +0300)]
AVX optimized implementation of undistort migrated to separate file

7 years agomagic constants explained
Rostislav Vasilikhin [Wed, 5 Jul 2017 21:23:58 +0000 (00:23 +0300)]
magic constants explained

7 years agoOCL code fixed, fix for NEON added
Rostislav Vasilikhin [Wed, 5 Jul 2017 18:52:13 +0000 (21:52 +0300)]
OCL code fixed, fix for NEON added

7 years agoRGB2Luv_f: R, G, B limited to [0, 1]
Rostislav Vasilikhin [Wed, 5 Jul 2017 18:06:14 +0000 (21:06 +0300)]
RGB2Luv_f: R, G, B limited to [0, 1]

7 years agoLuv: singularities fixed
Rostislav Vasilikhin [Wed, 5 Jul 2017 17:36:30 +0000 (20:36 +0300)]
Luv: singularities fixed

7 years agoocl_calcHist1: Use proper local size for merge_histogram kernel
wzw [Wed, 5 Jul 2017 13:24:09 +0000 (21:24 +0800)]
ocl_calcHist1: Use proper local size for merge_histogram kernel

merge_histogram kernel only need "BINS" theads to accumulate the
histgrams, it is not efficient to directly use maxGroupSize as
local size if maxGroupSize is far greater then BINS.

7 years agoFixing Aravis support compilation issue
Arkadiusz Raj [Wed, 5 Jul 2017 09:30:43 +0000 (11:30 +0200)]
Fixing Aravis support compilation issue

7 years agoMerge pull request #9089 from alalek:cmake_fix_sdl_linker_flags
Maksim Shabunin [Tue, 4 Jul 2017 14:23:39 +0000 (14:23 +0000)]
Merge pull request #9089 from alalek:cmake_fix_sdl_linker_flags

7 years agoAVX optimized implementation of haar migrated to separate file
Vitaly Tuzov [Thu, 29 Jun 2017 18:35:52 +0000 (21:35 +0300)]
AVX optimized implementation of haar migrated to separate file

7 years agocmake: fix linker flags
Alexander Alekhin [Tue, 4 Jul 2017 12:04:42 +0000 (15:04 +0300)]
cmake: fix linker flags

7 years agoMerge pull request #9080 from alalek:version_3.3.0-rc
Alexander Alekhin [Mon, 3 Jul 2017 16:21:45 +0000 (16:21 +0000)]
Merge pull request #9080 from alalek:version_3.3.0-rc

version 3.3.0-rc

7 years agoMerge pull request #9067 from D-Alex:master
Alexander Alekhin [Mon, 3 Jul 2017 16:20:03 +0000 (16:20 +0000)]
Merge pull request #9067 from D-Alex:master

Fix error message fisheye CALIB_CHECK_COND

7 years agoMerge pull request #9081 from catree:fix_tutorial_pca_intro
Alexander Alekhin [Mon, 3 Jul 2017 16:18:15 +0000 (16:18 +0000)]
Merge pull request #9081 from catree:fix_tutorial_pca_intro

Fix wrong mat access in introduction_to_pca.cpp

7 years agoMerge pull request #9077 from alalek:cmake_enable_cxx11
Alexander Alekhin [Mon, 3 Jul 2017 16:15:29 +0000 (16:15 +0000)]
Merge pull request #9077 from alalek:cmake_enable_cxx11

7 years agoMerge pull request #9076 from mshabunin:fix-doc-from-mail
Alexander Alekhin [Mon, 3 Jul 2017 16:12:46 +0000 (16:12 +0000)]
Merge pull request #9076 from mshabunin:fix-doc-from-mail

7 years agoMerge pull request #9075 from TonyLianLong:master
Tony Lian [Mon, 3 Jul 2017 16:14:17 +0000 (09:14 -0700)]
Merge pull request #9075 from TonyLianLong:master

Remove unnecessary Non-ASCII characters from source code (#9075)

* Remove unnecessary Non-ASCII characters from source code

Remove unnecessary Non-ASCII characters and replace them with ASCII
characters

* Remove dashes in the @param statement

Remove dashes and place single space in the @param statement to keep
coding style

* misc: more fixes for non-ASCII symbols

* misc: fix non-ASCII symbol in CMake file

7 years agoMerge pull request #9073 from berak:dnn_fix_tutorial_links
Alexander Alekhin [Mon, 3 Jul 2017 16:11:09 +0000 (16:11 +0000)]
Merge pull request #9073 from berak:dnn_fix_tutorial_links

7 years agoMerge pull request #9070 from catree:imshow_64bits_doc
Alexander Alekhin [Mon, 3 Jul 2017 16:10:13 +0000 (16:10 +0000)]
Merge pull request #9070 from catree:imshow_64bits_doc

7 years agoMerge pull request #9069 from catree:ffmpeg_warnings_errors
Alexander Alekhin [Mon, 3 Jul 2017 16:09:27 +0000 (16:09 +0000)]
Merge pull request #9069 from catree:ffmpeg_warnings_errors

7 years agoMerge pull request #9068 from dkurt:mkl_with_openmp
Alexander Alekhin [Mon, 3 Jul 2017 16:09:11 +0000 (16:09 +0000)]
Merge pull request #9068 from dkurt:mkl_with_openmp

7 years agoMerge pull request #9064 from sadika9:patch-1
Alexander Alekhin [Mon, 3 Jul 2017 16:07:53 +0000 (16:07 +0000)]
Merge pull request #9064 from sadika9:patch-1

7 years agoMerge pull request #9060 from alalek:canny_inplace_bug
Alexander Alekhin [Mon, 3 Jul 2017 16:06:50 +0000 (16:06 +0000)]
Merge pull request #9060 from alalek:canny_inplace_bug

7 years agoMerge pull request #9057 from alalek:static_build_workaround
Alexander Alekhin [Mon, 3 Jul 2017 16:05:31 +0000 (16:05 +0000)]
Merge pull request #9057 from alalek:static_build_workaround

7 years agoMerge pull request #9055 from fdebrabander:master
Alexander Alekhin [Mon, 3 Jul 2017 16:06:59 +0000 (16:06 +0000)]
Merge pull request #9055 from fdebrabander:master

how_to_scan_images.markdown: fix grammar mistakes

7 years agoMerge pull request #9054 from zhmu:upstream
Alexander Alekhin [Mon, 3 Jul 2017 16:04:11 +0000 (16:04 +0000)]
Merge pull request #9054 from zhmu:upstream

7 years agoMerge pull request #9052 from jqly:patch-1
Alexander Alekhin [Mon, 3 Jul 2017 16:03:46 +0000 (16:03 +0000)]
Merge pull request #9052 from jqly:patch-1

7 years agoMerge pull request #8998 from abratchik:DNN.java.wrappers.fix
Alexander Alekhin [Mon, 3 Jul 2017 16:02:49 +0000 (16:02 +0000)]
Merge pull request #8998 from abratchik:DNN.java.wrappers.fix

7 years agoFix wrong mat access.
catree [Mon, 3 Jul 2017 14:56:53 +0000 (16:56 +0200)]
Fix wrong mat access.

7 years agoversion 3.3.0-rc
Alexander Alekhin [Mon, 3 Jul 2017 13:47:05 +0000 (16:47 +0300)]
version 3.3.0-rc

7 years agocmake: update CXX11 compiler flag
Alexander Alekhin [Mon, 3 Jul 2017 11:39:25 +0000 (14:39 +0300)]
cmake: update CXX11 compiler flag

7 years agoMerge pull request #9032 from sovrasov:mat_doc_update
Alexander Alekhin [Mon, 3 Jul 2017 12:46:42 +0000 (12:46 +0000)]
Merge pull request #9032 from sovrasov:mat_doc_update

7 years agoFixed minor doc issue
Maksim Shabunin [Mon, 3 Jul 2017 09:56:22 +0000 (12:56 +0300)]
Fixed minor doc issue

7 years agocore: add a test of iteration through the Mat_ with range-based for
Vladislav Sovrasov [Mon, 3 Jul 2017 09:42:47 +0000 (12:42 +0300)]
core: add a test of iteration through the Mat_ with range-based for

7 years agoAdd a note about cxx11 range-based loop in Mat_ documentation
Vladislav Sovrasov [Thu, 29 Jun 2017 08:26:54 +0000 (11:26 +0300)]
Add a note about cxx11 range-based loop in Mat_ documentation

7 years agodnn: fix links
Alexander Alekhin [Mon, 3 Jul 2017 09:44:27 +0000 (12:44 +0300)]
dnn: fix links

7 years agoMerge pull request #9066 from mshabunin:fix-static-5
Maksim Shabunin [Mon, 3 Jul 2017 09:03:40 +0000 (09:03 +0000)]
Merge pull request #9066 from mshabunin:fix-static-5

7 years agodnn: fix some tutorial links
berak [Sun, 2 Jul 2017 08:09:27 +0000 (10:09 +0200)]
dnn: fix some tutorial links

7 years agoadd java wrappers to dnn module
abratchik [Tue, 27 Jun 2017 06:52:44 +0000 (10:52 +0400)]
add java wrappers to dnn module

7 years agoFix ffmpeg detection with -D OPENCV_WARNINGS_ARE_ERRORS=ON option.
catree [Sat, 1 Jul 2017 23:59:41 +0000 (01:59 +0200)]
Fix ffmpeg detection with -D OPENCV_WARNINGS_ARE_ERRORS=ON option.

7 years agoAdd 64-bit imshow behavior in the documentation.
catree [Sat, 1 Jul 2017 22:41:29 +0000 (00:41 +0200)]
Add 64-bit imshow behavior in the documentation.

7 years agoFix MKL linkage with enabled OpenMP
dkurt [Sat, 1 Jul 2017 17:02:13 +0000 (20:02 +0300)]
Fix MKL linkage with enabled OpenMP

7 years agoFix error message fisheye CALIB_CHECK_COND
Alexander Duda [Sat, 1 Jul 2017 16:01:21 +0000 (13:31 -0230)]
Fix error message fisheye CALIB_CHECK_COND

The old error message was not giving any hint which input array (image)
led to an ill conditioned matrix. This made it near impossible to
identify poor images in a larger set.

A better approach would be to implement a checker function which gives
each image a rating before the real calibration is performed. This could
also include some image properties like sharpness, etc.

7 years agoIssues found by static analysis (5th round)
Maksim Shabunin [Sat, 1 Jul 2017 15:43:48 +0000 (18:43 +0300)]
Issues found by static analysis (5th round)

7 years agoFix style
Sadika Sumanapala [Sat, 1 Jul 2017 01:29:27 +0000 (06:59 +0530)]
Fix style

7 years agocore(perf): added Hamming tests
Alexander Alekhin [Fri, 30 Jun 2017 22:47:27 +0000 (22:47 +0000)]
core(perf): added Hamming tests

7 years agoMerge pull request #9056 from mshabunin:fix-videoio-deps
Alexander Alekhin [Fri, 30 Jun 2017 16:49:42 +0000 (16:49 +0000)]
Merge pull request #9056 from mshabunin:fix-videoio-deps

7 years agocanny: disallow broken inplace arguments
Alexander Alekhin [Fri, 30 Jun 2017 16:32:16 +0000 (19:32 +0300)]
canny: disallow broken inplace arguments

7 years agoRemoved extra dependencies from videoio library
Maksim Shabunin [Fri, 30 Jun 2017 15:21:43 +0000 (18:21 +0300)]
Removed extra dependencies from videoio library

7 years agoMerge pull request #9050 from alalek:dnn_binding_fixes
Alexander Alekhin [Fri, 30 Jun 2017 15:51:34 +0000 (15:51 +0000)]
Merge pull request #9050 from alalek:dnn_binding_fixes

7 years agostatic build workaround
Alexander Alekhin [Fri, 30 Jun 2017 14:57:12 +0000 (17:57 +0300)]
static build workaround

7 years agohow_to_scan_images.markdown: fix grammer mistakes
Frank de Brabander [Fri, 30 Jun 2017 13:47:50 +0000 (15:47 +0200)]
how_to_scan_images.markdown: fix grammer mistakes

Improve the readability of the tutorial.

7 years agoPrevent crash when attempting to create training data without responses.
Rink Springer [Fri, 30 Jun 2017 13:32:40 +0000 (15:32 +0200)]
Prevent crash when attempting to create training data without responses.

This is at least useful when using an SVM one-class linear classifier, so there are valid use cases.

7 years agoa fix for open issue 4772
jqly [Fri, 30 Jun 2017 12:22:16 +0000 (20:22 +0800)]
a fix for open issue 4772

7 years agobinding: fix headers processing
Alexander Alekhin [Fri, 30 Jun 2017 11:49:17 +0000 (14:49 +0300)]
binding: fix headers processing

7 years agohdr_parser: ignore lines with 'CV__' macros
Alexander Alekhin [Thu, 29 Jun 2017 16:40:36 +0000 (19:40 +0300)]
hdr_parser: ignore lines with 'CV__' macros

7 years agoMerge pull request #8936 from terfendail:clipline_fix
Alexander Alekhin [Fri, 30 Jun 2017 10:55:08 +0000 (10:55 +0000)]
Merge pull request #8936 from terfendail:clipline_fix

7 years agocmake: don't add vs_version.rc for static modules (ts)
Alexander Alekhin [Fri, 30 Jun 2017 09:56:57 +0000 (12:56 +0300)]
cmake: don't add vs_version.rc for static modules (ts)

7 years agoMerge pull request #9038 from mshabunin:fix-static-4
Maksim Shabunin [Fri, 30 Jun 2017 10:39:36 +0000 (10:39 +0000)]
Merge pull request #9038 from mshabunin:fix-static-4

7 years agoMerge pull request #9035 from alalek:dnn_fix_halide_tests
Maksim Shabunin [Fri, 30 Jun 2017 10:29:13 +0000 (10:29 +0000)]
Merge pull request #9035 from alalek:dnn_fix_halide_tests

7 years agoMerge pull request #9044 from neilsh-msft:WinRTBuild
Alexander Alekhin [Fri, 30 Jun 2017 10:14:47 +0000 (10:14 +0000)]
Merge pull request #9044 from neilsh-msft:WinRTBuild

7 years agoFixed some issues found by static analysis (4th round)
Maksim Shabunin [Thu, 29 Jun 2017 13:40:22 +0000 (16:40 +0300)]
Fixed some issues found by static analysis (4th round)

7 years agoFix WinRT build breaks in highgui and videoio.
Neil Shipp [Fri, 30 Jun 2017 00:56:09 +0000 (17:56 -0700)]
Fix WinRT build breaks in highgui and videoio.

7 years agoMerge pull request #9033 from alalek:sgbm_disable_perf_in_debug
Alexander Alekhin [Thu, 29 Jun 2017 16:16:54 +0000 (16:16 +0000)]
Merge pull request #9033 from alalek:sgbm_disable_perf_in_debug