Vadim Pisarevsky
e0dbe5cfcc
handle huge matrices correctly ( #11505 )
...
* make sure that the matrix with more than INT_MAX elements is marked as non-continuous, and thus all the pixel-wise functions process it correctly (i.e. row-by-row, not as a single row, where integer overflow may occur when computing the total number of elements)
7 years ago
cclauss
05c1a3d160
print() is a function in Python 3
7 years ago
yuki takehara
4934f7c5a4
Merge pull request #11285 from take1014:core_6125
...
* Resolves 6125
* Fix test code
* Delete unnecessary code
7 years ago
Alexander Alekhin
856a07711b
core: disabled IPP AVX512 normL1(a, b, mask)
...
for cv::Mat with type=16UC3 and width < 16
7 years ago
Alexander Alekhin
39e2d64b84
core: fix icc std::exception_ptr detection
...
std::exception_ptr requires enabled C++11 mode
7 years ago
Alexander Alekhin
f708a11f0f
build: fix warnings
7 years ago
Alexander Alekhin
57dad685d1
core: disabled IPP AVX2 normL1(a, b, mask)
...
for cv::Mat with width < 16
7 years ago
Alexander Alekhin
6b581c4e51
build: unreachable code after CV_Error() (part 2)
7 years ago
Alexander Alekhin
576d2dbac0
refactor: don't use CV_ErrorNoReturn() internally
7 years ago
Alexander Alekhin
4cbec82ac1
build: unreachable code after CV_Error()
7 years ago
Alexander Alekhin
10c9227136
core: CV_Error with set_terminate() on Windows
...
To dump contents of the last OpenCV error
7 years ago
Alexander Alekhin
65726e4244
core(hal): improve v_select() SSE4.1+
...
v_select 'mask' is restricted to these values only: 0 or ~0 (0xff/0xffff/etc)
mask in accuracy test is updated.
7 years ago
berak
d89fb163c6
core: add a check for empty input in inRange()
7 years ago
Simon Que
705464258e
Merge pull request #11353 from eecsninja:3.4
...
* Fix CV_Asserts with negation of strings
{!"string"} causes some compilers to throw a warning.
The value of the string is not that important -- it's only for printing
the assertion message.
Replace these calls with:
CV_Error(Error::StsError, "string")
to suppress the warning.
* remove unnecessary 'break' after CV_Error()
7 years ago
Alexander Alekhin
d76b41b50e
ocl: CL_MEM_USE_HOST_PTR workaround test
7 years ago
Alexander Alekhin
2f9cbc2e57
core: disable errors dump
...
Error messages are available via exceptions
7 years ago
Alexander Alekhin
12e8e33144
build: enable -Wimplicit-fallthrough warning for OpenCV modules
7 years ago
Alexander Alekhin
97882d03cc
core: fix FP16 conversion with CV_DISABLE_OPTIMIZATION option
...
Reproducer:
cmake -DCPU_BASELINE=AVX2 -DCV_DISABLE_OPTIMIZATION=ON ...
7 years ago
Alexander Alekhin
670ef403b0
ocl: improve trace messages of OpenCL calls
7 years ago
Alexander Alekhin
567ae61e78
core: add "check" macros
7 years ago
Alexander Alekhin
7dc162cb42
core: fix mm_pause() for non-SSE i386 builds
...
replaced to safe binary compatible 'rep; nop' asm instruction
7 years ago
Alexander Alekhin
854ab48de0
tbb: fix build warnings -Wshadow
7 years ago
Alexander Alekhin
8dacbe7584
android: std::exception_ptr is not available on some platforms (even with enabled C++11)
7 years ago
Maksim Shabunin
d2cff38db6
Added interface to check library version during runtime
7 years ago
Dmitry Kurtaev
73ca194313
Fix convertFp16 in JavaScript build
7 years ago
lopespt
c17ce1a0af
Solves issue #10506
7 years ago
Alexander Alekhin
7818071ba2
cuda: eliminate part of build warnings
7 years ago
Alexander Alekhin
82ba3ac894
cuda: refactor MemoryPool
...
- make non-copyable (aligns inner mutex semantic to std::mutex)
- getMemoryPool() returns reference instead of pointer (NULL is not expected here)
7 years ago
yuki takehara
d57e5c31c0
Merge pull request #11214 from take1014:core_9720
...
* fix #9720
* Add regression test
* Fix calculation method for scale
7 years ago
Alexander Alekhin
45a69ebec8
core: fix AVX2 min implementation
7 years ago
Vitaly Tuzov
ccd16f107d
Fixed IPP based implementation of setTo() for infinity value
7 years ago
Alexander Alekhin
6f69800d0c
core: propagate parallel_for() exceptions
7 years ago
ltqusst
0d646490f5
Fix #10557
...
Fix overflow bugs in conversion from NV12 VA-surface/D3D11texture2D to OpenCL UMat
7 years ago
Alexander Alekhin
9111538bfb
core: apply CV_OVERRIDE/CV_FINAL
7 years ago
LaurentBerger
03eb463f1c
Solves #11156 ( #11160 )
...
* Solves #11156
* Check file size for all file format. Disable APPEND if file is empty
* Add test for APPEND mode
7 years ago
Alexander Alekhin
7d8f1dde26
core(persistence): disable checks for base64 streams
7 years ago
Alexander Alekhin
f4c4b01455
core: added checks and "fixit" items for persistence parsers
...
To raise errors with proper messages of the problems.
7 years ago
Alexander Alekhin
6c051a55e5
cmake: don't add include <module>/src directory to avoid conflicts
...
during opencv_world builds
7 years ago
Aleksandr Tischenko
22ecdd16ef
Merge pull request #11101 from lamantine:fix_11100
...
* fixed bug #11100 Integer overflow in kmeans
* fixed integer overflow in other divUp-s in kmeans code
fixed warning about size_t to double conversion
7 years ago
Alexander Alekhin
8781ee971c
core: write log messages via __android_log_print (logcat) too
7 years ago
miqlas
f3a9f13cb4
Merge pull request #10984 from extrowerk:advanced_haiku_patches
...
* Haiku supporting patches
* Revert uneeded changes
* Whitespace cleanup
7 years ago
yuki takehara
0792ef8789
Merge pull request #11049 from take1014:#10948
...
* Fix #10948
* Add test code
* Fixed build error
* Add value zero
* eigen: test cleanup
7 years ago
Dmitry Kurtaev
130546e1d9
Semantic segmentation sample.
7 years ago
native-api
dc1d9ae973
Include error code description into the message ( #10982 )
7 years ago
Namgoo Lee
c219f97f48
SSE2 : use _mm_cvtpd_epi32 when converting from CV_64F to CV_32S ( #10987 )
...
* SSE2 : use _mm_cvtpd_epi32 when converting from CV_64F to CV_32S
* No need to define a new universal intrinsic
7 years ago
Alexander Alekhin
ed96279920
ocl: update getOpenCLErrorString() code
7 years ago
Alexander Alekhin
b1fc7d46a5
ocl: update getOpenCLErrorString() code
7 years ago
Maksim Shabunin
3fd2384b81
Fixed mingw compilation on Windows
7 years ago
Alexander Alekhin
cc5a6f3b86
core: remove '-' from separators list of disabled CPU flags
...
To allow runtime disabling of AVX512-SKX via 'OPENCV_CPU_DISABLE' parameter
7 years ago
Alexander Alekhin
491502a349
core: fix parallel_for data race
7 years ago