Alexander Alekhin
1283d62e49
ocl: Kernel::runProfiling()
2017-09-19 15:34:35 +03:00
Alexander Alekhin
d9ab31490c
ocl: profiling queue
2017-09-19 15:32:15 +03:00
Vadim Pisarevsky
f4136679ea
Merge pull request #9551 from ChristofKaufmann:MultiChannelMask
2017-09-18 09:28:34 +00:00
Christof Kaufmann
7ec59fc097
Revert changes of mean and meanStdDev
2017-09-17 21:00:28 +02:00
Alexander Alekhin
9dea296241
Merge pull request #9458 from csukuangfj:fix-doc
2017-09-15 19:35:01 +00:00
Vadim Pisarevsky
5707304777
Merge pull request #9633 from saskatchewancatch:psnr-doc
2017-09-15 12:26:34 +00:00
saskatchewancatch
a90a93b454
i9629 - Added actual documentation for cv::PSNR function
2017-09-14 18:20:00 -06:00
Vadim Pisarevsky
32bb71d686
Merge pull request #9603 from alalek:ocl_device_extensions
2017-09-13 14:43:36 +00:00
Vadim Pisarevsky
f1aa180a40
Merge pull request #9574 from saskatchewancatch:i9482
2017-09-13 13:59:43 +00:00
saskatchewancatch
c9d3c0f206
More whitespace fixes
2017-09-10 19:03:56 -06:00
Alexander Alekhin
169add5aa6
ocl: added cv::ocl::Device::isExtensionSupported() method
2017-09-10 20:32:30 +00:00
Alexander Alekhin
26ad229bd6
Merge pull request #9590 from alalek:ocl_runtime_fix
2017-09-09 19:30:07 +00:00
saskatchewancatch
30ff197f78
Fix whitespace issues
2017-09-08 20:27:03 -06:00
saskatchewancatch
8877e3aedb
Adjustmenbts
2017-09-08 19:55:19 -06:00
Alexander Alekhin
576a85368d
Merge pull request #9582 from sovrasov:fix_gcc7_macro_warning
2017-09-08 13:31:27 +00:00
Alexander Alekhin
44b75eb116
core: fix OpenCL runtime compilation with HAVE_OPENCL_STATIC
2017-09-08 12:43:33 +03:00
Pavel Vlasov
37ab318657
Compatibility improvement with old IPP versions (tested on 9.0.1);
...
Manual IPP dispatcher simplification;
2017-09-08 11:08:24 +03:00
saskatchewancatch
fda1e76776
Feedback.
...
Still need to remove the descriptions of these flags from cv::norm
2017-09-07 22:43:55 -06:00
Vladislav Sovrasov
eeba5c3603
core: fix gcc7 warning about empty VA_ARGS in Assert macro
2017-09-07 16:20:38 +03:00
Vadim Pisarevsky
d25cbaaba8
Merge pull request #9293 from sovrasov:assert_improvement
2017-09-07 11:17:42 +00:00
Maksim Shabunin
c92c99ed0b
Enabled forEach for const Mats
2017-09-07 11:35:14 +03:00
saskatchewancatch
570083fb9f
i9482:
...
Removing description for cv::NormTypes that's already in cv::norm
Masking out NORM_TYPE_MASK from docs since it's not intended to be exposed to user
2017-09-06 22:42:01 -06:00
saskatchewancatch
b32685c714
i9482: Improve documentation concerning norm functionality.
...
Added forkfour Latex command to math js support.
Split cv::norm documentation between the cv::norm and its overload, to make things clearer
Corrected some typos and cleaned up grammar.
Result is clearer documentation for the norms.
Work pending...
2017-09-06 22:35:39 -06:00
Christof Kaufmann
46a668c565
Add multi-channel mask support to mean, meanStdDev and setTo
...
This adds the possibility to use multi-channel masks for the functions
cv::mean, cv::meanStdDev and the method Mat::setTo. The tests have now a
probability to use multi-channel masks for operations that support them.
This also includes Mat::copyTo, which supported multi-channel masks
before, but there was no test confirming this.
2017-09-04 19:40:27 +02:00
Alexander Alekhin
0451629e22
core(persistence): resolve DMatch/KeyPoint problem
2017-08-31 19:35:48 +03:00
Alexander Alekhin
86b55b3923
core: eliminate CV_ELEM_SIZE()
2017-08-31 19:35:48 +03:00
Alexander Alekhin
7e12c879c2
core: extend traits::Type / traits::Depth for compatible types
...
DMatch and Keypoint are not compatible types (mixed float/int fields)
2017-08-31 19:35:48 +03:00
Alexander Alekhin
72f789bf34
core: fix type traits
2017-08-31 15:05:46 +03:00
Boris Fomitchev
dde04d5d3e
Addressing CUDA9 shfl deprecation
2017-08-29 13:27:21 -07:00
Maarten de Vries
3571e8f263
Restrict std::initializer_list constructors to arithmetic types.
2017-08-29 16:37:20 +02:00
Alexander Alekhin
034aaa7a70
Merge pull request #9465 from tomoaki0705:fixJetsonTK1Build
2017-08-29 11:46:10 +00:00
Tomoaki Teshima
6531fd142c
fix build error on Jetson TK1
...
* guard correctly in header file
* guard correctly in cmake file
2017-08-29 19:05:13 +09:00
KUANG Fangjun
11fa0094ff
Improve the documentation.
...
Add demo code for cv::reduce, cv::merge and cv::split.
2017-08-28 12:36:23 +02:00
Alexander Alekhin
603fa03ac6
Merge pull request #9441 from wzw-intel:delete_program
2017-08-25 12:03:27 +00:00
Wu Zhiwen
da3da84a20
ocl: Add a function to unload a run-time cached program
...
This function is the counterpart of "Context::getProg".
With this function, users have chance to unload a program
from global run-time cached programs, and save resource.
2017-08-25 08:42:11 +08:00
Alexander Alekhin
9c14a2f0aa
Merge pull request #9395 from lupustr3:pvlasov/icv2017u3_update
2017-08-24 11:48:53 +00:00
Boris Fomitchev
c48807c383
Merge pull request #9418 from borisfom:cuda9
...
CUDA9 build fixed, added detection (#9418 )
* CUDA9 build fixed, added detection
* Replacing deprecated __shfl_xxx with __shfl_sync, fixing bogus CUDA9 warnings
2017-08-24 07:11:44 +00:00
Alexander Alekhin
a893b147dc
Merge pull request #9428 from csukuangfj:fix-commandline-parser
2017-08-23 12:48:28 +00:00
Pavel Vlasov
a57718e1ac
ICV2017u3 package update;
...
- Optimizations set change. Now IPP integrations will provide code for SSE42, AVX2 and AVX512 (SKX) CPUs only. For HW below SSE42 IPP code is disabled.
- Performance regressions fixes for IPP code paths;
- cv::boxFilter integration improvement;
- cv::filter2D integration improvement;
2017-08-23 14:24:43 +03:00
KUANG Fangjun
97ec91ad67
fix cv::CommandLineParser.
...
It should handle bool value not only of "true" but also of "TRUE" and "True".
2017-08-23 11:38:58 +02:00
KUANG Fangjun
336996152a
Improve the documentation.
2017-08-20 17:21:39 +02:00
Alexander Alekhin
71e1889825
core: fix memcpy with zero size
2017-08-17 18:30:31 +03:00
Rostislav Vasilikhin
66b0651607
Merge pull request #9329 from savuor:softfloat_sincos
...
SoftFloat: added sin, cos and docs (#9329 )
* softfloat: comparison operators made inline, min() max() eps() isSubnormal() added
* softfloat: get/set sign/exp
* softfloat: get/set frac
* softfloat: tests rewritten with new tools
* softfloat: added pi(), sin(), cos()
* softfloat: more comments
* softfloat: updated sincos arg reduction
* softfloat: initial tests for sincos added
* softfloat: test works, code cleanup is pending
* softfloat: sincos argreduce rewritten
* softfloat: sincos refactored and simplified
* softfloat sincos: epsilons calibrated
* softfloat: junk code removed from tests
* softfloat: docs added
* inline comparisons undone; warning fixed
2017-08-15 09:23:26 +00:00
Alexander Alekhin
803274e207
Merge pull request #9358 from azatsman:master
2017-08-15 09:16:45 +00:00
Alexander Alekhin
a048cb9f0d
Merge pull request #9338 from dkurt:fix_ocl
2017-08-14 12:56:07 +00:00
Alex Zatsman
e2bfd1a036
Changed NORM_RELATIVE_INF, NORM_RELATIVE_L1 and NORM_RELATIVE_L2 to
...
NORM_RELATIVE | NORM_INF, NORM_RELATIVE | NORM_L1 and NORM_RELATIVE | NORM_L2
respectively in the documentation for cv::norm and cv::NormTypes
2017-08-13 11:55:35 -04:00
Alexander Alekhin
fa288af58b
Merge pull request #9343 from PhilLab:patch-4
2017-08-10 10:25:36 +00:00
Philipp Hasper
2c7a15b195
Clarified documentation cv::RotatedRect::points
2017-08-10 11:06:40 +02:00
Dmitry Kurtaev
41519d3ac0
Fixed some OpenCL interface bugs
2017-08-09 11:54:55 +03:00
Vladislav Sovrasov
9a10bdbae5
core: use new assert in matmul.cpp
2017-08-08 23:00:11 +03:00
KUANG, Fangjun
4bbe67451d
fix some typos in the documentation.
2017-08-08 17:32:04 +02:00
Alexander Alekhin
87c27a074d
Merge tag '3.3.0'
...
OpenCV 3.3.0
2017-08-04 00:00:18 +00:00
Alexander Alekhin
4af3ca4e4d
OpenCV version++
...
OpenCV 3.3.0
2017-08-03 23:58:23 +00:00
Alexander Alekhin
922ac1a1ec
Merge pull request #9303 from alalek:akaze_update
2017-08-03 17:17:03 +00:00
Alexander Alekhin
c95a97389d
Merge pull request #9235 from sturkmen72:patch-3
2017-08-03 17:04:28 +00:00
Alexander Alekhin
9ca39821c8
core: divUp function
2017-08-03 19:51:45 +03:00
Vladislav Sovrasov
5375a77f84
core: add multi-argument CV_Assert
2017-08-03 15:31:05 +03:00
Alexander Alekhin
321c0ec533
core: empty() for Rect/Size templates
...
Check for empty objects via .area() is not a good practice due overflows
2017-08-01 17:19:18 +03:00
Alexander Alekhin
37a7e08b38
Merge pull request #9097 from piotr-semenov:fix/cv_rect_monoid_identity
2017-08-01 13:06:37 +00:00
Alexander Alekhin
728bd68977
Merge pull request #9272 from tomoaki0705:fixCudaBuild
2017-07-31 12:02:40 +00:00
Tomoaki Teshima
1c49796e8e
guad for CUDA correctly
2017-07-31 18:42:36 +09:00
Suleyman TURKMEN
89480801b8
some improvements on tutorials
2017-07-29 20:08:19 +03:00
Alexander Alekhin
d35422b523
core(tls): hide assertions from Thread Sanitizer
2017-07-27 17:31:51 +03:00
Alexander Alekhin
602f047fe8
build: replace WIN32 => _WIN32
2017-07-25 13:30:48 +03:00
Alexander Alekhin
5bc291937f
test: FileStorage format regression test
2017-07-20 19:58:10 +03:00
Tomoaki Teshima
71496e3be4
fix build error on Visual Studio 2012
2017-07-20 22:56:05 +09:00
Alexander Alekhin
ca479c3f5b
Merge pull request #9161 from alalek:separate_debug_symbols
2017-07-19 15:34:43 +00:00
Alexander Alekhin
acc8589083
core: clarify documentation of cv::Mat::deallocate() method
2017-07-17 13:31:47 +03:00
Vladislav Sovrasov
e5fbb4f5d2
Merge pull request #9034 from sovrasov:mats_from_initializer_list
...
Add constructors taking initializer_list for some of OpenCV data types (#9034 )
* Add a constructor taking initializer_list for Matx
* Add a constructor taking initializer list for Mat and Mat_
* Add one more method to initialize Mat to the corresponding tutorial
* Add a note how to initialize Matx
* CV_CXX_11->CV_CXX11
2017-07-14 17:17:09 +00:00
Alexander Alekhin
11626fe32c
Merge pull request #8975 from sovrasov:fs_additional_errors
2017-07-14 17:13:50 +00:00
Alexander Alekhin
4e39d0371d
Merge pull request #9074 from alalek:cpu_dispatch_core_hamming
...
cpu dispatch(core): hamming
2017-07-14 16:48:07 +00:00
Alexander Alekhin
928bfe0b93
Merge pull request #9088 from sovrasov:no_nostl
...
core: get rid of OPENCV_NOSTL definition
2017-07-14 16:26:03 +00:00
Alexander Alekhin
e251ed7773
Merge pull request #9122 from ivsgroup:fix_msvc_virtual_destructor
2017-07-14 14:37:22 +00:00
Alexander Alekhin
10e6491c22
Merge pull request #9024 from tomoaki0705:featureDispatchAccumulate
2017-07-14 14:30:06 +00:00
Alexander Alekhin
f448d75aa8
build: added DEBUG build guard
...
To prevent linkage of binary incompatible DEBUG/RELEASE binaries/runtimes
2017-07-14 01:25:31 +03:00
Alexander Alekhin
9b9e685dbc
Merge pull request #9142 from alalek:vzeroupper_guard_unused_warning
2017-07-12 16:44:00 +00: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
Alexander Alekhin
e7cc2eea1d
build: fix unused variable warning for vzeroupper guard
2017-07-11 16:46:35 +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
Piotr Semenov
c5b5d5c8d3
Fix. Now cv::Rect() is the identity under cv::Rect::operator| operation
2017-07-05 19:01:13 +03:00
Vladislav Sovrasov
2a2a1dc5b4
Get rid of OPENCV_NOSTL definition
2017-07-04 14:17:02 +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
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
8aa3011f2d
Merge pull request #9064 from sadika9:patch-1
2017-07-03 16:07:53 +00:00
Alexander Alekhin
1b8d363231
version 3.3.0-rc
2017-07-03 16:47:05 +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
b66c349bba
core(stat): add required CV_AVX_GUARD
...
Added guard with 'vzeroupper' instruction
2017-07-02 22:45:10 +00:00
Sadika Sumanapala
40e1f2fc03
Fix style
2017-07-01 06:59:27 +05:30
Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
2017-06-30 12:26:53 +03:00
Vadim Pisarevsky
5f1b6ee889
Merge pull request #9017 from sovrasov:parallel_for_cxx11
2017-06-29 11:12:57 +00:00
Alexander Alekhin
b9a2d7b600
build: remove #define to prevent unexpected impact on user applications
2017-06-28 18:50:55 +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
Alexander Alekhin
dcf3d988d5
Merge pull request #8543 from csukuangfj:fix-String
2017-06-28 11:20: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
82ec76c123
Merge pull request #8990 from mshabunin:fix-static-2
2017-06-27 14:53:26 +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
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
2017-06-27 14:30:26 +03:00
Alexander Alekhin
006966e629
trace: initial support for code trace
2017-06-26 17:07:13 +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
Alexander Alekhin
3e3e2dd512
android: make optional "cpufeatures", build fixes for NDK r15
2017-06-21 13:34:19 +03:00
Rostislav Vasilikhin
29593635ed
licence updated
2017-06-14 21:20:10 +03:00
Alexander Alekhin
e23b59da5c
build: fix v_reduce_sum4 (requires SSE3)
2017-06-14 09:37:06 +00: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
Alexander Alekhin
71517a910a
build: fix errors for MSVS2010-2013, reduce default softfloat scope
2017-06-08 01:09:21 +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
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
Vadim Pisarevsky
ee257ffe9e
Merge pull request #8455 from terfendail:ovxhal_skipsmall
2017-05-26 12:10:18 +00:00
Vitaly Tuzov
1d62a025b3
Moved size restrictions for OpenVX processed images to corresponding cpp files
2017-05-25 19:25:17 +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
krishraghuram
9ea2f5211e
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
2017-05-24 13:31:35 +03:00
Vadim Pisarevsky
a065e4b9aa
Merge pull request #8769 from mshabunin:kw-fixes
2017-05-23 14:59:36 +00:00
Alexander Alekhin
0448260ed7
Merge pull request #8542 from jveitchmichaelis:update-cudadevo-doc
...
Update documentation for getCudaEnabledDeviceCount
2017-05-23 17:07:20 +03:00
Maksim Shabunin
b04ed5956e
Fixed several issues found by static analysis in core module
2017-05-23 12:35:31 +03:00
Alexander Alekhin
c5e9d1adae
macro for static analysis tools
2017-05-23 12:35:31 +03:00
cDc
003745432f
fix Mat_ release #8680
2017-05-23 12:19:57 +03:00
Vadim Pisarevsky
925594d1e3
Merge pull request #7894 from alalek:ocl_program
2017-05-03 13:48:58 +00:00
Vadim Pisarevsky
dd81c29834
Merge pull request #8359 from csukuangfj:patch-fix-error-code-documentation
2017-05-03 13:48:28 +00:00
Vadim Pisarevsky
fe2416575b
Merge pull request #8432 from csukuangfj:issue-8411
2017-05-03 12:39:55 +00:00
Vadim Pisarevsky
b92bbffa1a
Merge pull request #8557 from grundman:patch-3
2017-05-03 12:12:59 +00:00
André Mewes
70e6391f38
create homogeneous affine matrix when constructing from 4x3 cv::Mat
2017-05-02 14:09:20 +03:00
Robert Bragg
8f5ea7deda
core: avoid clash with _N define from ctype.h in headers
...
This updates the public headers to use _Nm instead of _N in templates
since _N is defined by the widely used ctype.h.
2017-04-27 14:45:24 +01:00
Alexander Alekhin
26be2402a3
Merge pull request #8629 from lupustr3:pvlasov/icv2017u2_update2
2017-04-26 10:45:37 +00:00
Pavel Vlasov
11c2ffaf1c
Update for IPP for OpenCV 2017u2 integration;
...
Updated integrations for:
cv::split
cv::merge
cv::insertChannel
cv::extractChannel
cv::Mat::convertTo - now with scaled conversions support
cv::LUT - disabled due to performance issues
Mat::copyTo
Mat::setTo
cv::flip
cv::copyMakeBorder - currently disabled
cv::polarToCart
cv::pow - ipp pow function was removed due to performance issues
cv::hal::magnitude32f/64f - disabled for <= SSE42, poor performance
cv::countNonZero
cv::minMaxIdx
cv::norm
cv::canny - new integration. Disabled for threaded;
cv::cornerHarris
cv::boxFilter
cv::bilateralFilter
cv::integral
2017-04-25 15:53:12 +03:00
Vadim Pisarevsky
96aaac186d
Merge pull request #8616 from vpisarev:dnn4
2017-04-25 06:32:16 +00:00
Peter Würtz
4c095a76c0
Add docstring for UMat::handle
2017-04-22 09:44:29 +02:00
Alexander Alekhin
f1c8094f5f
Merge pull request #8575 from lupustr3:pvlasov/icv2017u2_initial_update
2017-04-21 10:55:29 +00:00
Pavel Vlasov
35c7216846
IPP for OpenCV 2017u2 initial enabling patch;
2017-04-20 20:26:30 +03:00
Vadim Pisarevsky
dd54f7a22a
got rid of Blob and BlobShape completely; use cv::Mat and std::vector<int> instead
2017-04-19 23:20:17 +03:00
Arnaud Brejeon
636ab095b0
Merge pull request #8535 from arnaudbrejeon:std_array
...
Add support for std::array<T, N> (#8535 )
* Add support for std::array<T, N>
* Add std::array<Mat, N> support
* Remove UMat constructor with std::array parameter
2017-04-19 13:13:39 +03:00
insoow
2922738b6d
Merge pull request #8104 from insoow:master
...
Gemm kernels for Intel GPU (#8104 )
* Fix an issue with Kernel object reset release when consecutive Kernel::run calls
Kernel::run launch OCL gpu kernels and set a event callback function
to decreate the ref count of UMat or remove UMat when the lauched workloads
are completed. However, for some OCL kernels requires multiple call of
Kernel::run function with some kernel parameter changes (e.g., input
and output buffer offset) to get the final computation result.
In the case, the current implementation requires unnecessary
synchronization and cleanupMat.
This fix requires the user to specify whether there will be more work or not.
If there is no remaining computation, the Kernel::run will reset the
kernel object
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* GEMM kernel optimization for Intel GEN
The optimized kernels uses cl_intel_subgroups extension for better
performance.
Note: This optimized kernels will be part of ISAAC in a code generation
way under MIT license.
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* Fix API compatibility error
This patch fixes a OCV API compatibility error. The error was reported
due to the interface changes of Kernel::run. To resolve the issue,
An overloaded function of Kernel::run is added. It take a flag indicating
whether there are more work to be done with the kernel object without
releasing resources related to it.
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* Renaming intel_gpu_gemm.cpp to intel_gpu_gemm.inl.hpp
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* Revert "Fix API compatibility error"
This reverts commit 2ef427db91
.
Conflicts:
modules/core/src/intel_gpu_gemm.inl.hpp
* Revert "Fix an issue with Kernel object reset release when consecutive Kernel::run calls"
This reverts commit cc7f9f5469
.
* Fix the case of uninitialization D
When C is null and beta is non-zero, D is used without initialization.
This resloves the issue
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* fix potential output error due to 0 * nan
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* whitespace fix, eliminate non-ASCII symbols
* fix build warning
2017-04-19 12:57:54 +03:00
Vitaly Tuzov
9dc36a1ece
Tuned restrictions for Canny, Warp, FAST, Accumulate and Convolution OpenVX HAL calls on small images
2017-04-14 13:20:25 +03:00
Alexander Alekhin
8ba95cd498
Merge pull request #8548 from csukuangfj:fix-typo-RNG
2017-04-11 11:46:06 +00:00
Vitaly Tuzov
87bb74312b
Disabled vxuConvolution call for Sobel, GaussianBlur and Box filter evaluation
2017-04-11 14:11:55 +03:00
Matthias Grundmann
fce7469961
Update utility.hpp
...
Adding missing header for ostream decl. in line 384
2017-04-10 12:04:09 -07:00
Fangjun KUANG
4065778255
fix typos.
2017-04-10 09:32:50 +02:00
Vitaly Tuzov
0f1a56da7c
Changed restrictions for OpenVX HAL calls on small images
2017-04-09 01:17:57 +03:00
Fangjun KUANG
ff31d069d0
avoid allocating memory for string with a length of zero.
...
Remove the specifier "explicit", because the constructor has no parameter. There is no point to add it here.
2017-04-07 20:46:17 +02:00
jveitchmichaelis
8f19363c07
Update documentation for getCudaEnabledDeviceCount
...
Inform users that getCudaEnabledDeviceCount can return -1 in some cases.
2017-04-07 14:30:14 +01:00
nnorwitz
24e8cd1a78
Use %% for inline assembly rather than % so this compiles with clang.
...
Same as 9210cefb36
but for this file too.
2017-04-06 12:54:56 -07:00
Vitaly Tuzov
bf62dca45a
Extended restrictions for OpenVX HAL calls on small images
2017-04-06 18:17:34 +03:00
Vitaly Tuzov
bf5b7843e8
Extended set of OpenVX HAL calls disabled for small images
2017-04-06 18:17:32 +03:00
Alexander Alekhin
e5d9b608c4
cmake: fix fp16 support
2017-04-04 20:34:58 +03:00
Alexander Alekhin
297ba85323
Merge pull request #8441 from alalek:dispatch_mathfuncs_core
2017-04-03 14:03:49 +00:00
Vadim Pisarevsky
4aa51f6a32
Merge pull request #8484 from berak:patch-2
2017-04-03 09:57:58 +00:00
Alexander Alekhin
bbdd8ba078
Merge pull request #8506 from sergiud:mat-move-assignment-dont-copy
2017-04-02 10:13:17 +00:00
Sergiu Deitsch
4f31759965
prevent copying in cv::Mat_<T> move assignment
2017-04-01 21:53:30 +02:00
Alexander Alekhin
b67382cbeb
Merge pull request #8494 from tomoaki0705:fixWarningCuda
2017-03-31 15:42:01 +00:00
Tomoaki Teshima
507071cc6f
suppress warnings on Jetson TK1
2017-03-31 08:20:59 +09:00
berak
3e0b63f65b
fix comment in optim.hpp
2017-03-30 11:07:52 +02:00
jexner
b45e784beb
Fix segmentation fault in cv::Mat::forEach
...
This issue concerns only matrices with more dimensions than columns.
See https://github.com/opencv/opencv/issues/8447
2017-03-23 18:48:59 +01:00
Fangjun KUANG
da94d85789
add more info to the error code.
2017-03-23 14:40:34 +01:00
Fangjun KUANG
f82d64c6e5
Add more info to the error code.
2017-03-23 14:34:24 +01:00
Alexander Alekhin
17e5e4cd5a
core: CPU target dispatcher update
...
- use suffixes like '.avx.cpp'
- added CMake-generated files for '.simd.hpp' optimization approach
- wrap HAL intrinsic headers into separate namespaces for different build flags
- automatic vzeroupper insertion (via CV_INSTRUMENT_REGION macro)
2017-03-23 16:12:11 +03:00
Fangjun KUANG
94521629ab
fix issue 8411.
2017-03-22 23:24:47 +01:00
KUANG, Fangjun
eae1ebfd29
fix issue 8411.
2017-03-22 22:03:29 +01:00
Vadim Pisarevsky
8abd163464
Merge pull request #8404 from khnaba:stream-with-custom-allocator
2017-03-21 20:06:56 +00:00
Vadim Pisarevsky
e5dbd2c3a5
Merge pull request #8406 from khnaba:dft-as-algorithm
2017-03-21 20:05:54 +00:00
Vadim Pisarevsky
a57d144076
Merge pull request #7462 from alalek:cpu_multi_target
2017-03-21 19:51:32 +00:00
Naba Kumar
29680100ac
Support for creating streams with custom allocator
2017-03-21 14:50:14 +02:00
Naba Kumar
00f3ad7217
Implement DFT as cv::Algorithm to support concurrent streams
2017-03-21 13:55:13 +02:00
Naba Kumar
cdcf44b3ef
Expose BufferPool class for external use also
2017-03-21 13:50:02 +02:00
Alexander Alekhin
73e9c44377
Merge pull request #8370 from csukuangfj:patch-7
2017-03-14 13:32:35 +00:00
Alexander Alekhin
661f3e2160
Merge pull request #8371 from csukuangfj:patch-8
2017-03-14 13:23:02 +00:00
Alexander Alekhin
6fcb07d41e
Merge pull request #8375 from Sahloul:fixes/matx/init
2017-03-14 13:22:26 +00:00
Alexander Alekhin
54f7ebdec9
Merge pull request #8380 from csukuangfj:patch-9
2017-03-14 13:20:52 +00:00
Hamdi Sahloul
171e705ba4
Fixes the constructor of 1x14, 2x7, 7x2 or 14x1 matrix
2017-03-14 18:26:22 +09:00
Fangjun KUANG
3ad6d13ff3
Fix an error in the documentation.
2017-03-14 09:57:37 +01:00
hailong-wang
207218e920
Fix the bug of Mat_<>::opeartor []
...
`template<typename _Tp> inline const _Tp* Mat_<_Tp>::operator [](int y) const` does not support 3d matrix since it checks rows.
This operator[] shall check size.p[0] instead.
2017-03-14 13:02:59 +08:00
Fangjun KUANG
31cc519cd3
fix typos.
2017-03-13 13:51:22 +01:00
Fangjun KUANG
3c15913f53
Impove the documentation for Mat::diag
2017-03-13 12:46:50 +01:00
Alexander Alekhin
502aa1f053
Merge pull request #8368 from csukuangfj:patch-5
2017-03-13 10:15:30 +00:00
Fangjun KUANG
95468b72f3
Fix typos in the documentation for cv::Mat.
2017-03-13 10:20:41 +01:00
KUANG, Fangjun
3c5d87cbae
Add more information to the error code.
2017-03-11 10:55:50 +01:00
Alexander Alekhin
8ef23d64a1
Merge pull request #8308 from sovrasov:fs_dmatch_kpts_update
2017-03-07 19:28:34 +00:00
Alexander Alekhin
f9f013e264
Merge pull request #8323 from csukuangfj:csukuangfj-patch-8
2017-03-07 11:24:19 +00:00
Fangjun KUANG
8a679128fa
Update comments for cv::InputArray.
2017-03-06 14:45:30 +01:00
Vladislav Sovrasov
931b32d102
core: add single DMatch/Keypoint I/O
2017-03-03 13:58:55 +03:00
Vadim Pisarevsky
c7049ca627
Merge pull request #8293 from alalek:update_rng_in_parallel_for
2017-03-02 05:51:01 +00:00
Vadim Pisarevsky
ddfe688be6
Merge pull request #8299 from sovrasov:fs_fix_kpts_dmatch_output
2017-03-02 05:46:38 +00:00
Alexander Alekhin
69f1d1ddff
Merge pull request #8296 from ville-v:master
2017-03-01 14:12:00 +00:00
Alexander Alekhin
47c4dcc8a3
Merge pull request #8204 from terfendail:ovx_tlcontext
2017-03-01 12:36:37 +00:00
Vladislav Sovrasov
c321d025c4
Fix DMatch and Keypoint I/O in FileStorage
2017-03-01 15:07:38 +03:00
ville-v
0c1bcf354c
Fix issue #8278 : "CV_XADD compile errors with Embarcadero C++ Builder 10.1"
2017-03-01 08:47:49 +02:00
ville-v
1de10f9f86
Add files via upload
...
Fix issue #8280 : "fastmath.h related compile errors with Embarcadero C++ Builder 10.1"
2017-03-01 08:42:14 +02:00
Alexander Alekhin
649bb7ac04
core: parallel_for_(): update RNG state of the main thread
2017-02-28 18:28:15 +03:00
Alexander Alekhin
c624d82383
Merge pull request #8239 from tomoaki0705:buildUniversalIntrinsicBlend
2017-02-24 11:17:51 +00:00
Vadim Pisarevsky
12d7429ff0
Merge pull request #8064 from terfendail:sgbm_bigbuffer
2017-02-23 20:11:26 +00:00
Vitaly Tuzov
9a4b5a4545
OpenVX calls updated to use single common OpenVX context per thread
2017-02-21 16:08:23 +03:00
Alexander Alekhin
ec7f74f7b4
core(TLS): add cleanup() method
2017-02-21 16:08:23 +03:00
Fangjun KUANG
526220a171
Fix typos in the documentation ( #8226 )
...
* fix typos.
* Fix typos.
* Fix typos.
* Fix typos.
* Fix typos.
2017-02-21 12:48:15 +03:00
Vadim Pisarevsky
5bfaf9931b
Merge pull request #8228 from csukuangfj:csukuangfj-patch
2017-02-21 09:46:09 +00:00
Fangjun KUANG
b1851e2f16
Add support to print cv::UMat
.
...
Now a user can use `std::cout` to print an object of `cv::UMat` just like `cv::Mat`.
2017-02-20 16:22:46 +01:00
Tomoaki Teshima
64cf206fb5
optimize blend using universal intrinsic
...
- add more channels/depth performance test for blend
2017-02-20 19:09:26 +09:00
Alexander Alekhin
b2da9df82d
Merge pull request #8221 from csukuangfj:csukuangfj-path-2
2017-02-19 10:16:00 +00:00
Fangjun KUANG
e827a5bd9e
Fix an error in the demo code for cv::Mat::forEach
2017-02-18 10:14:29 +01:00
Fangjun KUANG
57ed0e57f0
Fix the documentation for Mat::diag(int). ( #8199 )
...
* Fix the documentation for Mat::diag(int).
Fix issue #8181
* Fix the documentation for Mat::diag(int).
Fix issue #8181 .
* Add support for printing out cv::Complex.
* Remove extra spaces.
* cv::Complex is submitted as a new pull request.
2017-02-16 18:00:32 +03:00
Fangjun KUANG
a8a208e0fe
Merge pull request #8208 from csukuangfj:complex_support
...
Add support for printing out cv::Complex. (#8208 )
* Add support for printing out cv::Complex.
* Conform to the format of std::complex.
* Remove extra spaces.
* Remove extra spaces.
2017-02-15 21:50:14 +03:00
Alexander Alekhin
3fbaabc866
Merge pull request #8209 from csukuangfj:csukuangfj-patch-2
2017-02-15 18:48:01 +00:00
Fangjun KUANG
46fe74177d
Fix typos.
2017-02-15 14:52:00 +01:00
Pavel Rojtberg
df86f0752a
add missing casts to _Tp as determinant() always returns double
2017-02-15 12:21:17 +01:00
Alexander Alekhin
e16227b53c
cmake: support multiple CPU targets
2017-02-13 19:52:59 +03:00
Fangjun KUANG
1e11657ba4
Merge pull request #8197 from csukuangfj/csukuangfj-patch-1
...
Fix typos in the documentation for AutoBuffer. (#8197 )
* Allocate 1000 floats to match the documentation
Fix the documentation of `AutoBuffer`. By default, the following code
```.cpp
cv::AutoBuffer<float> m;
````
allocates only 264 floats. But the comment in the demonstration code says it allocates 1000 floats, which is
not correct.
* fix typo in the comment.
2017-02-13 13:58:44 +03:00
Alexander Alekhin
9ac9e9e29a
core: fix String::end() implementation
2017-02-09 16:36:22 +03:00
Vitaly Tuzov
4950f542d1
Fix for SGBM compute() buffer allocation failure on big images
2017-02-08 12:49:21 +03:00
Alexander Alekhin
519e452e1a
Merge pull request #8128 from LaurentBerger:MatrixExpressions
...
Add a link to MatExpr in Detailed Description of Mat
2017-02-06 10:34:12 +00:00
Alexander Alekhin
48f7cbec75
Merge pull request #8107 from reunanen:fix8093
2017-02-06 10:31:34 +00:00
LaurentBerger
488eb11ba8
Add a link to MatExpr in Detailed Description of Mat
2017-02-04 11:10:50 +01:00
Pavel Vlasov
a47b7a34be
Adds IPP control functions to bindings export
2017-02-01 10:29:35 +03:00
Juha Reunanen
f3cb5084cf
Fix #8093 : CV_DbgAssert that the result of area() fits in the return value
2017-01-31 15:02:36 +02:00
Tomoaki Teshima
fd711219a2
use universal intrinsic in VBLAS
...
- brush up v_reduce_sum of SSE version
2017-01-31 05:36:27 +09:00
mshabunin
c6c519166e
Added CV_DEPRECATED macro
2017-01-24 15:57:06 +03:00
Tomoaki Teshima
8b22099da2
use universal intrinsic and SSE4 popcount instruction in normHamming
...
- add v_popcount in universal intrinsic
- add test for v_popcount
- add wrapper of popcount for both MSVC and GCC
2017-01-12 09:09:22 +09:00
Alexander Alekhin
7dd3723abe
Merge tag '3.2.0'
2016-12-23 16:20:02 +03:00
Alexander Alekhin
70bbf17b13
OpenCV Version++
...
3.2.0
2016-12-23 15:54:44 +03:00
Alexander Alekhin
7a95e654eb
ocl: update compiled programs
...
- minimize library initialization time (lazy calculations of program hash)
- LRU cache of in-memory compiled programs
2016-12-19 17:17:20 +03:00
Alexander Alekhin
d85c11e525
OpenCV version++
...
3.2.0-rc
2016-12-19 17:12:18 +03:00
Alexander Alekhin
862c3aa6e1
Merge pull request #7873 from addisonElliott:Mat_Range_InitializerList
2016-12-16 16:45:17 +00:00
Alexander Alekhin
0e4dde1781
Merge pull request #7872 from alalek:merge-2.4
2016-12-16 16:03:14 +02:00
Alexander Alekhin
c038d1be60
Merge pull request #7858 from addisonElliott:master
2016-12-16 10:57:27 +00:00
Addison Elliott
eb04b2bfa9
Added N-dim submat selection with vectors
...
Currently, to select a submatrix of a N-dimensional matrix, it requires
two lines of code while only one line of code is required if using a 2D
array.
I added functionality to be able to select an N-dim submatrix using a
vector list instead of a Range pointer. This allows initializer lists to
be used for a one-line selection.
2016-12-15 09:16:40 -06:00
Addison Elliott
fa6692afcf
Added new overloaded functions for Mat and UMat that accepts std::vector<int> instead of int * for the sizes on a N-dimensional array.
...
This allows for an N-dimensional array to be setup in one line instead of two when using C++11 initializer lists. cv::Mat(3, {zDim, yDim, xDim}, ...) can be used instead of having to create an int pointer to hold the size array.
2016-12-14 13:52:03 -06:00
Rostislav Vasilikhin
8b9422a052
OpenVX wrappers rewritten with CV_OVX_RUN, VX_DbgThrow
2016-12-14 17:49:41 +03:00
mshabunin
965deaba8d
Documentation fixes for latest doxygen
2016-12-14 14:14:13 +03:00
Alexander Alekhin
fbf2383d5d
Merge pull request #7787 from alalek:ocl_explicit_only
2016-12-13 10:22:33 +00:00
apavlenko
1e2ddc30b1
Canny via OpenVX, Node wrapper extended (query/set attribute), some naming fixes
2016-12-09 14:53:06 +03:00
Alexander Alekhin
0724d13bcd
build: cuda warnings
2016-12-04 03:10:05 +03:00
Alexander Alekhin
44d9d59f08
ocl: stop using of OpenCL without explicit UMat arguments
2016-12-04 02:34:17 +03:00
mshabunin
695c518384
Updated TBB search script and code checks
2016-12-01 16:58:38 +03:00
Alexander Alekhin
69949025db
core: drop type/dims/rows/cols information in Mat::release()
2016-11-23 13:51:37 +03:00
Vadim Pisarevsky
9638dfcd85
Merge pull request #7641 from alalek:warnings
2016-11-22 13:31:26 +00:00
Alexander Alekhin
30cdcfa554
warnings
2016-11-18 14:08:53 +03:00
Vladislav Sovrasov
7c266ffffe
Add support of vector of vectors serialization to FileStorage
2016-11-16 13:37:30 +03:00
Vadim Pisarevsky
6b7d570c34
Merge pull request #7539 from Tetragramm:90DegreeRotations
2016-11-11 20:30:25 +00:00
Vadim Pisarevsky
a2d6d96ef1
Merge pull request #7161 from terfendail:shortline_fix
2016-11-10 16:02:20 +00:00
Pavel Vlasov
349d5ba012
--perf_instrument parameter now has int type and 0, 1, 2 modes (1 - simple trees, 2 - expanded trees for functions with same name but different calling address);
...
Maximum depth limit var was added to the instrumentation structure;
Trace names output console output fix: improper tree formatting could happen;
Output in case of error was added;
Custom regions improvements;
Improved timing and weight calculation for parallel regions; New TC (threads counter) value to indicate how many different threads accessed particular node;
parallel_for, warnings fixes and ReturnAddress code from Alexander Alekhin;
2016-11-08 10:18:05 +03:00
Alexander Alekhin
712fa9a73c
Merge pull request #7605 from tomoaki0705:fixBuildFp16Error
2016-11-03 07:41:42 +00:00
Tetragramm
ad5c50a923
Improve the efficiency as suggested by vpisarev.
...
Alter the Rotation enum to be unambiguous as to direction.
2016-11-02 17:44:13 -05:00
Tomoaki Teshima
9ee6f10896
fix build error
2016-11-02 23:18:58 +09:00
Vadim Pisarevsky
545f573a6c
Merge pull request #7596 from sovrasov:doc_core_clarify
2016-11-02 13:32:14 +00:00
Vadim Pisarevsky
bebd49d91b
Merge pull request #7467 from tomoaki0705:featureCheckSimdUniversal
2016-11-02 12:30:55 +00:00
Vladislav Sovrasov
33d82da436
Clarify documentation for cv::Algorithm::read
2016-11-02 13:51:16 +03:00
Vadim Pisarevsky
7dd99258c7
Merge pull request #7584 from tomoaki0705:fixFp16BuildOldCompiler
2016-11-02 10:43:34 +00:00
Tomoaki Teshima
6d460bb602
fix build error on old compiler
...
* vget_lane_** accepts constant value, not variable
2016-10-31 23:20:44 +09:00
Sean Li
6f3483ade3
Correct the comment of Mat::diag(const Mat& d).
2016-10-29 16:01:23 +08:00
Tomoaki Teshima
cba22349b7
add universal hardware support check function
...
* use hasSIMD128 rather than calling checkHardwareSupport
* add SIMD check in spartialgradient.cpp
* add SIMD check in stereosgbm.cpp
* add SIMD check in canny.cpp
2016-10-29 13:24:31 +09:00