platform/upstream/opencv.git
7 years agoMerge pull request #8694 from mschoeneck:Canny
mschoeneck [Wed, 24 May 2017 13:20:25 +0000 (15:20 +0200)]
Merge pull request #8694 from mschoeneck:Canny

Parallelize Canny with custom gradient (#8694)

* New Canny implementation. Restructuring code in parallelCanny class. Align mag buffer and map.

* Fix warnings.

* Missing SIMD check added.

* Replaced local trailingZeros in contours.cpp. Use alignSize in canny.cpp

* Fix warnings in alignSize and allocate just minimum extra columns.

* Fix another warning in map.create.

* Exchange for loop by do loop to avoid double check at the beginning.
Define extra SIMD CANNY_CHECK to avoid unnecessary continue.

7 years agocalib3d: replace defines with enum values
Vladislav Sovrasov [Wed, 24 May 2017 12:50:41 +0000 (15:50 +0300)]
calib3d: replace defines with enum values

7 years agoMerge pull request #6854 from sturkmen72:patch-8
Vadim Pisarevsky [Wed, 24 May 2017 12:44:58 +0000 (12:44 +0000)]
Merge pull request #6854 from sturkmen72:patch-8

7 years agoMerge pull request #7865 from LaurentBerger:UserColormap
Vadim Pisarevsky [Wed, 24 May 2017 12:43:54 +0000 (12:43 +0000)]
Merge pull request #7865 from LaurentBerger:UserColormap

7 years agoMerge pull request #8377 from ottogin:interpMultichannelImg
Vadim Pisarevsky [Wed, 24 May 2017 12:38:41 +0000 (12:38 +0000)]
Merge pull request #8377 from ottogin:interpMultichannelImg

7 years agoMerge pull request #8713 from grundman:patch-6
Alexander Alekhin [Wed, 24 May 2017 12:34:12 +0000 (12:34 +0000)]
Merge pull request #8713 from grundman:patch-6

7 years agoMerge pull request #8776 from sovrasov:inpaint_adv_formats
Vadim Pisarevsky [Wed, 24 May 2017 12:17:45 +0000 (12:17 +0000)]
Merge pull request #8776 from sovrasov:inpaint_adv_formats

7 years agoMerge pull request #8717 from sovrasov:robertson_weight_change
Alexander Alekhin [Wed, 24 May 2017 11:45:34 +0000 (11:45 +0000)]
Merge pull request #8717 from sovrasov:robertson_weight_change

7 years agoUpdate matrix.cpp
Matthias Grundmann [Wed, 10 May 2017 23:04:02 +0000 (16:04 -0700)]
Update matrix.cpp

Fix race condition in getDefaultAllocator and setDefaultAllocator interaction / not threadsafe currently

7 years agoMerge pull request #8787 from mshabunin:pr7241
Maksim Shabunin [Wed, 24 May 2017 10:31:44 +0000 (10:31 +0000)]
Merge pull request #8787 from mshabunin:pr7241

7 years agoCorrect the existing documented T-API functions to match the doxygen format (#8758)
krishraghuram [Wed, 24 May 2017 10:31:35 +0000 (16:01 +0530)]
Correct the existing documented T-API functions to match the doxygen format (#8758)

* Correct the existing documented T-API functions to match the doxygen format.

* docs: fix comments style

* T-API documentation: minor formatting changes

7 years agoMerge pull request #8386 from jtkb:feature/cmake-maven-it-module
Maksim Shabunin [Wed, 24 May 2017 10:17:02 +0000 (10:17 +0000)]
Merge pull request #8386 from jtkb:feature/cmake-maven-it-module

7 years agoAdd inline code backticks
Yuval Langer [Tue, 6 Sep 2016 09:48:13 +0000 (12:48 +0300)]
Add inline code backticks

7 years agophoto: add support of all types of 1c images in inpaint
Vladislav Sovrasov [Tue, 23 May 2017 13:31:16 +0000 (16:31 +0300)]
photo: add support of all types of 1c images in inpaint

7 years agoInpainting support for any 1-channel input images
Vadzim Piatrou [Sat, 29 Apr 2017 08:21:58 +0000 (11:21 +0300)]
Inpainting support for any 1-channel input images

7 years agoMerge pull request #8780 from vpisarev:fix_boxfilter
Vadim Pisarevsky [Tue, 23 May 2017 21:46:12 +0000 (21:46 +0000)]
Merge pull request #8780 from vpisarev:fix_boxfilter

7 years agoMerge pull request #8778 from mshabunin:pr6853
Vadim Pisarevsky [Tue, 23 May 2017 19:08:30 +0000 (19:08 +0000)]
Merge pull request #8778 from mshabunin:pr6853

7 years agoMerge pull request #8779 from vpisarev:empty_cmp_fix
Vadim Pisarevsky [Tue, 23 May 2017 19:06:57 +0000 (19:06 +0000)]
Merge pull request #8779 from vpisarev:empty_cmp_fix

7 years agoreplaced SSE2 code with universal intrinsics; improved accuracy of the box filter...
Vadim Pisarevsky [Tue, 23 May 2017 17:04:35 +0000 (20:04 +0300)]
replaced SSE2 code with universal intrinsics; improved accuracy of the box filter; it should now be bit-exact

7 years agoMerge pull request #8743 from tomoaki0705:featureConvertFp16UMat
Alexander Alekhin [Tue, 23 May 2017 15:32:12 +0000 (15:32 +0000)]
Merge pull request #8743 from tomoaki0705:featureConvertFp16UMat

7 years agoMerge pull request #8777 from mshabunin:pr6852
Vadim Pisarevsky [Tue, 23 May 2017 15:19:36 +0000 (15:19 +0000)]
Merge pull request #8777 from mshabunin:pr6852

7 years agoresolves https://github.com/opencv/opencv/issues/7792
Vadim Pisarevsky [Tue, 23 May 2017 15:16:40 +0000 (18:16 +0300)]
resolves https://github.com/opencv/opencv/issues/7792

7 years agoV4L: do not return frame if it can not be retrieved
Maksim Shabunin [Tue, 23 May 2017 14:34:35 +0000 (17:34 +0300)]
V4L: do not return frame if it can not be retrieved

7 years agoMerge pull request #8769 from mshabunin:kw-fixes
Vadim Pisarevsky [Tue, 23 May 2017 14:59:36 +0000 (14:59 +0000)]
Merge pull request #8769 from mshabunin:kw-fixes

7 years agoMerge pull request #8182 from chacha21:drawing_performance
Vadim Pisarevsky [Tue, 23 May 2017 14:53:12 +0000 (14:53 +0000)]
Merge pull request #8182 from chacha21:drawing_performance

7 years agoMerge pull request #8542 from jveitchmichaelis:update-cudadevo-doc
Alexander Alekhin [Tue, 23 May 2017 14:07:20 +0000 (17:07 +0300)]
Merge pull request #8542 from jveitchmichaelis:update-cudadevo-doc

Update documentation for getCudaEnabledDeviceCount

7 years agoModifications to reduce the code through a loop
remi [Thu, 9 Jul 2015 19:25:40 +0000 (21:25 +0200)]
Modifications to reduce the code through a loop

AKAZE refactoring: fixed indentation and made more minor modifications

7 years agoMerge pull request #8775 from mshabunin:ipp-count-fix
Alexander Alekhin [Tue, 23 May 2017 13:29:16 +0000 (13:29 +0000)]
Merge pull request #8775 from mshabunin:ipp-count-fix

7 years agoadd OpenCL version of convertFp16 and test
Tomoaki Teshima [Tue, 23 May 2017 11:00:21 +0000 (20:00 +0900)]
add OpenCL version of convertFp16 and test
 * disable vector operation for now
 * brush up the implementation based on comment

7 years agoMerge pull request #8698 from cdcseacave:fix_Mat_release
Vadim Pisarevsky [Tue, 23 May 2017 10:44:12 +0000 (10:44 +0000)]
Merge pull request #8698 from cdcseacave:fix_Mat_release

7 years agoMerge pull request #8731 from ylemkimon:patch-1
Vadim Pisarevsky [Tue, 23 May 2017 10:42:49 +0000 (10:42 +0000)]
Merge pull request #8731 from ylemkimon:patch-1

7 years agoMerge pull request #8745 from Neio:aravis_bayer_gr_8
Vadim Pisarevsky [Tue, 23 May 2017 10:40:32 +0000 (10:40 +0000)]
Merge pull request #8745 from Neio:aravis_bayer_gr_8

7 years agoFixed multidimensional count non-zero IPP implementation
Maksim Shabunin [Tue, 23 May 2017 08:43:19 +0000 (11:43 +0300)]
Fixed multidimensional count non-zero IPP implementation

7 years agoFixed several issues found by static analysis in core module
Maksim Shabunin [Wed, 17 May 2017 14:36:48 +0000 (17:36 +0300)]
Fixed several issues found by static analysis in core module

7 years agomacro for static analysis tools
Alexander Alekhin [Thu, 18 May 2017 12:00:17 +0000 (15:00 +0300)]
macro for static analysis tools

7 years agoAdd test for Mat_::release()
Vladislav Sovrasov [Tue, 23 May 2017 09:20:48 +0000 (12:20 +0300)]
Add test for Mat_::release()

7 years agofix Mat_ release #8680
cDc [Fri, 5 May 2017 13:37:22 +0000 (16:37 +0300)]
fix Mat_ release #8680

7 years agoMerge pull request #8773 from kvaghel1:Issue-8763
Alexander Alekhin [Tue, 23 May 2017 07:57:55 +0000 (07:57 +0000)]
Merge pull request #8773 from kvaghel1:Issue-8763

7 years agoFix frame timestamp in VideoCapture::get
kvaghel1 [Tue, 23 May 2017 01:22:35 +0000 (21:22 -0400)]
Fix frame timestamp in VideoCapture::get

7 years agoMerge pull request #8770 from alalek:fix_pthreads_default
Vadim Pisarevsky [Mon, 22 May 2017 22:18:26 +0000 (22:18 +0000)]
Merge pull request #8770 from alalek:fix_pthreads_default

7 years agoMerge pull request #8771 from alalek:fix_snprintf
Vadim Pisarevsky [Mon, 22 May 2017 21:23:06 +0000 (21:23 +0000)]
Merge pull request #8771 from alalek:fix_snprintf

7 years agobuild: fix snprintf() usage
Alexander Alekhin [Mon, 22 May 2017 19:24:17 +0000 (22:24 +0300)]
build: fix snprintf() usage

7 years agocore: fix threads count in pthreads
Alexander Alekhin [Sat, 6 May 2017 12:34:25 +0000 (12:34 +0000)]
core: fix threads count in pthreads

7 years agoMerge pull request #8750 from amroamroamro:photo-debevec
Alexander Alekhin [Mon, 22 May 2017 16:47:32 +0000 (16:47 +0000)]
Merge pull request #8750 from amroamroamro:photo-debevec

7 years agogeneralize number of channels
Amro [Thu, 18 May 2017 15:45:09 +0000 (18:45 +0300)]
generalize number of channels

plus minor edits and fixes

7 years agoMerge pull request #8752 from vskarlsruhe:patch-7
vskarlsruhe [Mon, 22 May 2017 13:44:23 +0000 (15:44 +0200)]
Merge pull request #8752 from vskarlsruhe:patch-7

Update windows_install.markdown (#8752)

7 years agoMerge pull request #8754 from berak:fix_py_hog_svm_tut
Alexander Alekhin [Mon, 22 May 2017 13:41:10 +0000 (13:41 +0000)]
Merge pull request #8754 from berak:fix_py_hog_svm_tut

7 years agoUpdate broken downloads link in documentation (#8764)
Drew Hintz [Mon, 22 May 2017 09:37:58 +0000 (11:37 +0200)]
Update broken downloads link in documentation (#8764)

* Update broken downloads link

* Update broken downloads link

* Update broken downloads link

7 years agofix py_svm_opencv sample
berak [Sat, 20 May 2017 05:52:50 +0000 (07:52 +0200)]
fix py_svm_opencv sample

7 years agorestored memset optimization
chacha21 [Fri, 19 May 2017 14:05:00 +0000 (16:05 +0200)]
restored memset optimization

when dropping optimizations in the last commit, I forgot to keep the
simplest case where a single memset can be called

7 years agoFix cpu features detection on android
Ryuhei Mori [Fri, 19 May 2017 13:14:01 +0000 (21:14 +0800)]
Fix cpu features detection on android

7 years agoSIMD for modeHH4 is added. Plus some small optimization of CalcBT func.
Pyotr Chekmaryov [Wed, 17 May 2017 22:11:02 +0000 (22:11 +0000)]
SIMD for modeHH4 is added. Plus some small optimization of CalcBT func.

7 years agoAravis: support Bayer GR 8 raw format.
Neio Zhou [Wed, 17 May 2017 15:31:24 +0000 (08:31 -0700)]
Aravis: support Bayer GR 8 raw format.

7 years agoMerge pull request #8399 from woodychow:filter_avx2
Vadim Pisarevsky [Wed, 17 May 2017 15:06:24 +0000 (15:06 +0000)]
Merge pull request #8399 from woodychow:filter_avx2

7 years agoMerge pull request #8708 from terfendail:agast_fix
Vadim Pisarevsky [Wed, 17 May 2017 15:03:41 +0000 (15:03 +0000)]
Merge pull request #8708 from terfendail:agast_fix

7 years agoMerge pull request #8712 from grundman:patch-5
Vadim Pisarevsky [Wed, 17 May 2017 15:02:45 +0000 (15:02 +0000)]
Merge pull request #8712 from grundman:patch-5

7 years agoMerge pull request #8697 from sovrasov:cvt_col_bgra_bgra_fix
Vadim Pisarevsky [Wed, 17 May 2017 14:11:51 +0000 (14:11 +0000)]
Merge pull request #8697 from sovrasov:cvt_col_bgra_bgra_fix

7 years agoMerge pull request #8739 from terfendail:perf_accumulate_fix
Vadim Pisarevsky [Wed, 17 May 2017 14:07:56 +0000 (14:07 +0000)]
Merge pull request #8739 from terfendail:perf_accumulate_fix

7 years agoFix for accumulate performance test in case of multiple iterations
Vitaly Tuzov [Tue, 16 May 2017 15:22:45 +0000 (18:22 +0300)]
Fix for accumulate performance test in case of multiple iterations

7 years agoMerging master to filter_avx2, and resolving conflicts
Woody Chow [Tue, 16 May 2017 06:34:11 +0000 (15:34 +0900)]
Merging master to filter_avx2, and resolving conflicts

7 years agoimgproc: fix BGRA2BGRA conversion
Vladislav Sovrasov [Fri, 5 May 2017 11:41:46 +0000 (14:41 +0300)]
imgproc: fix BGRA2BGRA conversion

7 years agoRemove redundant precomp.hpp and using-namespace
ylemkimon [Sun, 14 May 2017 12:35:53 +0000 (21:35 +0900)]
Remove redundant precomp.hpp and using-namespace

Removed redundant precompiled header include

7 years agoMerge pull request #8727 from anupamsobti:master
Alexander Alekhin [Sat, 13 May 2017 16:08:38 +0000 (16:08 +0000)]
Merge pull request #8727 from anupamsobti:master

7 years agoMerge pull request #8711 from ArkadiuszRaj:aravis_autoexposure_correction
Arek [Fri, 12 May 2017 20:46:46 +0000 (22:46 +0200)]
Merge pull request #8711 from ArkadiuszRaj:aravis_autoexposure_correction

Aravis: Use of std::fabs, added support for 16-bit mono files and exposure compensation (#8711)

* Use of std::fabs, added support for 16-bit mono files

* Correction in priority2 stage &  adding exposure compensation

7 years agoMerge pull request #8596 from nnorwitz:nnorwitz
Alexander Alekhin [Fri, 12 May 2017 19:48:28 +0000 (19:48 +0000)]
Merge pull request #8596 from nnorwitz:nnorwitz

7 years agoFix for issue #8615. Added cudawarping to optional modules and removed opencv_cudafilters
Anupam Sobti [Fri, 12 May 2017 16:25:35 +0000 (21:55 +0530)]
Fix for issue #8615. Added cudawarping to optional modules and removed opencv_cudafilters

7 years agoMerge pull request #8724 from saskatchewancatch:i8723
Maksim Shabunin [Fri, 12 May 2017 15:44:22 +0000 (15:44 +0000)]
Merge pull request #8724 from saskatchewancatch:i8723

7 years agoSet LUT for Robertson weights function to zero on borders
sovrasov [Thu, 11 May 2017 09:25:18 +0000 (12:25 +0300)]
Set LUT for Robertson weights function to zero on borders

7 years agoissue 8723: Changed doc for cv::imwrite to reflect correct default flag used for...
saskatchewancatch [Fri, 12 May 2017 06:01:38 +0000 (00:01 -0600)]
issue 8723: Changed doc for cv::imwrite to reflect correct default flag used for png compression strategy.

7 years agoExtending template_matching tutorial with Java (#8043)
Cartucho [Thu, 11 May 2017 21:42:04 +0000 (22:42 +0100)]
Extending template_matching tutorial with Java (#8043)

* Extending template_matching tutorial with Java

* adding mask to java version of the tutorial

* adding the python toggle and code

* updating table of content

* adding py and java to table of content

* adding mask to python

* going back to markdown with duplicated text

* non duplicated text

7 years agoMerge pull request #8710 from ioxp:master
Alexander Alekhin [Thu, 11 May 2017 18:24:16 +0000 (18:24 +0000)]
Merge pull request #8710 from ioxp:master

7 years agoMerge pull request #8715 from berak:fix_digits_py
Maksim Shabunin [Thu, 11 May 2017 12:46:41 +0000 (12:46 +0000)]
Merge pull request #8715 from berak:fix_digits_py

7 years agopy_samples: fix digits.py
berak [Thu, 11 May 2017 06:34:21 +0000 (08:34 +0200)]
py_samples: fix digits.py

7 years agoUpdate cap_mjpeg_encoder.cpp
Matthias Grundmann [Wed, 10 May 2017 20:29:02 +0000 (13:29 -0700)]
Update cap_mjpeg_encoder.cpp

Avoid shifting by 32bits; undefined behavior according to c - standard

7 years agoFixed exp32f() compilation on MSVC
Philipp Hasper [Wed, 10 May 2017 16:25:39 +0000 (18:25 +0200)]
Fixed exp32f() compilation on MSVC

7 years agoFixed out of bound reading in makeAgastOffsets
Vitaly Tuzov [Wed, 10 May 2017 13:21:22 +0000 (16:21 +0300)]
Fixed out of bound reading in makeAgastOffsets

7 years agoDrop best optimizations to reduce code size
chacha21 [Wed, 10 May 2017 11:55:39 +0000 (13:55 +0200)]
Drop best optimizations to reduce code size

Only keep the ICV_HLINE_X optimization to reduce code size.

7 years agoMerge pull request #8609 from LukeZheZhu:pyrlk_err_ocl_fix
Vadim Pisarevsky [Thu, 4 May 2017 16:12:13 +0000 (16:12 +0000)]
Merge pull request #8609 from LukeZheZhu:pyrlk_err_ocl_fix

7 years agoFix OpenCL's wrong output of calcOpticalFlowPyrLK function's output vector of err...
LukeZhu [Wed, 19 Apr 2017 07:49:42 +0000 (15:49 +0800)]
Fix OpenCL's wrong output of calcOpticalFlowPyrLK function's output vector of err. Improve err's precison of the calcOpticalFlowPyrLK OpenCL function and add the relative test.

7 years agoMerge pull request #8391 from woodychow:warpAffine_avx2
Vadim Pisarevsky [Wed, 3 May 2017 15:09:54 +0000 (15:09 +0000)]
Merge pull request #8391 from woodychow:warpAffine_avx2

7 years agoMerge pull request #8397 from woodychow:initUndistortRectifyMap_avx2
Vadim Pisarevsky [Wed, 3 May 2017 14:50:22 +0000 (14:50 +0000)]
Merge pull request #8397 from woodychow:initUndistortRectifyMap_avx2

7 years agoMerge pull request #8398 from woodychow:normL2Sqr_avx2
Vadim Pisarevsky [Wed, 3 May 2017 14:49:56 +0000 (14:49 +0000)]
Merge pull request #8398 from woodychow:normL2Sqr_avx2

7 years agoDon't blow out the stack. Use a smaller buffer and prevent buffer overruns with...
nnorwitz [Mon, 17 Apr 2017 05:21:35 +0000 (22:21 -0700)]
Don't blow out the stack.  Use a smaller buffer and prevent buffer overruns with snprintf.

7 years agoMerge pull request #7894 from alalek:ocl_program
Vadim Pisarevsky [Wed, 3 May 2017 13:48:57 +0000 (13:48 +0000)]
Merge pull request #7894 from alalek:ocl_program

7 years agoMerge pull request #8359 from csukuangfj:patch-fix-error-code-documentation
Vadim Pisarevsky [Wed, 3 May 2017 13:48:28 +0000 (13:48 +0000)]
Merge pull request #8359 from csukuangfj:patch-fix-error-code-documentation

7 years agoMerge pull request #8660 from 4ekmah:making_sgbm_parallel
Vadim Pisarevsky [Wed, 3 May 2017 13:47:36 +0000 (13:47 +0000)]
Merge pull request #8660 from 4ekmah:making_sgbm_parallel

7 years agoMerge pull request #8602 from alalek:ffmpeg_update
Vadim Pisarevsky [Wed, 3 May 2017 13:01:55 +0000 (13:01 +0000)]
Merge pull request #8602 from alalek:ffmpeg_update

7 years agoMerge pull request #8271 from ziggy90127:avfoundation-bugfix1
Vadim Pisarevsky [Wed, 3 May 2017 12:59:44 +0000 (12:59 +0000)]
Merge pull request #8271 from ziggy90127:avfoundation-bugfix1

7 years agoUpdate canny_detector.markdown (#8684)
vskarlsruhe [Wed, 3 May 2017 12:46:34 +0000 (14:46 +0200)]
Update canny_detector.markdown (#8684)

7 years agoMerge pull request #8432 from csukuangfj:issue-8411
Vadim Pisarevsky [Wed, 3 May 2017 12:39:55 +0000 (12:39 +0000)]
Merge pull request #8432 from csukuangfj:issue-8411

7 years agoMerge pull request #8653 from alalek:android_fixes
Maksim Shabunin [Wed, 3 May 2017 12:20:19 +0000 (12:20 +0000)]
Merge pull request #8653 from alalek:android_fixes

7 years agoMerge pull request #8557 from grundman:patch-3
Vadim Pisarevsky [Wed, 3 May 2017 12:12:59 +0000 (12:12 +0000)]
Merge pull request #8557 from grundman:patch-3

7 years agoMerge pull request #8582 from alalek:cmake_disable_insource_builds
Vadim Pisarevsky [Wed, 3 May 2017 11:53:32 +0000 (11:53 +0000)]
Merge pull request #8582 from alalek:cmake_disable_insource_builds

7 years agoMerge pull request #8580 from terfendail:ovx_newperftest
Vadim Pisarevsky [Wed, 3 May 2017 11:01:01 +0000 (11:01 +0000)]
Merge pull request #8580 from terfendail:ovx_newperftest

7 years agoMerge pull request #8598 from sovrasov:java_wrap_prt_arg
Vadim Pisarevsky [Wed, 3 May 2017 10:53:58 +0000 (10:53 +0000)]
Merge pull request #8598 from sovrasov:java_wrap_prt_arg

7 years agoMerge pull request #8676 from jveitchmichaelis:jveitchmichaelis-sgbm-create
Vadim Pisarevsky [Wed, 3 May 2017 10:28:39 +0000 (10:28 +0000)]
Merge pull request #8676 from jveitchmichaelis:jveitchmichaelis-sgbm-create

7 years agoMerge pull request #8688 from ysolovyov:num-jobs-fix
Vadim Pisarevsky [Wed, 3 May 2017 10:25:54 +0000 (10:25 +0000)]
Merge pull request #8688 from ysolovyov:num-jobs-fix

7 years agoMerge pull request #8686 from sovrasov:port_affine3_fix
Maksim Shabunin [Wed, 3 May 2017 10:20:16 +0000 (10:20 +0000)]
Merge pull request #8686 from sovrasov:port_affine3_fix

7 years agoMerge pull request #8649 from saskatchewancatch:8647
Maksim Shabunin [Wed, 3 May 2017 09:19:29 +0000 (09:19 +0000)]
Merge pull request #8649 from saskatchewancatch:8647

7 years agoFix buildcmd
Yuriy Solovyov [Tue, 2 May 2017 15:59:37 +0000 (18:59 +0300)]
Fix buildcmd