ChangeLog

Version 32 (Vadim Pisarevsky, 2015-12-22 07:08 pm)

1 1
h1. OpenCV Change Logs
2 19 Vadim Pisarevsky
3 19 Vadim Pisarevsky
{{>toc}}
4 1
5 5 Vadim Pisarevsky
h2. 2.4 beta
6 5 Vadim Pisarevsky
7 5 Vadim Pisarevsky
__(April, 2012)__
8 5 Vadim Pisarevsky
9 8 Vadim Pisarevsky
As usual, we created 2.4 branch in our repository (http://code.opencv.org/svn/opencv/branches/2.4), where we will further stabilize the code. You can check this branch periodically, before as well as after 2.4 release.
10 8 Vadim Pisarevsky
11 5 Vadim Pisarevsky
h3. Common changes
12 5 Vadim Pisarevsky
13 6 Vadim Pisarevsky
 * At the age of 12, OpenCV got its own home! http://code.opencv.org is now the primary site for OpenCV development and http://opencv.org (to be launched soon) will be the official OpenCV user site.
14 5 Vadim Pisarevsky
15 21 Vadim Pisarevsky
 * Some of the old functionality from the modules @imgproc@, @video@, @calib3d@, @features2d@, @objdetect@ has been moved to legacy.
16 5 Vadim Pisarevsky
17 21 Vadim Pisarevsky
 * CMake scripts have been substantially modified. Now it's very easy to add new modules - just put the directory with include, src, doc and test sub-directories to the modules directory, create a very simple @CMakeLists.txt@ and your module will be built as a part of OpenCV. Also, it's possible to exclude certain modules from build (the CMake variables "@BUILD_opencv_<modulename>@" control that).
18 5 Vadim Pisarevsky
19 5 Vadim Pisarevsky
h3. New functionality
20 5 Vadim Pisarevsky
21 21 Vadim Pisarevsky
 * The new very base @cv::Algorithm@ class has been introduced. It's planned to be the base of all the "non-trivial" OpenCV functionality. All Algorithm-based classes have the following features:
22 21 Vadim Pisarevsky
 ** "virtual constructor", i.e. an algorithm instance can be created by name;
23 21 Vadim Pisarevsky
 ** there is a list of available algorithms;
24 21 Vadim Pisarevsky
 ** one can retrieve and set algorithm parameters by name;
25 21 Vadim Pisarevsky
 ** one can save algorithm parameters to XML/YAML file and then load them.
26 5 Vadim Pisarevsky
27 22 Vadim Pisarevsky
 * A new ffmpeg wrapper has been created that features multi-threaded decoding, more robust video positioning etc. It's used with ffmpeg starting with 0.7.x versions.
28 5 Vadim Pisarevsky
29 21 Vadim Pisarevsky
 * @features2d@ API has been cleaned up. There are no more numerous classes with duplicated functionality. The base classes @FeatureDetector@ and @DescriptorExtractor@ are now derivatives of @cv::Algorithm@. There is also the base @Feature2D@, using which you can detect keypoints and compute the descriptors in a single call. This is also more efficient.
30 5 Vadim Pisarevsky
31 21 Vadim Pisarevsky
 * SIFT and SURF have been moved to a separate module named @nonfree@ to indicate possible legal issues of using those algorithms in user applications. Also, SIFT performance has been substantially improved (by factor of 3-4x).
32 5 Vadim Pisarevsky
33 21 Vadim Pisarevsky
 * The current state-of-art textureless detection algorithm, Line-Mod by S. Hinterstoisser, has been contributed by Patrick Mihelich. See @objdetect/objdetect.hpp@, class @Detector@.
34 5 Vadim Pisarevsky
35 21 Vadim Pisarevsky
 * 3 face recognition algorithms have been contributed by Philipp Wagner. Please, check @opencv/contrib/contrib.hpp@, @FaceRecognizer@ class, and @opencv/samples/cpp/facerec_demo.cpp@.
36 5 Vadim Pisarevsky
37 21 Vadim Pisarevsky
 * Enhanced @LogPolar@ implementation (that uses Blind-Spot model) has been contributed by Fabio Solari and Manuela Chessa, see @opencv/contrib/contrib.hpp@, @LogPolar_*@ classes and @opencv/samples/cpp/logpolar_bsm.cpp@ sample.
38 5 Vadim Pisarevsky
39 21 Vadim Pisarevsky
 * A stub module @photo@ has been created to support a quickly growing "computational photography" area. Currently, it only contains @inpainting@ algorithm, moved from @imgproc@, but it's planned to add much more functionality.
40 5 Vadim Pisarevsky
41 21 Vadim Pisarevsky
 * Another module @videostab@ (beta version) has been added that solves a specific yet very important task of video stabilization. The module is under active development. Please, check @opencv/samples/cpp/videostab.cpp@ sample. 
42 5 Vadim Pisarevsky
43 21 Vadim Pisarevsky
 * @findContours@ can now find contours on a 32-bit integer image of labels (not only on a black-and-white 8-bit image). This is a step towards more convenient connected component analysis.
44 5 Vadim Pisarevsky
45 21 Vadim Pisarevsky
 * @Canny@ edge detector can now be run on color images, which results in better edge maps 
46 16 Vadim Pisarevsky
47 12 Vadim Pisarevsky
 * Python bindings can now be used within python threads, so one can write multi-threaded computer vision applications in Python.
48 5 Vadim Pisarevsky
49 30 Vadim Pisarevsky
h3. OpenCV on GPU
50 30 Vadim Pisarevsky
51 30 Vadim Pisarevsky
* Different Optical Flow algorithms have been added:
52 30 Vadim Pisarevsky
** Brox (contributed by NVidia)
53 30 Vadim Pisarevsky
** PyrLK Dense / Sparse
54 30 Vadim Pisarevsky
** Fernebeck
55 30 Vadim Pisarevsky
56 30 Vadim Pisarevsky
* New feature detectors and descriptors:
57 30 Vadim Pisarevsky
** GoodFeaturesToTrack
58 30 Vadim Pisarevsky
** FAST/ORB which is patent free replacement of SURF.
59 30 Vadim Pisarevsky
60 30 Vadim Pisarevsky
* Overall GPU module enhancements:
61 30 Vadim Pisarevsky
** Improved similarity of results between CPU and GPU.
62 30 Vadim Pisarevsky
** Added border extrapolation support for many functions.
63 30 Vadim Pisarevsky
** Improved performance.
64 30 Vadim Pisarevsky
65 31 Vadim Pisarevsky
* pyrUp/pyrDown implementations.
66 30 Vadim Pisarevsky
67 32 Vadim Pisarevsky
* matrix multiplication on GPU (wrapper for  CUBLAS library). This is optional, user need to compile OpenCV with CUBLAS support.
68 30 Vadim Pisarevsky
69 30 Vadim Pisarevsky
* @OpenGL back-end@ has been implemented for @highgui@  module, that allows to display GpuMat directly without downloading them to CPU.
70 30 Vadim Pisarevsky
71 30 Vadim Pisarevsky
72 16 Vadim Pisarevsky
h3. OpenCV on Android
73 16 Vadim Pisarevsky
74 16 Vadim Pisarevsky
 * Added Android native camera support for Android 3.x and 4.0.x
75 16 Vadim Pisarevsky
76 16 Vadim Pisarevsky
 * Added Android x86 support
77 16 Vadim Pisarevsky
78 17 Vadim Pisarevsky
 * Added multithreading support on Android. It uses a tweaked version of Intel TBB library (supplied with the OpenCV for Android package).
79 17 Vadim Pisarevsky
80 21 Vadim Pisarevsky
 * Added numerous Java API enchantments.
81 1
82 16 Vadim Pisarevsky
h3. Performance
83 5 Vadim Pisarevsky
84 15 Vadim Pisarevsky
 * A few OpenCV functions, like color conversion, morphology, data type conversions, brute-force feature matcher have been optimized using TBB and/or SSE intrinisics.
85 1
86 21 Vadim Pisarevsky
 * Along with regression tests, now many OpenCV functions have got performance tests. Now for most modules one can build @opencv_perf_<modulename>@ executables that run various functions from the particular module and produce a XML file. Note that if you want to run those tests, as well as the normal regression tests, you will need to get (a rather big) http://code.opencv.org/svn/opencv/trunk/opencv_extra directory and set environment variable @OPENCV_TEST_DATA_PATH@ to "@<your_copy_of_opencv_extra>/testdata@".
87 7 Vadim Pisarevsky
88 7 Vadim Pisarevsky
h3. Bug fixes.
89 7 Vadim Pisarevsky
90 21 Vadim Pisarevsky
 * In this version we fixed literally hundreds of bugs. Please, check http://code.opencv.org/projects/opencv/versions/1 for a list of fixed bugs.
91 7 Vadim Pisarevsky
92 14 Vadim Pisarevsky
h3. Known issues.
93 7 Vadim Pisarevsky
94 21 Vadim Pisarevsky
 * When OpenCV is built statically, dynamically created classes (via @Algorithm::create@) can fail because linker excludes the "unused" object files. To avoid this problem, create classes explicitly, e.g
95 9 Vadim Pisarevsky
96 21 Vadim Pisarevsky
 <pre><code class="cpp">Ptr<DescriptorExtractor> d = new BriefDescriptorExtractor;</code></pre>
97 8 Vadim Pisarevsky
98 8 Vadim Pisarevsky
 * In the beta, the superpack for Windows does not include static OpenCV libs.
99 7 Vadim Pisarevsky
100 1
h2. 2.3.1
101 1
102 5 Vadim Pisarevsky
__(August, 2011)__
103 1
104 1
h3. Android port
105 1
106 23 Vadim Pisarevsky
OpenCV Java bindings for Android platform are released in ''Beta 2'' quality. A lot of work is done to make them more stable and easier to use. Currently Java API has about 700 different OpenCV functions and covers 8 OpenCV modules including full port of features2d.
107 1
108 1
109 29 Vadim Pisarevsky
h3. Other New Functionality and Features
110 1
111 1
  * Retina module has been contributed by Alexandre Benoit (in opencv_contrib module). See the new retina sample and https://sites.google.com/site/benoitalexandrevision/.
112 1
113 1
  * Support for Ximea cameras (http://www.ximea.com/) in HighGUI has been contributed by Ximea developers.
114 1
115 1
  * Planar subdivisions construction (Delaunay triangulation and Voronoi tesselation) have been ported to C++. See the new delaunay2.cpp sample.
116 1
117 1
  * Several new Python samples have been added.
118 1
119 1
  * FLANN in OpenCV has been upgraded to v1.6. Also, added Python bindings for FLANN.
120 1
121 1
  * We now support the latest FFMPEG (0.8.x) that features multi-threaded decoding. Reading videos in OpenCV has never been that fast.
122 1
123 1
h3. Documentation
124 1
125 1
  * Quite a few new tutorials have been added. Check http://opencv.itseez.com/trunk for the up-to-date documentation.
126 1
127 1
h3. Optimization
128 1
129 1
  * Performance of the sparse Lucas-Kanade optical flow has been greatly improved. On 4-core machine it is now 9x faster than the previous version.
130 1
131 1
h3. Bug Fixes
132 1
133 1
  * Over 100 issues have been resolved since 2.3 release. Most of the issues (closed and still open) are listed at https://code.ros.org/trac/opencv/report/6.
134 1
135 1
h3. Known Problems/Limitations
136 1
137 1
  * TBD
138 1
139 1
h2. 2.3
140 2 Vadim Pisarevsky
141 1
__(July, 2011)__
142 1
143 1
h3. Modifications and Improvements since 2.3rc
144 1
145 1
  * A few more bugs reported in the OpenCV bug tracker have been fixed.
146 1
147 1
  * Documentation has been improved a lot! The new reference manual combines information for C++ and C interfaces,
148 1
    the OpenCV 1.x-style Python bindings and the new C++-style Python bindings. It has also been thoroughly checked
149 1
    for grammar, style and completeness.
150 1
151 1
    Besides, there are new and updated tutorials.
152 1
153 1
    The up-to-date online documentation is available at http://opencv.itseez.com.
154 1
155 23 Vadim Pisarevsky
  * The new binary package includes various pre-compiled libs:
156 1
    https://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.3/
157 1
158 1
    Unfortunately, it's not a full-scale installation package, but simply a self-extracting archive with a readme.txt supplied.
159 1
    The installation package is probably to come in the next version.
160 1
161 23 Vadim Pisarevsky
  * VS2005 should build OpenCV 2.3 out of the box, including DirectShow support.
162 1
163 23 Vadim Pisarevsky
  * ffmpeg bindings are now available for all Windows users via compiler- and configuration- and
164 1
    version-independent opencv_ffmpeg.dll (for 32-bit compilers) and opencv_ffmpeg_64.dll (for 64-bit compilers).
165 1
166 1
h2. 2.3rc
167 4 Vadim Pisarevsky
168 1
__(June, 2011)__
169 1
170 1
h3. General Modifications and Improvements
171 1
172 1
  * Buildbot-based Continuous Integration system is now continuously testing OpenCV snapshots. The status is available at http://buildbot.itseez.com
173 1
  * OpenCV switched to Google Test (http://code.google.com/p/googletest/) engine for regression and correctness tests. Each module now has test subdirectory with the tests.
174 1
175 1
176 1
h3. New Functionality, Features
177 1
178 26 Vadim Pisarevsky
  * Many functions and methods now take InputArray/OutputArray instead of "cv::Mat" references. It retains compatibility with the existing code and yet brings more natural support for STL vectors and potentially other "foreign" data structures to OpenCV. See http://opencv.itseez.com/modules/core/doc/intro.html#inputarray-and-outputarray for details.
179 1
180 1
  * core:
181 1
182 1
    * LAPACK is not used by OpenCV anymore. The change decreased the library footprint and the compile time. We now use our own implementation of Jacobi SVD. SVD performance on small matrices (2x2 to 10x10) has been greatly improved; on larger matrices it is still pretty good. SVD accuracy on poorly-conditioned matrices has also been improved.
183 1
184 1
    * Arithmetic operations now support mixed-type operands and arbitrary number of channels.
185 1
186 1
  * features2d:
187 1
188 1
    * Completely new patent-free BRIEF and ORB feature descriptors have been added.
189 1
190 1
    * Very fast LSH matcher for BRIEF and ORB descriptors will be added in 2.3.1.
191 1
192 1
  * calib3d:
193 1
194 24 Vadim Pisarevsky
    * A new calibration pattern, "circles grid":http://code.opencv.org/svn/opencv/branches/2.3/opencv/doc/acircles_pattern.png, has been added. See findCirclesGrid() function and the updated calibration.cpp sample. With the new pattern calibration accuracy is usually much higher.
195 1
196 1
  * highgui:
197 1
198 1
    * [Windows] videoInput is now a part of highgui. If there are any problems with compiling highgui, set "WITH_VIDEOINPUT=OFF" in CMake.
199 1
200 1
  * stitching:
201 1
202 24 Vadim Pisarevsky
    * opencv_stitching is a beta version of new application that makes a panorama out of a set of photos taken from the same point.
203 1
204 1
  * python:
205 1
206 1
    * Now there are 2 extension modules: cv and cv2. cv2 includes wrappers for OpenCV 2.x functionality. opencv/samples/python2 contain a few samples demonstrating cv2 in use.
207 1
208 1
  * contrib:
209 1
210 26 Vadim Pisarevsky
    * A new experimental variational stereo correspondence algorithm StereoVar has been added.
211 1
212 1
  * gpu:
213 1
214 1
    * the module now requires CUDA 4.0 or later; Many improvements and bug fixes have been made.
215 1
216 3 Vadim Pisarevsky
h3. Android port
217 1
218 25 Vadim Pisarevsky
   * With support from NVidia, OpenCV Android port (which is actually not a separate branch of OpenCV, it's the same code tree with additional build scripts) has been greatly improved, a few demos developed. Camera support has been added as well. See http://opencv.willowgarage.com/wiki/Android for details.
219 1
220 3 Vadim Pisarevsky
h3. Documentation
221 1
222 26 Vadim Pisarevsky
  * OpenCV documentation is now written in ReStructured Text and built using Sphinx (http://sphinx.pocoo.org).
223 1
  * It's not a single reference manual now, it's 4 reference manuals (OpenCV 2.x C++ API, OpenCV 2.x Python API, OpenCV 1.x C API, OpenCV 1.x Python API), the emerging user guide and a set of tutorials for beginners.
224 1
  * Style and grammar of the main reference manual (OpenCV 2.x C++ API) have been thoroughly checked and fixed.
225 1
  * Online up-to-date version of the manual is available at http://opencv.itseez.com
226 1
227 1
228 1
h3. Samples
229 1
230 27 Vadim Pisarevsky
  * Several samples using the new Python bindings (cv2 module) have been added: http://code.opencv.org/svn/opencv/branches/2.3/opencv/samples/python2
231 1
232 1
233 1
h3. Optimization
234 1
235 1
  * Several ML algorithms have been threaded using TBB.
236 1
237 1
h3. Bug Fixes
238 1
239 1
  * Over 250 issues have been resolved. Most of the issues (closed and still open) are listed at https://code.ros.org/trac/opencv/report/6.
240 1
241 1
h3. Known Problems/Limitations
242 1
243 1
  * Documentation (especially on the new Python bindings) is still being updated. Watch opencv.itseez.com for updates.
244 1
245 27 Vadim Pisarevsky
  * Android port does not provide Java interface for OpenCV. It is going to be added to "2.3 branch":http://code.opencv.org/svn/opencv/branches/2.3/opencv in a few weeks.
246 1
247 1
  * The list of the other open bugs can be found at http://code.ros.org/trac/opencv/report/1.
248 1
249 1
250 1
h2. 2.2
251 2 Vadim Pisarevsky
252 1
__(December, 2010)__
253 1
254 1
h3. General Modifications and Improvements
255 1
256 1
  * The library has been reorganized. Instead of cxcore, cv, cvaux, highgui and ml we now have several smaller modules:
257 1
258 1
      * opencv_core - core functionality (basic structures, arithmetics and linear algebra, dft, XML and YAML I/O ...).
259 26 Vadim Pisarevsky
      * opencv_imgproc - image processing (filter, GaussianBlur, erode, dilate, resize, remap, cvtColor, calcHist etc.)
260 1
      * opencv_highgui - GUI and image & video I/O
261 1
      * opencv_ml - statistical machine learning models (SVM, Decision Trees, Boosting etc.)
262 1
      * opencv_features2d - 2D feature detectors and descriptors (SURF, FAST etc.,
263 1
                       including the new feature detectors-descriptor-matcher framework)
264 1
      * opencv_video - motion analysis and object tracking (optical flow, motion templates, background subtraction)
265 1
      * opencv_objdetect - object detection in images (Haar & LBP face detectors, HOG people detector etc.)
266 1
      * opencv_calib3d - camera calibration, stereo correspondence and elements of 3D data processing
267 1
      * opencv_flann - the Fast Library for Approximate Nearest Neighbors (FLANN 1.5) and the OpenCV wrappers
268 1
      * opencv_contrib - contributed code that is not mature enough
269 1
      * opencv_legacy - obsolete code, preserved for backward compatibility
270 1
      * opencv_gpu - acceleration of some OpenCV functionality using CUDA (relatively unstable, yet very actively developed part of OpenCV)
271 1
272 1
273 28 Vadim Pisarevsky
If you detected OpenCV and configured your make scripts using CMake or pkg-config tool, your code will likely build fine without any changes. Otherwise, you will need to modify linker parameters (change the library names) and update the include paths.
274 28 Vadim Pisarevsky
275 28 Vadim Pisarevsky
It is still possible to use #include <cv.h> etc. but the recommended notation is:
276 28 Vadim Pisarevsky
277 28 Vadim Pisarevsky
   <pre><code class="cpp">
278 1
    #include "opencv2/imgproc/imgproc.hpp"
279 1
    ...
280 28 Vadim Pisarevsky
    </code></pre>
281 1
282 28 Vadim Pisarevsky
Please, check the new C and C++ samples (http://code.opencv.org/svn/opencv/trunk/opencv/samples), which now include the new-style headers.
283 1
284 1
  * The new-style wrappers now cover much more of OpenCV 2.x API. The documentation and samples are to be added later. You will need numpy in order to use the extra added functionality.
285 1
286 1
    SWIG-based Python wrappers are not included anymore.
287 1
288 1
  * OpenCV can now be built for Android (GSoC 2010 project), thanks to Ethan Rublee; and there are some samples too. Please, check http://opencv.willowgarage.com/wiki/Android
289 1
290 1
  * The completely new opencv_gpu acceleration module has been created with support by NVidia. See below for details.
291 1
292 1
293 1
h3. New Functionality, Features
294 1
295 1
  * core:
296 1
297 28 Vadim Pisarevsky
     * The new cv::Matx<T, m, n> type for fixed-type fixed-size matrices has been added. Vec<T, n> is now derived from Matx<T, n, 1>. The class can be used for very small matrices, where cv::Mat use implies too much overhead. The operators to convert Matx to Mat and backwards are available.
298 28 Vadim Pisarevsky
299 1
    * cv::Mat and cv::MatND are made the same type: typedef cv::Mat cv::MatND. Note that many functions do not check the matrix dimensionality yet, so be careful when processing 3-, 4- ... dimensional matrices using OpenCV.
300 1
301 1
    * Experimental support for Eigen 2.x/3.x is added (WITH_EIGEN2 option in CMake). Again, there are convertors from Eigen2 matrices to cv::Mat and backwards. See modules/core/include/opencv2/core/eigen.hpp.
302 1
303 1
    * cv::Mat can now be print with "<<" operator. See opencv/samples/cpp/cout_mat.cpp.
304 1
305 1
    * cv::exp and cv::log are now much faster thanks to SSE2 optimization.
306 1
307 1
  * imgproc:
308 1
309 1
    * color conversion functions have been rewritten;
310 28 Vadim Pisarevsky
311 28 Vadim Pisarevsky
    * RGB->Lab & RGB->Luv performance has been noticeably improved. Now the functions assume sRGB input color space (e.g. gamma=2.2). If you want the original linear RGB->L** conversion (i.e. with gamma=1), use CV_LBGR2LAB etc.
312 28 Vadim Pisarevsky
313 28 Vadim Pisarevsky
    * VNG algorithm for Bayer->RGB conversion has been added. It's much slower than the simple interpolation algorithm, but returns significantly more detailed images
314 28 Vadim Pisarevsky
315 28 Vadim Pisarevsky
    * The new flavors of RGB->HSV/HLS conversion functions have been added for 8-bit images. They use the whole 0..255 range for the H channel instead of 0..179. The conversion codes are CV_RGB2HSV_FULL etc.
316 28 Vadim Pisarevsky
317 1
    * special variant of initUndistortRectifyMap for wide-angle cameras has been added: initWideAngleProjMap()
318 1
319 1
  * features2d:
320 1
321 1
    * the unified framework for keypoint extraction, computing the descriptors and matching them has been introduced. The previously available and some new detectors and descriptors, like SURF, Fast, StarDetector etc. have been wrapped to be used through the framework. The key advantage of the new framework (besides the uniform API for different detectors and descriptors) is that it also provides high-level tools for image matching and textured object detection. Please, see documentation http://opencv.willowgarage.com/documentation/cpp/features2d_common_interfaces_of_feature_detectors.html
322 1
      and the C++ samples:
323 28 Vadim Pisarevsky
324 1
          * descriptor_extractor_matcher.cpp - finding object in a scene using keypoints and their descriptors.
325 28 Vadim Pisarevsky
326 1
          * generic_descriptor_matcher.cpp - variation of the above sample where the descriptors do not have to be computed explicitly.
327 28 Vadim Pisarevsky
328 1
          * bagofwords_classification.cpp - example of extending the framework and using it to process data from the VOC databases:
329 1
                                          http://pascallin.ecs.soton.ac.uk/challenges/VOC/
330 1
331 1
    * the newest super-fast keypoint descriptor BRIEF by Michael Calonder has been integrated by Ethan Rublee. See the sample opencv/samples/cpp/video_homography.cpp
332 1
333 1
    * SURF keypoint detector has been parallelized using TBB (the patch is by imahon and yvo2m)
334 1
335 1
  * objdetect:
336 1
337 1
      * LatentSVM object detector, implementing P. Felzenszwalb algorithm, has been contributed by Nizhniy Novgorod State University (NNSU) team. See
338 1
        opencv/samples/c/latentsvmdetect.cpp
339 1
340 1
  * calib3d:
341 1
342 1
      * The new rational distortion model:
343 7 Vadim Pisarevsky
344 10 Vadim Pisarevsky
         <pre>
345 10 Vadim Pisarevsky
         x' = x*(1 + k1*r^2 + k2*r^4 + k3*r^6)/
346 10 Vadim Pisarevsky
               (1 + k4*r^2 + k5*r^4 + k6*r^6) +
347 1
               <tangential_distortion for x>,
348 10 Vadim Pisarevsky
349 1
         y' = y*(1 + k1*r^2 + k2*r^4 + k3*r^6)/
350 10 Vadim Pisarevsky
               (1 + k4*r^2 + k5*r^4 + k6*r^6) +
351 7 Vadim Pisarevsky
               <tangential_distortion for y>
352 1
         </pre>
353 1
354 1
        has been introduced. It is useful for calibration of cameras with wide-angle lenses.
355 1
        Because of the increased number of parameters to optimize you need to supply more data to robustly estimate all of them.
356 1
        Or, simply initialize the distortion vectors with zeros and pass
357 28 Vadim Pisarevsky
        @CV_CALIB_RATIONAL_MODEL@ to enable the new model @ CV_CALIB_FIX_K3 + CV_CALIB_FIX_K4 + CV_CALIB_FIX_K5@ or
358 1
        other such combinations to selectively enable or disable certain coefficients.
359 1
360 1
      * rectification of trinocular camera setup, where all 3 heads are on the same line, is added. see samples/cpp/3calibration.cpp
361 1
362 1
  * ml:
363 1
364 1
     * Gradient boosting trees model has been contributed by NNSU team.
365 1
366 1
  * highgui:
367 1
368 1
    * Experimental Qt backend for OpenCV has been added as a result of GSoC 2010 project, completed by Yannick Verdie. The backend has a few extra features, not present in the other backends, like text rendering using TTF fonts, separate "control panel" with sliders, push-buttons, checkboxes and radio buttons, interactive zooming, panning of the images displayed in highgui windows, "save as" etc. Please, check the youtube videos where Yannick demonstrates the new features: http://www.youtube.com/user/MrFrenchCookie#p/u
369 1
370 28 Vadim Pisarevsky
    * The new API is described here: http://opencv.willowgarage.com/documentation/cpp/highgui_qt_new_functions.html To make use of the new API, you need to have Qt SDK (or libqt4 with development packages) installed on your machine, and build OpenCV with Qt support (pass `-DWITH_QT=ON` to CMake; watch the output, make sure Qt is used as GUI backend)
371 1
372 1
    * 16-bit and LZW-compressed TIFFs are now supported.
373 1
374 1
    * You can now set the mode for IEEE1394 cameras on Linux.
375 1
376 1
  * contrib:
377 1
378 1
    * Chamfer matching algorithm has been contributed by Marius Muja, Antonella Cascitelli, Marco Di Stefano and Stefano Fabri. See samples/cpp/chamfer.cpp
379 1
380 1
  * gpu:
381 1
382 1
    This is completely new part of OpenCV, created with the support by NVidia.
383 1
    Note that the package is at alpha, probably early beta state, so use it with care and check OpenCV SVN for updates.
384 1
385 28 Vadim Pisarevsky
    In order to use it, you need to have the latest NVidia CUDA SDK installed, and build OpenCV with CUDA support (@-DWITH_CUDA=ON@ CMake flag).
386 1
387 1
    All the functionality is put to cv::gpu namespace. The full list of functions and classes can be found at
388 1
    opencv/modules/gpu/include/opencv2/gpu/gpu.hpp, and here are some major components of the API:
389 1
390 1
      * image arithmetics, filtering operations, morphology, geometrical transformations, histograms
391 1
392 1
      * 3 stereo correspondence algorithms: Block Matching, Belief Propagation and Constant-Space Belief Propagation.
393 20 Vadim Pisarevsky
394 1
      * HOG-based object detector. It runs more than order of magnitude faster than the CPU version!
395 1
        See opencv/samples/gpu
396 1
397 1
398 1
  * python bindings:
399 1
400 1
     A lot more of OpenCV 2.x functionality is now covered by Python bindings.
401 1
402 1
     These new wrappers require numpy to be installed
403 1
      (see http://opencv.willowgarage.com/wiki/InstallGuide for details).
404 1
405 1
     Likewise the C++ API, in the new Python bindings you do not need to allocate output arrays.
406 1
     They will be automatically created by the functions.
407 1
408 20 Vadim Pisarevsky
     Here is a micro example:
409 10 Vadim Pisarevsky
410 28 Vadim Pisarevsky
 <pre><code class="python">
411 28 Vadim Pisarevsky
 import cv
412 10 Vadim Pisarevsky
413 28 Vadim Pisarevsky
 a=cv.imread("lena.jpg",0)
414 28 Vadim Pisarevsky
 b=cv.canny(a, 50, 100, apertureSize=3)
415 28 Vadim Pisarevsky
 cv.imshow("test",b)
416 28 Vadim Pisarevsky
 cv.waitKey(0)
417 28 Vadim Pisarevsky
 </code></pre>
418 1
419 1
     In the sample a and b are normal numpy arrays, so the whole power of numpy and scipy can now be combined with OpenCV functionality.
420 1
421 1
h3. Documentation, Samples
422 1
423 1
  * Links to wiki pages (mostly empty) have been added to each function description, see http://opencv.willowgarage.com
424 1
  * All the samples have been documented with default output ''(0 or incomplete number of parameters)'' set to print out "howto" run instructions [Gary]; most samples have been converted to C++ to use the new OpenCV API.
425 1
426 1
h3. Bug Fixes
427 1
428 1
  * Over 300 issues have been resolved. Most of the issues (closed and still open) are listed at https://code.ros.org/trac/opencv/report/6.
429 1
430 1
  * The old bug tracker at https://sourceforge.net/projects/opencvlibrary/ is now closed for updates. As soon as all the still relevant bug reports will be moved to code.ros.org, the old bug tracker will be completely deleted. Please, use the new tracker from now on.
431 1
432 1
h3. Known Problems/Limitations
433 1
434 1
  * Installation package for Windows is still 32-bit only and does not include TBB support. You can build parallel or 64-bit version of OpenCV from the source code.
435 1
436 1
  * The list of the other open bugs can be found at http://code.ros.org/trac/opencv/report/1.