Sergei Nosov
c90abb6a03
add multiruns to fix "unreliable results" error
12 years ago
Roman Donchenko
f90fd5b0da
Split CLAHE into its own file, because it's faster that way.
...
Yes, it's as ludicrous as it sounds, but it's still true. Bizarrely,
the previous commit makes CLAHE run about 10% slower on Android, even
though it doesn't even touch any CLAHE code. Splitting it off fixes that,
although the reason it does is a mystery for the ages.
It's cleaner when it's in its own file, anyway. ;=]
12 years ago
Roman Donchenko
29b13ec1de
Replaced most of the usages of parallel_for with that of parallel_for_.
...
This should allow many algorithms to take advantage of more parallelization
technologies.
12 years ago
abidrahmank
ca09ba6852
Bug #2960 : docs about CV_BGR2GRAY
12 years ago
abidrahmank
98960bf201
A new python sample on grabcut
12 years ago
Andrey Kamaev
2665c39a0d
Fix build warnings from gcc 4.8
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
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
Alexander Smorkalov
a914088f29
Build warning fixes.
12 years ago
Vladislav Vinogradov
5a4fa4607b
fixed misprint in imgwarp.cpp
12 years ago
Vladislav Vinogradov
5810a73d30
CPU implementation of CLAHE
12 years ago
Daniil Osokin
e153f0631c
Added missing enums for cvtColor RGB to YUV420p
12 years ago
Daniil Osokin
cf5e272878
Added multithreaded implementation for RGB to YUV420p color conversion
12 years ago
Daniil Osokin
d8f538d67b
Added tests for RGB to YUV420p color conversion
12 years ago
Daniil Osokin
7255ede3af
Added implementation for RGB to YUV420p color conversion
12 years ago
Anna Kogan
f6e0d327b0
Increased time limits
12 years ago
Anna Kogan
a567c03fdf
Switched to TEST_CYCLE_MULTIRUN for fast tests
12 years ago
Amro
42a2cb0a38
add description of ddepth param of cv::boxFilter
...
bug #2709
12 years ago
Vadim Pisarevsky
43d61d961e
fixed problem with Nx2 numpy arrays in geometrical functions ( #2783 )
12 years ago
Andrey Kamaev
afe85e7e51
Fix some warnings from -O0 build
12 years ago
Sergei Nosov
c0e3d48ebc
stricter eps for normed methods
12 years ago
Sergei Nosov
15d0484485
matchTemplate perf tests added
12 years ago
Sergei Nosov
c768731e89
enable Tegra optimizations
12 years ago
Andy Maloney
3154cdf8ac
Fix subtle bug when src & dst agree on sparsity but have different dimensions
...
Remove unused var "total"
Declare vars as locally as possible
12 years ago
Andy Maloney
bc68dfb4e8
Remove unused vars
12 years ago
Anna Kogan
ed4c687d45
Increased time limits, eliminated extra params
12 years ago
Ivan Korolev
9908ff33de
Added regression test for HoughLines algorithm
12 years ago
Daniil Osokin
4c9c27b244
Fixed formula of YCrCb to RGB conversion (bug #2725 )
12 years ago
Andrey Pavlenko
81721d0dce
enabling sanity checks for warp and resize functions on Android
...
- add syntetic images generation function to ts
- use generated syntetic images
12 years ago
Andrey Kamaev
6131a847a2
Fix histogram calculation in equalizeHist
...
issue #2678
12 years ago
Vadim Pisarevsky
e383d39598
fixed bug #2679
12 years ago
Kirill Kornyakov
5023afffc7
Removed hack from perf test on HoughLines, since I hope it is fixed by pr263
12 years ago
Andrey Kamaev
16687a2655
Explicitly use double precision sin & cos in hough implementation
...
On some platforms sin and cos are calculated in single precision resulting in
diversity of results.
12 years ago
Daniil Osokin
98d7d99244
Add threaded version of equalizeHist
12 years ago
Daniil-Osokin
cd501d947c
perf tests for calcHist 2-3D case
12 years ago
Daniil-Osokin
7d94236c14
TBB version of calcHist
12 years ago
Andrey Kamaev
0bbba847a4
Fix equalization formula in equalizeHist function & rewrite in C++
...
Old implementation did
lut[i] = 255 * (count(Y <= i)) / (width * height)
which actually shifts uniform histograms.
From now histogram is equalized as
C = count(Y == min(Y))
lut[i] = 255 * (count(Y <= i) - C) / (width * height - C)
12 years ago
Vsevolod Glumov
3f417f1ec3
Fixes for issues #2570 , #2492 , #2559 , #2489 , #2592 .
12 years ago
Andrey Kamaev
932204d197
Added thresholds to some sanity checks
12 years ago
Kirill Kornyakov
cdbbfc98e1
Ugly hack to make HoughLines sanity check pass on Wun32
12 years ago
Alexander Smorkalov
f6ff2b87fa
Some perf tests on warping and resize disabled on Android
...
MatInfo_Size_Size.resizeDownLinear
MatInfo_Size_Size.resizeUpLinear
TestWarpPerspectiveNear_t.WarpPerspectiveNear
TestWarpPerspective.WarpPerspective
12 years ago
Anna Kogan
8877066846
increased time-limits
12 years ago
Andrey Pavlenko
c36dcbcada
Increase accuracy interval for image filters on Android and other platforms when sensible
12 years ago
Andrey Kamaev
a126532cb7
Fix OS X build warnings
12 years ago
marina.kolpakova
7a5b9a6b7f
replase __APPLE__ marco with __clang__
12 years ago
Andrey Kamaev
e3be5f138a
Fixed sanity checks in several performance tests
12 years ago
Andrey Kamaev
fcad269e53
Specify sanity threshold for WarpPerspective perf test
12 years ago
Andrey Kamaev
2b0072d823
Suppress more warnings in gtest on OS X
12 years ago
Andrey Kamaev
673aa91bac
Fix remaining windows build warnings
12 years ago
Andrey Pavlenko
a94e80bea3
fixing typos in perf tests for warp funcs
12 years ago