k-shinotsuka
1a18a33688
improve SumSqr_SIMD<schar, int, int>()
8 years ago
Tomoaki Teshima
87ca607fd4
brush up convertFp16
...
* raise an error when wrong bit depth passed
* raise an build error when wrong depth is specified for cvtScaleHalf_
* remove unnecessary safe check in cvtScaleHalf_
* use intrinsic instead of direct pointer access
* update the explanation
8 years ago
k-shinotsuka
0b4e06ad3c
improve SumSqr_SIMD<uchar, int, int>()
8 years ago
Tomoaki Teshima
2974b049e7
cudev: add feature to convert FP32(float) from/to FP16(half) on GPU
...
* add feature of Fp16 on GPU (cudev)
* add test
* leave template function as unimplemented to raise error
8 years ago
Tomoaki Teshima
c57f8780e9
show CPU feature correctly when FP16 is available
...
* make sure that CV_FP16 has the correct meaning
* check FP16 feature correctly
8 years ago
Tomoaki Teshima
891c83ff35
fix build error
...
* NAN is not defined on some platform
* follow the comment on PR
8 years ago
Tomoaki Teshima
70dcd107d0
follow the comment
...
* test build on VS2012
8 years ago
Tomoaki Teshima
4423a5edad
fix build error
...
* NAN is not defined on some platform
8 years ago
Ilya Lavrenov
313f54bc39
read/write vec2i from/to filestorage
8 years ago
Alexander Alekhin
2ec63e4dd1
fix android pack build
8 years ago
Ilya Lavrenov
71cbd6f02e
fixed bug #5775
8 years ago
Rostislav Vasilikhin
96edb270a6
fixed memory corruption when normal dist. params have less channels than target matrix; test added
8 years ago
Ilya Lavrenov
6c42ad5b90
fixed typo
8 years ago
Ilya Lavrenov
87ae4e0564
fixed clone of empty matrix
8 years ago
catree
7f64f31f66
Fix NAryMatIterator code example.
8 years ago
Philippe FOUBERT
d9a56f6590
Resolves issue #6931
8 years ago
Ilya Lavrenov
957bf1452c
added some tests for push_back
8 years ago
Ilya Lavrenov
0af3947468
added note about cv::reduce output type for MIN/MAX
8 years ago
Ilya Lavrenov
c634e39299
removed extra semicolon
8 years ago
Ilya Lavrenov
c4b57d0ded
disable ippiMinMaxIndx_32f_C1R usage since it crashes on Nans
8 years ago
Vladislav Vinogradov
bfd6ae77f5
Add note that cv::cuda::Stream class is not thread safe
8 years ago
Vladislav Vinogradov
112903c2bd
increase minimal supported CUDA toolkit to 6.5
9 years ago
Alexander Alekhin
ddc0b42bc3
migration: github.com/opencv/opencv
9 years ago
Alexander Alekhin
5f269d08b4
bigdata: add test, resolve split/merge issue
9 years ago
Philipp Hasper
00112bbe10
persistence: fixing crash with space-only values
9 years ago
Vladislav Sovrasov
a2ec23c112
Update cv::log documentation
9 years ago
Alexander Alekhin
3844ee780c
build: fix compiler warnings (GCC 5.3.1)
9 years ago
Alexander Alekhin
b23527bf02
core: fix arguments types for cblas calls
9 years ago
Alexander Alekhin
8184535de1
samples: repair viz tutorial
9 years ago
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.
9 years ago
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.
9 years ago
MYLS
677d4d20ce
fixed an error in the test...
9 years ago
MYLS
959002fb96
solve warnings and errors in test.
9 years ago
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`.)
9 years ago
Suleyman TURKMEN
d2bad6febb
cv::TickMeter class addition
9 years ago
Alexander Alekhin
09c2a8b7ad
cmake: fix HAL dependencies for core module
...
Linker dependencies are transitive for non-private
9 years ago
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);
```
9 years ago
MYLS
9faa2a7fd0
solve warning for IOS
...
Two test are still needed:
1. Verify the Base64 data.
2. Read an old YML file for compatibility test.
9 years ago
MYLS
958263d245
Solve warnings, and adjusted the test case.
9 years ago
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.
9 years ago
MYLS
d1b097f409
fix most coding style warnings and errors
9 years ago
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.
9 years ago
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);
```
9 years ago
Alexander Alekhin
f4ebc504d1
cmake: refactor HAL attaching process
9 years ago
Philipp Nordhus
4a529cd641
Return reference on iterator indirection/subscript
9 years ago
Tomoaki Teshima
87d0c91dcf
fix warning of build
9 years ago
Tomoaki Teshima
d0a8390963
fix run time error on Mac
...
* integrate HW version and SW version to same function
9 years ago
Tomoaki Teshima
fd76ed5c0f
fix to support wider compiler
...
* check compiler more strictly
* use gcc version of fp16 conversion if it's possible (gcc 4.7 and later)
* use current SW implementation in other cases
9 years ago
Tomoaki Teshima
6f6eebbcb9
fix warning
9 years ago
Vladislav Sovrasov
055f5c7395
Change names of some internal functions
9 years ago