Jason Newton
68e77ac051
use opencv's integer type convension
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
Ilya Lavrenov
6059a6875a
fixed bug with s1 calculating
12 years ago
Ilya Lavrenov
4ccb5a30d9
fixed bug with s1 calculating
12 years ago
Ilya Lavrenov
16f9b6f5e4
reproducing C++ version of resize area fast
12 years ago
Ilya Lavrenov
d1ca934115
sse2 version of resize area fast for types CV_(8, 16)UC(1, 3, 4)
12 years ago
Ilya Lavrenov
615e7b2747
added SIMD optimization of Edge-Aware Demosaicing in case of CV_8U
12 years ago
Jason Newton
d094e4bdbe
drop support for 8bit output for size cost relative to utility
12 years ago
Jason Newton
e70b3ef598
use a ltype parameter to determine result Label image type; export stats with differening types over different outputarrays
12 years ago
Ilya Lavrenov
c09a325d3e
fixed error connected with incorrect range
12 years ago
Ilya Lavrenov
98031a4147
removed const modificators
12 years ago
Ilya Lavrenov
b8b13ccd5c
parallel version of Bayer2Gray
12 years ago
Jason Newton
00bdca7684
A few changes to comply with upstream requirements for merge.
...
-Change input/output order from (out Labeled, in Image) -> (in Image, Out Labeled) and convert
to Input/OutputArrays in the process.
-Adopt OutputArray for statistics export so that the algorithm is "wrapper friendly" and not requiring a new struct in
language bindings at the expense of using doubles for everything and slowing statistics computation down..
12 years ago
Ilya Lavrenov
ce5e9a71b5
fixed some warnings on Windows and added debug messages
12 years ago
Ilya Lavrenov
3fa630639f
fixed bayer2bgra in case when size.width <= 2
12 years ago
Ilya Lavrenov
5225672dc0
added edge-aware demosaicing and bayer to bgra conversion
12 years ago
Jason Newton
d5aa679d3f
adjust output type to return int32... it should at least be unsigned but this breaks python bindings;
...
remove non-8bit input type support, not worth the binary size
12 years ago
Jason Newton
85880397c4
connectedcomponents: use opencv integral types, add to docs, fix up things for a python export
12 years ago
Jason Newton
4c0cb2576d
connectedComponents: peep-hole optimizations, mostly surrouding the fact that cv::Mat::at is expensive in a tight-loop -also added a "blobstats" version
12 years ago
Jason Newton
45b4f4f32b
connectedComponents: warning free version
12 years ago
Vadim Pisarevsky
fbe0d6963c
disabled several tests on Mac when no FFMPEG is used; disabled automatic table initialization in imgwarp in the case of MinGW
12 years ago
Andrey Kamaev
40030d2ca0
Fix windows build warnings
12 years ago
Andrey Kamaev
e1c3ffb23f
Fix weight calculation for the last pixel in generic area resize.
...
Also removed assigned only variable.
12 years ago
Vadim Pisarevsky
80f9bd864f
fixed bug #2429
...
[edit: cleaned whitespace]
12 years ago
Vadim Pisarevsky
c40718ab61
fixed bug #2059
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Andrey Kamaev
ed51162568
Fix binary compatibility of Java wrappers
12 years ago
Andrey Kamaev
0442bca235
Revert "partially recovered binary compatibility (ticket #2415 )"
...
This reverts commit 94b97b7a63
.
12 years ago
Andrey Kamaev
64b56d7018
Revert "remaining C-style planar subdivisions data structures are moved to legacy"
...
This reverts commit 4aaaef5967
.
Conflicts:
modules/imgproc/include/opencv2/imgproc/types_c.h
modules/legacy/include/opencv2/legacy/legacy.hpp
12 years ago
Andrey Kamaev
58f31819cc
Return drawContours back to imgproc
...
This partly reverts commit 6ca618277c
.
12 years ago
Ilya Lavrenov
5f9aedbe01
fixed bug in cvtColor RGB(BGR) <-> Lab conversion
12 years ago
Vadim Pisarevsky
5474b4d4bc
finally, a proper fix for VNG (both SSE2 and C version)
12 years ago
Vadim Pisarevsky
354a5f2686
added recommended number of stripes to parallel_for_, modified some of the functions to use larger stripes (for better performance)
12 years ago
Andrey Kamaev
dc4a649513
Fix OS X build
12 years ago
Andrey Kamaev
be98693aaf
Enable parallel CvtColorLoop for all platforms
12 years ago
Andrey Kamaev
df94591336
Fix instability of Luv/Lab color conversions
12 years ago
Daniil Osokin
f1e025dc68
delete normalization in gabor kernel #1995
12 years ago
Evgeny Talanin
8528b0abcd
#1941 fix
12 years ago
Vadim Pisarevsky
e625d86485
added C= support; modified threading logic in threshold
12 years ago
Vadim Pisarevsky
044d38a051
expanded cv::threshold parallelization to other threading frameworks; fixed potential bug with unprocessed bottom of the image; fixed build problem in stitching
12 years ago
Vadim Pisarevsky
b0ad424087
fixed several warnings from VS2010
12 years ago
Vadim Pisarevsky
a8c5e35619
some more fixes towards binary compatibility
12 years ago
Evgeny Talanin
7c71c8fa52
#2258 fix
12 years ago
Vadim Pisarevsky
94b97b7a63
partially recovered binary compatibility (ticket #2415 )
12 years ago
Andrey Kamaev
c0f2a8e0cc
Fix build without SSE
12 years ago
Vadim Pisarevsky
925d0cc769
added test for box filter 16u, fixed bug #2416
12 years ago
Ilya Lavrenov
2759f026e9
fixed Bug #2074
12 years ago
Ilya Lavrenov
a703df5456
parallel cvtColor for MSVS and Apple
12 years ago
Ilya Lavrenov
c560a78c65
stable cvtColor
12 years ago