Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
2018-07-04 19:11:29 +03:00
yuki takehara
4fe648b15c
Merge pull request #11706 from take1014:setTo_Nan_10507
...
* setTo_#10507
* setTo_Nan_10507
* setTo: update check / test for NaNs
2018-06-12 18:05:44 +00:00
Alexander Alekhin
703f79b757
tests: add "bigdata" tests
2018-05-15 15:56:26 +03:00
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
2018-05-09 23:31:02 +03:00
Tomoaki Teshima
a58c9d4d63
arm: fix build error of v_rotate_left
...
* remove meaningless tests
2018-05-08 00:35:18 +09:00
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
2018-05-04 23:09:38 +00:00
yuki takehara
4934f7c5a4
Merge pull request #11285 from take1014:core_6125
...
* Resolves 6125
* Fix test code
* Delete unnecessary code
2018-04-28 14:14:10 +03:00
Alexander Alekhin
dfa04a11bb
core: norm with mask 16UC3 regression test
2018-04-26 13:35:25 +03:00
Alexander Alekhin
6b581c4e51
build: unreachable code after CV_Error() (part 2)
2018-04-24 16:03:40 +03:00
Alexander Alekhin
909a25571e
Merge pull request #11332 from alalek:v_select_x86
2018-04-24 11:44:33 +00:00
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.
2018-04-23 13:17:53 +03:00
Ryan Wong
6f675ae75b
Merge pull request #11304 from kinchungwong:issue_11242_intrin_cv34x_nocpp11
...
* Issue 11242 intrinsics v_extract, v_rotate improvement, branch 3.4, without C++11 (remove type restrictions for SSE2, use PALIGNR on SSSE3, compile to no-op when imm is 0 or nlanes).
* fix whitespace
* Fix #11242 (NEON intrinsics v_rotate...) branch 3.4
Separate macro expansion OPENCV_HAL_IMPL_NEON_SHIFT_OP for bitwise shifts for integers, from macro expansion OPENCV_HAL_IMPL_NEON_ROTATE for lane rotations. Bitwise shifts do not apply to floats, but lane-rotations can apply to both.
* fix whitespace
* Fix #11242 compile error (VSX intrinsics v_rotate(a)) branch 3.4 no-c++11
2018-04-20 18:43:47 +03:00
Alexander Alekhin
cfaca4327b
Merge pull request #11169 from tomoaki0705:universalRemap
2018-04-13 13:24:06 +00:00
Tomoaki Teshima
a82e70cd40
remove raw SSE2/NEON implementation from imgwarp.cpp
...
* use universal intrinsic instead of raw intrinsic
* add 2 channels de-interleave on x86 platform
* add v_int32x4 version of v_muladd
* add accumulate version of v_dotprod based on the commit from seiko2plus on bf1852d
* remove some verify check in performance test
* avoid the out of boundary access and keep the performance
2018-04-13 21:19:16 +09:00
Alexander Alekhin
567ae61e78
core: add "check" macros
2018-04-09 21:24:02 +03:00
Vadim Pisarevsky
474a23bda5
Merge pull request #11170 from alalek:test_fixed_type
2018-04-09 14:53:43 +00:00
Maksim Shabunin
d2cff38db6
Added interface to check library version during runtime
2018-04-09 12:30:39 +03:00
Alexander Alekhin
a87a5dfdb3
Merge pull request #11192 from terfendail:setto_fix
2018-04-05 20:25:34 +00:00
Alexander Alekhin
e20fb7f429
Merge pull request #11197 from alalek:parallel_propagate_exception
2018-04-05 20:24:22 +00:00
yuki takehara
d57e5c31c0
Merge pull request #11214 from take1014:core_9720
...
* fix #9720
* Add regression test
* Fix calculation method for scale
2018-04-04 18:36:02 +03:00
Vitaly Tuzov
ccd16f107d
Fixed IPP based implementation of setTo() for infinity value
2018-04-04 16:05:22 +03:00
Alexander Alekhin
8c4b5b6a70
core(test): parallel_for test with exception
2018-03-29 16:59:51 +03:00
Vadim Pisarevsky
6b041c8aeb
Merge pull request #11137 from alalek:core_fix_mat_ctor
2018-03-28 12:39:49 +00:00
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
2018-03-28 15:35:38 +03:00
Alexander Alekhin
d1311518a3
core: test-sample for FIXED_TYPE demonstration
...
with implementation of functions with multiple output formats
2018-03-27 15:41:41 +03:00
Alexander Alekhin
4378e8fcc0
core: fix cv::Mat constructor
2018-03-22 15:35:54 +03:00
Alexander Alekhin
ab110c0ad1
Merge pull request #10979 from dkurt:unite_dnn_samples
2018-03-14 14:33:49 +00:00
Dmitry Kurtaev
538fd42363
Add test for Scalar arguments at CommandLineParser
2018-03-13 11:01:07 +03:00
yuki takehara
0792ef8789
Merge pull request #11049 from take1014:#10948
...
* Fix #10948
* Add test code
* Fixed build error
* Add value zero
* eigen: test cleanup
2018-03-12 21:49:10 +03:00
Tomoaki Teshima
8fd1bbde76
fix test error on Tinker Board (OpenCL on Arm platform)
...
* loosen some test threshold mainly for integer types
* use relative error for floating points result
* avoid division by zero by following the comment
* fix the indentation
2018-02-26 22:55:06 +09:00
Alexander Alekhin
857007372d
Merge pull request #10895 from tomoaki0705:fixBuildVS2013sprintf
2018-02-18 07:45:01 +00:00
Tomoaki Teshima
6a661e1e28
fix test error on VS2013
2018-02-18 09:29:38 +09:00
Patrik Huber
7be0c78533
Merge pull request #10589 from patrikhuber:patch-1
...
* Make <array> #ifdef true for MSVC
I think MSVC had `std::array` for quite a while (possibly going back as far as VS 2012, but it's definitely there in 2015 and 2017. So I think `_MSC_VER` `1900` is a safe bet. Probably `1800` and maybe even `1700` could work as well but I can't test that locally.
* fix test
2018-02-17 14:53:30 +03:00
luz.paz
5718d09e39
Misc. modules/ typos
...
Found via `codespell`
2018-02-12 07:09:43 -05:00
Alexander Alekhin
5a791e6e06
cmake: update reporting of excluded dispatching files ( #10711 )
...
* cmake: add ocv_get_smart_file_name() macro
* cmake: avoid adding files for unavailable dispatch modes
2018-02-12 14:48:20 +03:00
yuki takehara
379ea15d16
Add new Mat constructor ( #10808 )
...
* Add new Mat constructor
* Fix build error
* Fix build error
* Fixed the code about 4 comments
* Fixed three comments
* delete previous local declaration
* fix build error
2018-02-12 14:36:54 +03:00
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
2018-02-03 19:39:47 +00:00
elenagvo
cd1c8693d8
HAL for minMaxIdx
2017-12-22 12:56:52 +03:00
Vadim Pisarevsky
84535a60f2
Merge pull request #10307 from savuor:fix/expect_softfloat
2017-12-14 21:00:46 +00:00
Tomoaki Teshima
ca1a0a1108
core: remove raw SSE2/NEON implementation from convert.cpp ( #9831 )
...
* remove raw SSE2/NEON implementation from convert.cpp
* remove raw implementation from Cvt_SIMD
* remove raw implementation from cvtScale_SIMD
* remove raw implementation from cvtScaleAbs_SIMD
* remove duplicated implementation cvt_<float, short>
* remove duplicated implementation cvtScale_<short, short, float>
* add "from double" version of Cvt_SIMD
* modify the condition of test ConvertScaleAbs
* Update convert.cpp
fixed crash in cvtScaleAbs(8s=>8u)
* fixed compile error on Win32
* fixed several test failures because of accuracy loss in cvtScale(int=>int)
* fixed NEON implementation of v_cvt_f64(int=>double) intrinsic
* another attempt to fix test failures
* keep trying to fix the test failures and just introduced compile warnings
* fixed one remaining test (subtractScalar)
2017-12-15 00:00:35 +03:00
Rostislav Vasilikhin
7d18f49a49
SoftFloat tests: assert => expect
2017-12-14 21:03:25 +03:00
Vadim Pisarevsky
7b701fee60
Merge pull request #10302 from alalek:issue_10254
2017-12-13 17:31:40 +00:00
Vadim Pisarevsky
99183e98d3
Merge pull request #10293 from alalek:fix_persistence_with_deprecated_traits
2017-12-13 17:30:23 +00:00
Alexander Alekhin
9930076dc5
core(test): avoid filename duplicates in tests
2017-12-13 18:21:55 +03:00
Alexander Alekhin
ce20efb8e7
Merge pull request #9804 from woodychow:optimize_cveigen
2017-12-12 14:58:04 +00:00
Alexander Alekhin
825b14278e
core: fix persistence with deprecated traits
2017-12-12 17:07:36 +03:00
Alexander Alekhin
c0b6061a5e
core(test): Core_Eigen.vector_32 use relative norm
2017-12-12 15:07:31 +03:00
Alexander Alekhin
2324674dfb
core(test): update eps in testEigen<float>: 1e-6 => 1e-4
2017-12-12 15:07:31 +03:00
Alexander Alekhin
d48d2d7fe2
core(test): refactor PCA test
...
- CV_L2 -> relative NORM_L2
- eigenEps: 1e-6 ==> 1e-4
- evalEps: 1e-6 ==> 1e-5
- evecEps: 1e-3 ==> 5e-3
- RNG seed: 12345
- drop non-informative legacy test code (ts->printf, etc)
2017-12-12 15:07:27 +03:00
Alexander Alekhin
e49febb70f
Merge pull request #10269 from terfendail:softdouble_round
2017-12-11 12:48:03 +00:00
Vadim Pisarevsky
558b17dede
Merge pull request #10231 from alalek:ocl_refactor_program_api
2017-12-11 12:34:22 +00:00
Vitaly Tuzov
86b128dbb3
Added implementation of softdouble rounding to int64_t
2017-12-11 14:29:32 +03:00
Pavel Rojtberg
6fb9d42c3f
Hid symbols in static builds, added LTO flags, removed exports from ts
2017-12-07 10:26:48 +03:00
Alexander Alekhin
15b909e80b
ocl: add SPIR Program loading test
...
SPIR kernels are located in opencv_extra
2017-12-05 22:25:14 +03:00
Alexander Alekhin
13c4a02157
ocl: low-level API to support OpenCL binary programs
2017-12-05 22:25:14 +03:00
woody.chow
611cf8d86f
Use Eigen::SelfAdjointEigenSolver in cv::eigen
2017-12-05 02:40:55 +03:00
Sayed Adel
6fe6436162
core:ppc Fixed compilation with xlc, clang.
...
- Use EXPECT_TRUE instead of EXPECT_EQ for comparing NULL in xlc
- Added support for int64 to vec_promote in xlc, clang
- Fixed v_rotate_right in xlc
2017-11-29 07:48:26 +00:00
Maksim Shabunin
6c135261b2
Universal Intrinsics: aligned v_pack behavior on different platforms, fixed 64-bit register on ARM, added more saturate_cast variants
2017-11-28 13:31:56 +03:00
Tomoaki Teshima
3cbe60cca2
Merge pull request #9753 from tomoaki0705:universalMatmul
...
* add accuracy test and performance check for matmul
* add performance tests for transform and dotProduct
* add test Core_TransformLargeTest for 8u version of transform
* remove raw SSE2/NEON implementation from matmul.cpp
* use universal intrinsic instead of raw intrinsic
* remove unused templated function
* add v_matmuladd which multiply 3x3 matrix and add 3x1 vector
* add v_rotate_left/right in universal intrinsic
* suppress intrinsic on some function and platform
* add pure SW implementation of new universal intrinsics
* add test for new universal intrinsics
* core: prevent memory access after the end of buffer
* fix perf tests
2017-11-20 15:56:53 +03:00
Alexander Alekhin
3a0039d204
core(intrinsics): v_load_low
2017-11-15 16:04:18 +03:00
Alexander Alekhin
024be9b8c9
Merge pull request #9818 from tz70s:issue#9570
2017-10-11 15:19:17 +00:00
Vadim Pisarevsky
5e82c98a9f
Merge pull request #9828 from berak:fix_c++17_9572
2017-10-11 13:31:18 +00:00
berak
ada753a54c
fix c++17 namsespace issues
2017-10-11 09:50:22 +02:00
tz70s
6c1247b38c
fix#9570: implement mat ptr for generic types
...
The original template based mat ptr for indexing is not implemented,
add the similar implementation as uchar type, but cast to
user-defined type from the uchar pointer.
2017-10-10 21:46:49 +08:00
Alexander Alekhin
529632f8d0
core: cv::eigenNonSymmetric() via EigenvalueDecomposition
2017-10-01 07:45:32 +00:00
Vadim Pisarevsky
f4136679ea
Merge pull request #9551 from ChristofKaufmann:MultiChannelMask
2017-09-18 09:28:34 +00:00
Christof Kaufmann
7ec59fc097
Revert changes of mean and meanStdDev
2017-09-17 21:00:28 +02:00
Vadim Pisarevsky
622318aeae
Merge pull request #9561 from dkurt:fix_8693
2017-09-13 13:34:49 +00:00
Vladislav Sovrasov
32bf712102
cmake: disable implicit-fallthrough by default
2017-09-11 16:04:00 +03:00
Maksim Shabunin
c92c99ed0b
Enabled forEach for const Mats
2017-09-07 11:35:14 +03:00
Maksim Shabunin
2ac57a2b1f
Merge pull request #9457 from alalek:type_traits_issue_7599
2017-09-06 13:34:29 +00:00
Dmitry Kurtaev
8b094755fa
Fix https://github.com/opencv/opencv/issues/8693
2017-09-05 23:33:18 +03:00
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.
2017-09-04 19:40:27 +02:00
Alexander Alekhin
3df41b3263
Merge pull request #9426 from borisfom:dispatch
2017-09-03 09:24:59 +00:00
Alexander Alekhin
f7a273cfb3
core(test): regression test for 9507
2017-09-01 21:08:58 +03:00
Alexander Alekhin
0451629e22
core(persistence): resolve DMatch/KeyPoint problem
2017-08-31 19:35:48 +03:00
Alexander Alekhin
72f789bf34
core: fix type traits
2017-08-31 15:05:46 +03:00
Vadim Pisarevsky
518c6ae8c6
Merge pull request #9327 from sovrasov:fs_free_on_error_fix
2017-08-28 20:25:34 +00:00
Alexander Alekhin
b18983a005
test(hal): properly dispatch FP16 test
2017-08-24 20:54:17 +00:00
KUANG Fangjun
97ec91ad67
fix cv::CommandLineParser.
...
It should handle bool value not only of "true" but also of "TRUE" and "True".
2017-08-23 11:38:58 +02:00
Boris Fomitchev
76f7fb5231
Extending CPU dispatch to the tests; fixing a typo
2017-08-21 20:58:12 -07:00
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
2017-08-15 09:23:26 +00:00
Vladislav Sovrasov
5e68b28ad3
core: fix file not closed when exception in FS
2017-08-07 21:03:59 +03:00
Vladislav Sovrasov
aa54acd54d
core: add a test to reproduce #9312
2017-08-07 16:16:14 +03:00
dkurt
583b327523
Fix JSON booleans without quotes
2017-07-26 12:51:06 +03:00
dkurt
3515f6ec33
Missed NAMED bit of JSON nodes tag
2017-07-25 13:39:32 +03:00
Alexander Alekhin
bc3c7e80a6
Merge pull request #9209 from alalek:fix_persistence_format
2017-07-21 10:55:40 +00:00
Alexander Alekhin
d9e092325b
test: regression test for IPP minMaxIdx problem
2017-07-21 12:55:07 +03:00
Alexander Alekhin
5bc291937f
test: FileStorage format regression test
2017-07-20 19:58:10 +03:00
Tomoaki Teshima
e63d628677
remove some rand functions
...
* make test more reproducible
2017-07-20 22:43:11 +09:00
Alexander Alekhin
5a54acef4e
Merge pull request #9130 from alalek:android_define
2017-07-14 17:17:24 +00:00
Vladislav Sovrasov
e5fbb4f5d2
Merge pull request #9034 from sovrasov:mats_from_initializer_list
...
Add constructors taking initializer_list for some of OpenCV data types (#9034 )
* Add a constructor taking initializer_list for Matx
* Add a constructor taking initializer list for Mat and Mat_
* Add one more method to initialize Mat to the corresponding tutorial
* Add a note how to initialize Matx
* CV_CXX_11->CV_CXX11
2017-07-14 17:17:09 +00:00
Alexander Alekhin
d6c5e18e24
core(test): fix input data for OCL FP16 test
2017-07-12 18:51:11 +03:00
Alexander Alekhin
a4a47b538c
build: detect Android via '__ANDROID__' macro
...
https://sourceforge.net/p/predef/wiki/OperatingSystems
2017-07-10 12:43:59 +03:00
Vladislav Sovrasov
f42b7d03b4
core: add a test of iteration through the Mat_ with range-based for
2017-07-03 12:49:17 +03:00
Vladislav Sovrasov
35a1ecef2a
core: fix infinite recursion in compare
2017-06-28 15:00:52 +03:00
Vladislav Sovrasov
4f9871817a
core: forbid handling of the case when src=dst in cv::repeat
2017-06-26 14:02:52 +03:00
Alexander Alekhin
9067310166
core(test): added cv::sortIdx accuracy tests
2017-06-21 03:04:16 +00:00
Alexander Alekhin
e23b59da5c
build: fix v_reduce_sum4 (requires SSE3)
2017-06-14 09:37:06 +00:00
Alexander Alekhin
0213b508dc
Merge pull request #8868 from alalek:fix_build_softfloat
2017-06-08 20:22:53 +00:00
Alexander Alekhin
781515c514
build: fix "ambiguous call" (MSVS2010)
2017-06-08 20:40:35 +03:00
Alexander Alekhin
71517a910a
build: fix errors for MSVS2010-2013, reduce default softfloat scope
2017-06-08 01:09:21 +00:00
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
2017-05-29 17:07:25 +03:00
Vadim Pisarevsky
7c3577f7ae
Merge pull request #8779 from vpisarev:empty_cmp_fix
2017-05-23 19:06:57 +00:00
Alexander Alekhin
15a2c7724d
Merge pull request #8743 from tomoaki0705:featureConvertFp16UMat
2017-05-23 15:32:12 +00:00
Vadim Pisarevsky
4eda8efd42
resolves https://github.com/opencv/opencv/issues/7792
2017-05-23 18:16:40 +03:00
Alexander Alekhin
715b88c4cb
Merge pull request #8775 from mshabunin:ipp-count-fix
2017-05-23 13:29:16 +00:00
Tomoaki Teshima
d81cdb8e1c
add OpenCL version of convertFp16 and test
...
* disable vector operation for now
* brush up the implementation based on comment
2017-05-23 20:00:21 +09:00
Maksim Shabunin
f23b6ba652
Fixed multidimensional count non-zero IPP implementation
2017-05-23 13:23:59 +03:00
Vladislav Sovrasov
2c2b1405a3
Add test for Mat_::release()
2017-05-23 12:20:48 +03:00
Alexander Alekhin
04573615c5
Merge pull request #8671 from tomoaki0705:fixBuildVS2012sprintf
2017-04-29 15:13:15 +00:00
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
2017-04-26 17:19:26 +03:00
Alexander Alekhin
56a0a50da3
Merge pull request #8603 from alalek:fix_test_name
2017-04-25 10:36:03 +00:00
Tomoaki Teshima
0f5aaade61
fix test error on VS2012
2017-04-21 23:07:46 +09:00
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
2017-04-19 13:13:39 +03:00
Alexander Alekhin
dd304dbe05
test: fix min/max name mismatching
2017-04-18 22:25:00 +03:00
Alexander Alekhin
e5d9b608c4
cmake: fix fp16 support
2017-04-04 20:34:58 +03:00
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.
2017-03-24 15:34:58 +01:00
Vladislav Sovrasov
931b32d102
core: add single DMatch/Keypoint I/O
2017-03-03 13:58:55 +03:00
Alexander Alekhin
89ce2dc405
core: DMatch I/O tests
2017-03-03 13:55:27 +03:00
Vadim Pisarevsky
c7049ca627
Merge pull request #8293 from alalek:update_rng_in_parallel_for
2017-03-02 05:51:01 +00:00
Vladislav Sovrasov
c321d025c4
Fix DMatch and Keypoint I/O in FileStorage
2017-03-01 15:07:38 +03:00
Alexander Alekhin
ebdd74105a
core(test): add regression test for RNG in parallel_for_()
2017-02-28 18:22:58 +03:00
Vladislav Sovrasov
14451f3f06
core: fix adjustROI behavior on indexes overflow
2017-02-22 14:05:51 +03:00
Alexander Alekhin
9ac9e9e29a
core: fix String::end() implementation
2017-02-09 16:36:22 +03:00
Maksim Shabunin
b417b4dbee
KMeans improvement
...
- fixed returned compactness value
- added centers drawing to the example app
- added compactness test
2017-01-31 12:05:08 +03:00
Alexander Alekhin
a22f03e749
Merge pull request #7863 from tomoaki0705:universalIntrinsicPopcount
2017-01-18 17:25:02 +00:00
Vladislav Sovrasov
896c34fab3
Add support of type headings from YAML1.2
2017-01-17 16:40:38 +03:00
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
2017-01-12 09:09:22 +09:00
Alexander Alekhin
862c3aa6e1
Merge pull request #7873 from addisonElliott:Mat_Range_InitializerList
2016-12-16 16:45:17 +00:00
Alexander Alekhin
0e4dde1781
Merge pull request #7872 from alalek:merge-2.4
2016-12-16 16:03:14 +02:00
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.
2016-12-15 09:16:40 -06:00
Alexander Alekhin
dbbbad40fb
build: eliminate ICC warnings
2016-12-15 15:57:40 +03:00
Alexander Alekhin
fb223784a6
test: fix Core_HAL.mat_decomp test implementation
2016-12-12 14:47:38 +03:00
Alexander Alekhin
79857f1e38
test: fix Core_ArithmMask.uninitialized test
...
Don't run binary operations for floating-point numbers
norm() will fail with NAN result.
2016-12-07 21:44:17 +03:00
Alexander Alekhin
5032dae9ed
test: refactor test to capture more information on failure
...
Core_ArithmMask.uninitialized
2016-12-02 18:54:27 +03:00
Vladislav Sovrasov
7c266ffffe
Add support of vector of vectors serialization to FileStorage
2016-11-16 13:37:30 +03:00
Vladislav Sovrasov
38483fe7a7
Skip UTF-8 BOM in FileStorage
2016-11-02 14:51:07 +03:00
Vadim Pisarevsky
ecb8fb964d
Merge pull request #7572 from tomoaki0705:featureUniversalStereoSgbm
2016-10-28 15:34:11 +00:00
Tomoaki Teshima
b823c8e95c
add universal intrinsic in StereoSGBM
...
* add 8 elements version of reduce operation
* add tests for new universal intrinsic
2016-10-28 21:47:13 +09:00
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.
2016-10-25 18:18:35 +02:00
Alexander Alekhin
5da8d65371
eliminate compiler warnings
2016-10-08 02:19:43 +03:00
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
2016-10-03 13:23:43 +09:00
Alexander Alekhin
d34f2cfefe
Merge pull request #7317 from tomoaki0705:fixIfdefFp16
2016-09-26 10:59:32 +00:00
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
2016-09-23 11:04:22 +09:00
Alexander Alekhin
f50f34016e
test: fix test crash (exception in destructor)
2016-09-22 15:18:32 +03:00
Alexander Alekhin
125e2dcbba
Merge pull request #7156 from sovrasov:hal_qr_decomp
2016-09-08 09:47:52 +00:00
Alexander Alekhin
c8d77fd961
Merge pull request #7233 from tomoaki0705:featureUniversalIntrinsicFp16
2016-09-07 14:42:46 +00:00
Vladislav Sovrasov
dfe4519c07
Add QR decomposition to HAL
2016-09-05 18:20:04 +03:00
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
2016-09-05 08:13:52 +09:00