Vladislav Sovrasov
4f9871817a
core: forbid handling of the case when src=dst in cv::repeat
8 years ago
Alexander Alekhin
9067310166
core(test): added cv::sortIdx accuracy tests
8 years ago
Alexander Alekhin
e23b59da5c
build: fix v_reduce_sum4 (requires SSE3)
8 years ago
Alexander Alekhin
781515c514
build: fix "ambiguous call" (MSVS2010)
8 years ago
Alexander Alekhin
71517a910a
build: fix errors for MSVS2010-2013, reduce default softfloat scope
8 years ago
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
8 years ago
Vadim Pisarevsky
4eda8efd42
resolves https://github.com/opencv/opencv/issues/7792
8 years ago
Tomoaki Teshima
d81cdb8e1c
add OpenCL version of convertFp16 and test
...
* disable vector operation for now
* brush up the implementation based on comment
8 years ago
Maksim Shabunin
f23b6ba652
Fixed multidimensional count non-zero IPP implementation
8 years ago
Vladislav Sovrasov
2c2b1405a3
Add test for Mat_::release()
8 years ago
Alexander Alekhin
75f28245a8
core: fix persistence bug in RAW I/O code
...
- persistence.cpp code expects special sizeof value for passed structures
- this assumption is lead to memory corruption problems
- fixed/workarounded test to prevent memory corruption on Linux 32-bit systems
8 years ago
Tomoaki Teshima
0f5aaade61
fix test error on VS2012
8 years ago
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
8 years ago
Alexander Alekhin
dd304dbe05
test: fix min/max name mismatching
8 years ago
Alexander Alekhin
e5d9b608c4
cmake: fix fp16 support
8 years ago
Julian Exner
46af07575e
Add test case for cv::Mat::forEach
...
This test case uses a matrix with more dimensions than columns. Without
the fix in
b45e784beb
this crashes with a segmentation fault, hangs or simply fails with wrong
values.
8 years ago
Vladislav Sovrasov
931b32d102
core: add single DMatch/Keypoint I/O
8 years ago
Alexander Alekhin
89ce2dc405
core: DMatch I/O tests
8 years ago
Vladislav Sovrasov
c321d025c4
Fix DMatch and Keypoint I/O in FileStorage
8 years ago
Alexander Alekhin
ebdd74105a
core(test): add regression test for RNG in parallel_for_()
8 years ago
Vladislav Sovrasov
14451f3f06
core: fix adjustROI behavior on indexes overflow
8 years ago
Alexander Alekhin
9ac9e9e29a
core: fix String::end() implementation
8 years ago
Maksim Shabunin
b417b4dbee
KMeans improvement
...
- fixed returned compactness value
- added centers drawing to the example app
- added compactness test
8 years ago
Vladislav Sovrasov
896c34fab3
Add support of type headings from YAML1.2
8 years ago
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
8 years ago
Alexander Alekhin
0e4dde1781
Merge pull request #7872 from alalek:merge-2.4
8 years ago
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
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.
8 years ago
Alexander Alekhin
dbbbad40fb
build: eliminate ICC warnings
8 years ago
Alexander Alekhin
fb223784a6
test: fix Core_HAL.mat_decomp test implementation
8 years ago
Alexander Alekhin
7bceef715c
test: fix mulSpectrums error tolerance
8 years ago
Alexander Alekhin
79857f1e38
test: fix Core_ArithmMask.uninitialized test
...
Don't run binary operations for floating-point numbers
norm() will fail with NAN result.
8 years ago
Alexander Alekhin
ab429d2e73
test: fix inplace in 'mulComplex' from test_dxt
8 years ago
Alexander Alekhin
5032dae9ed
test: refactor test to capture more information on failure
...
Core_ArithmMask.uninitialized
8 years ago
Tomoaki Teshima
3ea4f72e35
fix Core_MulSpectrum test on 64bit ARM + release mode
...
* fix issue 6536
* increase threshold in particular tests due to the difference of fmsub and fsub
8 years ago
Maksim Shabunin
21167b1bf1
Fixed several GCC 5.x warnings
8 years ago
Vladislav Sovrasov
7c266ffffe
Add support of vector of vectors serialization to FileStorage
8 years ago
Vladislav Sovrasov
38483fe7a7
Skip UTF-8 BOM in FileStorage
8 years ago
Tomoaki Teshima
b823c8e95c
add universal intrinsic in StereoSGBM
...
* add 8 elements version of reduce operation
* add tests for new universal intrinsic
8 years ago
fegorsch
ddf0554fff
Use colon in "%YAML:1.0" directive when persisting to YAML-files
...
In YAML 1.0 the colon is mandatory. See http://yaml.org/spec/1.0/#id2558635 .
This also allows prior releases to read YAML files created with the current version.
8 years ago
Alexander Alekhin
5da8d65371
eliminate compiler warnings
8 years ago
Tomoaki Teshima
841ccccada
use universal intrinsic in canny
...
* add v_abs for universal intrinsic
* add test of v_abs in test_intrin
* fix compile error on gcc
* fix bool OR operation
8 years ago
Tomoaki Teshima
c7cb116dc0
check FP16 build condition correctly
...
* use __GNUC_MINOR__ in correct place to check the version of GCC
* check processor support of FP16 at run time
* check compiler support of FP16 and pass correct compiler option
* rely on ENABLE_AVX on gcc since AVX is generated when mf16c is passed
* guard correctly using ifdef in case of various configuration
* use v_float16x4 correctly by including the right header file
8 years ago
Alexander Alekhin
f50f34016e
test: fix test crash (exception in destructor)
8 years ago
Rostislav Vasilikhin
27dd27400a
fixed invalid output of cv::dft when using DFT_ROWS + DFT_COMPLEX_OUTPUT ( http://code.opencv.org/issues/3428 )
8 years ago
Rostislav Vasilikhin
6d691f2e05
added test for http://code.opencv.org/issues/1918
8 years ago
Rostislav Vasilikhin
9840825743
added test checking http://code.opencv.org/issues/4050
8 years ago
Vladislav Sovrasov
dfe4519c07
Add QR decomposition to HAL
8 years ago
Tomoaki Teshima
903789f7af
use universal intrinsic for FP16
...
* use v_float16x4 (universal intrinsic) instead of raw SSE/NEON implementation
* define v_load_f16/v_store_f16 since v_load can't be distinguished when short pointer passed
* brush up implementation on old compiler (guard correctly)
* add test for v_load_f16 and round trip conversion of v_float16x4
* fix conversion error
8 years ago
Rostislav Vasilikhin
0a3a2df433
fixed U non-orthogonality in SVD ( http://code.opencv.org/issues/3801 )
8 years ago