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
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.
11 years ago
Alexander Smorkalov
2243118fc0
NEON instruction set enabled for WIN32 on ARM by default.
11 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
Andrey Pavlenko
e04517af36
moving version to 2.9.0,
...
also adding NVidia copyright
12 years ago
Roman Donchenko
924fc070f0
Changed / for Matx to Matx::div, for symmetry with Matx::mul.
12 years ago
Roman Donchenko
6f326220d3
Removed the HAVE_LRINT macro, which is never set.
12 years ago
Roman Donchenko
4f9554eead
Removed a few more unused configuration macros.
...
I've left HAVE_LIBPTHREAD as a CMake variable, since TBB's build depends on it.
Some macros in internal.hpp depended on HAVE_ALLOCA_H, but they were, in turn,
unused, so I've just deleted them all.
12 years ago
Andrey Pavlenko
2b2e02166e
setting version to 2.4.6.1 (hot-fix release for Linux camera support)
12 years ago
Roman Donchenko
4692d4b36e
Fix bug: cv::String would break if assigned to itself.
12 years ago
Alexander Smorkalov
e241c14b94
OpenCV Library and Manager version incremented.
...
OpenCV Version 2.4.6;
OpenCV Manager Version 2.8;
Doc fixes.
12 years ago
Vladislav Vinogradov
3c32fc1329
removed obsolete methods from gpu::Stream
12 years ago
Roman Donchenko
c16316c4b4
Replaced the semi-public CV_PARALLEL_FRAMEWORK macro with a function.
...
That way, core/internal.hpp doesn't have to depend on cvconfig.h, which we
don't ship.
12 years ago
Vladislav Vinogradov
98bd401534
fix gpu::DeviceInfo compilation under linux
...
glibc defines major and minor macros
which conflict with gpu::DeviceInfo methods with the same name
12 years ago
peng xiao
e129638263
Add a workaround to interpolate between oclMat and Input/OutputArray.
12 years ago
Roman Donchenko
24d84a45b1
Made tests record in the XML output which parallel framework was used.
12 years ago
Alexander Smorkalov
8f7ba03ed2
Some fixes for incorrectly documented parameters identified by rst_parser.py (Bug #1205 )
12 years ago
Vikas Dhiman
dbc9b4db0c
support elementwise division for Matx with "/" operator.
12 years ago