Commit Graph

292 Commits

Author SHA1 Message Date
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
Andrey Kamaev
70416be0dd Tegra optimization for GaussianBlur 2012-01-04 18:20:03 +00:00
Andrey Kamaev
abf42e208a Added missed macro 2011-12-27 11:32:56 +00:00
Andrey Kamaev
95d659a3cf Refactored Tegra related macro usage 2011-12-27 11:21:45 +00:00
Andrey Kamaev
320bee3bfe Fixed border interpolation problem in filter2D 2011-12-26 08:05:33 +00:00
Andrey Kamaev
35457afab3 Fixed bug in phaseCorrelate 2011-11-30 15:57:41 +00:00
Andrey Kamaev
5cbec286fc Tegra-optimized pyrUp 2011-11-28 16:38:36 +00:00
Andrey Kamaev
fb2fad52a2 Fixed bug in cv::pyrUp. Reenabled accuracy test. 2011-11-27 11:55:59 +00:00
Andrey Kamaev
f05259f28f Tegra-optmized pyrDown 2011-11-25 13:18:40 +00:00
Vadim Pisarevsky
3dafdd6a79 added 16s support to cv::threshold. 2011-11-22 15:16:45 +00:00
Andrey Kamaev
4136855ba8 Tegra-optimized Canny 2011-11-11 14:45:53 +00:00
Vadim Pisarevsky
2e9f5c434b added improved ORB implementation, convex-convex polygon intersection, eigen2x2 low-level function ... 2011-11-08 12:01:49 +00:00
Andrey Kamaev
2f1cd91ff3 More performance tests for Sobel and Scharr filters 2011-11-03 16:08:49 +00:00
Andrey Kamaev
583ceef6a5 Terga optimization for integral_8u32s 2011-10-31 08:00:20 +00:00
Kirill Kornyakov
602ad61967 Optimized versions of Erode and Dilate functions added 2011-10-24 09:12:55 +00:00
Andrey Kamaev
c1277b6147 reenabled Tegra optimized resize 2011-10-11 15:00:00 +00:00
Anatoly Baksheev
f838db92c7 1) detail source group for stitching
2) warnings
2011-09-29 13:44:27 +00:00
Leonid Beynenson
3c9979cd6a Disabled some unfinished optimizations. 2011-09-29 08:51:03 +00:00
Vadim Pisarevsky
bf19d66bc2 re-enabled 16s images in cvSobel & cvLaplace. 2011-09-29 07:32:02 +00:00
Andrey Kamaev
340e23a4f0 Fixed TBB-related bug in YUV420 to RGB conversion 2011-09-28 09:10:24 +00:00
Vadim Pisarevsky
f0759437c0 fixed bug #1364 2011-09-27 15:58:08 +00:00
Vadim Pisarevsky
65e036fe6d fixed bug #1368 2011-09-27 15:34:39 +00:00
Vadim Pisarevsky
1dbe5ccc5f improved phaseCorrelate() performance (thanks to Will Lucas for the patch) 2011-09-22 10:40:48 +00:00
Kirill Kornyakov
b0535e0456 Neon Optimized Resize added 2011-09-07 15:06:51 +00:00
Andrey Pavlenko
f2da701723 cvtColor: dst channels number default is set to 4 for RGBA/BGRA cases; added new codes for yuv420 to RGBA/BGRA. 2011-09-06 08:35:31 +00:00
Anatoly Baksheev
415978b1c9 warnings 2011-09-05 14:37:27 +00:00
Vladislav Vinogradov
30ecb28877 fixed build under windows (replace M_PI with CV_PI) 2011-09-05 09:25:10 +00:00
Vadim Pisarevsky
32ed1bf858 added phaseCorrelate function by Will Lucas. 2011-09-05 07:57:18 +00:00
Vadim Pisarevsky
6ce2277cc7 fixed multi-scale Hough transform (ticket #1320) 2011-08-17 09:19:46 +00:00
Vadim Pisarevsky
d3350b50aa avoid infinite loops when 0-area image is filtered (ticket #1295) 2011-08-11 13:12:59 +00:00
Vadim Pisarevsky
c9ed7fee34 fixed C++ implementation of Delaunay triangulation and moved it from sample to imgproc. 2011-08-10 10:28:01 +00:00
Vadim Pisarevsky
e5c66b5ed4 fixed pointPolygonTest(). Now it returns -1, 0, 1 when measureDist=false (ticket #1285) 2011-08-07 16:58:29 +00:00
Vadim Pisarevsky
0c096b3dc2 fixed floodfill with mask parameter when no mask is passed 2011-07-28 14:10:17 +00:00
Vadim Pisarevsky
3636eec789 fixed flow matrix dimensionality in EMD 2011-07-27 20:13:50 +00:00
Andrey Kamaev
ac7e16fdf6 Fixed camera output format handling 2011-07-25 12:32:33 +00:00
Vadim Pisarevsky
ff5e97c8e4 added COVAR_ and SORT_ enums to core.hpp; fixed many, many VS2005, VS2010 and MinGW (GCC 4.5.2) warnings 2011-07-19 12:27:07 +00:00
Kirill Kornyakov
e715894ffb fix by Vadim in calcBackProject: additional case is considered 2011-07-19 11:17:03 +00:00
Vadim Pisarevsky
1badec0b2d eliminated opencv_extra_api.hpp (all the functionality is moved to the regular OpenCV headers) 2011-07-18 16:31:30 +00:00
Vadim Pisarevsky
2dea07f9f8 repaired Python bindings for functions using InputOutputArray 2011-07-14 14:13:10 +00:00
Vadim Pisarevsky
21409de176 optimized sparse LK optical flow (tickets #1062 and #1210) 2011-07-11 23:03:05 +00:00
Vladimir Dudnik
6e38b6aaed removed trailing backspaces, reduced number of warnings (under MSVC2010 x64) for size_t to int conversion, added handling of samples launch without parameters (should not have abnormal termination if there was no paramaters supplied) 2011-06-17 06:31:54 +00:00
Kirill Kornyakov
b138dbde3f bugfix in warpAffine, correct buffer size should be used 2011-06-16 06:08:27 +00:00
Vadim Pisarevsky
22970b8270 fixed multiple GCC warnings on Ubuntu 11.04 2011-06-14 12:03:34 +00:00
Vadim Pisarevsky
6407093463 extended Mat::setTo() to support multi-channel arrays; fixed bug #1095 2011-06-13 20:56:27 +00:00
Anatoly Baksheev
8f4c7db3f6 ~40 warnings under VS2008
HAVE_CONFIG_H -> HAVE_CVCONFIG_H
2011-06-11 17:24:09 +00:00
Vadim Pisarevsky
20aca7440f a lot of small corrections to bring down the number of undocumented functions, reported by the script; added em.cpp sample 2011-06-09 01:16:45 +00:00
Vadim Pisarevsky
2d2b8a496e renamed "None()" to "noArray()" to avoid conflicts with X11 (ticket #1122) 2011-06-08 06:55:04 +00:00
Vadim Pisarevsky
fcd2a0c3d3 fixed VS2010 compile warnings and errors 2011-06-06 15:15:30 +00:00
Vadim Pisarevsky
0c877f62e9 replaced "const InputArray&" => "InputArray"; made InputArray and OutputArray references. added "None()" constant (no array()). 2011-06-06 14:51:27 +00:00
Andrey Kamaev
cdda5ec491 YUV420i to RGB conversion is added to cvtColor 2011-06-04 18:15:52 +00:00
Vadim Pisarevsky
922fc58201 added CV_64F support to cv::remap (ticket #650) 2011-06-03 17:06:08 +00:00
Vadim Pisarevsky
2c1e913b2d added 16-bit support to Bayer2RGB & Bayer2Gray (ticket #686); fixed bug in cv.CreateHist() when no ranges are passed (ticket #990) 2011-06-03 15:45:50 +00:00
Vadim Pisarevsky
6be2a79fb9 fixed incorrect output of resize(...scalex, scaley, INTER_NEAREST) when scalex and scaley are even integers (ticket #1013) 2011-06-03 13:25:44 +00:00
Alexey Spizhevoy
4401f33e10 fixed error in gcgraph which led to problems in opencv_stitching GC seam finder, added check for duplication in matches (opencv_stitching) 2011-06-02 12:13:06 +00:00
Vadim Pisarevsky
1a0b1d2aea improved CV_RGBHSV_FULL accuracy (ticket #938) 2011-06-02 12:10:18 +00:00
Vadim Pisarevsky
8191b5564f make scalar and SSE versions of minEigenVal & cornerHarris give [almost] the same results (ticket #811) 2011-06-01 13:45:08 +00:00
Vadim Pisarevsky
d5af311a77 fix bilateral filter behavior when color_sigma == 0 and/or spatial_sigma == 0 (ticket #469) 2011-06-01 13:15:43 +00:00
Ilya Lysenkov
dfdbf0abd0 Added support of the 1 width element in morphology (ticket #1099). 2011-05-31 14:50:25 +00:00
Andrey Kamaev
dce5bf4921 Tegra optimization of cv::threshold 2011-05-30 13:12:01 +00:00
Vadim Pisarevsky
c639b2a85e avoid crash in the case of multiple pyramid levels 2011-05-23 13:50:17 +00:00
Alexey Spizhevoy
f44632ee6f switched float with short in blending step (opencv_stitching) 2011-05-23 13:08:31 +00:00
Vadim Pisarevsky
23768b1826 replaced #include <some_opencv_hdr> with #include "some_opencv_hdr" (ticket #719) 2011-05-21 18:32:34 +00:00
Vadim Pisarevsky
d40320090b fixed top-right and bottom-right corners filtering in the case of constant border (ticket #1058) 2011-05-19 12:19:48 +00:00
Vadim Pisarevsky
2dc981aaa8 fixed bug with possible memory corruption in CvMat m = iarray.getMat(); expressions (ticket #1054) 2011-05-18 15:16:12 +00:00
Vadim Pisarevsky
98f090e390 fixed bug with crash in HoughCircles & HoughLines when no circles/lines are detected (ticket #1066) 2011-05-18 13:05:46 +00:00
Vadim Pisarevsky
62569f6926 fixed a few warnings on Windows; fixed critical bugs in cvMixChannels and AutoBuffer<>. 2011-05-17 15:44:01 +00:00
Andrey Kamaev
058b761a46 cv:threshold optimization for Tegra 2011-05-12 15:22:55 +00:00
Vladislav Vinogradov
79b500eb0d fixed bug in cv::Scharr and cv::Laplacian (ddepth < 0) 2011-05-10 06:28:48 +00:00
Vladislav Vinogradov
bf29b16d1d fixed bug in cv::Sobel (ddepth < 0) 2011-05-10 06:24:44 +00:00
Maria Dimashova
94a5bf88d0 fixed #1048 2011-05-06 12:15:14 +00:00
Maria Dimashova
95f7e5ca2f fixed #1046 2011-05-05 11:44:11 +00:00
Vadim Pisarevsky
573c637ea5 fixed artifacts in warpPerspective (ticket #1024) 2011-05-03 17:28:17 +00:00
Vadim Pisarevsky
ce2edd137d fixed typo in fitellipse err message (ticket #365) 2011-05-02 22:37:21 +00:00
Vadim Pisarevsky
9ca45daba3 fixed couple of integral-related bugs 2011-04-29 11:55:33 +00:00
Vadim Pisarevsky
0556c5ede2 make sure filter2D does not use uninitialized buffers (thanks to flkleber for the patch) 2011-04-26 12:33:25 +00:00
Vadim Pisarevsky
9a991a2e10 fixed build problems on Windows 2011-04-18 15:14:32 +00:00
Andrey Kamaev
7e2f771940 Android compatibility fix for r4885: __kernel replaced with filter_kernel 2011-04-18 11:15:15 +00:00
Vadim Pisarevsky
abeeb40d46 a big patch; use special proxy types (Input/OutputArray, Input/OutputArrayOfArrays) for passing in vectors, matrices etc. 2011-04-17 13:14:45 +00:00
Vadim Pisarevsky
2388fa223e patched spilltree for better compatibility with multi-threaded apps (thanks to Kevin Keraudren) 2011-04-04 10:58:07 +00:00
Alexey Kazakov
d002c137ea Modified integral calculation function, know it can build float integral by float source matrix 2011-03-17 17:05:31 +00:00
Vadim Pisarevsky
3dc7a67f59 fixed the fast branch of INTER_AREA resize (ticket #921) 2011-02-27 19:04:48 +00:00
Vadim Pisarevsky
17dc1e1340 added 16u support in calcHist & calcBackProject; added image type checks (ticket #856) 2011-02-27 16:43:36 +00:00
Vadim Pisarevsky
65a7f13af3 replaced alloca() (a.k.a. cvStackAlloc) with AutoBuffer or vector() everywhere. cvStackAlloc() is still defined, but we do not need alloca() anymore to compile and run OpenCV (fixes #889 and may be some others) 2011-02-18 10:29:57 +00:00
Marius Muja
7d42dbdd71 Removing 'using namespace std' from header files, closes bugs #730 and #846 2011-02-16 06:36:15 +00:00
Vadim Pisarevsky
061b49e0b2 reworked nearly all of the OpenCV tests (except for opencv_gpu tests) - they now use the Google Test engine. 2011-02-09 20:55:11 +00:00
Vladimir Dudnik
c987b9f180 added IPP Sobel and Sharr filters. Also some minor changes. 2011-01-19 23:27:30 +00:00
Vadim Pisarevsky
90e191211e increased "inf" constant in the true distance transform algorithm to handle high-resolution images 2011-01-05 20:18:52 +00:00
Vadim Pisarevsky
4ad938afcc fixed incorrect sign of the result of the convolution with normalized asymmetric kernels (ticket #779) 2010-12-29 23:44:12 +00:00
Vadim Pisarevsky
e90f197beb merged fix for x64 MSVC compile errors in highgui into trunk 2010-12-27 12:01:38 +00:00
Vladimir Dudnik
b6f53fc465 cosmetic changes, removed trailing spaces 2010-12-23 23:04:24 +00:00
Vadim Pisarevsky
5633cf0379 one more fix in the recently rewritten copyMakeBorder 2010-12-13 16:53:46 +00:00
Vadim Pisarevsky
76c8a7d96b rewrote copyMakeBorder (to support other border types and fix some bugs) 2010-12-11 21:50:31 +00:00
Vadim Pisarevsky
fcdce4edcb fixed border processing bayer2rgb & bayer2gray; made the test "color-bayer" pass; renamed CV_Bayer*2Gray -> CV_Bayer*2GRAY for consistency 2010-12-11 10:43:32 +00:00
Vadim Pisarevsky
da293ee3d9 SSE2 optimization for Bayer->RGB; added Bayer->Gray with SSE2 optimization; corrected some bugs noted in the yahoogroups forum 2010-12-10 19:06:38 +00:00
Vadim Pisarevsky
8af2d0acb4 fixed recent failures in shape-convhull & shape-minarearect 2010-11-30 00:17:43 +00:00
Vadim Pisarevsky
a937d9d43c unified the coordinate interpretation in RotatedRect (ticket #425) 2010-11-29 18:14:08 +00:00
Vadim Pisarevsky
cbe132cabe several small fixes; added overloaded variant of cv::drawChessboardCorners 2010-11-27 23:16:50 +00:00
Vadim Pisarevsky
1286c1db45 fixed multiple warnings from VS2010. 2010-11-25 16:55:46 +00:00
Vadim Pisarevsky
d366c0b2fa fixed canny test; fixed mhi-global test & implementation (hopefully, for the last time); added sse 4.1 & 4.2 support (not working in Xcode for some reason); moved splineInterpolation to color.cpp; fixed a few bugs in documentation 2010-11-24 09:46:46 +00:00
Vadim Pisarevsky
f5e5b677c9 added hconcat & vconcat functions for joining matrices; moved some inline functions out of the headers; fixed several bugs in documentation; removed MatND from docs 2010-11-23 16:39:20 +00:00
Vadim Pisarevsky
cf0d9da643 added 64f support in cv::resize 2010-11-22 17:37:29 +00:00
Vadim Pisarevsky
e18427b139 another fix on the ticket #518 - ignore all the circles with radius outside of the specified range 2010-11-22 12:53:11 +00:00