Alexander Alekhin
96c71dd3d2
dnn: reduce set of ignored warnings
6 years ago
Dmitry Kurtaev
6c76c8f881
Add a test for FileNode::keys()
6 years ago
Alexander Alekhin
96ee83898d
core(test): extend divideByZero test
...
to verify SIMD code path
6 years ago
Alexander Alekhin
858a7da5c0
core: rework getContinuousSize() for vector-col/row support
6 years ago
Alexander Alekhin
5059523937
core: fix processing of vector-rows
6 years ago
tompollok
2da56d5af6
refactoring catching all exceptions as const ref
6 years ago
Alexander Alekhin
b74b05d1b3
Revert CV_TRY/CV_CATCH macros
...
This reverts commit 7349b8f5ce
(partially).
6 years ago
Vitaly Tuzov
e5d7f446d6
Merge pull request #13056 from terfendail:box_wintr
...
* Updated boxFilter implementations to use wide universal intrinsics
* boxFilter implementation moved to separate file
* Replaced ROUNDUP macro with roundUp() function
6 years ago
LaurentBerger
5132102863
typo in kmeans doc
6 years ago
Alexander Alekhin
79dc0ed175
docs: intro formatting update, minor cleanup
6 years ago
berak
0cd14e3fb4
java: add support for MatOfRotatedRect
6 years ago
Sayed Adel
93ffebc273
core: reimplement SIMD arithmetic, logic and comparison operations into wide universal intrinsics
...
- initialize arithmetic dispatcher
- add new universal intrinsic v_absdiffs
- add new universal intrinsic v_pack_b
- add accumulate version of universal intrinsic v_round
- fix sse/avx2:uint8 multiplication overflow
- reimplement arithmetic, logic and comparison operations into wide universal intrinsics
with full support for all types
- reimplement IPP arithmetic, logic and comparison operations in a sperate file arithm_ipp.hpp
- avoid scalar multiplication if scaling factor eq 1 and use integer multiplication
- move C arithmetic operations to precomp.hpp and delete [arithm_simd|arithm_core].hpp
- add compatibility with new opencv4 divide policy
6 years ago
Rostislav Vasilikhin
daff6e6484
_mm256_zeroupper replaced by zeroall
6 years ago
Alexander Alekhin
3e0c72ea84
core(ipp): disable SSE4.2 meanStdDev() optimization for CV_32F
6 years ago
Henry
4102855edd
Update intro.markdown
...
"as opposed to" is a phrase of opposed meaning distinguished from or in contrast with. e.g., "an approach that is theoretical as opposed to practical"
synonyms: in contrast with, as against, as contrasted with, rather than, instead of, as an alternative to
example: "we use only steam, as opposed to chemical products, to clean our house"
6 years ago
Dmitry Kurtaev
92f754c675
Add methods to reshape Mat in Java by array of shapes and retreive sizes of each dimension.
6 years ago
Alexander Alekhin
7f608db244
core: move compiler defines from base.hpp into cvdef.h
6 years ago
maver1
e397434cb6
Merge pull request #12877 from maver1:3.4
...
* Updated ICV packages and IPP integration
* core(test): minMaxIdx IPP regression test
* core(ipp): workaround minMaxIdx problem
* core(ipp): workaround meanStdDev() CV_32FC3 buffer overrun
* Returned semicolon after CV_INSTRUMENT_REGION_IPP()
6 years ago
Sayed Adel
8b26906d6d
core:vsx change behavior of v_round to rounding to nearest even
6 years ago
Mansoo Kim
4d1f0ef2d9
cuda: fix build with CUDA 10.x
6 years ago
Michał Janiszewski
c8e6ce304f
Catch exceptions by const-reference
...
Exceptions caught by value incur needless cost in C++, most of them can
be caught by const-reference, especially as nearly none are actually
used. This could allow compiler generate a slightly more efficient code.
6 years ago
Alexander Alekhin
f185640eda
Merge pull request #12799 from alalek:update_build_js
...
* js: update build script
- support emscipten 1.38.12 (wasm is ON by default)
- verbose build messages
* js: use builtin Math functions
* js: disable tracing code completelly
6 years ago
Vitaly Tuzov
43d9256096
Replaced core module calls to universal intrinsics with wide universal intrinsics
6 years ago
Alexander Alekhin
5677a683a5
core(test): zero values divide test (3.x)
6 years ago
Alexander Alekhin
c813ad5533
core(ocl): replace ambiguous 'depth' to 'DEPTH_dst'
...
- always pass DEPTH_dst value to core/arithm kernel
6 years ago
Alexander Alekhin
8c4f886f5f
core: re-throw allocation exception if there is no fallback
6 years ago
Sayed Adel
5771fd693d
Change behaviour of 16-bit multiply operator
...
- redefine 16-bit multiply operator to perform saturating multiply
instead of non-saturating multiply
- implement 8-bit multiply operator to perform saturating multiply
- implement v_mul_wrap() for 8-bit, 16-bit non-saturating multiply
- improve performance of v_mul_hi() for VSX
- update intrin tests with new changes
- replace unv 16-bit multiplication operator with v_mul_wrap due behavior changes
- Several improvements depend on vpisarev review
* initial forward declarations for universal intrinsics
* move emulating SSE intrinsics into separate file
* implement v_mul_expand for 8-bit
* reimplement saturating multiply using v_mul_expand + v_pack
* map v_expand, v_load_expand, v_load_expand_q to sse4.1
* fix overflow avx2::v_pack(uint32)
* implement two universal intrinsics v_expand_low and v_expand_high
6 years ago
Vitaly Tuzov
1ff11c84ab
Fixed meanStdDev() implementation for the case input matrix has more than 4 channels
6 years ago
Alexander Alekhin
4e62900009
core: call omp_set_dynamic() for better CPU usage
...
Similar to 'OMP_DYNAMIC=TRUE'.
6 years ago
Vitaly Tuzov
cc10e6b344
pyrDown and pyrUp SSE2 implementations replaced with wide universal intrinsics implementations
6 years ago
Alexander Alekhin
11e2a216c5
ocl(win32): bypass deallocate() during process termination
6 years ago
Alexander Alekhin
70f2ee917e
cmake: add DllMain() into each OpenCV DLL
...
to detect process termination after ExitProcess() call
6 years ago
Alexander Alekhin
18bf91a08b
core: update allocSingleton implementation, valgrind suppression
6 years ago
Anush Elangovan
630a94b8b7
_tzcnt_u32() is undefined in clang-cl so use alternate impl
...
_tzcnt_u32() is not exported by clang-cl intrin.h so check for
clang-cl and enable an alterate for _tzcnt_u32()
Some discussions:
http://lists.llvm.org/pipermail/cfe-dev/2016-October/051329.html
https://bugs.llvm.org/show_bug.cgi?id=30506
TEST=Build with clang-cl
6 years ago
Rostislav Vasilikhin
da5e0ef461
ocl::KernelArg::Local(): added size argument
6 years ago
Alexander Alekhin
0926a84a45
cmake: define CV_ErrorNoReturn under CV_STATIC_ANALYSIS
...
to avoid build break without `__OPENCV_BUILD`
6 years ago
Vitaly Tuzov
283348afc3
SSE2 code in invert() replaced with universal intrinsics
6 years ago
Alexander Alekhin
94201b7cf9
ocl: OPENCV_OPENCL_BUILD_EXTRA_OPTIONS parameter
6 years ago
Maksim Shabunin
15632c6305
Added support for multi-path configuration parameter (env)
6 years ago
Rostislav Vasilikhin
be989b3b60
Merge pull request #12637 from savuor:fix/instr_ipp_ocl
...
Fixes for instrumentation of IPP and OCL (#12637 )
* fixed warning about re-declaring variable when both IPP and instrumentation are enabled
* fixed segfault when no funName provided
* compilation fixed when both OCL and instrumentation are enabled
6 years ago
Alexander Alekhin
48e8e76a34
fix build warnings
6 years ago
Dmitry Kurtaev
24ab751547
Merge pull request #12565 from dkurt:dnn_non_intel_gpu
...
* Remove isIntel check from deep learning layers
* Remove fp16->fp32 fallbacks where it's not necessary
* Fix Kernel::run to prevent localsize > globalsize
6 years ago
Alexander Alekhin
962dc21f2b
docs: fix CUDA docs section
6 years ago
Dmitry Kurtaev
ad5898224d
Add a file with preprocessing parameters for deep learning networks
6 years ago
Hamdi Sahloul
47bb09bc4b
OpenGL: avoid losing precision in double-to-float conversion
6 years ago
Hamdi Sahloul
ecc9bd0925
Support GpuMat in copyTo() functions
6 years ago
Vitaly Tuzov
95502242c9
meanStdDev() implementation updated to use wide universal intrinsics
6 years ago
Hamdi Sahloul
5d54def264
Add semicolons after `CV_INSTRUMENT` macros
6 years ago
Takuho NAKANO
451340fd3d
Merge pull request #12523 from takotakot:12455_rotatedrect_constructor
...
* Fix perpendicular decision of RotatedRect::RotatedRect
Error estimation is based on #12455 .
* Fix abs to std::fabs and atan to std::atan
6 years ago
Maksim Shabunin
78c500e97a
Removed unnecessary build-time MediaSDK detection
6 years ago