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
atinfinity
b3c77e664d
added to check the support of AVX2
8 years ago
Matt Bennett
c3a8db6d6c
Merge pull request #7952 from mattmyne:JSONWriteFixTrailingDecimalPoint
...
Append zero to trailing decimal place for FileStorage JSON write of a float or double value (#7952 )
* Fix for FileStorage JSON write of a float or double value that has no fractional part; appends a zero character after the trailing decimal place to meet JSON standard.
* strlen return to size_t type rather than unnecessary cast to int
8 years ago
utibenkei
579ffbf97e
Added Java wrapping for tracking module
8 years ago
Steve
8a6fabed83
Avoid segmentation fault
...
Change `<=` to `<` to avoid accessing the first character of an empty string
8 years ago
Alexander Alekhin
70bbf17b13
OpenCV Version++
...
3.2.0
8 years ago
Vadim Pisarevsky
ad74fdd7cc
moved BLAS/LAPACK detection scripts from opencv_contrib/dnn to the main repository ( #7918 )
...
* moved BLAS/LAPACK detection scripts from opencv_contrib/dnn to the main repository.
* trying to fix the bug with undefined symbols sgesdd_ and dgesdd_
* removed extra whitespaces; disabled LAPACK on IOS
8 years ago
Alexander Alekhin
c3e409f950
ocl: update program cache defaults
8 years ago
Alexander Alekhin
7a95e654eb
ocl: update compiled programs
...
- minimize library initialization time (lazy calculations of program hash)
- LRU cache of in-memory compiled programs
8 years ago
Alexander Alekhin
d85c11e525
OpenCV version++
...
3.2.0-rc
8 years ago
Alexander Alekhin
05d187ec90
ocl: move deprecated code from ocl.cpp
8 years ago
Rostislav Vasilikhin
fcdbe16252
openvx_cvt disabled for Khronos, fixed sstep and dstep usage
8 years ago
Alexander Alekhin
0e4dde1781
Merge pull request #7872 from alalek:merge-2.4
8 years ago
Rostislav Vasilikhin
cf5e976fad
OpenVX convert enabled
8 years ago
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
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.
8 years ago
Alexander Alekhin
dbbbad40fb
build: eliminate ICC warnings
8 years ago
Addison Elliott
fa6692afcf
Added new overloaded functions for Mat and UMat that accepts std::vector<int> instead of int * for the sizes on a N-dimensional array.
...
This allows for an N-dimensional array to be setup in one line instead of two when using C++11 initializer lists. cv::Mat(3, {zDim, yDim, xDim}, ...) can be used instead of having to create an int pointer to hold the size array.
8 years ago
Rostislav Vasilikhin
8b9422a052
OpenVX wrappers rewritten with CV_OVX_RUN, VX_DbgThrow
8 years ago
mshabunin
965deaba8d
Documentation fixes for latest doxygen
8 years ago
bedbad
ffcf866e2f
Merge pull request #7754 from LAZI-2240:toupstream2.4
...
Introducing boundingRect2f() (#7754 )
* Introducing boundingRect2f to return exact bounding float rectangle for RotatedRect
* Introducing boundingRect2f to return exact bounding float rectangle for RotatedRect
* Introducing boundingRect2f() - update
* Introducing boundingRect2f to return exact bounding float rectangle for RotatedRect
* Introducing boundingRect2f() - update - tested
8 years ago
Alexander Alekhin
fb223784a6
test: fix Core_HAL.mat_decomp test implementation
8 years ago
Alexander Alekhin
7bceef715c
test: fix mulSpectrums error tolerance
8 years ago
apavlenko
76c38f0c80
trying to enable canny_vx adding a new test comparing canny_cv vs canny_vx
8 years ago
apavlenko
1e2ddc30b1
Canny via OpenVX, Node wrapper extended (query/set attribute), some naming fixes
8 years ago
Alexander Alekhin
6946f510fe
mulSpectrums: refactor code
8 years ago
mshabunin
e941259434
Persistence: fixed valgrind warning in base64 decoder
8 years ago
Alexander Alekhin
79857f1e38
test: fix Core_ArithmMask.uninitialized test
...
Don't run binary operations for floating-point numbers
norm() will fail with NAN result.
8 years ago
Alexander Alekhin
ab429d2e73
test: fix inplace in 'mulComplex' from test_dxt
8 years ago
Alexander Alekhin
21f3531b17
core: fix inplace support in mulSpectrums
8 years ago
Rostislav Vasilikhin
695b20172b
Merge pull request #7794 from savuor:fix/ovx_cvt_continuous
...
Fixed OpenVX wrapper for Mat::convertTo() (#7794 )
* fixed for cases of unrolled (w*h x 1) matrices
* more error handling
8 years ago
Alexander Alekhin
fef94315af
core: exp/log workaround for MSVS
8 years ago
Alexander Alekhin
2d28bb4171
ipp: disable compilation with IPP 9+
8 years ago