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
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
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
Steve
8a6fabed83
Avoid segmentation fault
...
Change `<=` to `<` to avoid accessing the first character of an empty string
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
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
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
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
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
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
44d9d59f08
ocl: stop using of OpenCL without explicit UMat arguments
8 years ago
mshabunin
a0e771f545
Fixed valgrind issues in persistence functions
8 years ago
Vitaly Tuzov
ced81f72bc
Added OpenVX based processing to LUT
8 years ago
mshabunin
695c518384
Updated TBB search script and code checks
8 years ago
Rostislav Vasilikhin
2b56b174e8
fixed: data types, empty input case
8 years ago
Rostislav Vasilikhin
0a6958813c
added OpenVX call to Mat::convertTo() (w/o scaling)
8 years ago
Vitaly Tuzov
a4b9eb23d1
Added OpenVX based processing to meanStdDev
8 years ago
Vitaly Tuzov
e9cc0f6a4c
Added OpenVX based processing to minMaxLoc
8 years ago
LaurentBerger
c56c0e140b
Solve exception for 3D Mat
8 years ago
Alexander Alekhin
0bdea2b714
core: fix absdiff (non-optimized, fp) to prevent "-0" results
8 years ago
Alexander Alekhin
19270eeab4
warnings
8 years ago
Alexander Alekhin
497d0fd2e7
build: OSSpinLock deprecation warning
8 years ago
Philippe Renon
e79f83e573
calib3d: fix missing cv::redirectError symbol error
...
happens on msys2 with gcc 6.2.0
see also http://stackoverflow.com/questions/38552221/undefined-reference-to-cvredirecterror-while-creating-shared-build-of-opencv-3
8 years ago
Tetragramm
24379fcb5f
Use transpose() as suggested, because it works on pre-existing destination Mats.
8 years ago
Pavel Vlasov
349d5ba012
--perf_instrument parameter now has int type and 0, 1, 2 modes (1 - simple trees, 2 - expanded trees for functions with same name but different calling address);
...
Maximum depth limit var was added to the instrumentation structure;
Trace names output console output fix: improper tree formatting could happen;
Output in case of error was added;
Custom regions improvements;
Improved timing and weight calculation for parallel regions; New TC (threads counter) value to indicate how many different threads accessed particular node;
parallel_for, warnings fixes and ReturnAddress code from Alexander Alekhin;
8 years ago
Tomoaki Teshima
676736bdb2
avoid using fmadd in RNG
8 years ago
Tetragramm
ad5c50a923
Improve the efficiency as suggested by vpisarev.
...
Alter the Rotation enum to be unambiguous as to direction.
8 years ago
Vladislav Sovrasov
e955d17c51
Add new error messages
8 years ago
Vladislav Sovrasov
38483fe7a7
Skip UTF-8 BOM in FileStorage
8 years ago
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
8 years ago
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.
8 years ago
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.
8 years ago