Tetragramm
ad5c50a923
Improve the efficiency as suggested by vpisarev.
...
Alter the Rotation enum to be unambiguous as to direction.
2016-11-02 17:44:13 -05:00
Vadim Pisarevsky
280cdb5b94
Merge pull request #7595 from sovrasov:fs_utf8_bom
2016-11-02 15:27:48 +00:00
Vladislav Sovrasov
e955d17c51
Add new error messages
2016-11-02 14:53:56 +03:00
Vladislav Sovrasov
38483fe7a7
Skip UTF-8 BOM in FileStorage
2016-11-02 14:51:07 +03:00
Tomoaki Teshima
cba22349b7
add universal hardware support check function
...
* use hasSIMD128 rather than calling checkHardwareSupport
* add SIMD check in spartialgradient.cpp
* add SIMD check in stereosgbm.cpp
* add SIMD check in canny.cpp
2016-10-29 13:24:31 +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
Tetragramm
6f7bf653f7
Add 90 degree rotation methods. This provides a quick simple way of doing 90 degree rotations.
...
Also fix warnings that show up on other compilers in test builds.
2016-10-22 12:48:52 -05:00
Vincent Rabaud
a89aa8c90a
Fix imageSize overflow in IplImage
2016-10-20 11:23:45 +02:00
Alexander Alekhin
fe8501c931
ocl: fix SVM code
2016-10-10 20:52:30 +03:00
Vadim Pisarevsky
fad0598634
normHamming done with AVX 2 intrinsics (ver 2) ( #7405 )
...
* normHamming done with AVX 2 intrinsics.
* fixed compiling AVX2-optimized norm hamming with MSVC
2016-10-05 21:23:32 +04:00
Vadim Pisarevsky
83f2eb79f1
make sure that the empty mat is copied to UMat properly - i.e. UMat becomes empty. Before the patch such copy operation crashed
2016-10-05 14:07:50 +03:00
Alexander Alekhin
411e551335
ocl: autogenerated code
2016-10-02 02:43:02 +03:00
Alexander Alekhin
a0add98b30
ocl: eliminate build warning
...
Templates are replaced by macro
2016-10-02 02:43:02 +03:00
Alexander Alekhin
a9ab629f60
build: fix aarch64 build with aarch64-linux-gnu-g++-4.8
2016-09-29 17:26:19 +03: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
Pavel Vlasov
0a9470bf09
Compatibility fix for Visual Studio 2012;
2016-09-16 10:03:42 +03:00
Alexander Alekhin
10d18a315c
instrumentation: minor refactoring, wrap OpenCL
...
- calculate ticksTotal instead of ticksMean
- local / global width is based on ticksTotal value
- added instrumentation for OpenCL program compilation
- added instrumentation for OpenCL kernel execution
2016-09-08 16:13:44 +03:00
Alexander Alekhin
f6208e3dea
Merge pull request #7247 from valeriyvan:matrix
2016-09-08 09:49:02 +00: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
Valeriy Van
c562f0ad38
Minor fix in MatAllocator::download
...
Minor fix in MatAllocator::upload
Minor fix in MatAllocator::copy
Minor fix in setSize function
Minor fix in Mat::Mat
Minor fix in cvMatNDToMat function
Minor fix in _InputArray::getMatVector
Minor fix in _InputArray::getUMatVector
Minor fix in cv::hconcat
Minor fix in cv::vconcat
Minor fix in cv::setIdentity
Minor fix in cv::trace
Minor fix in transposeI_ template function
Minor fix in reduceC_ template function
Minor fix in sort_ template function
Minor fix in sortIdx_ template function
Minor fix in cvRange function
Minor fix in MatConstIterator::seek
Minor fix in SparseMat::create
Minor fix in SparseMat::copyTo
Minor fix in SparseMat::convertTo
Minor fix in SparseMat::convertTo
Minor fix in SparseMat::ptr
Minor fix in SparseMat::resizeHashTab
Fixes indentation
2016-09-07 17:25:36 +03:00
Vladislav Sovrasov
dfe4519c07
Add QR decomposition to HAL
2016-09-05 18:20:04 +03:00
Sergey Alexandrov
765dd30981
Add support for GpuMat in InputArray::isContinuous()
2016-09-05 09:27:35 +02: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
Alexander Alekhin
4e8f8922e2
Merge pull request #7170 from alalek:fix_build
2016-08-29 10:15:58 +00:00
Alexander Alekhin
5383a625a7
fix Win build, change default WINNT macro to WinXP
...
Returning to Win2k value is possible via this CMake option:
cmake -DOPENCV_EXTRA_FLAGS="/D_WIN32_WINNT=0x0500" ...
2016-08-25 16:21:52 +03:00
Alexander Alekhin
da5ead2c23
Merge pull request #7166 from tomoaki0705:brushUpFp16
2016-08-25 11:49:23 +00:00
Tomoaki Teshima
c5d7791b67
brush up fp16 implementation
...
* DRY
* switch to Cv32suf and remove fp32Int32
* add Cv16suf
2016-08-25 05:31:25 +09:00
Vadim Pisarevsky
b03e3abd62
Merge pull request #7088 from wiryls:FileStorageJSON
2016-08-24 16:49:06 +00:00
MYLS
47f2e618ee
Add two tests.
...
- one test for type_id;
- another for comments in JSON;
2016-08-24 17:01:57 +08:00
Alexander Alekhin
b3b434e221
Merge pull request #7141 from lupustr3:pvlasov/instrumentation_extension
2016-08-23 16:48:25 +00:00
mpkh
01d2e7af71
fix building on FreeBSD
...
resolve undeclared identifier close error
2016-08-22 17:17:06 +04:00
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
2016-08-19 18:10:03 +03:00
Pavel Vlasov
680ca88ce0
Outdated ICV restrictions were removed;
2016-08-19 15:08:39 +03:00
Alexander Alekhin
93e5947f55
Merge pull request #7101 from lupustr3:pvlasov/instrumentation
2016-08-18 14:56:41 +00:00
Alexander Alekhin
5d7ee48031
Merge pull request #7085 from sovrasov:hal_doc_fix
2016-08-17 15:15:08 +00:00
Pavel Vlasov
a462d76a95
Implementations instrumentation framework for OpenCV performance system;
2016-08-17 16:26:03 +03:00
Maksim Shabunin
cd943cc60d
Merge pull request #7106 from lupustr3:pvlasov/ipp_hal_fix
2016-08-15 10:08:44 +00:00
Maksim Shabunin
031076ab93
Merge pull request #7077 from LaurentBerger:I7063
2016-08-15 09:08:44 +00:00
Pavel Vlasov
3860b8db02
IPP was enabled in mathfuncs_core;
...
Exp and Log IPP implementations are changed to hal interface;
2016-08-12 18:16:04 +03:00
Pavel Vlasov
8bcec7d77f
IPP enabling fix and typo fix;
2016-08-12 10:11:47 +03:00
Vladislav Sovrasov
13d2154f9a
Fix HAL documentation
2016-08-11 14:41:49 +03:00
LaurentBerger
b75bac7975
Solve Issue 7063
...
consequences of changes
accuracy test
Solve issue 7063
2016-08-11 10:56:50 +02:00
MYLS
d99832163a
solve warnings and do some cleaning.
2016-08-11 03:31:35 +08:00
MYLS
8596e82d98
Add JSON support.
...
a JSON emitter, a parser, tests and some basic doc.
2016-08-11 00:53:15 +08:00
Vadim Pisarevsky
96d48331da
Merge pull request #7076 from sovrasov:mkl_lapack
2016-08-10 10:25:17 +00:00
Vadim Pisarevsky
5eee757658
Merge pull request #6949 from wiryls:FileStorageBase64DocsTests
2016-08-10 09:26:13 +00:00
Vladislav Sovrasov
a113d9bcc1
Add MKL support
2016-08-10 11:20:23 +03:00
Tomoaki Teshima
3debc78a5f
fix build error on JetsonTK1
...
* avoid using vld1_f16 and vst1_f16 on gcc 4 series (Ubuntu 14.04)
* guard correctly with #if
* use static inline
2016-08-09 17:12:22 +09:00
Tomoaki Teshima
2db2d137ce
follow the naming rule as other API
...
* stop using 'CUDA' prefix
* add explanation
2016-08-05 22:14:55 +09:00
MYLS
1da8a19af3
fixed two bugs that I caused.
2016-08-05 16:15:03 +08:00
MYLS
86238d2748
make some changes according to the code review.
...
- use `std::string` instead of `new char`;
- reserve 1 MB for buffer;
2016-08-05 15:17:21 +08:00
Alexander Alekhin
b2698f24b0
Merge pull request #7033 from tomoaki0705:brushUpFp16
2016-08-04 09:31:52 +00:00
Vadim Pisarevsky
0a7e53da0a
Merge pull request #7010 from K-Shinotsuka:issue10
2016-08-03 18:44:02 +00:00
Vadim Pisarevsky
03d6c5e473
Merge pull request #7011 from K-Shinotsuka:issue11
2016-08-03 18:34:08 +00:00
k-shinotsuka
1a18a33688
improve SumSqr_SIMD<schar, int, int>()
2016-08-03 19:17:51 +09:00
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
2016-08-03 17:27:45 +09:00
k-shinotsuka
0b4e06ad3c
improve SumSqr_SIMD<uchar, int, int>()
2016-08-02 23:46:03 +09:00
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
2016-08-01 00:55:16 +09:00
MYLS
3935855365
Merge remote-tracking branch 'refs/remotes/opencv/master' into FileStorageBase64DocsTests
...
# Conflicts:
# modules/core/test/test_io.cpp
2016-07-30 01:08:27 +08:00
MYLS
08911cbfae
change code
to snippet
and do some cleaning.
...
- use `@snippet` instead of `@code` in docs.
- remove some functions that were not used.
2016-07-30 00:35:41 +08:00
Tomoaki Teshima
c57f8780e9
show CPU feature correctly when FP16 is available
...
* make sure that CV_FP16 has the correct meaning
* check FP16 feature correctly
2016-07-29 14:10:33 +09:00
Vadim Pisarevsky
167a4e6592
Merge pull request #6942 from alalek:fix_android_pack
2016-07-21 07:30:15 +00:00
Alexander Alekhin
2acfb263bb
Merge pull request #6910 from ilya-lavrenov:clone
2016-07-20 15:32:22 +00:00
Alexander Alekhin
2ec63e4dd1
fix android pack build
2016-07-20 16:49:57 +03:00
Vadim Pisarevsky
c4cc54e5da
Merge pull request #6953 from ilya-lavrenov:arithm
2016-07-20 13:42:30 +00:00
Ilya Lavrenov
71cbd6f02e
fixed bug #5775
2016-07-20 11:38:15 +03:00
Rostislav Vasilikhin
96edb270a6
fixed memory corruption when normal dist. params have less channels than target matrix; test added
2016-07-19 17:26:39 +03:00
MYLS
cf2d6f6721
solve errors and warnings
...
Modified performance test and solve a problem caused by an enum type.
2016-07-19 21:18:41 +08:00
MYLS
78ca5ddd45
solve errors and warnings
2016-07-19 19:56:57 +08:00
Ilya Lavrenov
87ae4e0564
fixed clone of empty matrix
2016-07-19 11:31:53 +03:00
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
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
a6b33c3590
Merge pull request #6846 from mbarnach:6086-cuda-initialization
2016-07-11 14:01:51 +00:00
Alexander Alekhin
7176c1327e
Merge pull request #6850 from alalek:bigdata_test
2016-07-11 14:01:06 +00:00
Alexander Alekhin
9b3d65c5e4
Merge pull request #6867 from alalek:fix_lapack
2016-07-11 14:00:22 +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
b23527bf02
core: fix arguments types for cblas calls
2016-06-30 20:25:08 +03:00
Vadim Pisarevsky
7fea7e0629
Merge pull request #6697 from wiryls:FileStorageBase64
2016-06-30 17:17:03 +00: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
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
9faa2a7fd0
solve warning for IOS
...
Two test are still needed:
1. Verify the Base64 data.
2. Read an old YML file for compatibility test.
2016-06-19 02:44:39 +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
d1b097f409
fix most coding style warnings and errors
2016-06-18 23:28:12 +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
87d0c91dcf
fix warning of build
2016-06-09 18:24:00 +09:00
Tomoaki Teshima
d0a8390963
fix run time error on Mac
...
* integrate HW version and SW version to same function
2016-06-09 08:41:37 +09:00
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
2016-06-07 18:32:47 +09:00
Tomoaki Teshima
6f6eebbcb9
fix warning
2016-06-07 18:31:18 +09:00
Vladislav Sovrasov
055f5c7395
Change names of some internal functions
2016-06-07 10:58:12 +03:00
Tomoaki Teshima
fbfd3158a7
fix corner case when number is small
2016-06-07 08:59:28 +09:00
Tomoaki Teshima
eccf2fa4c3
follow other interface
...
* remove useHW option
* update test
2016-06-06 08:56:37 +09:00
Vladislav Sovrasov
a2d0cc878c
Implement internal HAL for GEMM and matrix decompositions
2016-06-03 10:38:30 +03:00
Alexander Alekhin
d3930cdee1
Merge pull request #6482 from paroj:filestorage_py
2016-05-31 11:53:34 +00:00
Pavel Rojtberg
bf688da50b
FileStorage: add simplified API for bindings
...
at least it is possible to read/ write calibration files. Fixes #4282 .
Also add CPP method for writing comments.
2016-05-25 16:01:55 +02:00