Commit Graph

546 Commits

Author SHA1 Message Date
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
Vadim Pisarevsky
ce41f74ab4 decreased the lower canny threshold in HoughCircles, helps to detect some circles in low-contrast images (ticket #518) 2010-11-22 12:16:38 +00:00
Vadim Pisarevsky
9785cc1427 removed memset in cv::pyrMeanShiftFiltering (ticket #664) 2010-11-20 12:39:52 +00:00
Vadim Pisarevsky
de4f1aeb06 fixed some GCC 4.4 warnings 2010-11-20 12:05:28 +00:00
Vadim Pisarevsky
6cd01dc6ca mapstep type was also changed to ptrdiff_t (ticket #157) 2010-11-15 20:59:09 +00:00
Vadim Pisarevsky
1fce36a164 try to make a more elegant workaround for the incorrectly generated code in Canny (ticket #157) 2010-11-15 20:53:33 +00:00
Vadim Pisarevsky
5791e89e4d fixed buffer allocation for constant-value borders in the filter engine (ticket #524) 2010-11-13 21:59:07 +00:00
Vadim Pisarevsky
bffb5f8b58 fixed initialization of the border interpolation table in the filter engine (ticket #161) 2010-11-13 20:23:20 +00:00
Vadim Pisarevsky
957cff2493 rewrote matchTemplate in C++; added border awareness to crossCorr (ticket #557) 2010-11-12 20:57:01 +00:00
Vadim Pisarevsky
9e7b8d5f67 rewrote matchTemplate in C++; added border awareness to crossCorr (ticket #557) 2010-11-12 20:55:32 +00:00
Vadim Pisarevsky
8217b34f60 fixed transparent border handling one more time (tickets #572 & #575) 2010-11-12 14:40:29 +00:00
Maria Dimashova
762cf182ef modified grabCut: noise is added only if covariance determinant = 0 2010-11-11 12:04:40 +00:00
Vadim Pisarevsky
79ca6d8995 fixed sparse histogram update (ticket #526) 2010-11-10 21:23:04 +00:00
Vadim Pisarevsky
e15a2ea95a fixed remap with transparent border (ticket #582) 2010-11-10 21:14:57 +00:00
Vadim Pisarevsky
e6b2efeb11 further improved accuracy of Delaunay triangulation (ticket #433) 2010-11-10 20:45:54 +00:00
Maria Dimashova
f76d393910 fixed grabCut: moved to double precision and added the noise to avoid zero determinant of covariance matrix 2010-11-10 15:24:11 +00:00
Vadim Pisarevsky
7f3ae3a011 fixed crash in color-luv when OpenCV is built using GCC 4.1 2010-11-09 14:32:06 +00:00
Vadim Pisarevsky
378af78e6a made calcBackproject slightly more robust. 2010-11-07 13:58:15 +00:00
Vadim Pisarevsky
5a53d82e30 fixed most of the failures in opencv_test 2010-11-06 14:56:01 +00:00
Vadim Pisarevsky
b5f366fb70 fixed possible overflow in getThreshVal_Otsu_8u (ticket #602) 2010-11-04 12:38:27 +00:00
Vadim Pisarevsky
83f6085773 added more helper macros to the function declarations, to assist the Python wrapper generator. Fixed memleak in Mat::operator()(Range,Range) and the related functions (Mat::row, Mat::col etc.) 2010-10-27 18:26:39 +00:00
Vadim Pisarevsky
68378ac7e4 fixed crash in color-lab (ticket #627) 2010-10-25 10:31:39 +00:00
Vadim Pisarevsky
099388bd12 fixed crashes in color-luv & color-lab when gcc 4.2 on x64 is used (tickets #502, #627) 2010-10-22 18:32:07 +00:00
Vadim Pisarevsky
ebb9c61546 fixed bug with Mat::dataend initialization. Now morph-ex test passes; Also fixed CV_Assert() implementation 2010-10-21 21:07:11 +00:00
Vadim Pisarevsky
4a14795eb6 fixed several gcc 4.1 warnings 2010-10-21 18:30:57 +00:00
Vadim Pisarevsky
89f64681d0 fixed several warnings; modified size comparison: m1.size() == m2.size() => m1.size == m2.size 2010-10-20 12:34:59 +00:00
Vadim Pisarevsky
3e9e2f0958 united cv::Mat and cv::MatND 2010-10-12 12:32:32 +00:00
Vadim Pisarevsky
31dbefc865 added 3-camera rectification and 8-coeff distortion model 2010-09-07 15:38:48 +00:00
Vadim Pisarevsky
bc4532bd07 added initWideAngleProjMap() function 2010-08-06 10:20:49 +00:00
Vadim Pisarevsky
62fa7f6620 avoid crash in cvCalcEMD() when one of the histograms has only one non-zero element (ticket #396). Thanks to nburrus for the patch 2010-07-29 11:00:52 +00:00
Vadim Pisarevsky
0faa75da11 inserted missing std:: (ticket #333). Thanks to trisk for the patch! 2010-07-29 10:55:09 +00:00
Maria Dimashova
cba926a428 added c++ interface for cvPyrMeanShiftFiltering; added sample on meanshift segmentation 2010-07-28 16:41:12 +00:00
Vadim Pisarevsky
4aee2e3045 fixed incorrect assert in RGB2Lab_b constructor 2010-07-28 07:59:25 +00:00
Vadim Pisarevsky
4c591ca397 fixed Mat::Mat(const IplImage*, bool) constructor (ticket #487). fixed the bayer demosaicing part in the new cv::cvtColor implementation 2010-07-27 17:41:32 +00:00
Vadim Pisarevsky
2f2f06b925 rewrote color conversion functions; added sRGB<->CIE Lab/Luv conversion; added RGB<->YUV conversion; improved [s]RGB->Lab conversion speed 2010-07-27 14:10:14 +00:00
Vadim Pisarevsky
8bb987e436 optimized VNG demosaicing using SSE2 (got ~3x speedup) 2010-07-21 23:18:51 +00:00
Vadim Pisarevsky
f48bd3d281 added VNG demosaicing algorithm (ticket #466) 2010-07-20 15:51:32 +00:00
Vadim Pisarevsky
f78a3b4cc1 updated 3rd party libs: CLapack 3.1.1.1 => 3.2.1, zlib 1.2.3 => 1.2.5, libpng 1.2.x => 1.4.3, libtiff 3.7.x => 3.9.4. fixed many 64-bit related VS2010 warnings 2010-07-16 12:54:53 +00:00
Vadim Pisarevsky
db82906067 fix build with GCC 3.3 on Ubuntu 8.04 2010-07-09 09:09:20 +00:00
Vadim Pisarevsky
7ec4b59fac added #include "cvconfig.h" to make TBB and other 3rd party libs work correctly 2010-06-29 15:12:07 +00:00
Vadim Pisarevsky
edc089607f fixed source image corruption (ticket #306) 2010-05-18 16:38:51 +00:00
Vadim Pisarevsky
4a073bd951 fixed build on Linux 2010-05-12 07:33:21 +00:00
Vadim Pisarevsky
127d6649a1 "atomic bomb" commit. Reorganized OpenCV directory structure 2010-05-11 17:44:00 +00:00