Christof Kaufmann
7ec59fc097
Revert changes of mean and meanStdDev
7 years ago
RAJ NATARAJAN
0e44ad5543
Removed unnecessary assertion
7 years ago
RAJ NATARAJAN
6da62f56fa
Add some useful input assertions to PSNR function
...
Input arrays must be depth CV_8U and of identical size.
7 years ago
saskatchewancatch
a90a93b454
i9629 - Added actual documentation for cv::PSNR function
7 years ago
Vladislav Sovrasov
32bf712102
cmake: disable implicit-fallthrough by default
7 years ago
saskatchewancatch
c9d3c0f206
More whitespace fixes
7 years ago
Alexander Alekhin
169add5aa6
ocl: added cv::ocl::Device::isExtensionSupported() method
7 years ago
saskatchewancatch
30ff197f78
Fix whitespace issues
7 years ago
saskatchewancatch
8877e3aedb
Adjustmenbts
7 years ago
Alexander Alekhin
44b75eb116
core: fix OpenCL runtime compilation with HAVE_OPENCL_STATIC
7 years ago
Maksim Shabunin
248e2c7d47
Fixed some issues found by static analysis
7 years ago
Pavel Vlasov
37ab318657
Compatibility improvement with old IPP versions (tested on 9.0.1);
...
Manual IPP dispatcher simplification;
7 years ago
saskatchewancatch
fda1e76776
Feedback.
...
Still need to remove the descriptions of these flags from cv::norm
7 years ago
Vladislav Sovrasov
eeba5c3603
core: fix gcc7 warning about empty VA_ARGS in Assert macro
7 years ago
Maksim Shabunin
c92c99ed0b
Enabled forEach for const Mats
7 years ago
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
7 years ago
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...
7 years ago
Dmitry Kurtaev
8b094755fa
Fix https://github.com/opencv/opencv/issues/8693
7 years ago
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.
7 years ago
Alexander Alekhin
164a41b399
fix CUDA build
...
CUDA implementation wants to convert std::vector<KeyPoint> <-> GpuMat.
There is no direct mapping from KeyPoint (mix of int/float fields)
into cv::Mat element type, so this conversion must be avoided.
Legacy mode is turned back for CUDA builds.
7 years ago
Alexander Alekhin
f7a273cfb3
core(test): regression test for 9507
7 years ago
Alexander Alekhin
0451629e22
core(persistence): resolve DMatch/KeyPoint problem
7 years ago
Alexander Alekhin
86b55b3923
core: eliminate CV_ELEM_SIZE()
7 years ago
Alexander Alekhin
7e12c879c2
core: extend traits::Type / traits::Depth for compatible types
...
DMatch and Keypoint are not compatible types (mixed float/int fields)
7 years ago
Alexander Alekhin
72f789bf34
core: fix type traits
7 years ago
Boris Fomitchev
dde04d5d3e
Addressing CUDA9 shfl deprecation
7 years ago
Maarten de Vries
3571e8f263
Restrict std::initializer_list constructors to arithmetic types.
7 years ago
Tomoaki Teshima
6531fd142c
fix build error on Jetson TK1
...
* guard correctly in header file
* guard correctly in cmake file
7 years ago
KUANG Fangjun
11fa0094ff
Improve the documentation.
...
Add demo code for cv::reduce, cv::merge and cv::split.
7 years ago
Zoltán Mizsei
6258ff36bc
Haiku build fix
7 years ago
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.
7 years ago
Alexander Alekhin
b18983a005
test(hal): properly dispatch FP16 test
7 years ago
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
7 years ago
Ricardo Ribalda Delgado
6fc5697950
ocl: Fix OpenCL library detection in Linux
...
OpenCL runtime does not require OpenCL development file (libOpenCL.so),
just the "run" library (so.1).
This patch searches for the run library (so.1) if the dev library (.so)
is not found.
Web search shows that this error has been present since at least 2015
http://answers.opencv.org/question/80532/haveopencl-return-false/
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
7 years ago
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;
7 years ago
KUANG Fangjun
97ec91ad67
fix cv::CommandLineParser.
...
It should handle bool value not only of "true" but also of "TRUE" and "True".
7 years ago
Boris Fomitchev
76f7fb5231
Extending CPU dispatch to the tests; fixing a typo
7 years ago
KUANG Fangjun
336996152a
Improve the documentation.
7 years ago
Alexander Alekhin
b6949c5088
cmake: CMP0022 NEW
7 years ago
Alexander Alekhin
71e1889825
core: fix memcpy with zero size
7 years ago
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
7 years ago
Alexander Alekhin
ca9a88785e
core(build): fix compilation of parallel.cpp (OpenMP configuration)
7 years ago
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
7 years ago
Philipp Hasper
2c7a15b195
Clarified documentation cv::RotatedRect::points
7 years ago
Alexander Alekhin
0ebabe17df
core: fix flag processing for nested regions in cv::parallel_for_()
7 years ago
Dmitry Kurtaev
41519d3ac0
Fixed some OpenCL interface bugs
7 years ago
Vladislav Sovrasov
9a10bdbae5
core: use new assert in matmul.cpp
7 years ago
KUANG, Fangjun
4bbe67451d
fix some typos in the documentation.
7 years ago
Vladislav Sovrasov
5e68b28ad3
core: fix file not closed when exception in FS
7 years ago
Vladislav Sovrasov
aa54acd54d
core: add a test to reproduce #9312
7 years ago