MYLS
617df09143
Modify Base64 functions and add test and documentation
...
Major changes:
- modify the Base64 functions to compatible with `cvWriteRawData` and so
on.
- add a Base64 flag for FileStorage and outputs raw data in Base64
automatically.
- complete all testing and documentation.
2016-07-19 15:54:38 +08:00
Vadim Pisarevsky
48b747903b
Merge pull request #6830 from tomoaki0705:featureSupportFp16
2016-07-18 15:56:00 +00:00
Ilya Lavrenov
957bf1452c
added some tests for push_back
2016-07-15 14:48:22 +03:00
Maksim Shabunin
b0fa477614
Merge pull request #6908 from ilya-lavrenov:reduce
2016-07-15 09:07:56 +00:00
Ilya Lavrenov
0af3947468
added note about cv::reduce output type for MIN/MAX
2016-07-14 17:22:08 +03:00
Ilya Lavrenov
c4b57d0ded
disable ippiMinMaxIndx_32f_C1R usage since it crashes on Nans
2016-07-14 14:52:58 +03:00
Alexander Alekhin
53f4eaa7a7
Merge pull request #6892 from ioxp:fsSpace
2016-07-13 11:46:50 +00:00
Alexander Alekhin
5f269d08b4
bigdata: add test, resolve split/merge issue
2016-07-08 18:05:53 +03:00
Philipp Hasper
00112bbe10
persistence: fixing crash with space-only values
2016-07-08 12:41:05 +02:00
Alexander Alekhin
3844ee780c
build: fix compiler warnings (GCC 5.3.1)
2016-07-01 20:17:16 +03:00
Vadim Pisarevsky
7fea7e0629
Merge pull request #6697 from wiryls:FileStorageBase64
2016-06-30 17:17:03 +00:00
Vitaliy Lyudvichenko
930d96f684
Fixing of AutoBuffer::allocate(nsz) method
...
AutoBuffer::allocate(nsz) didn't work properly when
(sz < nsz < fixed_size). In this case sz remained unchanged.
2016-06-29 19:50:51 +03:00
MYLS
df5a7c8ee9
build again for OpenCL.
...
I could not find the cause of the error:
```
C:\builds_ocv\precommit_opencl\opencv\modules\ts\src\ts_perf.cpp(361):
error: The difference between expect_max and actual_max is
8445966.0000002384, which exceeds eps, where
expect_max evaluates to 0.9999997615814209,
actual_max evaluates to 8445967, and
eps evaluates to 1.0000000000000001e-005.
Argument "dst0" has unexpected maximal value
```
Hope this is a false alarm.
2016-06-25 02:24:33 +08:00
MYLS
677d4d20ce
fixed an error in the test...
2016-06-25 00:37:13 +08:00
MYLS
959002fb96
solve warnings and errors in test.
2016-06-24 23:41:40 +08:00
MYLS
7c92ee2e6e
Split cvWriteRawData_Base64
into three functions
...
The three new functions:
```cpp
void cvStartWriteRawData_Base64(::CvFileStorage * fs, const char* name,
int len, const char* dt);
void cvWriteRawData_Base64(::CvFileStorage *
fs, const void* _data, int len);
void
cvEndWriteRawData_Base64(::CvFileStorage * fs);
```
Test is also updated. (And it's remarkable that there is a bug in
`cvWriteReadData`.)
2016-06-24 22:27:42 +08:00
Alexander Alekhin
96937bac74
Merge pull request #6581 from mshabunin:hal_mag
2016-06-21 13:16:17 +00:00
MYLS
29921d055d
change the parameter to CvMat
and CvMatND
...
```cpp
cvWriteMat_Base64(::cv::FileStorage & fs, ::cv::String const & name,
::cv::Mat const & mat)
```
becomes:
```cpp
CV_EXPORTS void cvWriteMat_Base64(::CvFileStorage* fs, const char* name,
const ::CvMat* mat);
CV_EXPORTS void
cvWriteMatND_Base64(::CvFileStorage* fs, const char* name, const
::CvMatND* mat);
```
2016-06-20 16:59:58 +08:00
MYLS
958263d245
Solve warnings, and adjusted the test case.
2016-06-19 02:00:32 +08:00
MYLS
882e4221e7
fix errors from test.
...
Two other test are still needed.
1. Verify the Base64 data.
2. Read an old YML file for compatibility test.
2016-06-19 00:45:51 +08:00
MYLS
7b1f7c8d8e
Add Base64 support for FileStorage
...
1. Add Base64 support for reading and writing XML\YML file.
The two new functions for writing:
```cpp
void cvWriteRawData_Base64(cv::FileStorage & fs, const void* _data, int
len, const char* dt);
void cvWriteMat_Base64(cv::FileStorage & fs, cv::String const & name,
cv::Mat const & mat);
```
2. Change YML file header form `YAML:1.0` to `YAML 1.0`. (standard
format)
3. Add test for Base64 part.
2016-06-18 22:14:11 +08:00
MYLS
ecd827fc8e
Add Base64 support for FileStorage
...
[GSoC] FileStorage:
Add base64 support for reading and writting XML\YML file.
The two new functions:
```
void cvWriteRawData_Base64(cv::FileStorage & fs, const void* _data, int
len, const char* dt);
void cvWriteMat_Base64(cv::FileStorage & fs, cv::String const & name,
cv::Mat const & mat);
```
2016-06-18 21:40:29 +08:00
Tomoaki Teshima
d1c1c01761
fix typo
2016-06-07 14:53:04 +09:00
Tomoaki Teshima
eccf2fa4c3
follow other interface
...
* remove useHW option
* update test
2016-06-06 08:56:37 +09:00
Maksim Shabunin
1e667de1f3
HAL math interfaces: fastAtan2, magnitude, sqrt, invSqrt, log, exp
2016-05-31 11:54:52 +03:00
Tomoaki Teshima
b2ad7cd9c0
add feature to convert FP32(float) to FP16(half)
...
* check compiler support
* check HW support before executing
* add test doing round trip conversion from / to FP32
* treat array correctly if size is not multiple of 4
* add declaration to prevent warning
* make it possible to enable fp16 on 32bit ARM
* let the conversion possible on non-supported HW, too.
* add test using both HW and SW implementation
2016-05-21 21:31:33 +09:00
Tomoaki Teshima
bfcb40ad77
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
2016-05-20 18:25:32 +09:00
Tomoaki Teshima
7077d1de63
fix hal_intrin test on 64bit ARM
...
* fix issue 6521
* use correct comparison
2016-05-12 18:30:09 +09:00
Vadim Pisarevsky
904381c602
Merge pull request #6020 from mshabunin:hal_dxt
2016-04-25 11:37:18 +00:00
Philipp Hasper
47c4ee974a
operator<< handles keys starting with underscore
2016-04-11 09:55:33 +02:00
Maksim Shabunin
008abd28fd
Extracted HAL interfaces for DFT/DCT, added new test
2016-04-08 11:19:28 +03:00
Alexander Alekhin
f48cda2f95
test: initialize test data in test_umat.cpp (6102)
2016-02-12 13:15:15 +03:00
Alexander Alekhin
96f5a930f4
test: regression 5991
2016-01-26 14:11:53 +03:00
Alexander Alekhin
17e4d33b0e
added regression test for #5876
2015-12-25 16:16:34 +03:00
Maksim Shabunin
84f37d352f
HAL moved back to core
2015-12-17 12:33:23 +03:00
Alexander Alekhin
b26580cc7b
checkRange fixes
...
1) fix multichannel support
2) remove useless bad_value, read value from original Mat directly
3) add more tests
4) fix docs for cvCeil and checkRange
2015-12-09 18:31:27 +03:00
Vadim Pisarevsky
d19897b734
Merge pull request #5651 from hoangviet1985:fix_solvePoly_3.0.0
2015-12-07 10:12:54 +00:00
Maksim Shabunin
ddf293a081
Merge pull request #5649 from hoangviet1985:solve_pow(x,3)=0_opencv300
2015-11-22 18:02:40 +00:00
hoangviet1985
3e96b724c2
squash
2015-11-20 15:03:32 -05:00
hoangviet1985
b96def885f
squash
2015-11-20 14:48:29 -05:00
Vadim Pisarevsky
3942b1f362
Merge pull request #5340 from alalek:ocl_off
2015-11-10 16:53:36 +00:00
Maksim Shabunin
31e0d90da6
Enable temp objects destruction test for VS versions less than 2015
2015-10-22 12:44:03 +03:00
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
2015-10-20 12:48:37 +03:00
Pavel Rojtberg
46ada3886f
fix wrong parsing of values containing '='
...
fixes #5074
2015-09-24 17:27:07 +02:00
Pavel Rojtberg
1dd7f546af
CommandLineParser: add special <none> value to disallow empty strings
...
some mandatory string keys like paths must not be empty. Add the special
default value `<none>` so the CommandLineParser can enforce this and
generate an according error message for us.
2015-09-23 15:43:46 +02:00
Pavel Rojtberg
a388806555
enable additional CommandLineParser tests
2015-09-22 18:37:51 +02:00
Pavel Rojtberg
2ced3ba276
CommandLineParser: throw on programmer error
...
requesting a previously undeclared key is most likely an programming
error. e.g. a typo "--unused vs --unsued".
So throw in those cases.
Add an according failure testcase.
2015-09-22 18:35:49 +02:00
Alexander Alekhin
d945aff132
Merge pull request #5371 from Dikay900:ports_to_master
2015-09-21 13:52:45 +00:00
Gleb Gladilov
2bc4486966
Added test of minMaxLoc on filling with maximums of int
2015-09-21 13:44:30 +02:00
Alexander Alekhin
d3071db0d7
add some CommandLineParser tests
2015-09-20 13:14:41 +03:00
Alexander Alekhin
bf42b9603b
fix "unreachable code" warning
2015-09-14 13:11:12 +03:00
Alexander Alekhin
7213e5f68a
ocl: correct disabling of OpenCL code
2015-09-13 20:28:23 +03:00
Ilya Lavrenov
0303e8067e
fixed memory leak in core ds tests
2015-09-11 18:46:52 +02:00
Alexander Alekhin
ad70ab404c
ocl: workaround for getUMat()
2015-09-09 18:56:14 +03:00
Andrey Pavlenko
cea2dafa0f
man/unmap, preventing getMat/getUMat from temp object, fix thread-unsafe code in UMat::getMat()
2015-09-09 18:05:29 +03:00
Alexander Alekhin
8694ba0978
update custom_ptr test
2015-09-03 10:46:38 +03:00
Vadim Pisarevsky
a78da45fec
Merge pull request #5242 from apavlenko:fix_releasing_temp_umat
2015-08-27 14:29:52 +00:00
Andrey Pavlenko
4aefb9f2fc
making the test deepper
2015-08-26 13:38:26 +03:00
Andrey Pavlenko
3656a1aa66
fixing 'map_unmap_counting'
2015-08-25 17:25:03 +03:00
Vadim Pisarevsky
bd8bac27d5
Merge pull request #4212 from ludv1x:master
2015-08-24 14:20:54 +00:00
Philippe FOUBERT
b668d3f693
Modification of the related tests in core/tests/ocl
2015-08-22 13:39:34 +02:00
Vitaliy Lyudvichenko
85cc11e3b2
Changed behaviour of Mat/UMat::reshape() to accept n-dim shapes
2015-08-21 19:26:29 +03:00
Alexander Alekhin
c1778f1199
Merge pull request #5161 from alalek:fix_string
2015-08-20 12:49:54 +00:00
Alexander Alekhin
68f8d1cef0
Merge pull request #5164 from vladimir-dudnik:test-umat-copyTo-issue
2015-08-13 14:59:07 +00:00
Vladimir Dudnik
131d7c394e
enabled test UMat copyTo. Now it will detect FAIL on Intel platform for ROI (issue with clEnqueueCopyBufferRect)
2015-08-11 14:19:14 +03:00
Alexander Alekhin
cda9ed449f
fix some functions for valid processing of empty string content (cstr_==0, len_==0)
2015-08-10 18:08:58 +03:00
Alexander Alekhin
09b9b0fb9e
Merge pull request #5135 from alalek:issue_4468
2015-08-10 14:46:31 +00:00
Alexander Alekhin
3316e58314
more test loops (and disable tests - tests pass but require a lot of time)
2015-08-10 14:44:28 +03:00
Alexander Alekhin
8293ed7f9b
add tests from issue 4468 ( #5062 )
2015-08-06 13:50:13 +03:00
Alexander Alekhin
21467d817b
tapi: add test from issue 4380 ( #5010 )
2015-08-05 16:08:48 +03:00
Alexander Alekhin
1704aea6a0
tapi: enable some disabled tests
2015-07-30 19:21:24 +03:00
Alexander Alekhin
9bcccb028b
fixes
2015-07-28 11:49:46 +03:00
Alexander Alekhin
cd5c70691a
ocl: add map tests
2015-07-28 11:49:46 +03:00
Alexander Alekhin
b36f565d13
fix OpenCV code (bug 4006: #4862 )
2015-07-28 11:49:41 +03:00
Vladimir Dudnik
ed7907e46c
add test for bug 4006: #4862
2015-07-28 11:49:02 +03:00
Alexander Alekhin
a6f46d7bb1
issue 4457
2015-07-08 16:22:58 +03:00
Alexander Alekhin
885114ed2c
fix copyTo memory corruption, but the main problem is still here
2015-07-02 13:47:59 +03:00
Alexander Alekhin
30a5a9ed34
test vector processing
2015-07-01 20:10:22 +03:00
Vadim Pisarevsky
d5afd070ce
Merge pull request #4094 from kashefy:Mat_push_back_MatExpr_bug_4340
2015-07-01 09:09:51 +00:00
Youssef Kashef
790ef21a60
add unit test around Mat::push_back()
...
add template specialization Mat::push_back() for MatExpr paramters
extend push_back MatExpr to mat in unit test
cast to object instead of reference
test with multi-row MatExpr input
2015-06-30 10:29:40 +02:00
Alexander Alekhin
9394486147
fix issue 3891
2015-06-16 18:53:58 +03:00
Vadim Pisarevsky
481f786fe7
added simple HAL test; added RHO homography test
2015-05-28 17:05:43 +03:00
Vadim Pisarevsky
66eb270cf7
significantly reduced sparse matrix footprint:
...
http://code.opencv.org/issues/2206 ,
http://code.opencv.org/issues/2924
2015-05-14 23:29:09 +03:00
Vadim Pisarevsky
73f760fdf0
some more compile warnings fixed
2015-05-05 18:03:40 +03:00
Vadim Pisarevsky
63a63e3eaa
extended MinProblemSolver::Function to 1) report the space dimensionality, 2) compute gradient if needed
2015-05-05 15:56:06 +03:00
Vadim Pisarevsky
5b9182ba43
reenabled conjugate gradient solver test
2015-05-03 11:36:24 +03:00
Vadim Pisarevsky
5a31f6b4e1
ok, so probably the failure in downhill simplex has been finally solved
2015-05-03 11:31:49 +03:00
Vadim Pisarevsky
2ec92ba440
added test for http://code.opencv.org/issues/1918
2015-05-03 02:46:33 +03:00
Vadim Pisarevsky
96b5ec14d4
fixed bug with simplex initialization in Downhill solver (thanks to Toby Rule for the patch): http://code.opencv.org/issues/3990 .
...
re-enabled Downhill solver test, let's see how it goes
2015-05-02 20:59:57 +03:00
Vadim Pisarevsky
79ac0d05ce
added test checking http://code.opencv.org/issues/4050
2015-05-02 20:38:30 +03:00
Vadim Pisarevsky
9fbd1d68ad
refactored div & pow funcs; added tests for special cases in pow() function.
...
fixed http://code.opencv.org/issues/3935
possibly fixed http://code.opencv.org/issues/3594
2015-05-01 21:49:11 +03:00
Vadim Pisarevsky
74e2b8cbcb
fixed invalid output of cv::dft when using DFT_ROWS + DFT_COMPLEX_OUTPUT ( http://code.opencv.org/issues/3428 )
2015-04-29 23:08:22 +03:00
Vadim Pisarevsky
7918267d02
fixed U non-orthogonality in SVD ( http://code.opencv.org/issues/3801 )
2015-04-29 16:09:58 +03:00
Vadim Pisarevsky
135fa85e8f
added vector<bool> support ( http://code.opencv.org/issues/3826 )
2015-04-29 15:36:45 +03:00
Vadim Pisarevsky
d8f360316d
fixed http://code.opencv.org/issues/3828 , added test. thanks to berak for the patch
2015-04-29 13:12:53 +03:00
Mansour Moufid
b99f7a29df
Cast some image coordinates and sizes to double.
...
Conflicts:
modules/gpu/perf/perf_imgproc.cpp
Cast a long integer to double explicitly.
Conflicts:
modules/python/src2/cv2.cpp
Cast some matrix sizes to type int.
Change some vector mask types to unsigned.
Conflicts:
modules/core/src/arithm.cpp
2015-04-25 18:54:53 +02:00
Ilya Lavrenov
cf4c79ebdd
disabled some kernels for Android && NVidia
2015-03-04 14:46:49 +03:00
Vladislav Vinogradov
d696fac8b8
move cuda tests from core to cudaarithm
2015-02-26 19:49:12 +03:00
Vadim Pisarevsky
f93be25cc8
Merge pull request #3629 from nstiurca:matx-fix
2015-01-22 09:43:33 +00:00
Nicu Știurcă
8722faa167
fix whitespace
2015-01-20 23:58:05 -05:00