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.
2012-12-25 18:05:05 +04:00
Andrey Kamaev
b35fa6c4ff
Merge pull request #202 from Daniil-Osokin:calcHist
2012-12-19 15:07:40 +04:00
Daniil Osokin
98d7d99244
Add threaded version of equalizeHist
2012-12-18 23:59:50 +04:00
Daniil-Osokin
7d94236c14
TBB version of calcHist
2012-12-17 11:01:31 +04:00
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)
2012-12-15 15:29:15 +04:00
Andrey Kamaev
22e352d9cc
Merge pull request #76 vpisarev/test_fixes_1
2012-10-22 21:13:26 +04:00
Vadim Pisarevsky
fbe0d6963c
disabled several tests on Mac when no FFMPEG is used; disabled automatic table initialization in imgwarp in the case of MinGW
2012-10-22 21:13:26 +04:00
Andrey Kamaev
40030d2ca0
Fix windows build warnings
2012-10-22 19:13:18 +04:00
Andrey Kamaev
9a97c74ef3
Merge pull request #61 from vpisarev/bug_2509
2012-10-19 11:17:25 +04:00
Andrey Kamaev
e1c3ffb23f
Fix weight calculation for the last pixel in generic area resize.
...
Also removed assigned only variable.
2012-10-18 19:41:45 +04:00
Vadim Pisarevsky
80f9bd864f
fixed bug #2429
...
[edit: cleaned whitespace]
2012-10-18 19:39:22 +04:00
Vadim Pisarevsky
c40718ab61
fixed bug #2059
2012-10-18 14:41:26 +04:00
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
2012-10-17 15:32:23 +04:00
Andrey Kamaev
ed51162568
Fix binary compatibility of Java wrappers
2012-10-17 02:09:37 +04:00
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
2012-10-16 15:13:00 +04:00
Andrey Kamaev
58f31819cc
Return drawContours back to imgproc
...
This partly reverts commit 6ca618277c
.
2012-10-15 18:12:33 +04:00
Ilya Lavrenov
5f9aedbe01
fixed bug in cvtColor RGB(BGR) <-> Lab conversion
2012-10-15 12:21:16 +04:00
Vadim Pisarevsky
5474b4d4bc
finally, a proper fix for VNG (both SSE2 and C version)
2012-10-12 16:28:26 +04:00
Vadim Pisarevsky
354a5f2686
added recommended number of stripes to parallel_for_, modified some of the functions to use larger stripes (for better performance)
2012-10-11 22:37:14 +04:00
Andrey Kamaev
dc4a649513
Fix OS X build
2012-10-11 15:36:47 +04:00
Andrey Kamaev
be98693aaf
Enable parallel CvtColorLoop for all platforms
2012-10-11 15:05:43 +04:00
Andrey Kamaev
df94591336
Fix instability of Luv/Lab color conversions
2012-10-11 15:05:43 +04:00
Daniil Osokin
f1e025dc68
delete normalization in gabor kernel #1995
2012-10-11 14:40:15 +04:00
Evgeny Talanin
8528b0abcd
#1941 fix
2012-10-11 13:45:21 +04:00
Vadim Pisarevsky
e625d86485
added C= support; modified threading logic in threshold
2012-10-10 15:36:32 +04:00
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
2012-10-09 22:38:04 +04:00
Vadim Pisarevsky
b0ad424087
fixed several warnings from VS2010
2012-10-09 17:24:37 +04:00
Vadim Pisarevsky
a8c5e35619
some more fixes towards binary compatibility
2012-10-09 15:56:16 +04:00
Evgeny Talanin
7c71c8fa52
#2258 fix
2012-10-09 14:52:47 +04:00
Vadim Pisarevsky
94b97b7a63
partially recovered binary compatibility (ticket #2415 )
2012-10-08 17:06:05 +04:00
Andrey Kamaev
c0f2a8e0cc
Fix build without SSE
2012-10-08 16:08:16 +04:00
Vadim Pisarevsky
925d0cc769
added test for box filter 16u, fixed bug #2416
2012-10-08 14:11:39 +04:00
Ilya Lavrenov
2759f026e9
fixed Bug #2074
2012-10-08 12:59:15 +04:00
Ilya Lavrenov
a703df5456
parallel cvtColor for MSVS and Apple
2012-10-05 13:11:24 +04:00
Ilya Lavrenov
c560a78c65
stable cvtColor
2012-10-01 18:52:27 +04:00
Ilya Lavrenov
9ee87bd04b
added parallel version of CvtColorLoop - main inner function of cvtColor
2012-09-28 17:42:48 +04:00
Ilya Lavrenov
6a3d5a1355
reorganized the resize algorithm
2012-09-24 17:07:08 +04:00
Ilya Lavrenov
33983bcbb7
edited misprint
2012-09-24 14:18:54 +04:00
Ilya Lavrenov
9c89947433
edited misprint
2012-09-24 13:46:09 +04:00
Ilya Lavrenov
2627c91c5e
added platform specific definitions in resize algorithm
2012-09-24 12:57:39 +04:00
Ilya Lavrenov
bb589a590e
debug
2012-09-24 11:35:46 +04:00
Ilya Lavrenov
b7b32e74a5
some restructuring of resize algorithm code
2012-09-21 18:17:54 +04:00
Ilya Lavrenov
222303f24b
attempt
2012-09-21 17:25:42 +04:00
Anatoly Baksheev
3b075a50e9
fixed warnings under windows
2012-09-21 13:41:56 +04:00
Vadim Pisarevsky
d2613dd9f6
added patches by Bram Bolder
2012-09-18 14:11:08 +04:00
Ilya Lavrenov
fffd263ce4
attempt
2012-09-17 19:39:49 +04:00
Ilya Lavrenov
f58c5646b0
fixed wrong condition with interpolation types
2012-09-17 18:30:55 +04:00
Vladislav Vinogradov
538847e8a3
fixed compilation under VS2012 (Bug #2352 , #2355 )
2012-09-14 09:34:56 +04:00
Vladislav Vinogradov
e975259c06
several fixes in gpu module
...
fixed iterations>1 case in morphological operations
fixed possible access violation in HSV2RGB
fixed the case learningRate==0 in BackgroundSubtractorMOG2
2012-09-11 15:00:59 +04:00
Vadim Pisarevsky
9956c42804
fixed iterations>1 case in morphological operations (bug #2348 ; thanks to Andrei Zaharescu for the fix)
2012-09-11 14:49:56 +04:00
Vadim Pisarevsky
9ea5b6bb44
fixed possible access violation in HSV2RGB (patch #2020 )
2012-09-11 14:25:34 +04:00
Vadim Pisarevsky
b3408a9b3a
fixed bug #2186 (thanks to Joao Soares for the patch)
2012-09-11 13:56:25 +04:00
Vladislav Vinogradov
98c92f196e
added Generalized Hough implementation
2012-09-10 16:49:40 +04:00
Vadim Pisarevsky
dea52eb730
fixed 4-channel resizeAreaFast x2 decimation case
2012-09-04 14:51:31 +04:00
Vadim Pisarevsky
778c31a1c8
added SSE2-optimized boxfilter by Grigoriy Frolov
2012-09-03 17:31:20 +04:00
Vadim Pisarevsky
014106783d
fixed building BRISK on Windows
2012-08-30 17:32:47 +04:00
Anatoly Baksheev
3456238c16
minor
2012-08-29 21:26:00 +04:00
Anatoly Baksheev
0ba01afd83
added GPU bilateral filter + tests
...
added GPU non local means brute force filter + tests
2012-08-29 19:20:32 +04:00
Sergiu Dotenco
6c3e769f32
eliminated type conversion warnings
2012-08-28 17:21:06 +02:00
Alexander Kapustin
1b5903a719
Laplacian tegra optimized was added
2012-08-24 14:36:16 +04:00
Anatoly Baksheev
70204a8e68
Removed PtrElemStep, Marked DevMem1D as deprecated, now should use PtrStepSz now
2012-08-24 02:02:42 +04:00
Ilya Lavrenov
92795ba476
parallel version of remap, resize, warpaffine, warpPerspective. Some optimization for 2x decimation in resize algorithm
2012-08-22 11:49:21 +04:00
Vadim Pisarevsky
793e8b546d
fixed build on Ubuntu
2012-08-21 23:11:49 +04:00
Vadim Pisarevsky
64661ea9cd
added SSE2-optimized resizeAreaFast for 8-bit images by Grigoriy Frolov
2012-08-21 23:00:50 +04:00
Vadim Pisarevsky
2f1cc018c9
enabled SSE3 by default; integrated SSE3-optimized bilateral filter (by Grigoriy Frolov); modified API of non-local means (use Input/OutputArrays)
2012-08-21 17:39:40 +04:00
Maria Dimashova
d973d571a4
changed the value that replace NaNs in bilateralFilter_32f
2012-08-14 17:15:03 +04:00
Andrey Kamaev
9981b283a6
Fixed build warnings (including error in FAST)
2012-08-06 19:10:55 +04:00
Vadim Pisarevsky
9c0f556d88
fixed a few compile warnings and errors with VS2010.
2012-08-03 17:12:45 +04:00
Vadim Pisarevsky
310b1ad7b9
moved parallel_for_ and ParallelLoopBody to core.hpp
2012-08-03 16:41:00 +04:00
Vadim Pisarevsky
fd9069422a
Merge remote-tracking branch 'origin/master'
2012-08-03 16:14:38 +04:00
Ilya Lavrenov
27c2aa3a4e
parallel version of bilateral filter was implemented using parallel_for_
2012-08-02 16:25:30 +04:00
Vadim Pisarevsky
fac3d9994c
integrated another portion of SSE optimizations from Grigory Frolov
2012-07-31 19:07:55 +04:00
Maria Dimashova
c5dbc06158
fixed bilateralFilter on uniform CV_32F image
2012-07-24 17:51:20 +04:00
Andrey Kamaev
bd394012e8
Eliminated discrepancy between SSE and non-SSE versions of bilinear resize
2012-07-03 11:30:17 +00:00
Maria Dimashova
b528348f39
fixed #2118
2012-07-02 20:21:34 +00:00
Andrey Pavlenko
a72f4474b4
fixing bug #1987(android keeps RGBA in alpha pre-multiplied form, Mat <-> Bitmap should handle this correctly)
2012-06-29 15:38:10 +00:00
Vadim Pisarevsky
0c65ea976a
added the optional output maxima value to phaseCorrelate (patch #2071 by Robert Huitl)
2012-06-22 13:34:03 +00:00
Andrey Kamaev
913d4541a5
Reduced some tegra stubs
2012-06-14 14:09:04 +00:00
Andrey Kamaev
c5aba337e9
Fixed number of warnings. Fixed mingw64 build.
2012-06-12 14:46:12 +00:00
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
2012-06-09 15:00:04 +00:00
Alexander Kapustin
018d85dddb
New Tegra Optimized thresh_16s and thresh_32f functions were added
2012-06-08 08:49:59 +00:00
Andrey Kamaev
f62028dc16
Fixed mingw build.
2012-06-08 03:15:08 +00:00
Andrey Kamaev
49a1ba6038
Set stricter warning rules for gcc
2012-06-07 17:21:29 +00:00
Marina Kolpakova
9aa3f754b7
fixed accuracy test
2012-06-06 15:29:24 +00:00
Marina Kolpakova
aa8fbc26da
fix for down rounded output sizes
2012-06-06 13:25:36 +00:00
Marina Kolpakova
8231d0d11d
fixed for resize with INTER AREA. Since now we divide by convolved area
2012-06-06 12:12:21 +00:00
Marina Kolpakova
d192117e86
GPU resize with INTER_AREA
2012-06-06 10:39:42 +00:00
Marina Kolpakova
3c16c9c92d
fixed #2019
2012-06-05 10:58:53 +00:00
Marina Kolpakova
6d498495d3
tegra integration
2012-05-30 15:56:53 +00:00
Alexander Kapustin
29b9070698
tegra::cvtRGB2HSV function was added
2012-05-30 11:52:53 +00:00
Andrey Kamaev
05de6302fd
Fixed documentation: corrected parameter names
2012-05-29 10:36:19 +00:00
Andrey Kamaev
6ca618277c
More fixes for documentation.
2012-05-28 20:11:38 +00:00
Andrey Kamaev
4aaaef5967
remaining C-style planar subdivisions data structures are moved to legacy
2012-05-28 13:57:45 +00:00
Andrey Kamaev
0e9e0a01db
Added new perf tests for boxFilter
2012-05-25 11:26:43 +00:00
Andrey Kamaev
ab6f0c4e0b
Added tegra stub for cornerEigenValsVecs
2012-05-25 08:20:13 +00:00
Andrey Kamaev
80f1b1478d
Fixed parameter name and copy condition
2012-05-18 13:29:49 +00:00
Andrey Kamaev
e309c51430
Fixed phaseCorrelate result for not power of 2 size images #1812 (thanks to Jeff Mast)
2012-05-18 08:33:19 +00:00
Andrey Kamaev
639bf3ee8f
Fixed accumulateWeighted with mask for multichannel matrices #1959
2012-05-18 06:08:14 +00:00
Andrey Kamaev
a877ecdcf0
Added option to pass pre-computed pyramid to piramidal LK optical flow #1321
2012-05-16 14:52:46 +00:00
Vadim Pisarevsky
d5a0088bbe
merged 2.4 into trunk
2012-04-30 14:33:52 +00:00
Vadim Pisarevsky
2fd1e2ea57
merged all the latest changes from 2.4 to trunk
2012-04-13 21:50:59 +00:00
Ilya Lysenkov
04ac6db04a
Added support of CV_16S depth in morphology operations
2012-04-12 10:55:47 +00:00
Andrey Kamaev
470f6fafeb
Fixed conversions from YV12 and IYUV on non-continuous input. Added accuracy and performance tests.
2012-03-31 22:30:18 +00:00
Andrey Kamaev
d95721107c
Fixed typo.
2012-03-31 17:34:24 +00:00
Andrey Kamaev
124ceb96a7
#1732 Added yuv420p to RGB conversion. Thanks to Robert Abel.
2012-03-31 15:33:03 +00:00
Andrey Kamaev
72f2523d0f
Fixed ~20 potential errors identified by the MS complier.
2012-03-31 11:09:16 +00:00
Vadim Pisarevsky
7fb8e9d328
added borderType to pyrDown, pyrUp & buildPyramid (patch #925 )
2012-03-30 16:58:24 +00:00
Andrey Kamaev
0d18d19ad6
Fixed Android build warnings
2012-03-30 16:10:52 +00:00
Vadim Pisarevsky
22a0d6b7d1
possible fix for #1396
2012-03-30 13:51:15 +00:00
Vadim Pisarevsky
beb7fc3c92
a LOT of obsolete stuff has been moved to the legacy module.
2012-03-30 12:19:25 +00:00
Vadim Pisarevsky
e36ad50825
added cv::convexityDefects (ticket #796 )
2012-03-29 19:42:47 +00:00
Vadim Pisarevsky
0b234b7a69
rewritten floodfill in generic style; added CV_32S flavor (ticket #1482 )
2012-03-29 17:08:03 +00:00
Vadim Pisarevsky
4eda1662aa
switched back to FitEllipse algorithm by Dr. Daniel Weiss; improved its accuracy in some cases. It fixes #1638
2012-03-29 10:47:08 +00:00
Marina Kolpakova
f5152500be
fixed #1373
2012-03-29 01:16:33 +00:00
Andrey Kamaev
09490188b3
#1365 Fixed numerous bugs in Bayer2RGB_VNG_8u SSE optimization, added simple regression test
2012-03-28 20:20:29 +00:00
Alexander Shishkov
c9efcf8d1f
fixed #1616
2012-03-28 15:12:12 +00:00
Vadim Pisarevsky
7a62413c94
added houghcircles sample, improved circle detection (ticket #951 )
2012-03-27 12:00:22 +00:00
Vadim Pisarevsky
e8fab91d51
added DIST_LABEL_PIXEL labelType to distanceTransform, ticket #1641 (thanks to Mikhail Matrosov for the patch)
2012-03-27 09:06:21 +00:00
Vadim Pisarevsky
903c05db1a
added another contour perimeter test and fixed bug #216
2012-03-26 17:00:48 +00:00
Vadim Pisarevsky
7a59d6c77e
improved convergence of minEnclosingCircle algorithm, patch #947 (thanks to Hannes Sommer)
2012-03-26 13:45:49 +00:00
Vadim Pisarevsky
098fc1a62e
fixed nearest-neighbor remap with constant border, ticket #1681 (thanks to Vlad for the patch)
2012-03-26 09:12:27 +00:00
Vadim Pisarevsky
befa9b3109
fixed chi-square test, ticket #1263
2012-03-26 09:07:02 +00:00
Vadim Pisarevsky
f196dd5ff7
preliminary version of a multi-level findcontours
2012-03-24 20:03:07 +00:00
Alexander Shishkov
c0506314b2
fixed #1436
2012-03-21 12:06:49 +00:00
Vadim Pisarevsky
846e37ded5
fixed many warnings from GCC 4.6.1
2012-03-17 09:22:31 +00:00
Vadim Pisarevsky
4985c1b632
fixed hundreds of warnings from MSVC 2010.
2012-03-16 21:21:04 +00:00
Vadim Pisarevsky
957e80abbd
lot's of changes; nonfree & photo modules added; SIFT & SURF -> nonfree module; Inpainting -> photo; refactored features2d (ORB is still failing tests), optimized brute-force matcher and made it non-template.
2012-03-15 14:36:01 +00:00
Andrey Kamaev
e426dfc396
Fixed #1613 : removed YUV420i color conversion constants
2012-02-21 15:08:03 +00:00
Victoria Zhislina
0630e7010e
CV_USE_UNROLLED for imgproc
2012-02-21 11:31:23 +00:00
Andrey Kamaev
ff2af7d8bb
Fixed Canny
2012-02-21 11:16:49 +00:00
Vadim Pisarevsky
bb93e3ab8a
added color canny; improved Algorithm class implementation
2012-02-15 21:10:11 +00:00
Vadim Pisarevsky
716a5d04ab
fixed a few problems detected by Xcode 4.2.1
2012-02-15 19:48:04 +00:00
Vladislav Vinogradov
18c48196f8
fixed compile error
2012-02-14 11:29:08 +00:00
Anatoly Baksheev
84db4eb6fa
fixed ~200 warnings for windows
...
minor build system changes (now cuda code in opencv_core is compiled using CUDA_ARCH* cmake variables)
2012-02-14 10:22:34 +00:00
Vadim Pisarevsky
53c39a7a53
added getGaborKernel function
2012-02-06 01:09:54 +00:00
Vadim Pisarevsky
18ce0dff24
fixed bug #1552
2012-01-25 12:43:47 +00:00
Vadim Pisarevsky
4f86af7e16
fixed bug #1531 . added separate distanceTransformWithLabels function that returns labels, since normally the labels are not needed.
2012-01-25 12:17:59 +00:00
Kirill Kornyakov
c946a740bb
Optimized version of adaptiveThreshold added
2012-01-25 07:50:47 +00:00
Andrey Kamaev
da5ee65e4e
Fixed build without SSE
2012-01-23 14:40:58 +00:00
Vadim Pisarevsky
04c0783b2f
applied patch by Will Lucas; improved separable filter performance (in particular cv::GaussianBlur) on 16s images (for [much] faster SIFT)
2012-01-23 12:14:46 +00:00
Andrey Pavlenko
d0981a628a
Tegra optimization for image filtering
2012-01-23 09:16:07 +00:00
Andrey Kamaev
f8bd4252db
Tegra optimization for split, merge and some color conversions
2012-01-19 11:52:25 +00:00
Andrey Kamaev
c377804ee8
Refactored YUV420 to RGB/BGR/RGBA/BGRA conversion
2012-01-16 14:38:07 +00:00
Andrey Kamaev
d0b67d3725
fixed Tegra stubs in cvtColor
2012-01-12 13:43:35 +00:00
Andrey Pavlenko
07d157591a
Tegra optimization for warpPerspective() and 2 new perf tests
2012-01-11 14:18:10 +00:00
Andrey Kamaev
9260ad4d70
Fixed Tegra optimization stub for gaussian
2012-01-11 13:16:00 +00:00
Andrey Kamaev
dd311b8d3c
Added perf test for RGB(A)/BGR(A) to YCrCb conversion
2012-01-09 16:38:44 +00:00
Andrey Pavlenko
185680c7c5
Tegra optimization for some color conversion and warpAffine calls
2012-01-06 16:31:23 +00:00
Kirill Kornyakov
694ea8e0c8
Added threaded versions (enabled only for Tegra at the moment) of threshold, erode/dilate. Slighlty restructured the code of medianBlur.
2012-01-06 14:29:31 +00:00
Andrey Kamaev
9b350e5e0d
Tegra optimization for median blur
2012-01-05 17:36:32 +00:00