Ilya Lavrenov
eeaa4b3665
eliminated convertTo
11 years ago
Ilya Lavrenov
c072c28e28
optimized cv::calcHist
11 years ago
Ilya Lavrenov
cf72d2695c
fixed possible runtime error
11 years ago
Ilya Lavrenov
ff6f5d4d24
fixed warnings
11 years ago
Alexander Alekhin
b62e59aac0
icv: enable functions
11 years ago
Ilya Lavrenov
ce0941160e
added status check
11 years ago
Ilya Lavrenov
884b706b3a
fixed warning
11 years ago
Ilya Lavrenov
b970ec7dae
parallel version
11 years ago
Ilya Lavrenov
18ef25ec30
cv::calcHist
11 years ago
mlyashko
5252aa8fdd
added data type check for back projection fix
11 years ago
Ilya Lavrenov
208831eb5d
optimized cv::calcHist
11 years ago
Ilya Lavrenov
231bc17de7
added conditional compilation
11 years ago
Ilya Lavrenov
faa6074f3d
added performance test
11 years ago
Ilya Lavrenov
384a28622d
added cv::calcHist to T-API (only for CV_8UC1 with 256 bins)
11 years ago
Ilya Lavrenov
78c2b3ca2a
refactored imgproc
11 years ago
Ilya Lavrenov
52b8bb6761
fixed getUMatIndex
11 years ago
Ilya Lavrenov
b23edc34e9
added cv::calcBackProject for 2-dimensional histograms
11 years ago
Ilya Lavrenov
d64bea00b2
ported cv::calcBackProject to T-API
11 years ago
Konstantin Matskevich
9d04a7aba9
bugfix in equalizeHist
11 years ago
Ilya Lavrenov
5c0dabf1ea
added cv::equalizeHist to T-API
11 years ago
kocheganovvm
086db9d6db
Introduce CV_COMP_CHISQR_ALT, an alternative method to calculate ChiSquare Histogram comparison
...
There's some disagreement about the correct formula.
has its supporters, however, for texture analysis, the newly introduced formula became
standard. The commit enables both uses without breaking backward compatibility.
First contributor of this commit was sperrholz.
11 years ago
Andrey Pavlenko
6b047ca0eb
minor improvement (consistency, readability)
12 years ago
Andrey Pavlenko
74c72a1d7a
removing unreachible code
12 years ago
Alexander Smorkalov
16cfc7a531
WindowsRT build warning fixes.
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
ericgreveson
e7995b4d5d
Take account of multi-channel matrices when comparing histograms
...
Ensure that all channels are considered when comparing multi-channel histograms
12 years ago
ericgreveson
19794e6857
Fix for spurious assert in cv::compareHist
...
When comparing histograms that look like multi-channel images (e.g a 3D histogram, of 4x4x4 bins, might appear as a CV_32FC4 matrix), cv::compareHist would complain because it was expecting the matrix type() == CV_32F. Now we test matrix depth() == CV_32F instead.
12 years ago
Andrey Kamaev
288a0634c2
Make imgproc.hpp independent from C API
12 years ago
Andrey Kamaev
715fa3303e
Move cv::Mat out of core.hpp
12 years ago
Vladislav Vinogradov
5810a73d30
CPU implementation of CLAHE
12 years ago
Andrey Kamaev
2a6fb2867e
Remove all using directives for STL namespace and members
...
Made all STL usages explicit to be able automatically find all usages of
particular class or function.
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