Commit Graph

895 Commits

Author SHA1 Message Date
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
Ilya Lysenkov
839c1bea4b Fixed matchTemplate doc (ticket #1045) 2011-06-08 15:37:49 +00:00
Ilya Lysenkov
35e25b760e Added the EMD function description (ticket #696) 2011-06-08 10:16:16 +00:00
Ilya Lysenkov
1e945dc984 Added documenation of the Earth Mover Distance (C++ interface, ticket #696) 2011-06-08 10:08:24 +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
c7a42e9682 started work on API & doc synchronization (in particular, Mat& => Input/OutputArray in the descriptions) 2011-06-07 22:51:31 +00:00
Ilya Lysenkov
07e2deccb9 Fixed the RGB2HSV formula (ticket #868) 2011-06-07 12:22:07 +00:00
Ilya Lysenkov
bd33e0a3da Minor change to contourArea example 2011-06-07 09:30:49 +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
262fc33024 added 16-bit support to Bayer2RGB & Bayer2Gray (ticket #686) 2011-06-03 14:26:30 +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
7659c77619 fixed formatting a bit 2011-05-24 13:38:55 +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
Vadim Pisarevsky
facff37e82 reviewed ? marks in features2d 2011-05-11 23:31:50 +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
Anatoly Baksheev
1c18e5fef9 fixed ~300 warnings under windows (had to hack gtest a bit) 2011-05-06 21:45:48 +00:00
Maria Dimashova
94a5bf88d0 fixed #1048 2011-05-06 12:15:14 +00:00
Vadim Pisarevsky
ae8f2eeac2 restored img_proc_test main() call; removed windows.h from ml.hpp 2011-05-06 11:51:39 +00:00
Vadim Pisarevsky
f39db3f15a fixed problems indicated with ? marks 2011-05-05 13:31:54 +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
Elena Fedotova
b561cecbab Purpose: completed the imgproc chapter 2011-04-30 14:04:51 +00:00
Elena Fedotova
2eecdcd50c Purpose: completed the imgproc chapter 2011-04-30 13:53:21 +00:00
Elena Fedotova
25f289eae9 Purpose: completed the imgproc chapter 2011-04-30 13:53:08 +00:00
Elena Fedotova
150d7aab90 Purpose: completed the imgproc chapter 2011-04-30 13:52:54 +00:00
Elena Fedotova
753b689d85 Purpose: completed the imgproc chapter 2011-04-30 13:52:40 +00:00
Elena Fedotova
046c9ac033 Purpose: completed the imgproc chapter 2011-04-30 13:52:25 +00:00
Elena Fedotova
738c5bb495 Purpose: completed the imgproc chapter 2011-04-30 13:52:10 +00:00
Vadim Pisarevsky
9ca45daba3 fixed couple of integral-related bugs 2011-04-29 11:55:33 +00:00
Vadim Pisarevsky
0a8c7d274b fixed typo in cv::erode description 2011-04-26 13:51:30 +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
Elena Fedotova
e2caf4a3ed Purpose: updated the imgproc chapter 2011-04-24 21:02:14 +00:00
Vadim Pisarevsky
e9a5bbc003 fixed ?? marks; fixed missing highlighting in some of the sections 2011-04-19 11:41:12 +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
Elena Fedotova
1965b297d0 Purpose: updated the imgproc chapter 2011-04-17 19:46:02 +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
Vladislav Vinogradov
d888b81052 fixed gpu docs (broken links, missing description, etc) 2011-03-23 10:56:20 +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
73f589e8a5 further docs cleanup 2011-03-08 22:22:24 +00:00
Vadim Pisarevsky
5c3447c125 added pictures for OpenCV 2.x reference manual; fixed some build problems and done some more cleanup work 2011-03-05 21:26:13 +00:00
Vadim Pisarevsky
f025e4739a some more doc cleanup 2011-03-03 07:29:55 +00:00
Vadim Pisarevsky
4bb893aa9f the first round of cleaning up the RST docs 2011-02-28 21:26:43 +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
24ccbccf63 cleaned RST formatting a bit 2011-02-26 11:05:10 +00:00
Vadim Pisarevsky
371aa08006 OpenCV reference manual (C++ part only for now) is now produced directly from RST, not from TeX. 2011-02-22 20:43:26 +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
e06557c4a1 temporarily disabled PyramidUp test (it crashes) 2011-02-09 23:20:44 +00:00
Vadim Pisarevsky
d9ab1d2b92 fixed build on Windows with MSVC2010 2011-02-09 22:45:45 +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
51d039945a fixed cv::CHAIN_APPROX_* definitions (ticket #755) 2010-12-12 20:46:06 +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
6a15ff8d13 added cvSave(contours) to the contours demo; added rational model demonstration to stereo_calib; fixed formatting in imgproc/types_c.h 2010-12-03 19:09:06 +00:00
Vadim Pisarevsky
8af2d0acb4 fixed recent failures in shape-convhull & shape-minarearect 2010-11-30 00:17:43 +00:00
Vadim Pisarevsky
70d2c57e35 moved estimateAffine3D declaration from imgproc to calib3d, where it is really implemented (ticket #705) 2010-11-29 20:51:02 +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
54ef4c08c2 moved some old stuff to the legacy module; merge "compat_c.h" headers and moved to the legacy as well. moved implementation of many non-critical/obsolete inline functions and methods to .cpp to improve Opencv build time 2010-11-26 17:58:20 +00:00
Vadim Pisarevsky
59e2afe4d2 fixed the ordering of parameters in PyArg_ParseTupleAndKeywords, added correct Ptr<CvDTreeSplit>::delete_obj() (ticket #406) 2010-11-25 23:16:32 +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
Ethan Rublee
89c4bc54d9 fix little warning - opencv2/imgproc/types_c.h:235: warning: comma at end of enumerator list 2010-11-23 00:06:33 +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
96ad3b57b8 LANCZOS4 interpolation constant added to C interface 2010-11-18 22:04:32 +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
5b6a755719 almost finished Python wrappers 2010-11-02 17:58:22 +00:00
Vadim Pisarevsky
893fb90b87 extended Python bindings; not merged into cv.cpp yet; and many of the helper functions, like pyopencv_to_*, pyopencv_from_* etc. are still missing 2010-10-29 13:09:49 +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
1b1eab8e67 added helper macros to the function declarations 2010-10-16 20:34:34 +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
08cba33f9d fixed some more MSVC2010 warnings 2010-07-17 10:35:17 +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
266c4642ea doxygenated opencv_video & opencv_calib3d modules (C++ part only) 2010-05-25 15:59:48 +00:00
Vadim Pisarevsky
4632d65889 doxygenated core and imgproc modules (C++ API only) 2010-05-25 14:57:10 +00:00
Vadim Pisarevsky
33447e0bba fixed mixed-type exp and log functions, used in HMMs (thanks to V. Mityaev) 2010-05-21 12:07:00 +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