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