Vadim Pisarevsky
4e31015715
Merge pull request #11341 from alalek:v_min_max_sse41
2018-04-19 12:21:50 +00:00
Alexander Alekhin
ad2127765f
Merge pull request #11309 from K-Shinotsuka:issue41
2018-04-19 10:58:00 +00:00
Tomoaki Teshima
98d9369a38
add new comparison to tolerate with rounding error
...
* restore resize of carotene
* clean up the source code
* remove unused member function (Near)
* add strict test on the border
2018-04-19 17:31:42 +09:00
Dmitry Kurtaev
3b4a292ca9
Let switch CPU/OpenCL targets for models from Intel's Model Optimizer
2018-04-19 10:23:57 +03:00
Alexander Alekhin
fa3cb03f62
core(hal): v_min()/v_max() use SSE4.1 intrinsics
2018-04-18 19:43:20 +03:00
Alexander Alekhin
0477284b0a
Merge pull request #11338 from alalek:fix_fp16_with_disabled_optimizations
2018-04-18 13:34:34 +00:00
Vadim Pisarevsky
b290bdafb9
Merge pull request #11322 from dkurt:dnn_yolov3
2018-04-18 12:11:13 +00:00
Alexander Alekhin
97882d03cc
core: fix FP16 conversion with CV_DISABLE_OPTIMIZATION option
...
Reproducer:
cmake -DCPU_BASELINE=AVX2 -DCV_DISABLE_OPTIMIZATION=ON ...
2018-04-18 14:13:03 +03:00
Alexander Alekhin
28d4157ea7
Merge pull request #11331 from dkurt:fix_11318
2018-04-17 16:41:29 +00:00
Dmitry Kurtaev
66ce8cd7ea
Fix bugs found by valgrind
2018-04-17 17:53:51 +03:00
Vadim Pisarevsky
b8b7ca7302
Rewite polar transforms ( #11323 )
...
* Rewrite polar transformations
- A new wrapPolar function encapsulate both linear and semi-log remap
- Destination size is a parameter or calculated automatically to keep objects size between remapping
- linearPolar and logPolar has been deprecated
* Fix build warning and error in accuracy test
* Fix function name to warpPolar
* Explicitly specify the mapping mode, so we retain all the parameters as non-optional.
Introduces WarpPolarMode enum to specify the mapping mode in flags
* resolves performance warning on windows build
* removed duplicated logPolar and linearPolar implementations
2018-04-17 15:50:52 +03:00
k-shinotsuka
b3755ae670
add universal intrinsics for RGB2HLS_f
2018-04-17 19:37:36 +09:00
Dmitry Kurtaev
97fec07d96
Support YOLOv3 model from Darknet
2018-04-16 18:44:12 +03:00
Alexander Alekhin
e0fef2bca1
Merge pull request #11319 from alalek:issue_11293
2018-04-16 15:39:22 +00:00
Alexander Alekhin
ee90a6cbde
dnn(test): update error tolerance for RCNN/RFCN tests
2018-04-16 14:24:41 +03:00
Alexander Alekhin
59b413c8a1
imgproc(ipp): disable parallel GaussianBlur
2018-04-16 13:31:52 +03:00
Alexander Alekhin
225c75e4a1
Merge pull request #11306 from alalek:opencl_trace_messages
2018-04-14 11:36:19 +00:00
Alexander Alekhin
cfaca4327b
Merge pull request #11169 from tomoaki0705:universalRemap
2018-04-13 13:24:06 +00:00
Alexander Alekhin
a2d6ee2d31
Merge pull request #11305 from tomoaki0705:typoNVIDIA
2018-04-13 12:56:42 +00:00
Tomoaki Teshima
a82e70cd40
remove raw SSE2/NEON implementation from imgwarp.cpp
...
* use universal intrinsic instead of raw intrinsic
* add 2 channels de-interleave on x86 platform
* add v_int32x4 version of v_muladd
* add accumulate version of v_dotprod based on the commit from seiko2plus on bf1852d
* remove some verify check in performance test
* avoid the out of boundary access and keep the performance
2018-04-13 21:19:16 +09:00
Alexander Alekhin
670ef403b0
ocl: improve trace messages of OpenCL calls
2018-04-13 14:54:27 +03:00
Alexander Alekhin
46d85fb558
Merge pull request #11302 from dkurt:dnn_inf_engine_extra_layers
2018-04-13 11:49:38 +00:00
Tomoaki Teshima
a40354d16f
use correct name for NVIDIA
...
* remove NVidia and Nvidia
* replace Cuda with CUDA
* keep the letters for API
2018-04-13 20:33:19 +09:00
Dmitry Kurtaev
b92c3182ab
Blank and L2-normalization layers from Intel's Inference Engine
2018-04-12 15:21:08 +03:00
Alexander Alekhin
2129db6e91
Merge pull request #11297 from seiko2plus:VSXImprovements_1
2018-04-12 10:57:39 +00:00
Sayed Adel
56ec10bfa2
core:ppc Several improvements on VSX(1)
...
* remove unnecessary defines from vsx_utils
* fix v_load_expand, load lower 64bit
* use vec_ld, vec_st with alignment load/store on all types except 64bit
* map v_extract to v_rotate_right
* update license header
* enable VSX by default on clang since #11167
2018-04-11 19:21:22 +00:00
Vadim Pisarevsky
0b9d075958
Merge pull request #11295 from dkurt:dnn_repeated_conv_params
2018-04-11 15:25:24 +00:00
Vadim Pisarevsky
59221296c0
Merge pull request #10978 from alalek:cv_check_macros
2018-04-11 15:17:27 +00:00
Vadim Pisarevsky
533bb89800
Merge pull request #11236 from dkurt:dnn_fuse_l2_norm
2018-04-11 15:09:55 +00:00
Vitaly Tuzov
c80a168d9d
Updated warpAffine test to ensure bit-exactness for CV_8U ( #10921 )
...
* Updated warpAffine test to ensure bit-exactness for CV_8U
* Updated invertAffineTransform to bit-exact evaluation
2018-04-11 18:08:29 +03:00
Vitaly Tuzov
62cf71002e
Bit-exact GaussianBlur performance update ( #10898 )
...
* Added custom implementation for NxN bit-exact GaussianBlur
* Reworked fixedpoint interface a bit
* Reworked horizontal line estimation for bit-exact GaussianBlur
* Reworked vertical line estimation for bit-exact GaussianBlur
* Updated range estimation for vectorized part of bit-exact GaussianBlur evaluation
2018-04-11 18:07:48 +03:00
Vadim Pisarevsky
30175594e9
Merge pull request #11062 from dkurt:dnn_inf_engine_cldnn
2018-04-11 15:06:18 +00:00
Dmitry Kurtaev
512632e574
Parse repeated values of ConvolutionParameter
2018-04-11 14:38:05 +03:00
Dmitry Kurtaev
4ef6c91583
Fix multiple inputs for models from Intel's Model Optimizer
2018-04-11 13:28:07 +03:00
Alexander Alekhin
070ec313f2
Merge pull request #11282 from alalek:fix_msvs_build_issues
2018-04-10 14:36:51 +00:00
Alexander Alekhin
d2d9fd6945
build: fix MSVS build problems
...
with 'CL=/permissive-'
2018-04-10 14:50:56 +03:00
Alexander Alekhin
fa4b9e80e2
Merge pull request #11275 from alalek:issue_11274
2018-04-10 11:28:21 +00:00
Dmitry Kurtaev
1ba72ca0d3
Fuse tf.nn.l2_normalize layer
2018-04-10 10:12:44 +03:00
shimat
68db42e9be
fix LSD test (wrong detector kind)
2018-04-10 11:38:35 +09:00
Alexander Alekhin
567ae61e78
core: add "check" macros
2018-04-09 21:24:02 +03:00
Alexander Alekhin
86488ac1bc
Merge pull request #11130 from allnes:gst_test_pipeline
2018-04-09 18:21:11 +00:00
Alexander Nesterov
c0d6f3d23e
Added tests for gstreamer pipeline
2018-04-10 02:33:26 +03:00
Alexander Alekhin
b76ce0e0a4
Merge pull request #11253 from mshabunin:decrease-tbb-dependency
2018-04-09 16:03:34 +00:00
Alexander Alekhin
b82bec88d9
Merge pull request #11271 from alalek:tbb_build_warning
2018-04-09 15:53:26 +00:00
Alexander Alekhin
7dc162cb42
core: fix mm_pause() for non-SSE i386 builds
...
replaced to safe binary compatible 'rep; nop' asm instruction
2018-04-09 18:37:35 +03:00
Vadim Pisarevsky
474a23bda5
Merge pull request #11170 from alalek:test_fixed_type
2018-04-09 14:53:43 +00:00
tlanclos
a2c7afad77
V4L Buffer: Support CV_CAP_PROP_BUFFERSIZE in cap_v4l ( #11047 )
2018-04-09 17:34:00 +03:00
shimat
e172935658
LSD: support vector<Vec4i> lines ( #11042 )
...
* add LSD supportsVec4iResult
* LineSegmentDetector.drawSegments: support vector<Vec4i>
* test_lsd.cpp: replace detect()
* test_lsd.cpp: add compareSegments tests
* lsd.cpp: LSD.compareSegments support Vec4i
* test_lsd.cpp: fix trailing whitespace
2018-04-09 17:31:56 +03:00
Dmitry Kurtaev
709cf5d038
OpenCL GPU target for Inference Engine deep learning backend
...
Enable FP16 GPU target for DL Inference Engine backend.
2018-04-09 17:21:35 +03:00
Vadim Pisarevsky
72cb06abf0
Merge pull request #11231 from saskatchewancatch:tiff-dpi-feature
2018-04-09 13:28:08 +00:00
Vadim Pisarevsky
fa5a6bfa02
Merge pull request #11251 from mshabunin:add-runtime-version
2018-04-09 13:24:29 +00:00
Vladislav Sovrasov
0d9c63744e
Add CPU default extensions loading in IE dnn backend ( #11252 )
...
* Add CPU default extensions loading in IE dnn backend
* Load cpu_extensions for the future Intel's Inference Engine
2018-04-09 16:22:19 +03:00
Vadim Pisarevsky
20334e3f09
Merge pull request #11264 from K-Shinotsuka:issue39
2018-04-09 13:20:48 +00:00
Vadim Pisarevsky
19de675a4e
Merge pull request #11270 from alalek:parallel_for_exception_fix_android
2018-04-09 13:18:39 +00:00
Alexander Alekhin
a22ee76b45
imgcodecs: exclude rle8.bmp from GDAL tests
...
GDAL message:
- ERROR 1: The BMP file is probably corrupted or too large. Image width = 480
2018-04-09 13:18:33 +03:00
Alexander Alekhin
854ab48de0
tbb: fix build warnings -Wshadow
2018-04-09 12:58:09 +03:00
Alexander Alekhin
8dacbe7584
android: std::exception_ptr is not available on some platforms (even with enabled C++11)
2018-04-09 12:54:57 +03:00
Vadim Pisarevsky
6a15910f0f
Merge pull request #11208 from terfendail:seamless_1
2018-04-09 09:52:28 +00:00
Vadim Pisarevsky
4617758053
Merge pull request #11247 from lopespt:fix_issue_10506
2018-04-09 09:39:17 +00:00
Vadim Pisarevsky
f0d22dabea
Merge pull request #11254 from terfendail:msmf_sourcereader
2018-04-09 09:34:15 +00:00
Vadim Pisarevsky
26a8ab5719
Merge pull request #11262 from alalek:fix_houghCircles_sync
2018-04-09 09:32:37 +00:00
Maksim Shabunin
d2cff38db6
Added interface to check library version during runtime
2018-04-09 12:30:39 +03:00
Alexander Alekhin
3c936ddcf9
Merge pull request #11259 from dkurt:fix_10965
2018-04-09 08:39:41 +00:00
Alexander Alekhin
47e476c9cd
Merge pull request #11217 from dan-masek:fix_issue_11206
2018-04-08 15:12:12 +00:00
Alexander Alekhin
814b78dad8
Merge pull request #11230 from tkonolige:master
2018-04-08 15:11:17 +00:00
k-shinotsuka
fbdcc0e8e4
add universal intrinsics for HSV2RGB_f
2018-04-08 01:47:22 +09:00
Alexander Alekhin
15837b43ca
imgproc: don't call .unlock() on non-holded mutex in houghCircles()
2018-04-07 13:00:17 +00:00
Dmitry Kurtaev
73ca194313
Fix convertFp16 in JavaScript build
2018-04-07 09:44:43 +03:00
Alexander Alekhin
23d866ad40
Merge pull request #11237 from alalek:cuda_refactor_memorypool
2018-04-06 15:37:37 +00:00
Vitaly Tuzov
24bd44f088
MSMF-based VideoCapture reworked to use SourceReader
2018-04-06 17:39:56 +03:00
Maksim Shabunin
b88609a921
Reduced direct TBB dependencies
2018-04-06 14:21:15 +03:00
lopespt
c17ce1a0af
Solves issue #10506
2018-04-05 20:25:32 -03:00
Alexander Alekhin
875b4e212a
Merge pull request #11200 from alalek:android_refactor_sdk_detection
2018-04-05 20:44:59 +00:00
Alexander Alekhin
a87a5dfdb3
Merge pull request #11192 from terfendail:setto_fix
2018-04-05 20:25:34 +00:00
Alexander Alekhin
e20fb7f429
Merge pull request #11197 from alalek:parallel_propagate_exception
2018-04-05 20:24:22 +00:00
Alexander Alekhin
e27ae6483a
Merge pull request #11221 from dkurt:dnn_fix_proposal_layer
2018-04-05 20:23:49 +00:00
Alexander Alekhin
6abfc6761e
android: refactor Android SDK detection
...
- properly detect Android SDK support of Ant/Gradle projects
- divide processing of And/Gradle based projects
2018-04-05 19:19:31 +00:00
Alexander Alekhin
7818071ba2
cuda: eliminate part of build warnings
2018-04-05 17:53:22 +03:00
Alexander Alekhin
82ba3ac894
cuda: refactor MemoryPool
...
- make non-copyable (aligns inner mutex semantic to std::mutex)
- getMemoryPool() returns reference instead of pointer (NULL is not expected here)
2018-04-05 16:04:37 +03:00
Alexander Alekhin
f93c1b942a
Merge pull request #11222 from lopespt:add_binary_search_knearest
2018-04-05 11:00:00 +00:00
Vitaly Tuzov
628f04ae96
Merge pull request #11092 from terfendail:msmf_videocapture
...
Update for MSMF-based VideoCapture and VideoWriter (#11092 )
* MSMF based VideoCapture updated to handle video stream formats different from RGB24
* MSMF based VideoWriter updated to handle video frame top-bottom line ordering regardless of output format
* Fixed race condition in MSMF based VideoCapture
* Refactored MSMF based VideoCapture and VideoWriter
* Disabled frame rate estimation for MP43
* Removed test for unsupported avi container from MSMF VideoWriter tests
* Enabled MSMF-based VideoIO by default
2018-04-05 13:55:42 +03:00
Alexander Alekhin
c2fb4debc5
Merge pull request #11224 from alalek:fix_core_min_avx2
2018-04-05 10:37:31 +00:00
Alexander Alekhin
8f7e7cd343
Merge pull request #11071 from alalek:issue_11061_fix_error_message
2018-04-05 10:15:04 +00:00
Rajkiran Natarajan
4668836071
Support for setting TIFF DPI info in imwrite
2018-04-04 21:20:16 -07:00
Tristan Konolige
9d589379ec
don't reset camera in setViewerPose
2018-04-04 13:00:50 -06:00
Alexander Alekhin
d294e9d62a
Merge pull request #11216 from dan-masek:fix_issue_11205
2018-04-04 15:37:57 +00:00
yuki takehara
d57e5c31c0
Merge pull request #11214 from take1014:core_9720
...
* fix #9720
* Add regression test
* Fix calculation method for scale
2018-04-04 18:36:02 +03:00
Alexander Alekhin
45a69ebec8
core: fix AVX2 min implementation
2018-04-04 17:38:58 +03:00
Vitaly Tuzov
eb2c9f1519
Fixed mask reduction in seamless_clone
2018-04-04 16:33:28 +03:00
Vitaly Tuzov
ccd16f107d
Fixed IPP based implementation of setTo() for infinity value
2018-04-04 16:05:22 +03:00
lopespt
65d816c3b5
Adds efficient sort algorithm to KNearest
2018-04-04 09:35:58 -03:00
Dmitry Kurtaev
ef1aaf12c9
Fix Proposal deep learning layer
2018-04-04 14:48:29 +03:00
Alexander Alekhin
7bc980edaf
Merge pull request #10983 from dkurt:dnn_face_detection_uint8
2018-04-03 18:19:43 +00:00
Dan Mašek
8c1d8eccdd
Merge pull request #11207 from dan-masek:add_redirect_error
...
* Add Python support for error message handlers.
* Move the static variable to the only function that uses it.
* Remove the optional param (user data), since this can already be handled by closures.
* Correct the help string.
* python: added redirectError test
2018-04-03 21:16:34 +03:00
Alexander Alekhin
f95e91e2bc
Merge pull request #11199 from dkurt:update_torch_testdata
2018-04-03 18:02:58 +00:00
Dan Mašek
f6e299b58b
Fix #11206
2018-04-03 03:24:49 +02:00
Dan Mašek
eae3ed0c08
Fix a leak described in issue #11205
2018-04-03 03:02:21 +02:00
Dmitry Kurtaev
8d8f3bca6f
Update links to OpenCV's face detection network
2018-04-02 13:02:56 +03:00
Arkadiusz Raj
619e4c94d5
Protection to not run Eth config when USB camera is connected
2018-04-01 15:37:10 +02:00
Dmitry Kurtaev
818a91f4f7
Update Torch testdata
2018-03-31 12:04:44 +03:00
Dmitry Kurtaev
598039c0ed
Fix embedded Torch's nn.ConcatTable
2018-03-31 11:11:10 +03:00
Alexander Alekhin
dbcb454917
Merge pull request #11195 from alalek:fix_qt_build
2018-03-30 14:52:11 +00:00
Alexander Alekhin
6f69800d0c
core: propagate parallel_for() exceptions
2018-03-30 16:24:31 +03:00
Alexander Alekhin
e8a67de0d2
Merge pull request #11182 from dkurt:fix_11102_part_2
2018-03-30 13:11:01 +00:00
Alexander Alekhin
82fd00af99
fix build issues with QT/OpenGL
2018-03-30 12:49:09 +03:00
Vadim Pisarevsky
8fce25d788
Merge pull request #11187 from alalek:respect_threading_settings
2018-03-30 09:39:04 +00:00
Alexander Alekhin
2fb4812f6d
Merge pull request #11194 from ltqusst:fix_10557
2018-03-30 09:30:43 +00:00
ltqusst
0d646490f5
Fix #10557
...
Fix overflow bugs in conversion from NV12 VA-surface/D3D11texture2D to OpenCL UMat
2018-03-30 16:32:15 +08:00
catree
a885480c9e
Remove temporary file used for test.
2018-03-29 18:34:30 +02:00
Alexander Alekhin
1b7aa92eb6
Merge pull request #11188 from mshabunin:fix-clang-warnings
2018-03-29 14:34:30 +00:00
Alexander Alekhin
8c4b5b6a70
core(test): parallel_for test with exception
2018-03-29 16:59:51 +03:00
Alexander Alekhin
177be2adda
Merge pull request #11174 from corleypc:master
2018-03-29 13:50:44 +00:00
RAJKIRAN NATARAJAN
6d83a80385
Merge pull request #11176 from saskatchewancatch:issue-11165
...
* fix cv::imwrite to allow cv::UMat and vectors of it to be written
* cv::imwrite failure handling improvements
* Unit test for regression testing imwrite support for and fix whitespace
2018-03-29 16:47:31 +03:00
Maksim Shabunin
439072a2a6
Fixed two warnings produced by clang
2018-03-29 13:24:04 +03:00
Alexander Alekhin
7f63b31ca8
avoid calling of setNumThreads() to respect user settings
2018-03-29 13:04:26 +03:00
Alexander Alekhin
87498bc6d4
cmake: workaround CPATH ipp_iw issue
...
CPATH entries are processed before any -isystem:
https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html
2018-03-28 18:43:28 +03:00
Alexander Alekhin
8a0cc5009e
build: eliminate MSVC warning
2018-03-28 18:43:28 +03:00
Alexander Alekhin
25be4186bc
python: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:28 +03:00
Alexander Alekhin
6c8014e7d1
cmake: disable checks for protobuf generated files
2018-03-28 18:43:28 +03:00
Alexander Alekhin
d7e9201434
misc: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:28 +03:00
Alexander Alekhin
2bd4f2c3a6
videostab: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:28 +03:00
Alexander Alekhin
a8eb3e1b29
superres: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03:00
Alexander Alekhin
4a0fa57614
shape: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03:00
Alexander Alekhin
4df4a37b11
flann: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03:00
Alexander Alekhin
1ca7ae9630
video: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03:00
Alexander Alekhin
e741b71dac
photo: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03:00
Alexander Alekhin
225bae1387
stitching: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03:00
Alexander Alekhin
4d0dd3e509
ml: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03:00
Alexander Alekhin
3314966acb
objdetect: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03:00
Alexander Alekhin
1060c0f439
dnn: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03:00
Alexander Alekhin
bdbd0129af
calib3d: apply CV_OVERRIDE/CV_FINAL
2018-03-28 17:57:59 +03:00
Alexander Alekhin
0854dc3320
features2d: apply CV_OVERRIDE/CV_FINAL
2018-03-28 17:57:59 +03:00
Alexander Alekhin
8f0669c300
videoio: apply CV_OVERRIDE/CV_FINAL
2018-03-28 17:57:59 +03:00
Alexander Alekhin
a91953b15c
imgcodecs: apply CV_OVERRIDE/CV_FINAL
2018-03-28 17:57:59 +03:00
Alexander Alekhin
5d36ee2fe7
imgproc: apply CV_OVERRIDE/CV_FINAL
2018-03-28 17:57:59 +03:00
Alexander Alekhin
9111538bfb
core: apply CV_OVERRIDE/CV_FINAL
2018-03-28 17:57:59 +03:00
Alexander Alekhin
0587f92d96
cmake: disable override warnings in 3rdparty code and viz
2018-03-28 17:57:59 +03:00
Alexander Alekhin
773877cd12
ts: apply CV_OVERRIDE/CV_FINAL
...
- disable "-Wsuggest-override" in tests
2018-03-28 17:57:59 +03:00
Alexander Alekhin
84980741a8
core: add CV_OVERRIDE/CV_FINAL macros
2018-03-28 17:57:58 +03:00
Alexander Alekhin
167034fb04
Merge pull request #11098 from dkurt:dnn_native_inf_engine
2018-03-28 14:52:08 +00:00
Dmitry Kurtaev
e039fc3a63
Replace protobuf's ReleaseLast to RemoveLast to deallocate memory.
...
Change an order of PriorBox layer operations.
2018-03-28 17:27:36 +03:00
Dmitry Kurtaev
2f3a9ba1d4
Update OpenCVDetectInferenceEngine.cmake
2018-03-28 16:34:37 +03:00
Vadim Pisarevsky
1097d0e810
Merge pull request #11072 from alalek:explicit_autobuffer
2018-03-28 12:57:25 +00:00
Vadim Pisarevsky
284e5231c5
Merge pull request #11171 from codingforfun:fix_11143
2018-03-28 12:47:37 +00:00
Vadim Pisarevsky
6b041c8aeb
Merge pull request #11137 from alalek:core_fix_mat_ctor
2018-03-28 12:39:49 +00:00
Alexander Alekhin
8388b630ac
Merge pull request #11167 from alalek:cmake_compiler_vars
2018-03-28 12:38:31 +00:00
LaurentBerger
03eb463f1c
Solves #11156 ( #11160 )
...
* Solves #11156
* Check file size for all file format. Disable APPEND if file is empty
* Add test for APPEND mode
2018-03-28 15:35:38 +03:00
Alexander Alekhin
75b5e3fa64
Merge pull request #11175 from collenjones:hotfix/coreLinkFix
2018-03-28 12:21:11 +00:00
Tomoaki Teshima
c14578649d
fix build error on Jetson
2018-03-28 18:21:53 +09:00
Collen Jones
687ccdf8db
Fix link to Hershey fonts
2018-03-27 20:11:48 -07:00
corley
a4b9ce764c
Fixed silent failures in getting and setting properties
2018-03-28 00:05:54 +03:00
Alexander Alekhin
7d8f1dde26
core(persistence): disable checks for base64 streams
2018-03-27 17:02:04 +03:00
codingforfun
24e2e0d3f9
#11143 [FIX] Normalize node risk with sample weight sum
...
In case of regression trees, node risk is computed as sum of squared
error. To get a meaningfull value to compare with it needs to be
normalized to the number of samples in the node (or more generally to
the sum of sample weights in this node). Otherwise the sum of squared
error is highly dependend on the number of samples in the node and
comparision with `regressionAccuracy` parameter is not very meaningful.
After normalization `node_risk` means in fact sample variance for all
samples in the node, which makes much more sence and seams to be what
was originaly intended by the code given that node risk is later used as
a split termination criteria by
```
sqrt(node.node_risk) < params.getRegressionAccuracy()
```
2018-03-27 15:39:36 +02:00
Alexander Alekhin
017c217bb0
Merge pull request #11162 from kinchungwong:master
2018-03-27 13:27:43 +00:00
Alexander Alekhin
f4c4b01455
core: added checks and "fixit" items for persistence parsers
...
To raise errors with proper messages of the problems.
2018-03-27 16:19:43 +03:00
Alexander Alekhin
08941b7890
cmake: avoid amending of CMAKE_COMPILER_IS_[GNUCXX|CLANGCXX|CCACHE] vars
...
- Recommended compiler checks:
- GCC: CV_GCC
- Clang: CV_CLANG
- fixed problem with CMAKE_CXX_COMPILER_ID=Clang/AppleClang mess on MacOSX
Details: cmake --help-policy CMP0025
- do not declare Clang as GCC compiler
2018-03-27 16:16:59 +03:00
Alexander Alekhin
7ee217285b
Merge pull request #11089 from terfendail:stereocalibrate_f32
2018-03-27 13:08:06 +00:00
Alexander Alekhin
9e0dee1259
Merge pull request #11112 from alalek:cmake_src_include_fix
2018-03-27 13:06:48 +00:00
Alexander Alekhin
d1311518a3
core: test-sample for FIXED_TYPE demonstration
...
with implementation of functions with multiple output formats
2018-03-27 15:41:41 +03:00
Vadim Pisarevsky
6e13ffe162
Merge pull request #11159 from alalek:samples_avoid_legacy_api
2018-03-27 10:05:35 +00:00
corley
f441515357
Fixed a couple of memory leaks in videoInput::getDevice() when multiple devices are present in the system
2018-03-27 00:54:48 +03:00
kinchungwong
333e53eee8
Minor improvement to SSE code in HOGDescriptor::computeGradient, replace emulation of _mm_mullo_epi32 with constant multiplicand 3 with two _mm_add_epi32. OpenCV issue #11161
2018-03-26 09:24:03 -07:00
Alexander Alekhin
7f9253ea0a
samples: avoid using of legacy C-like API
...
- CV_RGB() macro is moved into opencv2/imgproc.hpp from imgproc_c.h
- samples/cpp/filestorage_base64.cpp is dropped
2018-03-26 13:42:35 +03:00
Alexander Alekhin
24acbecd33
Merge pull request #11151 from AndreiCostinescu:patch-1
2018-03-26 10:22:38 +00:00
Dmitry Kurtaev
7972f47ed4
Load networks from intermediate representation of Intel's Deep learning deployment toolkit.
2018-03-26 07:24:21 +03:00
Namgoo Lee
a8f86af633
Update GpuMat, GpuMat::download, GpuMat::upload documentation
2018-03-26 10:59:05 +09:00
Andrei Costinescu
38d73123c1
#include <math.h> in cv2.cpp
...
My build fails with the error:
"C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/7.2.0/include/c++/cmath:1136:11: error: '::hypot' has not been declared".
I have tried to fix it by adding "#include <cmath>" before the line "#include <Python.h>" but then the build has failed with the error:
"C:/PROGRA~1/MINGW-~1/X86_64~1.0-P/mingw64/lib/gcc/x86_64-w64-mingw32/7.2.0/include/c++/math.h:91:12:: error: 'std::_hypot' has not been declared".
Adding "#include <math.h>" allowed me to build opencv.
2018-03-25 20:39:29 +02:00
Alexander Alekhin
e06d1e8083
Merge pull request #11141 from dkurt:dnn_no_aspect_ratios
2018-03-24 20:38:55 +00:00
Anthony Wertz
c6cf7f8080
Sets a higher limit on videoio's AVI container's maximum chunk size, and adds an explanation of the assertion. Closes #11126
2018-03-23 12:03:46 -04:00
Alexander Alekhin
cd4b748b44
Merge pull request #11064 from tomoaki0705:fixCudaStreamAsync
2018-03-23 13:04:18 +00:00
Dmitry Kurtaev
e8fe6ee4e3
Fix prior box generation in case of squared proposals.
...
Fix batch norm in training phase.
2018-03-23 09:44:59 +03:00
Alexander Alekhin
4378e8fcc0
core: fix cv::Mat constructor
2018-03-22 15:35:54 +03:00
Tomoaki Teshima
06babf90a5
let the test OCL_ImgprocWarp/Resize.Mat pass on ARM/Aarch64
...
* disable carotenete when calling resize on ARM/Aarch64
* loosen eps on Aarch64
2018-03-22 21:35:34 +09:00
Tomoaki Teshima
f4e5d777e8
follow histogram
2018-03-22 21:33:51 +09:00
Tomoaki Teshima
6c25351049
make the asynchronous call to NPP safe
...
* Stop calling nppSetStream
2018-03-22 21:33:51 +09:00
Alexander Alekhin
2dff9f4c6d
Merge pull request #11136 from tomoaki0705:fixCalib3dClang
2018-03-22 10:24:36 +00:00
Alexander Alekhin
b390e86b12
Merge pull request #11124 from terfendail:minenctriangle_fix
2018-03-22 10:23:10 +00:00
Tomoaki Teshima
08e0c69dbf
apply the workaround to correct range
2018-03-22 18:28:47 +09:00
Vitaly Tuzov
91c35a7d01
Updated handling of collinear edges while searching for intersection.
2018-03-21 19:15:34 +03:00
Alexander Alekhin
0366c1b093
Merge pull request #11105 from dkurt:issue_11102
2018-03-21 09:18:14 +00:00
Alexander Alekhin
fed22f2f5c
Merge pull request #11074 from alalek:android_log_messages
2018-03-20 20:40:54 +00:00
Alexander Alekhin
6c051a55e5
cmake: don't add include <module>/src directory to avoid conflicts
...
during opencv_world builds
2018-03-19 11:14:15 +03:00
Namgoo Lee
90e1e41f5a
test_buffer_pool: synchronize after async copy
2018-03-19 09:30:06 +09:00
Aleksandr Tischenko
22ecdd16ef
Merge pull request #11101 from lamantine:fix_11100
...
* fixed bug #11100 Integer overflow in kmeans
* fixed integer overflow in other divUp-s in kmeans code
fixed warning about size_t to double conversion
2018-03-18 15:11:42 +03:00
Dmitry Kurtaev
069f9add80
Fix an issue https://github.com/opencv/opencv/issues/11102
2018-03-18 10:49:12 +03:00
yuki takehara
41f8e788b2
Merge pull request #11083 from take1014:lsd_#9363
...
* Fix #9363
* Renamed the structure and added a new function to the LineSegmentDetectorImpl class as a static member
* Added a new function to the LineSegmentDetectorImpl class as a static member
2018-03-16 19:31:55 +03:00
Vitaly Tuzov
7afaaef0eb
Allow CV_32FC3 objPoints in cv::fisheye::stereoCalibrate
2018-03-16 13:05:40 +03:00
Alexander Alekhin
dd259503c1
Merge pull request #11073 from geordi:qt-window-pixel-values
2018-03-15 14:35:29 +00:00
Rostislav Vasilikhin
64916d3d83
Merge pull request #10869 from savuor:color_cpp_split
...
color.cpp split (#10869 )
* initial split is done
* files renamed (these names are excluded during compilation)
* IPP code moved to corresponding files
* splineBuild, splineInterpolate -> color_lab.cpp
* Lab, Luv: little refactored
* it compiles (didn't check work); Lab OCL code moved to color_lab.cpp
* cvtcolor.cl: Lab/Luv part moved to color_lab.cl
* cvtcolor.cl: color_rgb.cl extracted
* cvtcolor.cl: color_yuv.cl separated
* cvtcolor.cl: color_hsv.cl extracted
* cvtcolor.cl: extracted to color_lab.cl and color_rgb.cl
* helper functions moved to hpp file
* Lab, Luv: moved to color_lab.cpp
* CPU XYZ: to color_lab.cpp
* OCL XYZ: to color_lab.cpp
* warning fixed
* CvtHelper added
* CPU YUV: to color_yuv.cpp, helpers to color.hpp
* CPU HLS/HSV: to color_hsv.cpp
* CPU BGR2BGR: to color_rgb.cpp
* CPU RGB: to color_rgb.cpp
* extra arg removed
* CPU YUV: to color_yuv.cpp
* color code decoded
* OclHelper added, some funcs rewritten
* color_lab.cpp: refactored to use OclHelper
* OCL RGB: to color_rgb.cpp
* OCL HLS/HSV: to color_hsv.cpp
* OCL YUV: to color_yuv.cpp
* OCL YUV planes: to color_yuv.cpp
* OCL: color code reduced
* licence to demosaicing.cpp
* IPP func tables to color_rgb.cpp
* code cleanup
* HAVE_OPENCL ifdefs added
* helpers made more common
* fixed two plane YUV with separate mats
* fixed warning in gcc7.2.0
* precomp header fixed
* color space classification functions fixed
* helpers fixed
* rename: isSRGB -> is_sRGB
2018-03-15 14:10:40 +03:00
Alexander Alekhin
d68466bb6a
Merge pull request #10940 from dkurt:dnn_tf_graph_optim
2018-03-14 14:36:25 +00:00
Alexander Alekhin
ab110c0ad1
Merge pull request #10979 from dkurt:unite_dnn_samples
2018-03-14 14:33:49 +00:00
Alexander Alekhin
8781ee971c
core: write log messages via __android_log_print (logcat) too
2018-03-14 17:24:29 +03:00
Alexander Alekhin
cc06935a10
Merge pull request #11065 from vasiliev-vb:BUGFIX_KAZE_orientation
2018-03-14 14:15:47 +00:00
miqlas
f3a9f13cb4
Merge pull request #10984 from extrowerk:advanced_haiku_patches
...
* Haiku supporting patches
* Revert uneeded changes
* Whitespace cleanup
2018-03-14 17:09:10 +03:00
Jan Gaura
eb3969e244
Better text contrast of pixel brightness values in Qt window
...
This offsets text brightness of pixel brightness values
by offsetting it by 127 to the curent pixel value.
The text is now readable even if pixels are black.
2018-03-14 13:27:11 +01:00
Alexander Alekhin
ee1ac1140d
core: use explicit for cv::AutoBuffer
...
To avoid compilation of this code:
- buf = 0;
This code can be received after refactoring of 1D cv::Mat to cv::AutoBuffer.
- "cv_mat = 0" calls setTo().
- cv::AutoBuffer calls "allocate(0)" - this is wrong.
2018-03-14 14:17:52 +03:00
vasiliev-vb
94c8e59bbe
Fixed bug in KAZE features orientation.
...
Bug was added in f6ceeaa
commit, different angle computation functions have different parameter order.
2018-03-13 15:09:36 +00:00
Alexander Alekhin
7e9578789b
Merge pull request #11057 from tomoaki0705:fixClangComplexCalib3d
2018-03-13 13:43:21 +00:00
Tomoaki Teshima
7fd53f6ca2
avoid clang weird behavior in calib3d
...
* add ifdef to apply on specific situation
2018-03-13 21:51:20 +09:00
Dmitry Kurtaev
538fd42363
Add test for Scalar arguments at CommandLineParser
2018-03-13 11:01:07 +03:00