hailong-wang
207218e920
Fix the bug of Mat_<>::opeartor []
...
`template<typename _Tp> inline const _Tp* Mat_<_Tp>::operator [](int y) const` does not support 3d matrix since it checks rows.
This operator[] shall check size.p[0] instead.
8 years ago
Fangjun KUANG
31cc519cd3
fix typos.
8 years ago
Fangjun KUANG
3c15913f53
Impove the documentation for Mat::diag
8 years ago
Fangjun KUANG
95468b72f3
Fix typos in the documentation for cv::Mat.
8 years ago
KUANG, Fangjun
debc1c4c95
fix an error while setting kernel argument for a 3-D matrix.
8 years ago
KUANG, Fangjun
be7d4608fb
Add more comments to the members of CoreTLSData related to OpenCL.
8 years ago
KUANG, Fangjun
3c5d87cbae
Add more information to the error code.
8 years ago
Fangjun KUANG
8a679128fa
Update comments for cv::InputArray.
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
chacha21
74abbd0898
Fix compilation when USE_ZLIB is false
...
create a dummy gzFile type
8 years ago
chacha21
aa1b031274
get rid of warning C4800 under VS2010
...
the "std::basic_ios::operator bool" differs between C++98 and C++11. The
"double not" syntax is portable and covers both cases with equivalent
meaning
8 years ago
Vladislav Sovrasov
c321d025c4
Fix DMatch and Keypoint I/O in FileStorage
8 years ago
ville-v
0c1bcf354c
Fix issue #8278 : "CV_XADD compile errors with Embarcadero C++ Builder 10.1"
8 years ago
ville-v
1de10f9f86
Add files via upload
...
Fix issue #8280 : "fastmath.h related compile errors with Embarcadero C++ Builder 10.1"
8 years ago
Alexander Alekhin
649bb7ac04
core: parallel_for_(): update RNG state of the main thread
8 years ago
Alexander Alekhin
ebdd74105a
core(test): add regression test for RNG in parallel_for_()
8 years ago
Alexander Alekhin
b28fd79fdc
core: parallel_for_(): propagate RNG state from the main thread
8 years ago
Vladislav Sovrasov
595437bdd1
hal: replace round() with cvRound()
8 years ago
Vladislav Sovrasov
14451f3f06
core: fix adjustROI behavior on indexes overflow
8 years ago
Vitaly Tuzov
9a4b5a4545
OpenVX calls updated to use single common OpenVX context per thread
8 years ago
Alexander Alekhin
ec7f74f7b4
core(TLS): add cleanup() method
8 years ago
Fangjun KUANG
526220a171
Fix typos in the documentation ( #8226 )
...
* fix typos.
* Fix typos.
* Fix typos.
* Fix typos.
* Fix typos.
8 years ago
Fangjun KUANG
b1851e2f16
Add support to print `cv::UMat`.
...
Now a user can use `std::cout` to print an object of `cv::UMat` just like `cv::Mat`.
8 years ago
Tomoaki Teshima
64cf206fb5
optimize blend using universal intrinsic
...
- add more channels/depth performance test for blend
8 years ago
Fangjun KUANG
e827a5bd9e
Fix an error in the demo code for cv::Mat::forEach
8 years ago
Fangjun KUANG
57ed0e57f0
Fix the documentation for Mat::diag(int). ( #8199 )
...
* Fix the documentation for Mat::diag(int).
Fix issue #8181
* Fix the documentation for Mat::diag(int).
Fix issue #8181 .
* Add support for printing out cv::Complex.
* Remove extra spaces.
* cv::Complex is submitted as a new pull request.
8 years ago
Jinay Patel
f710d96602
Update ocl.cpp function Device::OpenCLVersion()
...
Instead of CL_DEVICE_EXTENSIONS in Querying OpenCLVersion, it should be CL_DEVICE_VERSION flag which needs to be passed to the function.
8 years ago
Fangjun KUANG
a8a208e0fe
Merge pull request #8208 from csukuangfj:complex_support
...
Add support for printing out cv::Complex. (#8208 )
* Add support for printing out cv::Complex.
* Conform to the format of std::complex.
* Remove extra spaces.
* Remove extra spaces.
8 years ago
Fangjun KUANG
5e4dfb9546
Change the argument type to cl_platform_info.
...
Although both `cl_platform_info` and `cl_device_info` are defined as macro `cl_uint`, it needs to use `cl_platform_info` to get
the platform information.
8 years ago
Alexander Alekhin
05248a3dea
cmake: fix order of MKL libraries, don't pass additional libraries as modules
8 years ago
Fangjun KUANG
46fe74177d
Fix typos.
8 years ago
Pavel Rojtberg
df86f0752a
add missing casts to _Tp as determinant() always returns double
8 years ago
Alexander Alekhin
4c7aa8645a
ocl: validate arguments in KernelArgs constructor
...
- don't use undefined flag=0. It should be CONSTANT instead.
- don't allow 'UMat* m=NULL' argument (except LOCAL/CONSTANT flags).
This case is not handled well to provide NULL __global pointers.
It is better to use '-D' macro defines instead (at least for performance)
8 years ago
Alexander Alekhin
e16227b53c
cmake: support multiple CPU targets
8 years ago
Fangjun KUANG
1e11657ba4
Merge pull request #8197 from csukuangfj/csukuangfj-patch-1
...
Fix typos in the documentation for AutoBuffer. (#8197 )
* Allocate 1000 floats to match the documentation
Fix the documentation of `AutoBuffer`. By default, the following code
```.cpp
cv::AutoBuffer<float> m;
````
allocates only 264 floats. But the comment in the demonstration code says it allocates 1000 floats, which is
not correct.
* fix typo in the comment.
8 years ago
Alexander Alekhin
9ac9e9e29a
core: fix String::end() implementation
8 years ago
Vitaly Tuzov
4950f542d1
Fix for SGBM compute() buffer allocation failure on big images
8 years ago
LaurentBerger
488eb11ba8
Add a link to MatExpr in Detailed Description of Mat
8 years ago
Pavel Vlasov
a47b7a34be
Adds IPP control functions to bindings export
8 years ago
Juha Reunanen
f3cb5084cf
Fix #8093 : CV_DbgAssert that the result of area() fits in the return value
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
Tomoaki Teshima
fd711219a2
use universal intrinsic in VBLAS
...
- brush up v_reduce_sum of SSE version
8 years ago
Tomoaki Teshima
d0bdf99501
check correct flag
8 years ago
Tomoaki Teshima
820fdbff23
brush up AVX optimization in popcount
...
- make sure SIMD optimization works even when AVX is not available
8 years ago
mshabunin
c6c519166e
Added CV_DEPRECATED macro
8 years ago
Vladislav Sovrasov
896c34fab3
Add support of type headings from YAML1.2
8 years ago
Alexander Alekhin
3668a01fca
eliminate warnings
...
hal_internal.cpp(101): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
8 years ago
Alexander Alekhin
2b44c0b649
cmake: fix lapack
...
- added compile check with multiple tries for different configurations
- restored find_package(LAPACK)
- avoided modification of OPENCV_LINKER_LIBS
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