Kuang Fangjun
2b6aa50b81
avoid negative index.
6 years ago
Alexander Alekhin
3c74fde349
core: eliminate 'if' logic from Matx::inv()/solve()
...
- 'if' logic is moved into templates.
- removed unnecessary cv::Mat objects creation.
- fixed inv() test (invA * A == eye)
- added more Matx tests to cover all defined template specializations
6 years ago
catree
4dc7e617a4
Add overloaded cv::PCACompute() that returns also the eigenvalues. Useful for Java and Python OpenCV where PCA is not available.
6 years ago
Alexander Alekhin
5385086fef
core: solve(): add check for passed 'method' values
6 years ago
Alexander Alekhin
33b7028be2
core: use "explicit" for Matx() ctor
6 years ago
Vitaly Tuzov
850a8577b2
Fixed unreachable code warnings for Matx::solve()
6 years ago
Vitaly Tuzov
d0a3686812
Merge pull request #11904 from terfendail/matx_solve_fix
...
Fixed Matx::solve function for non-square matrixes (#11904 )
6 years ago
catree
d7bd662c95
Add a note in the documentation about Mat::ones and mat::eye. With multi-channels type (e.g. CV_8UC3), only the first channel is treated.
6 years ago
berak
45677819e8
core: fix autobuffer usage in opengl.cpp
6 years ago
Arnaud Brejeon
43f821afb9
Merge pull request #11899 from arnaudbrejeon:moveable_types
...
Add missing constructors and operator= (#11899 )
6 years ago
Alexander Alekhin
06fc77610b
core(hal): eliminate build warnings
6 years ago
Alexander Alekhin
c7fc563dc0
calib3d: chessboard detector - replace OpenCV C API
7 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
7 years ago
Alexander Alekhin
135ea264ef
core: align cv::AutoBuffer API with std::vector/std::array
...
- added .data() methods
- added operator[] (int i)
- extend checks support to generic and debug-only cases
- deprecate existed operator* ()
7 years ago
Vadim Pisarevsky
051b40f956
a part of PR #11364 (extended findNonZero & PSNR) ( #11837 )
...
* a part of https://github.com/opencv/opencv/pull/11364 by Tetragramm. Rewritten and extended findNonZero & PSNR to support more types, not just 8u.
* fixed compile & doxygen warnings
* fixed small bug in findNonZero test
7 years ago
Philipp Hasper
577546ccd9
Added Size_::aspectRatio
7 years ago
Forrest Reiling
e858c21e1f
Fix system.cpp includes on Fuchsia.
7 years ago
yuki takehara
4fe648b15c
Merge pull request #11706 from take1014:setTo_Nan_10507
...
* setTo_#10507
* setTo_Nan_10507
* setTo: update check / test for NaNs
7 years ago
Alexander Alekhin
49886ebae3
OpenCV version '-openvino'
7 years ago
Alexander Alekhin
d69a327d6d
OpenCV version++
...
OpenCV 3.4.2
7 years ago
Sayed Adel
e0d28aa893
core:ppc Fix java CoreTest/testMahalanobis ( #11677 )
...
* core:ppc Fix java CoreTest/testMahalanobis
* core:ppc Fix warning unused variable on clang
7 years ago
Alexander Alekhin
4091ced5ab
core: set default logger level to 'warning' in Release builds
...
should hide unnecessary 'info' messages
7 years ago
Paul Jurczak
bd7bad02a0
convertFp16 documentation edit (2)
...
If this seems too wordy, take into account a new user who tries to find out extent of FP16 support in OpenCV.
7 years ago
Alexander Alekhin
03edddba47
core: drop unnecessary duplicate check
7 years ago
Vadim Pisarevsky
7d19bd6c19
Merge pull request #11634 from vpisarev:empty_mat_with_types_2
...
fixes handling of empty matrices in some functions (#11634 )
* a part of PR #11416 by Yuki Takehara
* moved the empty mat check in Mat::copyTo()
* fixed some test failures
7 years ago
Alexander Alekhin
9ba9358ecb
documentation: avoid links to 'master' branch from 3.4 maintenance branch
7 years ago
Alexander Alekhin
d70e01b635
calib3d: chess board - replace to cv::findContours()
7 years ago
Alexander Alekhin
549b5df225
build: workaround issues with C compilation mode
...
- cvdef.h + cvRound (double only)
- highgui_c.h
7 years ago
Namgoo Lee
79af0bfccf
NPP : NppStreamHandler fix
7 years ago
Tomoaki Teshima
e2c787884d
fix the test failure of CUDA_Arithm/MeanStdDev
7 years ago
Alexander Alekhin
f42fca9f49
cuda: avoid unnecessary cudaStreamSynchronize() call
...
resolves #11511
7 years ago
Alexander Alekhin
703f79b757
tests: add "bigdata" tests
7 years ago
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
Alexander Alekhin
352510cc19
core: fix ARM intrinsincs
...
'0' is specific case (make no sence as a standalone operation),
but it can be useful in template-based programming.
reverts commit: a58c9d4d63
7 years ago
Tomoaki Teshima
a58c9d4d63
arm: fix build error of v_rotate_left
...
* remove meaningless tests
7 years ago
cDc
f2fbfd7a10
fix bug in Matx::inv()
7 years ago
Sayed Adel
ed19da21ab
core:ppc Several improvements on VSX(2)
...
* add v_float64x2 support to v_rotate_*
* treat float vector in v_check_any, vec_any_lt as int vector
* add test case for v_rotate_left
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
8c349ff8ff
core: added MatSize::dims() method
...
to avoid accessing of 'p[-1]' (static code analysers dislike this)
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
exoson
058299cc66
Optimize MultiBandBlender to run faster
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
dfa04a11bb
core: norm with mask 16UC3 regression test
7 years ago
Alexander Alekhin
4e83f4c579
core: drop cv::errorNoReturn()
...
replaced to cv::error()
7 years ago
Alexander Alekhin
84db82a329
build: fix warnings
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