peng xiao
168c0b0385
Optimize ocl::stereobm.
...
1. Use macro defines for some parameters(radius).
2. Reduce local memory usage.
3. Fix accuracy problem on Intel GPU.
12 years ago
peng xiao
355bc691fc
Add OpenCL version 1.2 query into ocl::Context::supportsFeature().
...
Add backwards portability for OpenCL 1.1 when OpenCV executables
are compiled with OpenCL 1.2 profile support.
12 years ago
poiuytrez
bef6de9025
Fix tuto3 picture taken crash on all devices
...
A modification of the JavaCameraView is needed to avoid a crash when the
app is exited. It is a good practice to remove the callback after the
stopPreview method.
12 years ago
Luis Díaz Más
d13d5c0c12
Added setting feature of FPS in cap_libv4l
12 years ago
Alexander Smorkalov
456c56fe90
NullPointerException in case of error on opening native camera fixed.
12 years ago
ShengyinWu
ef5578a7ce
Fixs: After scaling back to original image, some detected ROI will outside the original image ROI
12 years ago
Roman Donchenko
2dc8642508
Changed convexHull's documentation to essentially invert the meaning of ``clockwise``.
...
The orientation of convexHull's result is currently the opposite of what the
documentation would suggest:
>>> import cv2, numpy as np
>>> points = np.array([[0,0],[0,1],[1,0]], dtype=np.int32)
>>> cv2.convexHull(points, clockwise=False)
array([[[1, 0]],
[[0, 1]],
[[0, 0]]], dtype=int32)
>>> cv2.convexHull(points, clockwise=True)
array([[[0, 0]],
[[0, 1]],
[[1, 0]]], dtype=int32)
Changing the function itself is probably not a good idea at this point, so
this fixes the documentation by flipping the coordinate system.
I also removed the mention of the origin, since it's irrelevant for this
function.
12 years ago
Dominik Rose
cfaae5917b
Calib3d documentation:
...
- fixed reference to Slabaugh
12 years ago
Alexander Smorkalov
8606ee4beb
Front/Back camera semantic support added to Android VideoCapture back-end.
12 years ago
yao
f788d010f7
fix a crash on CPU OCL for some specified image sizes
12 years ago
peng xiao
9cfa24e515
Fix thread sync for csbp.
12 years ago
yao
b386ea72aa
use float when sum overflow
12 years ago
peng xiao
3282aaa1f5
Fix a bug found on Intel OpenCL SDK.
12 years ago
Peng Xiao
c701d54281
Fix build errors
12 years ago
Peng Xiao
7b08d5ec69
Add OpenCL stereo CSBP implementation
12 years ago
Andrey Pavlenko
8c40f0ccf2
fixing build and lint warnings
12 years ago
peng xiao
0f7d7100e5
Add clamping for y dimension.
12 years ago
peng xiao
6f63a5d8d5
Let wave_size=1 on CPU.
12 years ago
Andrey Kamaev
96b008cd29
Eliminate the need of ::testsing::ValuesIn() for CV_ENUM
...
Also cv::, cv::gpu:: and cv::ocl:: namespace prefixes can be safely omitted
inside CV_ENUM and CV_FLAGS
12 years ago
yao
69a0b5dde5
Add OclCascadeClassifierBuf interface
12 years ago
yao
dec6a3b080
make boxfilter kernel compile on Mac GPU OCL
12 years ago
peng xiao
06a4bad809
Merge ocl and/or/xor operators into one kernel each.
12 years ago
Andrey Kamaev
802d004bbb
Fix build issues
12 years ago
Andrey Kamaev
9deea80b83
Update gtest to upstream r652
...
It is already marked as a gtest 1.7.0
12 years ago
Peng Xiao
6dd6013546
Use a faster way to count 1's (used by Hamming)
12 years ago
Peng Xiao
6b6b1c9cbf
Allow more query/train types for ocl::bfmatcher
12 years ago
Peng Xiao
d9de84091c
Allow more input query/train types for ocl::bfmatcher
...
RadiusMatch for HammingDist cannot pass yet.
12 years ago
Peng Xiao
1db20099a9
Enable runtime type definition in kernels
12 years ago
Peng Xiao
fd1528795e
Pass query type T into kernel
12 years ago
Peng Xiao
63813e83ae
Untabify
12 years ago
Peng Xiao
6a40383aee
Add HammingDist test case
12 years ago
yao
719e8674ad
fix the compile errors on Mac
12 years ago
peng xiao
2338a895f5
Capitalize macro namings.
12 years ago
peng xiao
1bea9ee26c
Rename test case category and code clean up.
12 years ago
peng xiao
c9d8eb7a84
Fix build error on linux.
12 years ago
peng xiao
6eefd276cf
Further optimize bfmatcher by passing macros.
12 years ago
peng xiao
113b7584e0
Optimize bfmatcher by passing macros.
12 years ago
peng xiao
1e49c00f4b
Replace create with ensureSizeIsEnough thus buffer objects can be reused.
12 years ago
Gurpinder Singh Sandhu
36aad46fe1
changed reinterpret_cast to static_cast
...
This issue seem to be lingering around for quite some time
https://github.com/Itseez/opencv/pull/639
http://code.opencv.org/issues/2819
12 years ago
Roman Donchenko
57d4c86b2b
Fixed the shebang lines on the Python scripts.
...
Also, removed the one from modules/python/src2/cv.py and cleared its
executable bit, since it's not a script.
12 years ago
Roman Donchenko
4143071e22
In CvBoost, delegated update_weights's implementation to a helper method.
...
This allows subclasses of CvBoost to override initial weights that
update_weights uses without duplicating its entire implementation.
12 years ago
Roman Donchenko
484607fb6f
Backported RNG_MT19937 from master.
12 years ago
Roman Donchenko
f64d512774
Backported globbing from master.
12 years ago
Alexander Smorkalov
6e8f5ae574
Front/back camera constants semantic for Android fixed (Bug #2839 ).
...
Front/Back camera constants' values changed;
Additional camera facing check added for JavaCameraView.
12 years ago
Roman Donchenko
e8721f1f6f
Automatically add CUDA support to a module if it has CUDA sources.
...
Backport from master.
12 years ago
yao
7726e273a9
merge add and sub into one set of kernels
12 years ago
yao
bee970ab94
remove the C3 kernels in arithm, as the oclMat will never store 3 channels data
12 years ago
Andrey Kamaev
3400d83778
Workaround hanging of ocl module when ocl API in not really used
12 years ago
Andrey Pavlenko
4c31c26acf
fix for #2901 (en exception was raised when getting empty MatOfDMatch)
12 years ago
Andrey Pavlenko
09fe5cddf1
test for the issue #2901
12 years ago