Alexander Alekhin
520da7aaaf
Merge pull request #9111 from vpisarev:dnn_optim_avx1
2017-07-13 12:27:05 +00:00
Rink Springer
df7fb00c21
dshow: Only show debugging messages if environment variable OPENCV_DSHOW_DEBUG is explicitly set to non-zero
...
Based on discussion at: https://github.com/opencv/opencv/pull/9051
2017-07-13 11:44:20 +02:00
Vladislav Sovrasov
fa17267e05
calib3d: fix not working CALIB_FIX_TANGENT_DIST flag
2017-07-13 10:49:35 +03:00
Alexander Alekhin
ed4de20fd1
Merge pull request #9107 from alalek:static_analyze_python
2017-07-12 16:45:14 +00:00
Alexander Alekhin
9b9e685dbc
Merge pull request #9142 from alalek:vzeroupper_guard_unused_warning
2017-07-12 16:44:00 +00:00
Alexander Alekhin
49bb0bf9c8
Merge pull request #9149 from alalek:ocl_fp16_test
2017-07-12 16:23:33 +00:00
Alexander Alekhin
d6c5e18e24
core(test): fix input data for OCL FP16 test
2017-07-12 18:51:11 +03:00
Alexander Alekhin
5ebfb52a4a
ipp(minmaxIdx): disable SSE4.2 optimizations for 32f datatype
...
NaN values handling issue
2017-07-12 16:06:18 +03:00
PkLab.net
6dd9e18b2e
add std::string overload for cv::read()
2017-07-12 15:51:11 +03:00
Vladislav Sovrasov
5b833db558
core: forbid conversion real->int in some cases in FileStorage
2017-07-12 15:50:57 +03:00
Alexander Alekhin
e7cc2eea1d
build: fix unused variable warning for vzeroupper guard
2017-07-11 16:46:35 +03:00
Alexander Alekhin
9365817bfd
Merge pull request #9131 from dkurt:fix_eltwise_layer
2017-07-11 07:18:42 +00:00
Maksim Shabunin
02db592014
Fixed several issues found by static analysis (Windows specific)
2017-07-10 23:14:02 +03:00
dkurt
3203635765
Eltwise layer fixes
2017-07-10 12:58:11 +03:00
Alexander Alekhin
a4a47b538c
build: detect Android via '__ANDROID__' macro
...
https://sourceforge.net/p/predef/wiki/OperatingSystems
2017-07-10 12:43:59 +03:00
Pascal Thomet
309c962169
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
2017-07-08 16:15:26 +02:00
Alexander Alekhin
da8dbf6cf5
ocl: async cl_buffer cleanup queue (for event callback)
2017-07-07 13:41:20 +03:00
Tomoaki Teshima
e7d5dbfec0
dispatch accumulate series
...
- use universal intrinsic for base
- dispatch for float/double version using AVX
- AVX2 optimization not done yet
2017-07-07 18:45:30 +09:00
Vadim Pisarevsky
ed9564106c
reuse AVX2-optimized kernels for AVX1 CPUs (like IvyBridge)
2017-07-06 21:36:59 +03:00
Alexander Alekhin
b32d914aab
static analyze: python dynamic_cast checks
2017-07-06 17:11:51 +03:00
Alexander Alekhin
daee982106
ocl: rework events handling with clSetEventCallback
2017-07-06 13:25:32 +03:00
Vitaly Tuzov
526d1d6db1
AVX optimized implementation of undistort migrated to separate file
2017-07-06 12:08:25 +03:00
Rostislav Vasilikhin
aa621d6f3c
magic constants explained
2017-07-06 00:30:53 +03:00
Rostislav Vasilikhin
704c688225
OCL code fixed, fix for NEON added
2017-07-05 22:08:49 +03:00
Rostislav Vasilikhin
6c71988c54
RGB2Luv_f: R, G, B limited to [0, 1]
2017-07-05 22:08:49 +03:00
Rostislav Vasilikhin
82811d0706
Luv: singularities fixed
2017-07-05 22:08:49 +03:00
Piotr Semenov
c5b5d5c8d3
Fix. Now cv::Rect() is the identity under cv::Rect::operator| operation
2017-07-05 19:01:13 +03:00
Alexander Alekhin
cc862e996e
videoio: fixes for GStreamer support
...
- emulated frame counter (with autodetection of GStreamer broken behavior)
- skip 'seek' tests if seeking is not supported by backend
- update 'fps' and total frames checks (increase error tolerance)
- update synthetic image generation
2017-07-05 16:52:48 +03:00
wzw
635342ab73
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.
2017-07-05 21:24:09 +08:00
catree
98c78e0acd
Use directly solvePnP when the number of input points is equal to the number of model points. Enable useExtrinsicGuess parameter. Return rvec and tvec estimated using all the inliers instead of the best rvec and tvec estimated during the Minimal Sample Sets step. Document the behavior of solvePnPRansac.
2017-07-05 13:17:38 +02:00
Alexander Alekhin
6833b46a05
videoio(test): fix message
2017-07-05 13:45:34 +03:00
Vitaly Tuzov
fadf25acd6
SSE4_1 optimized implementation of resize and warp functions migrated to separate file
2017-07-04 17:05:36 +03:00
Vitaly Tuzov
77264dcca9
AVX optimized implementation of haar migrated to separate file
2017-07-04 16:54:48 +03:00
Vitaly Tuzov
5448d9186a
AVX and SSE4.1 optimized conversion implementations migrated to separate files
2017-07-04 14:48:01 +03:00
Vladislav Sovrasov
2a2a1dc5b4
Get rid of OPENCV_NOSTL definition
2017-07-04 14:17:02 +03:00
Vitaly Tuzov
4d0f789e0a
AVX optimized implementation of separable filters migrated to separate file
2017-07-04 13:47:47 +03:00
Aleksandr Rybnikov
d3c14ce3ea
Added tests for ResNet-50 and SqueezeNet v1.1
2017-07-04 12:19:27 +03:00
Vladislav Sovrasov
42936d3227
imgproc: fix MORPH_HITMISS operation when kernel has no negative values
2017-07-04 11:17:44 +03:00
Alexander Alekhin
7b8e6307f8
Merge pull request #9080 from alalek:version_3.3.0-rc
...
version 3.3.0-rc
2017-07-03 16:21:45 +00:00
Alexander Alekhin
823353d3ac
Merge pull request #9067 from D-Alex:master
...
Fix error message fisheye CALIB_CHECK_COND
2017-07-03 16:20:03 +00:00
Tony Lian
c8783f3e23
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
2017-07-03 16:14:17 +00:00
Alexander Alekhin
9aaf6a66a3
Merge pull request #9073 from berak:dnn_fix_tutorial_links
2017-07-03 16:11:10 +00:00
Alexander Alekhin
ced9d2357c
Merge pull request #9070 from catree:imshow_64bits_doc
2017-07-03 16:10:13 +00:00
Alexander Alekhin
8aa3011f2d
Merge pull request #9064 from sadika9:patch-1
2017-07-03 16:07:53 +00:00
Alexander Alekhin
7bb9237d99
Merge pull request #9060 from alalek:canny_inplace_bug
2017-07-03 16:06:50 +00:00
Alexander Alekhin
11a726ceb3
Merge pull request #9057 from alalek:static_build_workaround
2017-07-03 16:05:31 +00:00
Alexander Alekhin
7621cc19dc
Merge pull request #9054 from zhmu:upstream
2017-07-03 16:04:11 +00:00
Alexander Alekhin
5590aea411
Merge pull request #8998 from abratchik:DNN.java.wrappers.fix
2017-07-03 16:02:49 +00:00
Vitaly Tuzov
3681dcef1a
AVX optimized implementation of resize and warp functions migrated to separate file
2017-07-03 18:18:20 +03:00
Alexander Alekhin
1b8d363231
version 3.3.0-rc
2017-07-03 16:47:05 +03:00
Alexander Alekhin
108188e42f
Merge pull request #9032 from sovrasov:mat_doc_update
2017-07-03 12:46:42 +00:00
Vladislav Sovrasov
f42b7d03b4
core: add a test of iteration through the Mat_ with range-based for
2017-07-03 12:49:17 +03:00
Vladislav Sovrasov
267fdc4c91
Add a note about cxx11 range-based loop in Mat_ documentation
2017-07-03 12:49:11 +03:00
Alexander Alekhin
32d1eb36df
dnn: fix links
2017-07-03 12:44:27 +03:00
Alexander Alekhin
b3f5e3bf94
core(stat): optimize size of binaries, drop AVX dispatch (no imrovements)
2017-07-02 22:45:10 +00:00
Alexander Alekhin
b66c349bba
core(stat): add required CV_AVX_GUARD
...
Added guard with 'vzeroupper' instruction
2017-07-02 22:45:10 +00:00
Alexander Alekhin
c45d3568ae
core(stat): register dispatched code, fix build
2017-07-02 22:45:10 +00:00
Alexander Alekhin
6a6222d21c
core(stat): remove useless checks
2017-07-02 22:45:10 +00:00
Alexander Alekhin
880052d3f3
core(stat): create dispatch.cpp file
2017-07-02 22:45:10 +00:00
Alexander Alekhin
85afbd409b
core(stat): move implementations into .hpp file w/o changes
2017-07-02 22:45:09 +00:00
Alexander Alekhin
03c3e0edcf
core(stat): stat.cpp minor refactoring
...
- remove unused code
- added: #if CV_ENABLE_UNROLLED in Hamming's functions
2017-07-02 22:45:09 +00:00
berak
34c0ab5878
dnn: fix some tutorial links
2017-07-02 10:09:27 +02:00
abratchik
8f7181429f
add java wrappers to dnn module
2017-07-02 11:46:20 +04:00
catree
d06619ab15
Add 64-bit imshow behavior in the documentation.
2017-07-02 00:41:29 +02:00
Alexander Duda
5ca7dcc6e7
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.
2017-07-01 13:31:21 -02:30
Maksim Shabunin
1f23202ad8
Issues found by static analysis (5th round)
2017-07-01 18:56:24 +03:00
tribta
6512a4b7e3
OpenCV Java Highgui Class
...
The objective is to:
*Reduce greatly the number of lines of code in the Java codes;
*Make it easy for Java users to add a trackbar and show the results;
*Get the code more similar between C++, Java and Python, making the tutorials more uniform.
2017-07-01 11:07:20 +01:00
Sadika Sumanapala
40e1f2fc03
Fix style
2017-07-01 06:59:27 +05:30
Alexander Alekhin
582bb3c311
core(perf): added Hamming tests
2017-07-01 00:49:18 +00:00
Alexander Alekhin
cdf2a59afa
canny: disallow broken inplace arguments
2017-06-30 19:32:16 +03:00
Alexander Alekhin
c5a6846866
static build workaround
2017-06-30 18:17:32 +03:00
Rink Springer
3ce1bca670
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.
2017-06-30 15:36:47 +02:00
Alexander Alekhin
6ea6e4bceb
binding: fix headers processing
2017-06-30 14:53:21 +03:00
Alexander Alekhin
2db45c8a85
hdr_parser: ignore lines with 'CV__' macros
2017-06-30 14:36:08 +03:00
Alexander Alekhin
a84a5e8f1a
Merge pull request #8936 from terfendail:clipline_fix
2017-06-30 10:55:09 +00:00
Maksim Shabunin
638a01a014
Merge pull request #9038 from mshabunin:fix-static-4
2017-06-30 10:39:36 +00:00
Maksim Shabunin
90d2f8b5fe
Merge pull request #9035 from alalek:dnn_fix_halide_tests
2017-06-30 10:29:13 +00:00
Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
2017-06-30 12:26:53 +03:00
Neil Shipp
3f72ff215e
Fix WinRT build breaks in highgui and videoio.
2017-06-29 17:56:09 -07:00
Alexander Alekhin
64b483c65b
Merge pull request #9033 from alalek:sgbm_disable_perf_in_debug
2017-06-29 16:16:55 +00:00
Aleksandr Rybnikov
fab4f4b9d5
Disabled logging in caffe parser in release
2017-06-29 17:36:48 +03:00
Alexander Alekhin
72a765d766
dnn: fix compilation of Halide tests
2017-06-29 16:36:34 +03:00
Vitaly Tuzov
1ed9a58b64
AVX optimized implementation of Harris corner detector migrated to separate file
2017-06-29 15:19:23 +03:00
Vadim Pisarevsky
2ac819018d
Merge pull request #9014 from sovrasov:compare_scalars_fix
2017-06-29 11:14:44 +00:00
Vadim Pisarevsky
5f1b6ee889
Merge pull request #9017 from sovrasov:parallel_for_cxx11
2017-06-29 11:12:57 +00:00
Vadim Pisarevsky
ac49a17a82
Merge pull request #9022 from dkurt:keep_conv_weights_for_halide
2017-06-29 11:09:17 +00:00
Vadim Pisarevsky
fb1dcdd17d
Merge pull request #9029 from alalek:dnn_cleanup_torch
2017-06-29 11:07:35 +00:00
Alexander Alekhin
b84cbeec8c
calib3d(perf): disable SGBM tests in debug mode
...
because they are too long (takes minutes)
2017-06-29 12:49:47 +03:00
Maksim Shabunin
f6a33c4826
Merge pull request #9031 from huangqinjin:gtk
2017-06-29 07:59:56 +00:00
Maksim Shabunin
f1a56cb4b7
Merge pull request #9028 from alalek:dnn_experimental_namespace
2017-06-29 07:37:04 +00:00
Maksim Shabunin
9087778b06
Merge pull request #8895 from lewisjb:python-docstrings
2017-06-29 07:35:33 +00:00
Maksim Shabunin
ace0701a46
Merge pull request #9019 from alalek:dnn_trace
2017-06-29 07:33:46 +00:00
Maksim Shabunin
ca9622145e
Merge pull request #9026 from alalek:remove_danger_define
2017-06-29 07:28:38 +00:00
huangqinjin
aa75b6067c
gtk: check NULL before unref
2017-06-29 11:35:34 +08:00
Alexander Alekhin
511e50c19c
dnn: cleanup torch integration code
2017-06-28 21:49:37 +00:00
Alexander Alekhin
324851882a
Merge pull request #9025 from mshabunin:fix-static-3
2017-06-28 20:50:21 +00:00
Alexander Alekhin
da0960321b
dnn: added "hidden" experimental namespace
...
Main purpose of this namespace is to avoid using of incompatible
binaries that will cause applications crashes.
This additional namespace will not impact "Source code API".
This change allows to maintain ABI checks (with easy filtering out).
2017-06-28 20:36:57 +00:00
Alexander Alekhin
b9a2d7b600
build: remove #define to prevent unexpected impact on user applications
2017-06-28 18:50:55 +03:00
Maksim Shabunin
a769d69a9d
Fixed several issues found by static analysis
2017-06-28 18:06:18 +03:00
dkurt
b46f5b1b38
Align convolutional layer weights separately from origin ones
2017-06-28 17:05:56 +03:00
Vladislav Sovrasov
08db55fb62
core: add CV_CXX_11 flag to cvdef.h
2017-06-28 16:17:53 +03:00
Vladislav Sovrasov
3c748ccf10
core: add an ability to use cxx11 lambda as a parallel_for_ body
2017-06-28 16:16:05 +03:00
Tong Ke
8088d6785a
Merge pull request #8585 from tonyke1993:ap3p
...
Enable p3p and ap3p in solvePnPRansac (#8585 )
* add paper info
* allow p3p and ap3p being RANSAC kernel
* keep previous code
* apply catrees comment
* fix getMat
* add comment
* add solvep3p test
* test return value
* fix warnings
2017-06-28 15:27:30 +03:00
Vladislav Sovrasov
35a1ecef2a
core: fix infinite recursion in compare
2017-06-28 15:00:52 +03:00
Alexander Alekhin
ed10383359
dnn: added trace macros
2017-06-28 14:57:26 +03:00
Alexander Alekhin
dcf3d988d5
Merge pull request #8543 from csukuangfj:fix-String
2017-06-28 11:20:29 +00:00
Vadim Pisarevsky
7567eb8433
Merge pull request #8953 from mattmyne:cocoa_window_32_64_objc_fix
2017-06-28 10:56:21 +00:00
Vadim Pisarevsky
c5faa9aefa
Merge pull request #9013 from arrybn:ssd_last_layers_optim
2017-06-28 10:38:55 +00:00
Vadim Pisarevsky
bbb14d3746
Merge pull request #9003 from dkurt:halide_bug_fixes
2017-06-28 08:48:27 +00:00
Aleksandr Rybnikov
ec321e651f
Removed usage of std::map in DetectionOutput layer
2017-06-28 11:31:38 +03:00
Vadim Pisarevsky
2ae849091c
Merge pull request #9009 from alalek:fix_dnn_initialization
2017-06-28 08:26:29 +00:00
Vadim Pisarevsky
8b3d6603d5
another round of dnn optimization ( #9011 )
...
* another round of dnn optimization:
* increased malloc alignment across OpenCV from 16 to 64 bytes to make it AVX2 and even AVX-512 friendly
* improved SIMD optimization of pooling layer, optimized average pooling
* cleaned up convolution layer implementation
* made activation layer "attacheable" to all other layers, including fully connected and addition layer.
* fixed bug in the fusion algorithm: "LayerData::consumers" should not be cleared, because it desctibes the topology.
* greatly optimized permutation layer, which improved SSD performance
* parallelized element-wise binary/ternary/... ops (sum, prod, max)
* also, added missing copyrights to many of the layer implementation files
* temporarily disabled (again) the check for intermediate blobs consistency; fixed warnings from various builders
2017-06-28 11:15:22 +03:00
Alexander Alekhin
00dd433368
dnn: fix LayerFactory initialization
2017-06-27 23:19:53 +03:00
Alexander Alekhin
82ec76c123
Merge pull request #8990 from mshabunin:fix-static-2
2017-06-27 14:53:26 +00:00
Maksim Shabunin
1c4fb418cf
Merge pull request #9007 from alalek:issue_9001
2017-06-27 14:38:43 +00:00
Maksim Shabunin
58c5be0002
Merge pull request #9006 from alalek:videoio_synchronize_ffmpeg_open
2017-06-27 14:19:07 +00:00
Vadim Pisarevsky
9e9f57c139
Merge pull request #9004 from alalek:fix_build_flann_sdl
2017-06-27 14:05:23 +00:00
Alexander Alekhin
f8a75c4361
dispatch: added CV_TRY_${OPT} macro, fix dnn build
...
- 1: OPT is available directly or via dispatcher
- 0: optimization is not compiled at all
2017-06-27 17:05:15 +03:00
Alexander Alekhin
a87d6b098f
videoio: synchronize ffmpeg open() call
2017-06-27 16:32:32 +03:00
Alexander Alekhin
22d2207d41
flann: fix build with MSVC /sdl option
2017-06-27 15:25:19 +03:00
Alexander Alekhin
9ee60dbff2
Merge pull request #8963 from likan999:fix-java-camera-view
2017-06-27 11:57:13 +00:00
dkurt
121789f78e
Fixed some bugs from Halide tests
2017-06-27 14:52:46 +03:00
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
2017-06-27 14:30:26 +03:00
Alexander Alekhin
b991665b5d
Merge pull request #9000 from alalek:fix_winpack_build
2017-06-27 11:10:46 +00:00
Alexander Alekhin
eff47b1260
Merge pull request #8997 from alalek:fix_build_warnings
2017-06-27 09:57:39 +00:00
Alexander Alekhin
16d1bbf2ea
dnn: fix build
...
- winpack
- opencv_world
2017-06-27 09:07:01 +03:00
Alexander Alekhin
650830b9d6
build: eliminate warning
2017-06-27 08:16:40 +03:00
Alexander Alekhin
45cbc512bf
build: fix viz tests
...
removed test_precomp.cpp
2017-06-27 08:03:27 +03:00
Vadim Pisarevsky
ef2e5a9f82
Merge pull request #8988 from sovrasov:repeat_src_eq_dst_fix
2017-06-26 21:58:26 +00:00
Vadim Pisarevsky
48924cd874
Merge pull request #8989 from alalek:move_dnn_module
2017-06-26 21:57:26 +00:00
Alexander Alekhin
986d27e49c
dnn: fix failed Torch tests
...
"Torch invalid argument 2: position must be smaller than LLONG_MAX"
These conditions are always true for "long position" argument.
2017-06-26 22:02:22 +03:00
Rostislav Vasilikhin
e63feba8e2
fixed typo
2017-06-26 20:19:18 +03:00
Alexander Alekhin
93091ba203
dnn: AVX2 fix invalid unaligned read
2017-06-26 19:48:42 +03:00
Alexander Alekhin
623de337e8
dnn: fix build warnings
2017-06-26 19:48:42 +03:00
Alexander Alekhin
006966e629
trace: initial support for code trace
2017-06-26 17:07:13 +03:00
Alexander Alekhin
e49c429162
viz: fix tests build
2017-06-26 17:05:06 +03:00
Vitaly Tuzov
3d7fd4132b
Fixed clipLine evaluation for very long lines
2017-06-26 16:00:29 +03:00
Alexander Alekhin
ee54bafe6b
dnn: fix dnn python test files
2017-06-26 15:13:00 +03:00
Alexander Alekhin
e03569f3a8
dnn: remove obsolete "build opencv_contrib with dnn module" tutorial
2017-06-26 15:12:00 +03:00
Alexander Alekhin
382e38941c
dnn: fix documentation links
2017-06-26 15:10:50 +03:00
Alexander Alekhin
14de8ac951
dnn: move samples
2017-06-26 14:51:12 +03:00
Alexander Alekhin
6031c79197
dnn: remove unused README
2017-06-26 14:51:12 +03:00
Alexander Alekhin
7f12836df9
dnn: fix public headers guards
2017-06-26 14:21:33 +03:00
Vladislav Sovrasov
4f9871817a
core: forbid handling of the case when src=dst in cv::repeat
2017-06-26 14:02:52 +03:00
Alexander Alekhin
93729784bb
dnn: move module from opencv_contrib
...
e6f63c7a38/modules/dnn
2017-06-26 13:41:51 +03:00
Maksim Shabunin
8c27ceb9de
Merge pull request #8981 from alalek:port_8979
2017-06-26 09:25:23 +00:00
Alexander Alekhin
d7597a8610
videoio: do not mix CV_CAP
and CAP_
APIs enum values
2017-06-25 23:35:33 +03:00
Alexander Alekhin
460e9bf0af
videoio: drop changes from legacy C-API header
2017-06-25 23:25:56 +03:00
Alexander Alekhin
23f4bff742
videoio: update VideoWriter apiPreference parameter position
2017-06-25 22:57:24 +03:00
catree
a084501ecf
Add a note to morphologyEx documentation to clarify the behavior when iterations > 1.
2017-06-25 00:16:16 +02:00
Alexander Alekhin
35a2f2fef9
videoio(macosx): fix array access exception in AVFoundation
2017-06-24 11:07:57 +03:00
James Clarke
25020f2672
fast_math.hpp: Use __asm__ rather than asm; fixes including with -std=c99
2017-06-23 15:28:09 +01:00
Vadim Pisarevsky
fa7e7e0ff9
Merge pull request #8900 from alalek:update_android_build
2017-06-23 10:58:53 +00:00
Maksim Shabunin
d27009c775
Merge pull request #8856 from mshabunin:media-tests-upgrade
2017-06-22 11:45:52 +00:00
likan999
74127d44d0
More accurate condition to detect emulator
...
Previous commit, 6f39f9a
, tries to fix the color issue for emulator. But the condition for detecting emulator is incomplete, e.g. it stops working for emulators using Google Play, whose Build.BRAND=="google". https://stackoverflow.com/a/21505193 shows a more accurate condition for this.
2017-06-22 00:47:15 -07:00
dkurt
e74fed5c84
Catch SkipTestException in performance tests
2017-06-21 21:30:52 +03:00
Dmitry Kurtaev
16368a275b
cmake: add Halide support ( #8794 )
2017-06-21 14:33:47 +03:00
Jiri Horner
5f20e802d2
Merge pull request #8869 from hrnr:akaze_part1
...
[GSOC] Speeding-up AKAZE, part #1 (#8869 )
* ts: expand arguments before stringifications in CV_ENUM and CV_FLAGS
added protective macros to always force macro expansion of arguments. This allows using CV_ENUM and CV_FLAGS with macro arguments.
* feature2d: unify perf test
use the same test for all detectors/descriptors we have.
* added AKAZE tests
* features2d: extend perf tests
* add BRISK, KAZE, MSER
* run all extract tests on AKAZE keypoints, so that the test si more comparable for the speed of extraction
* feature2d: rework opencl perf tests
use the same configuration as cpu tests
* feature2d: fix descriptors allocation for AKAZE and KAZE
fix crash when descriptors are UMat
* feature2d: name enum to fix build with older gcc
* Revert "ts: expand arguments before stringifications in CV_ENUM and CV_FLAGS"
This reverts commit 19538cac1e
.
This wasn't a great idea after all. There is a lot of flags implemented as #define, that we don't want to expand.
* feature2d: fix expansion problems with CV_ENUM in perf
* expand arguments before passing them to CV_ENUM. This does not need modifications of CV_ENUM.
* added include guards to `perf_feature2d.hpp`
* feature2d: fix crash in AKAZE when using KAZE descriptors
* out-of-bound access in Get_MSURF_Descriptor_64
* this happened reliably when running on provided keypoints (not computed by the same instance)
* feature2d: added regression tests for AKAZE
* test with both MLDB and KAZE keypoints
* feature2d: do not compute keypoints orientation twice
* always compute keypoints orientation, when computing keypoints
* do not recompute keypoint orientation when computing descriptors
this allows to test detection and extraction separately
* features2d: fix crash in AKAZE
* out-of-bound reads near the image edge
* same as the bug in KAZE descriptors
* feature2d: refactor invariance testing
* split detectors and descriptors tests
* rewrite to google test to simplify debugging
* add tests for AKAZE and one test for ORB
* stitching: add tests with AKAZE feature finder
* added basic stitching cpu and ocl tests
* fix bug in AKAZE wrapper for stitching pipeline causing lots of
! OPENCV warning: getUMat()/getMat() call chain possible problem.
! Base object is dead, while nested/derived object is still alive or processed.
! Please check lifetime of UMat/Mat objects!
2017-06-21 14:33:09 +03:00
Vadim Pisarevsky
437ca0b62a
Merge pull request #8949 from alalek:fix_sortIdx
2017-06-21 11:23:10 +00:00
Matt Bennett
05acf40aff
remove ARC and auto synthesize assumptions in cocoa_window.mm
2017-06-21 12:00:26 +01:00
Alexander Alekhin
3e3e2dd512
android: make optional "cpufeatures", build fixes for NDK r15
2017-06-21 13:34:19 +03:00
Vadim Pisarevsky
2c30f358dc
Merge pull request #8947 from alalek:vs_version
2017-06-21 09:33:52 +00:00
Alexander Alekhin
d3ebe665e0
core: fix IPP optimization for sortIdx
2017-06-21 03:04:16 +00:00
Alexander Alekhin
9067310166
core(test): added cv::sortIdx accuracy tests
2017-06-21 03:04:16 +00:00
Maksim Shabunin
87b569d812
Rewritten some tests in videoio and imgcodecs modules
...
general:
- all iterative tests have been replaced with parameterized tests
- old-style try..catch tests have been modified to use EXPECT_/ASSERT_ gtest macros
- added temporary files cleanup
- modified MatComparator error message formatting
imgcodecs:
- test_grfmt.cpp split to test_jpg.cpp, test_png.cpp, test_tiff.cpp, etc.
videoio:
- added public HAVE_VIDEO_INPUT, HAVE_VIDEO_OUTPUT definitions to cvconfig.h
- built-in MotionJPEG codec could not be tested on some platforms (read_write test was disabled if ffmpeg is off, encoding/decoding was handled by ffmpeg otherwise).
- image-related tests moved to imgcodecs (Videoio_Image)
- several property get/set tests have been combined into one
- added MotionJPEG test video to opencv_extra
2017-06-20 18:20:41 +03:00
Maksim Shabunin
8b664d6122
Merge pull request #8825 from mshabunin:media-sdk-support
2017-06-20 15:15:51 +00:00
Alexander Alekhin
43b03b6517
Merge pull request #8864 from sovrasov:calib_flags_update
2017-06-20 15:12:50 +00:00
Alexander Alekhin
a9cc87636f
build: update modules descriptions
2017-06-20 15:45:23 +03:00
Maksim Shabunin
c06f3d63e8
Initial version of MediaSDK integration:
...
- cmake dependencies search (WITH_MFX option)
- raw H264, H265, MPEG2 encoding and decoding
- tests for supported formats
2017-06-20 12:15:10 +03:00
Maksim Shabunin
68d01972fe
Merge pull request #8883 from abratchik:DNN.java.wrappers.fix
2017-06-20 09:05:53 +00:00
Maksim Shabunin
1f4067112f
Merge pull request #8920 from sovrasov:video_vriter_ext
2017-06-19 10:52:34 +00:00
Vladislav Sovrasov
f1c16f42b4
video: add one more constructor for VideoWriter
2017-06-19 12:11:14 +03:00
abratchik
037d8fbdcd
Refactor OpenCV Java Wrapping
2017-06-15 20:35:12 +04:00
Alexander Alekhin
3ea02e4fcc
Merge pull request #8925 from savuor:fix/softfloat_comments
2017-06-15 16:12:30 +00:00
Alexander Alekhin
b21b694444
Merge pull request #8924 from tomoaki0705:fixWarningResize
2017-06-15 16:11:18 +00:00
Alexander Alekhin
7580db09ad
Merge pull request #8922 from tomoaki0705:fixWarningJetsonTK1
2017-06-15 16:09:35 +00:00
Rostislav Vasilikhin
939c8e8a99
float constant replaced by int hex representations
2017-06-15 15:10:41 +03:00
Tomoaki Teshima
5ad3ddc1b6
suppress warning
...
- check if compiler is Intel compiler
- remove not referenced variables
2017-06-15 18:59:48 +09:00
Tomoaki Teshima
bd215fbf33
suppress warning on Jetson TK1
2017-06-15 18:28:13 +09:00
Alexander Alekhin
26e9b42a44
Merge pull request #8915 from sovrasov:deniose_add_assert
2017-06-14 19:17:28 +00:00
Alexander Alekhin
4f35a592a1
Merge pull request #8912 from alalek:fix_cxx11_mac_flann
2017-06-14 19:15:21 +00:00
Alexander Alekhin
9b902adea6
Merge pull request #8832 from terfendail:perf_accumulate_fix
2017-06-14 18:49:09 +00:00
Rostislav Vasilikhin
29593635ed
licence updated
2017-06-14 21:20:10 +03:00
Rostislav Vasilikhin
2ad612f475
removed MSVC warning suppression
2017-06-14 21:00:06 +03:00
Alexander Alekhin
cf86f88c71
Merge pull request #8911 from alalek:fix_vsum4
2017-06-14 12:00:58 +00:00
Vladislav Sovrasov
234ad8fbee
photo: add assertion on empty image in denoising
2017-06-14 13:57:07 +03:00
Alexander Alekhin
e23b59da5c
build: fix v_reduce_sum4 (requires SSE3)
2017-06-14 09:37:06 +00:00
lewisjb
078b4cc971
Added Python Docstrings
2017-06-14 16:46:08 +10:00
Alexander Alekhin
9fa90c8851
Merge pull request #8899 from tomoaki0705:fixSuppressWarningsUnreachable
2017-06-14 01:07:47 +00:00
Alexander Alekhin
cc52523375
flann: add normal assignment operator for cvflann::any
2017-06-14 00:55:52 +00:00
Vadim Pisarevsky
f49f056d29
Merge pull request #8907 from vpisarev:dnn_fast_conv
2017-06-13 21:04:31 +00:00
Vadim Pisarevsky
e72e34ec36
Merge pull request #8843 from terfendail:resizenn_patch
2017-06-13 17:29:30 +00:00
Vladislav Sovrasov
c0e456dee2
calib3d: use calibration flags from the new enums
2017-06-13 19:55:53 +03:00
Vladislav Sovrasov
d121d1c528
calib3d: add CALIB_FIX_TANGENT_DIST flag
2017-06-13 19:40:49 +03:00
Vitaly Tuzov
3a5e036feb
Updated fix for accumulate performance test in case of multiple iterations
2017-06-13 19:23:34 +03:00
Vitaly Tuzov
2de1aac665
Updated alignment declarations to CV_DECL_ALIGNED macro
2017-06-13 18:44:38 +03:00
Vadim Pisarevsky
fbafc700ea
added v_reduce_sum4() universal intrinsic; corrected number of threads in cv::getNumThreads() in the case of GCD
2017-06-13 18:04:00 +03:00
Tomoaki Teshima
94848a3e1f
suppress unreachable code warning
...
- fix the define condition based on the comment
2017-06-13 08:11:04 +09:00
Alexander Alekhin
a3189e36c0
Merge pull request #8753 from RyuheiMori:fix-cpu-feature-detection-on-android
2017-06-12 16:08:08 +00:00
Alexander Alekhin
3dee87b697
update CPU detection on ANDROID patch
2017-06-11 05:06:49 +00:00
Alexander Alekhin
e665be1d70
photo: fix integer overflow
...
There is no cast to wide integer type:
std::numeric_limits<ST>::max() * std::numeric_limits<ST>::max()
2017-06-09 00:19:29 +00:00
Alexander Alekhin
0213b508dc
Merge pull request #8868 from alalek:fix_build_softfloat
2017-06-08 20:22:53 +00:00
Alexander Alekhin
ea93bcc347
Merge pull request #8863 from LukeZheZhu:pyrlk_small_winsize
2017-06-08 20:15:04 +00:00
Alexander Alekhin
e3c0d11b55
Merge pull request #8876 from alalek:fix_build_msvs
2017-06-08 19:53:29 +00:00
Maksim Shabunin
f71ea4dfe9
Merge pull request #8816 from mshabunin:sprintf-fix
...
Fixed snprintf for VS 2013 (#8816 )
* Fixed snprintf for VS 2013
* snprintf: removed declaration from header, changed implementation
* cv_snprintf corrected according to comments
* update snprintf patch
2017-06-08 21:53:16 +02:00
Alexander Alekhin
5c0a287ce8
build: fix warning
...
C4189: 'clImageUV' : local variable is initialized but not referenced
2017-06-08 20:40:36 +03:00
Alexander Alekhin
781515c514
build: fix "ambiguous call" (MSVS2010)
2017-06-08 20:40:35 +03:00
Alexander Alekhin
515e01e649
Merge pull request #8852 from BKNio:testsForVideoStab
2017-06-08 13:36:51 +00:00
Dinar
1887dcb397
add tests for videostab;
2017-06-08 09:36:17 +03:00
Alexander Alekhin
fc84c48bd7
Merge pull request #8860 from alalek:fix_java_headers
2017-06-08 02:43:09 +00:00
Alexander Alekhin
71517a910a
build: fix errors for MSVS2010-2013, reduce default softfloat scope
2017-06-08 01:09:21 +00:00
Vadim Pisarevsky
31c79668c8
Merge pull request #8803 from 4ekmah:sgbm_modehh4_SIMD
2017-06-07 13:35:53 +00:00
LukeZhu
cc47ee3b43
Modify the pyrlk.cl to support winSize from 8*8 to 24*24 for optical flow
2017-06-07 17:46:50 +08:00
Alexander Alekhin
59798b3f7c
java: use module's public headers only
2017-06-06 21:10:02 +03:00
Alexander Alekhin
125abe2fe4
Merge pull request #8838 from tomoaki0705:dispatchFp16
2017-06-06 15:31:42 +00:00
Tomoaki Teshima
e269ef96cb
update convertFp16 using CV_CPU_CALL_FP16
...
* avoid link error (move the implementation of software version to header)
* make getConvertFuncFp16 local (move from precomp.hpp to convert.hpp)
* fix error on 32bit x86
2017-06-06 22:26:51 +09:00
Pyotr Chekmaryov
a113e8f088
Fixing buildbot's messages.
2017-06-04 20:32:07 +03:00
Alexander Alekhin
3933958b34
photo(test): fix MergeRobertson test for AARCH64 build
2017-06-03 16:57:23 +03:00
Maksim Shabunin
9bb17caa24
Merge pull request #8842 from delftrobotics-forks:compile_fix_circlesgrid_debug
2017-06-02 10:19:33 +00:00
Vitaly Tuzov
59373a1ae1
AVX and SSE optimizations for resize NN
2017-06-01 19:08:55 +03:00
rmensing
79bb920dee
Compile fix for circlesgrid in debug.
2017-06-01 16:00:13 +02:00
Woody Chow
f743603b0a
Fallback to single threaded version of IPP gaussian blur / bilateral filter when the mutlithreaded version cannot be called.
2017-06-01 13:34:50 +09:00
Woody Chow
d22fb5f949
Multithread IPP gaussian blur
2017-05-31 18:16:47 +09:00
Werner Palfinger
0f42031b10
fixed typo in pyopencv_from Point3d
2017-05-30 16:49:23 +02:00
Maksim Shabunin
fdba548858
Merge pull request #8818 from mshabunin:java-cleanup-fix
2017-05-29 14:53:19 +00:00
Vadim Pisarevsky
89af053aed
Merge pull request #8797 from sovrasov:hog_sse_fix
2017-05-29 14:32:47 +00:00
Vadim Pisarevsky
c397361aa6
Merge pull request #8798 from BKNio:fix_motionEstimation
2017-05-29 14:31:03 +00:00
Rostislav Vasilikhin
c6a3a18894
SoftFloat integrated ( #8668 )
...
* everything is put into softfloat.cpp and softfloat.hpp
* WIP: try to integrate softfloat into OpenCV
* extra functions removed
* softfloat made stateless
* CV_EXPORTS added
* operators fixed
* exp added, log: WIP
* log32 fixed
* shorter names; a lot of TODOs
* log64 rewritten
* cbrt32 added
* minors, refactoring
* "inline" -> "CV_INLINE"
* cast to bool warnings fixed
* several warnings fixed
* fixed warning about unsigned unary minus
* fixed warnings on type cast
* inline -> CV_INLINE
* special cases processing added (NaNs, Infs, etc.)
* constants for NaN and Inf added
* more macros and helper functions added
* added (or fixed) tests for pow32, pow64, cbrt32
* exp-like functions fixed
* minor changes
* fixed random number generation for tests
* tests for exp32 and exp64: values are compared to SoftFloat-based naive implementation
* minor warning fix
* pow(f, i) 32/64: special cases handling added
* unused functions removed
* refactoring is in progress (not compiling)
* CV_inline added
* unions {uint_t, float_t} removed
* tests compilation fixed
* static const members -> static methods returning const
* reinterpret_cast
* warning fixed
* const-ness fixed
* all FP calculations (even compile-time) are done in SoftFloat + minor fixes
* pow(f, i) removed from interface (can cause incorrect cast) to internals of pow(f, f), tests fixed
* CV_INLINE -> inline
* internal constants moved to .cpp file
* toInt_minMag() methods merged into toInt() methods
* macros moved to .cpp file
* refactoring: types renamed to softfloat and softdouble; explicit constructors, etc.
* toFloat(), toDouble() -> operator float(), operator double()
* removed f32/f64 prefixes from functions names
* toType() methods removed, round() and trunc() functions added
* minor change
* minors
* MSVC: warnings fixed
* added int cvRound(), cvFloor, cvCeil, cvTrunc, saturate_cast<T>()
* typo fixed
* type cast fixed
2017-05-29 17:07:25 +03:00
Alexander Alekhin
d54b1ad88a
Merge pull request #8805 from catree:solvePnP_doc
2017-05-29 13:52:15 +00:00
Alexander Alekhin
36918b3bb8
Merge pull request #8814 from woodychow:openmp_num_threads
2017-05-29 13:17:41 +00:00
catree
542cdb2c39
Improve solvePnP doc, add assert >= 4 in solvePnP, escape underscore character for Scalar_ documentation.
...
Add reference to SOLVEPNP_ITERATIVE in the doc.
2017-05-29 14:59:14 +02:00
Maksim Shabunin
f4e18125b4
Do not clean src and gen directories when java is disabled
2017-05-29 13:54:36 +03:00
Woody Chow
6e00c7651b
Use num_threads clause of #pragma omp parallel instead to avoid calling omp_set_num_threads for the entire application
2017-05-29 14:16:10 +09:00
Pyotr Chekmaryov
c26fd68236
Performance tests are added.
2017-05-26 22:48:03 +00:00
Dinar Ahmatnurov
f241a371b3
fix estimateGlobalMotionRansac;
2017-05-26 16:10:07 +03:00
Vadim Pisarevsky
ee257ffe9e
Merge pull request #8455 from terfendail:ovxhal_skipsmall
2017-05-26 12:10:18 +00:00
Vladislav Sovrasov
6c164d86b9
obdetect: fix in SSE code
2017-05-26 14:26:05 +03:00
n001519
cc3fdd005e
fix the mser issue
2017-05-26 16:51:54 +08:00
Vitaly Tuzov
1d62a025b3
Moved size restrictions for OpenVX processed images to corresponding cpp files
2017-05-25 19:25:17 +03:00
Vadim Pisarevsky
11af7b7e55
Merge pull request #8307 from AhiyaHiya:dev_xcode_macos_universal_binary
2017-05-25 15:54:13 +00:00
Vadim Pisarevsky
ec49eb813c
Merge pull request #8314 from chacha21:fix_cuda_absdiff
2017-05-25 09:09:20 +00:00
Vadim Pisarevsky
2a5e12ccb5
Merge pull request #8789 from vpisarev:parallel_ccomp
2017-05-24 17:10:42 +00:00
Vadim Pisarevsky
ea8be57871
Merge pull request #8788 from sovrasov:calib_doc_update
2017-05-24 13:59:21 +00:00
Vadim Pisarevsky
6473018d69
eliminated trailing whitespaces
2017-05-24 16:54:12 +03:00
Vadim Pisarevsky
affb60093d
Merge branch 'master' of https://github.com/MicheleCancilla/opencv into parallel_ccomp
2017-05-24 16:51:18 +03:00
mschoeneck
4a4d94f266
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.
2017-05-24 16:20:25 +03:00
Vladislav Sovrasov
bf8415283a
calib3d: replace defines with enum values
2017-05-24 15:50:41 +03:00
Vadim Pisarevsky
2e056fbe8a
Merge pull request #6854 from sturkmen72:patch-8
2017-05-24 12:45:00 +00:00
Vadim Pisarevsky
9734ee13e5
Merge pull request #7865 from LaurentBerger:UserColormap
2017-05-24 12:43:55 +00:00
Vadim Pisarevsky
057c10baac
Merge pull request #8377 from ottogin:interpMultichannelImg
2017-05-24 12:38:41 +00:00