Namgoo Lee
7ea21c4b3c
Merge pull request #19259 from nglee:dev_gpumatnd1
...
Minimal implementation of GpuMatND
* GpuMatND - minimal implementation
* GpuMatND - createGpuMatHeader
* GpuMatND - GpuData, offset, getDevicePtr(), license
* reviews
* reviews
4 years ago
Pavel Rojtberg
6c1a433c4c
python: also catch general c++ exceptions
...
they might be thrown from third-party code (notably Ogre in the ovis
module).
While Linux is kind enough to print them, they cause instant termination
on Windows.
Arguably, they do not origin from OpenCV itself, but still this helps
understanding what went wrong when calling an OpenCV function.
4 years ago
Alexander Alekhin
30bef20e22
js: fix SIMD build
4 years ago
Alexander Alekhin
c5bf15e009
build: fix cv2.cpp compilation
4 years ago
Maksim Shabunin
694fe3e7d2
core, gapi: supported build with oneTBB 2021
4 years ago
Dale Phurrough
34c3f0f495
add cuda::Stream constructor with cuda flags
4 years ago
Alexander Alekhin
b73bf03bfc
core: parallel backends API
...
- allow to replace parallel_for() backend
4 years ago
Vadim Levin
1d3207d7c7
feat: common fixed size sequence conversion for Python bindings
4 years ago
Alexander Alekhin
37e656082b
core(ocl): update isOpenCLActivated()
...
- reuse g_isOpenCLAvailable variable instead
4 years ago
Vadim Levin
a0bdb78a99
feat: add overload resolution exception for Python bindings
4 years ago
Alexander Alekhin
212815a10d
core(ocl): fix lifetime handling of Image kernel args
4 years ago
Vitaly Tuzov
8f653ba8de
Inlined WASM fallback intrinsics to avoid using of V_TypeTraits
4 years ago
Liangqian
e4c7fca755
Merge pull request #19098 from chargerKong:EulerAngle
...
* add to/from Euler Angles
* restruct codes
* quat: optimize implementation
* cleanup debug code
* correct spelling errors
* create QuatEnum for enum EulerAnglesType
* use for loop for test_quaternion
* drop template from isIntAngleType & add minimal error information in test_quaternion.cpp
Co-authored-by: ShanChenqi <shanchenqi@huawei.com>
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
4 years ago
Alexander Alekhin
ba2b331461
core(ocl): parametrize OpenCLExecutionContext tests
4 years ago
Dale Phurrough
109255a730
add windows native aligned malloc + unit test case
...
* implements https://github.com/opencv/opencv/issues/19147
* CAUTION: this PR will only functions safely in the
4+ branches that already include PR 19029
* CAUTION: this PR requires thread-safe startup of the alloc.cpp
translation unit as implemented in PR 19029
4 years ago
Alexander Alekhin
1363496c11
release: OpenCV 4.5.1
4 years ago
Alexander Alekhin
8869dc7762
release: OpenCV 3.4.13
4 years ago
Francesco Petrogalli
c526705f4f
[cv::transform] Enable CV_SIMD for the 16U case on AArch64.
4 years ago
Alexander Alekhin
3359bdc464
docs(core): fix process_video_frame() code snippet
4 years ago
Vincent Rabaud
4c75b1c102
Fix comment typos.
4 years ago
Vadim Pisarevsky
ba7dbca018
added information about the contribution & ISCAS copyright
4 years ago
Vincent Rabaud
8391a23600
Optimize calls to std::string::find() and friends for a single char.
...
The character literal overload is more efficient. More info at:
http://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html
4 years ago
Vadim Levin
7b0d7d0c9a
fix: conversion to string in python bindings
...
If provided `PyObject` can't be converted to string `TypeError` is
reported instead of `SytemError` without any message.
4 years ago
Dale Phurrough
bb59b81d82
remove g_isOpenCVActivated assign and clarify
4 years ago
Alexander Alekhin
c240355cc6
dnn(ocl): avoid mess FP16/FP32 in convolution layer
4 years ago
Alexander Alekhin
4b3d2c8834
dnn(ocl): fix gemm kernels with beta=0
...
- dst is not initialized, may include NaN values
- 0*NaN produces NaN
4 years ago
Alexander Alekhin
392991fa0b
core(opencl): add version check before clCreateFromGLTexture() call
4 years ago
Alexander Alekhin
d2bc0e5fe0
js(wasm): use fallback on missing intrinsics in Emscripten 2.0.0+
4 years ago
Dale Phurrough
f77276311d
clarify opencl execution context doc
...
- fix opencv/opencv#18888
4 years ago
Dale Phurrough
ad94d8cc4f
Merge pull request #19029 from diablodale:fix19004-memthreadstart
...
add thread-safe startup of fastMalloc and fastFree
* add perf test core memory allocation
* fix threading in isAlignedAllocationEnabled()
* tweaks requested by maintainer
4 years ago
Alexander Alekhin
26e8048a0a
core: update handling of allocator stats type
...
- don't use OPENCV_ALLOCATOR_STATS_COUNTER_TYPE definition in non C++11 builds
- don't use with MinGW
4 years ago
Kong Liangqian
8e32566583
Add adding and subtraction operations between a number and a quaternion;
...
fix a typo;
Add documentation of quaternion operators;
Restrict the type of scalar: the same as quaternion;
4 years ago
Alexander Alekhin
6f8120cb3a
core(UMat): drop unavailable methods
4 years ago
Alexander Alekhin
d35e2f5339
core(ipp): workaround getIppTopFeatures() value mismatch
4 years ago
Zhangyin
673e4e20f0
Added RISC-V backend of universal intrinsics
4 years ago
Alexander Alekhin
91ce6ef190
core(ipp): disable SSE4.2 code path in countNonZero()
4 years ago
Alexander Alekhin
5c987e4c75
Merge pull request #18924 from alalek:4.x-xcode12
...
(4.x) build: Xcode 12 support
* build: xcode 12 support, cmake fixes
* ts: eliminate clang 11 warnigns
* 3rdparty: clang 11 warnings
* features2d: eliminate build warnings
* test: warnings
* gapi: warnings from 18928
4 years ago
Dale Phurrough
c08e38acd0
fix missing addref() in ocl::Context::create(str)
...
- fix https://github.com/opencv/opencv/issues/18906
- unable to add related test cases as there is
no public access to Context:Impl refcounts
4 years ago
Or Avital
5a3a915a9b
Remove unnecessary condition (will never reach)
4 years ago
Jiri Kucera
ce31c9c448
core(matrix): Negative values checks
...
Add checks that prevents indexing an array by negative values.
4 years ago
Felix Gorschlüter
c996fd1c06
Small improvements to persistence-API doc
4 years ago
chargerKong
11cfa64a10
Merge pull request #18335 from chargerKong:master
...
Ordinary quaternion
* version 1.0
* add assumeUnit;
add UnitTest;
check boundary value;
fix the func using method: func(obj);
fix 4x4;
add rodrigues vector transformation;
fix mat to quat;
* fix blank and tab
* fix blank and tab
modify test;cpp to hpp
* mainly improve comment;
add rvec2Quat;fix toRodrigues;
fix throw to CV_Error
* fix bug of quatd * int;
combine hpp and cpp;
fix << overload error in win system;
modify include in test file;
* move implementation to quaternion.ini.hpp;
change some constructor to createFrom* function;
change Rodrigues vector to rotation vector;
change the matexpr to mat of 3x3 return type;
improve comments;
* try fix log function error in win
* add enums for assumeUnit;
improve docs;
add using std::cos funcs
* remove using std::* from header;
add std::* in affine.hpp,warpers_inl.hpp;
* quat: coding style
* quat: AssumeType => QuatAssumeType
4 years ago
Jojo R
12b8d542b7
norm.cpp(normL2Sqr_): improve performance of pipeline
...
The most of target machine use one type cpu unit resource
to execute some one type of instruction, e.g.
all vx_load API use load/store cpu unit,
and v_muladd API use mul/mula cpu unit, we interleave
vx_load and v_muladd to improve performance on most targets like
RISCV or ARM.
4 years ago
Suleyman TURKMEN
cc7f17f011
update documentation
4 years ago
Alexander Alekhin
2687a2b6dc
pre: OpenCV 4.5.1 (version++)
4 years ago
Alexander Alekhin
9485113923
pre: OpenCV 3.4.13 (version++)
4 years ago
Alexander Alekhin
2b558a3787
core: fix F16C compilation check
4 years ago
Alexander Alekhin
cfbdbffcad
objc: rework headers import
...
- 'AdditionalImports' can be removed from misc/objc/gen_dict.json
- avoid using of legacy 'opencv.hpp'
4 years ago
Alexander Alekhin
2e7ef6f4e8
objc: fix std::string handling
...
- arg types may be passed as string instead of std::string
4 years ago
Maksim Shabunin
1b0dca9c2c
Fix issues found by static analysis
4 years ago