Alexander Alekhin
125abe2fe4
Merge pull request #8838 from tomoaki0705:dispatchFp16
2017-06-06 15:31:42 +00:00
Tomoaki Teshima
e269ef96cb
update convertFp16 using CV_CPU_CALL_FP16
...
* avoid link error (move the implementation of software version to header)
* make getConvertFuncFp16 local (move from precomp.hpp to convert.hpp)
* fix error on 32bit x86
2017-06-06 22:26:51 +09:00
Rostislav Vasilikhin
c6a3a18894
SoftFloat integrated ( #8668 )
...
* everything is put into softfloat.cpp and softfloat.hpp
* WIP: try to integrate softfloat into OpenCV
* extra functions removed
* softfloat made stateless
* CV_EXPORTS added
* operators fixed
* exp added, log: WIP
* log32 fixed
* shorter names; a lot of TODOs
* log64 rewritten
* cbrt32 added
* minors, refactoring
* "inline" -> "CV_INLINE"
* cast to bool warnings fixed
* several warnings fixed
* fixed warning about unsigned unary minus
* fixed warnings on type cast
* inline -> CV_INLINE
* special cases processing added (NaNs, Infs, etc.)
* constants for NaN and Inf added
* more macros and helper functions added
* added (or fixed) tests for pow32, pow64, cbrt32
* exp-like functions fixed
* minor changes
* fixed random number generation for tests
* tests for exp32 and exp64: values are compared to SoftFloat-based naive implementation
* minor warning fix
* pow(f, i) 32/64: special cases handling added
* unused functions removed
* refactoring is in progress (not compiling)
* CV_inline added
* unions {uint_t, float_t} removed
* tests compilation fixed
* static const members -> static methods returning const
* reinterpret_cast
* warning fixed
* const-ness fixed
* all FP calculations (even compile-time) are done in SoftFloat + minor fixes
* pow(f, i) removed from interface (can cause incorrect cast) to internals of pow(f, f), tests fixed
* CV_INLINE -> inline
* internal constants moved to .cpp file
* toInt_minMag() methods merged into toInt() methods
* macros moved to .cpp file
* refactoring: types renamed to softfloat and softdouble; explicit constructors, etc.
* toFloat(), toDouble() -> operator float(), operator double()
* removed f32/f64 prefixes from functions names
* toType() methods removed, round() and trunc() functions added
* minor change
* minors
* MSVC: warnings fixed
* added int cvRound(), cvFloor, cvCeil, cvTrunc, saturate_cast<T>()
* typo fixed
* type cast fixed
2017-05-29 17:07:25 +03:00
Alexander Alekhin
d54b1ad88a
Merge pull request #8805 from catree:solvePnP_doc
2017-05-29 13:52:15 +00:00
Alexander Alekhin
36918b3bb8
Merge pull request #8814 from woodychow:openmp_num_threads
2017-05-29 13:17:41 +00:00
catree
542cdb2c39
Improve solvePnP doc, add assert >= 4 in solvePnP, escape underscore character for Scalar_ documentation.
...
Add reference to SOLVEPNP_ITERATIVE in the doc.
2017-05-29 14:59:14 +02:00
Woody Chow
6e00c7651b
Use num_threads clause of #pragma omp parallel instead to avoid calling omp_set_num_threads for the entire application
2017-05-29 14:16:10 +09:00
Vadim Pisarevsky
ee257ffe9e
Merge pull request #8455 from terfendail:ovxhal_skipsmall
2017-05-26 12:10:18 +00:00
Vitaly Tuzov
1d62a025b3
Moved size restrictions for OpenVX processed images to corresponding cpp files
2017-05-25 19:25:17 +03:00
mschoeneck
4a4d94f266
Merge pull request #8694 from mschoeneck:Canny
...
Parallelize Canny with custom gradient (#8694 )
* New Canny implementation. Restructuring code in parallelCanny class. Align mag buffer and map.
* Fix warnings.
* Missing SIMD check added.
* Replaced local trailingZeros in contours.cpp. Use alignSize in canny.cpp
* Fix warnings in alignSize and allocate just minimum extra columns.
* Fix another warning in map.create.
* Exchange for loop by do loop to avoid double check at the beginning.
Define extra SIMD CANNY_CHECK to avoid unnecessary continue.
2017-05-24 16:20:25 +03:00
Matthias Grundmann
cf4e9e5ce2
Update matrix.cpp
...
Fix race condition in getDefaultAllocator and setDefaultAllocator interaction / not threadsafe currently
2017-05-24 13:55:18 +03:00
krishraghuram
9ea2f5211e
Correct the existing documented T-API functions to match the doxygen format ( #8758 )
...
* Correct the existing documented T-API functions to match the doxygen format.
* docs: fix comments style
* T-API documentation: minor formatting changes
2017-05-24 13:31:35 +03:00
Vadim Pisarevsky
7c3577f7ae
Merge pull request #8779 from vpisarev:empty_cmp_fix
2017-05-23 19:06:57 +00:00
Alexander Alekhin
15a2c7724d
Merge pull request #8743 from tomoaki0705:featureConvertFp16UMat
2017-05-23 15:32:12 +00:00
Vadim Pisarevsky
4eda8efd42
resolves https://github.com/opencv/opencv/issues/7792
2017-05-23 18:16:40 +03:00
Vadim Pisarevsky
a065e4b9aa
Merge pull request #8769 from mshabunin:kw-fixes
2017-05-23 14:59:36 +00:00
Alexander Alekhin
0448260ed7
Merge pull request #8542 from jveitchmichaelis:update-cudadevo-doc
...
Update documentation for getCudaEnabledDeviceCount
2017-05-23 17:07:20 +03:00
Alexander Alekhin
715b88c4cb
Merge pull request #8775 from mshabunin:ipp-count-fix
2017-05-23 13:29:16 +00:00
Tomoaki Teshima
d81cdb8e1c
add OpenCL version of convertFp16 and test
...
* disable vector operation for now
* brush up the implementation based on comment
2017-05-23 20:00:21 +09:00
Maksim Shabunin
f23b6ba652
Fixed multidimensional count non-zero IPP implementation
2017-05-23 13:23:59 +03:00
Maksim Shabunin
b04ed5956e
Fixed several issues found by static analysis in core module
2017-05-23 12:35:31 +03:00
Alexander Alekhin
c5e9d1adae
macro for static analysis tools
2017-05-23 12:35:31 +03:00
Vladislav Sovrasov
2c2b1405a3
Add test for Mat_::release()
2017-05-23 12:20:48 +03:00
cDc
003745432f
fix Mat_ release #8680
2017-05-23 12:19:57 +03:00
Vadim Pisarevsky
17b89b2a35
Merge pull request #8770 from alalek:fix_pthreads_default
2017-05-22 22:18:26 +00:00
Alexander Alekhin
16ea72e6b9
build: fix snprintf() usage
2017-05-22 22:24:17 +03:00
Alexander Alekhin
900c406541
core: fix threads count in pthreads
2017-05-22 21:45:25 +03:00
Alexander Alekhin
17eef4d8a9
Merge pull request #8596 from nnorwitz:nnorwitz
2017-05-12 19:48:28 +00:00
Philipp Hasper
dcd8589b67
Fixed exp32f() compilation on MSVC
2017-05-10 18:25:39 +02:00
Vadim Pisarevsky
b683e68223
Merge pull request #8398 from woodychow:normL2Sqr_avx2
2017-05-03 14:49:56 +00:00
nnorwitz
256b6bb3db
Don't blow out the stack. Use a smaller buffer and prevent buffer overruns with snprintf.
2017-05-03 16:56:09 +03:00
Vadim Pisarevsky
925594d1e3
Merge pull request #7894 from alalek:ocl_program
2017-05-03 13:48:58 +00:00
Vadim Pisarevsky
dd81c29834
Merge pull request #8359 from csukuangfj:patch-fix-error-code-documentation
2017-05-03 13:48:28 +00:00
Vadim Pisarevsky
fe2416575b
Merge pull request #8432 from csukuangfj:issue-8411
2017-05-03 12:39:55 +00:00
Vadim Pisarevsky
b92bbffa1a
Merge pull request #8557 from grundman:patch-3
2017-05-03 12:12:59 +00:00
Vadim Pisarevsky
8a16997b1e
Merge pull request #8580 from terfendail:ovx_newperftest
2017-05-03 11:01:01 +00:00
André Mewes
70e6391f38
create homogeneous affine matrix when constructing from 4x3 cv::Mat
2017-05-02 14:09:20 +03:00
Alexander Alekhin
04573615c5
Merge pull request #8671 from tomoaki0705:fixBuildVS2012sprintf
2017-04-29 15:13:15 +00:00
Robert Bragg
8f5ea7deda
core: avoid clash with _N define from ctype.h in headers
...
This updates the public headers to use _Nm instead of _N in templates
since _N is defined by the widely used ctype.h.
2017-04-27 14:45:24 +01:00
Vitaly Tuzov
2492c299f3
Extended set of existing performance test to OpenVX HAL suitable execution modes
2017-04-27 12:32:29 +03:00
Alexander Alekhin
75f28245a8
core: fix persistence bug in RAW I/O code
...
- persistence.cpp code expects special sizeof value for passed structures
- this assumption is lead to memory corruption problems
- fixed/workarounded test to prevent memory corruption on Linux 32-bit systems
2017-04-26 17:19:26 +03:00
Alexander Alekhin
26be2402a3
Merge pull request #8629 from lupustr3:pvlasov/icv2017u2_update2
2017-04-26 10:45:37 +00:00
Pavel Vlasov
11c2ffaf1c
Update for IPP for OpenCV 2017u2 integration;
...
Updated integrations for:
cv::split
cv::merge
cv::insertChannel
cv::extractChannel
cv::Mat::convertTo - now with scaled conversions support
cv::LUT - disabled due to performance issues
Mat::copyTo
Mat::setTo
cv::flip
cv::copyMakeBorder - currently disabled
cv::polarToCart
cv::pow - ipp pow function was removed due to performance issues
cv::hal::magnitude32f/64f - disabled for <= SSE42, poor performance
cv::countNonZero
cv::minMaxIdx
cv::norm
cv::canny - new integration. Disabled for threaded;
cv::cornerHarris
cv::boxFilter
cv::bilateralFilter
cv::integral
2017-04-25 15:53:12 +03:00
Alexander Alekhin
56a0a50da3
Merge pull request #8603 from alalek:fix_test_name
2017-04-25 10:36:03 +00:00
Vadim Pisarevsky
96aaac186d
Merge pull request #8616 from vpisarev:dnn4
2017-04-25 06:32:16 +00:00
Peter Würtz
4c095a76c0
Add docstring for UMat::handle
2017-04-22 09:44:29 +02:00
Tomoaki Teshima
0f5aaade61
fix test error on VS2012
2017-04-21 23:07:46 +09:00
Alexander Alekhin
f1c8094f5f
Merge pull request #8575 from lupustr3:pvlasov/icv2017u2_initial_update
2017-04-21 10:55:29 +00:00
Pavel Vlasov
35c7216846
IPP for OpenCV 2017u2 initial enabling patch;
2017-04-20 20:26:30 +03:00
Vadim Pisarevsky
dd54f7a22a
got rid of Blob and BlobShape completely; use cv::Mat and std::vector<int> instead
2017-04-19 23:20:17 +03:00