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
Vladislav Vinogradov
5810a73d30
CPU implementation of CLAHE
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
Andrey Kamaev
6131a847a2
Fix histogram calculation in equalizeHist
...
issue #2678
12 years ago
Daniil Osokin
98d7d99244
Add threaded version of equalizeHist
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
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
13 years ago
Alexander Shishkov
c9efcf8d1f
fixed #1616
13 years ago
Vadim Pisarevsky
befa9b3109
fixed chi-square test, ticket #1263
13 years ago
Kirill Kornyakov
e715894ffb
fix by Vadim in calcBackProject: additional case is considered
14 years ago
Vadim Pisarevsky
1badec0b2d
eliminated opencv_extra_api.hpp (all the functionality is moved to the regular OpenCV headers)
14 years ago
Vadim Pisarevsky
20aca7440f
a lot of small corrections to bring down the number of undocumented functions, reported by the script; added em.cpp sample
14 years ago
Vadim Pisarevsky
0c877f62e9
replaced "const InputArray&" => "InputArray"; made InputArray and OutputArray references. added "None()" constant (no array()).
14 years ago
Vadim Pisarevsky
abeeb40d46
a big patch; use special proxy types (Input/OutputArray, Input/OutputArrayOfArrays) for passing in vectors, matrices etc.
14 years ago
Vadim Pisarevsky
17dc1e1340
added 16u support in calcHist & calcBackProject; added image type checks (ticket #856 )
14 years ago
Vadim Pisarevsky
cbe132cabe
several small fixes; added overloaded variant of cv::drawChessboardCorners
14 years ago
Vadim Pisarevsky
de4f1aeb06
fixed some GCC 4.4 warnings
14 years ago
Vadim Pisarevsky
79ca6d8995
fixed sparse histogram update (ticket #526 )
14 years ago
Vadim Pisarevsky
378af78e6a
made calcBackproject slightly more robust.
14 years ago
Vadim Pisarevsky
3e9e2f0958
united cv::Mat and cv::MatND
14 years ago
Vadim Pisarevsky
127d6649a1
"atomic bomb" commit. Reorganized OpenCV directory structure
15 years ago