Vadim Pisarevsky
485d36d3c0
changed InputArray's enumeration constant for UMat, since it may potentially conflict with existing OpenCL module. refactored Kernel's setArg API (now UMat is passed to a kernel as a structure, as Alexander A suggested). removed Kernel's cleanup callback from the external API; now each kernel keeps track of used matrices and they are dereferenced after it's complete.
11 years ago
Vadim Pisarevsky
303df78cca
removed refcount field from Mat; that helped to find and eliminate some memory leaks. perf tests should probably pass now
11 years ago
Vadim Pisarevsky
de521fc9fa
fixed some more compile bugs (including Python bindings)
11 years ago
Vadim Pisarevsky
d3076c5014
hopefully, fixed compile errors on Win & Linux; fixed getMatVector() so core & imgproc tests now pass; fixed doc builder errors
11 years ago
Vadim Pisarevsky
d8c8339bec
the first draft of transparent API and new UMat class. more files
11 years ago
Vadim Pisarevsky
278fb617d2
the first draft of transparent API and new UMat class.
11 years ago
Ilya Lavrenov
1be77dd2f3
enabled accuracy tests for the functions that use inside AMD Blas/Fft
11 years ago
Ilya Lavrenov
9d1636daa6
catching OpenCL double not supported exceptions
11 years ago
Vladislav Vinogradov
342e007dc6
now Allocator accepts GpuMat* instead of 3 pointers
11 years ago
Vladislav Vinogradov
3b412b51ac
moved BufferPool management functions to public
11 years ago
Vladislav Vinogradov
5ea8085220
added BufferPool class
11 years ago
Vladislav Vinogradov
988ab79acb
added BufferAllocator
11 years ago
Vladislav Vinogradov
e5188c7e94
added GpuMat::Allocator interface
11 years ago
shawke
720241de87
Make similar default typedefs for Point_, Size_ and Rect_
...
Currently, there are different default typedefs for Point_, Size_, and Rect_. This pull request at least makes sure that default typedefs exist for int, float and double variants of each of these types.
11 years ago
John Stowers
14d225134d
Redefine CPU_xx constants in cv::namespace
...
This makes them visible from the python bindings
11 years ago
Alexander Alekhin
f1b5cbc8fe
ocl: fix invalid usage of alignSize (n is not a power of 2), added roundUp
11 years ago
Alexander Alekhin
0ee47502d9
remove CV_EXPORT from templates
11 years ago
Roman Donchenko
d669559ec3
Bumped version to 3.0.
11 years ago
Roman Donchenko
887825e831
Added an additional version component - the development status.
...
This will allow us to distinguish between regular releases, prereleases
and development versions.
11 years ago
Roman Donchenko
fec697b390
Silenced a few -Wcast-align warnings in the headers.
...
We don't use -Wcast-align ourselves, but the headers trigger warnings
for those users who do, which is not nice.
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
11 years ago
Roman Donchenko
a50d75d362
Made Filestorage able to not own its CvFileStorage instance.
...
This allows to get rid of the last remaining Ptr<T>::addref calls.
11 years ago
Roman Donchenko
3e189a2b41
Replaced calls to Ptr<T>::ptr to ::dynamicCast.
11 years ago
Roman Donchenko
24dee16b12
Added to CV_INIT_ALGORITHM a Ptr creation function, for convenience.
...
Also changed the static functions to inline, to stop GCC complaining
about unused functions.
11 years ago
Roman Donchenko
8200a95ced
Boring changes - core.
...
This and several following commits contain the "boring" changes required
to support the new Ptr. These are changes like:
* new T -> makePtr<T> or .reset(new T) or Ptr<T>(new T)
(depending on the situation)
* p.empty() -> !p
* delete_obj -> DefaultDeleter::operator()
and similar changes that are numerous, but primitive.
11 years ago
Roman Donchenko
461c98fa86
Replaced Ptr with my new implementation.
11 years ago
Abid K
0902f183ca
alignment of parameters as per speclad
11 years ago
Vladislav Vinogradov
ba4bf04c6c
fixed incorrect GPUs -> CUDAs replacement
11 years ago
Vladislav Vinogradov
fd88654b45
replaced GPU -> CUDA
11 years ago
Vladislav Vinogradov
cfe4a71dc6
renamed gpu* source to cuda* in core module
11 years ago
Vladislav Vinogradov
8282f6ebc1
renamed gpu::cudev namespace -> cuda::device
...
cudev is used for new device layer
11 years ago
Vladislav Vinogradov
e895b7455e
renamed gpu namespace -> cuda
11 years ago
abidrahmank
14af369640
Python bindings for KeyPoint methods
...
Usage:
import numpy as np
import cv2
img = cv2.imread('messi5.jpg',0)
sift = cv2.SIFT()
kp = sift.detect(img)
pts = cv2.KeyPoint_convert(kp)
kps = cv2.KeyPoint_convert(pts.reshape(-1,1,2))
overlap = cv2.KeyPoint_overlap(kp[0],kp[1])
11 years ago
Alexander Smorkalov
114e04ee12
OpenCV version++. Current OpenCv version 2.4.6.2
11 years ago
Alexander Smorkalov
5af2cc6223
AutoBuffer with initial zero size fixed.
11 years ago
Roman Donchenko
9ed475cf52
War on Whitespace, master edition: file endings.
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
11 years ago
Vladislav Vinogradov
7bda6992e5
fixed gpu BGR <-> YUV color conversion
11 years ago
Alexander Smorkalov
9af2c1661a
Restricted Win32 API was fixed in Highgui and some 3rd party libs. Patch
...
for libpng added.
11 years ago
Bahram Dahi
83e21568ee
Minor bug fix, missing const in method signature
11 years ago
Bahram Dahi
6cf9070b9a
Added ability to read several opencv types (Size, Point, etc.) to FileStorage. Solves issue #3196
11 years ago
kamjagin
ed29d91d42
adding std to cstdint typedef of uint32_t
11 years ago
Miroslav Kobetski
b595d73d6d
defined uint for non-windows platforms too. replaced isnan for cvIsNaN.
11 years ago
Mathieu Barnachon
ff85575b28
Adding read/write functions to PCA class. Update PCA test.
12 years ago
Alexander Smorkalov
2243118fc0
NEON instruction set enabled for WIN32 on ARM by default.
12 years ago
Roman Donchenko
4ac2db271d
Removed CV_EXPORTS from all template classes (that I could find).
...
It doesn't make sense to export template classes, since there's no way
the user can learn that it can import them. In fact, it is somewhat
deleterious, because every module will export every instantiation
that it uses, but doesn't inline.
12 years ago
Vladislav Vinogradov
2311b0b43b
added cudev::GpuMat_<T> support to Input/Output arrays
12 years ago
StevenPuttemans
f9b594bf08
Changed first approach to a more general MS-specific approach.
...
Suggested by @SpecLad
12 years ago
StevenPuttemans
1fc89bb2e0
Added the solution mentioned in patch #3125
12 years ago