ChangeLog

Version 86 (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 86 Vadim Pisarevsky
h2. version:2.4.4 beta
6 86 Vadim Pisarevsky
7 86 Vadim Pisarevsky
__February, 2013__
8 86 Vadim Pisarevsky
9 86 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/960/android_ocv_small.png!
10 86 Vadim Pisarevsky
11 86 Vadim Pisarevsky
* TBD
12 86 Vadim Pisarevsky
13 86 Vadim Pisarevsky
p((((. !CUDA.jpg!
14 86 Vadim Pisarevsky
15 86 Vadim Pisarevsky
* TBD
16 86 Vadim Pisarevsky
17 86 Vadim Pisarevsky
p((((. !OpenCL.jpg!
18 86 Vadim Pisarevsky
19 86 Vadim Pisarevsky
* ocl module now builds successfully with various OpenCL SDKs (from AMD, NVidia and Apple). However, it's still known not to work properly on CPUs.
20 86 Vadim Pisarevsky
21 86 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/949/bug.png!
22 86 Vadim Pisarevsky
23 86 Vadim Pisarevsky
* >100 reported problems have been resolved since 2.4.3
24 86 Vadim Pisarevsky
25 84 Vadim Pisarevsky
h2. version:2.4.3
26 69 Vadim Pisarevsky
27 84 Vadim Pisarevsky
__November, 2012__
28 69 Vadim Pisarevsky
29 69 Vadim Pisarevsky
p((((. !threads.jpg!
30 69 Vadim Pisarevsky
31 84 Vadim Pisarevsky
* Added universal @parallel_for@ implementation using various backends: TBB (cross-platform: http://threadingbuildingblocks.org), OpenMP (cross-platform: http://en.wikipedia.org/wiki/OpenMP), Grand Central Dispatch (iOS/MacOSX: http://en.wikipedia.org/wiki/Grand_Central_Dispatch), Concurrency (Visual Studio 2010 or later: http://msdn.microsoft.com/en-us/library/dd492418.aspx), C= (http://www.hoopoesnest.com/cstripes/cstripes-details.htm). Many exiting parallel OpenCV algorithms have been converted to the new primitive. Therefore, you can enjoy performance improvements even without having to install TBB and ship it with OpenCV-based applications.
32 69 Vadim Pisarevsky
33 69 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/960/android_ocv_small.png!
34 69 Vadim Pisarevsky
35 78 Vadim Pisarevsky
* Improved OpenCV Manager, new Java samples framework, better camera support on Android, see [[Android Release Notes]] for details.
36 69 Vadim Pisarevsky
37 69 Vadim Pisarevsky
p((((. !ios6.jpg!
38 69 Vadim Pisarevsky
39 79 Vadim Pisarevsky
* *opencv2.framework* is now iOS6- and iPhone5- (armv7s) compatible. Thanks to the new threading mechanism several important OpenCV algorithms (e.g. face detection, bilateral filter, etc.) now run faster on A5 or newer dual-core chips. We also fixed bug in the framework build script and now the framework is built with "-O3" optimization instead of "-O0" in OpenCV 2.4.2. Finally, our GSoC students, Eduard Feicho and Charu Hans, have written detailed tutorials on how to add OpenCV to your iOS app, please, check http://docs.opencv.org/doc/tutorials/ios/table_of_content_ios/table_of_content_ios.html.
40 69 Vadim Pisarevsky
41 69 Vadim Pisarevsky
p((((. !python.png!
42 69 Vadim Pisarevsky
43 69 Vadim Pisarevsky
* Another our GSoC student, Alexander Mordvintsev, added several new exciting Python samples, including ASIFT, hand-written digit recognition, motion debluring and even the use of Amazon PiCloud. Check https://github.com/Itseez/opencv/tree/master/samples/python2
44 69 Vadim Pisarevsky
45 69 Vadim Pisarevsky
p((((. !profile.jpg!
46 69 Vadim Pisarevsky
47 69 Vadim Pisarevsky
* Yet another GSoC student Attila Novak has trained 2 new cascades, for silverware and profile faces. Check https://github.com/Itseez/opencv/tree/master/data/lbpcascades
48 69 Vadim Pisarevsky
49 69 Vadim Pisarevsky
p((((. !denoising.jpg!
50 69 Vadim Pisarevsky
51 69 Vadim Pisarevsky
* Another result from GSoC (that was a good year!): Victor Passichenko implemented non-local means denoising algorithm. It's not realtime, but quite decent. Please, check http://docs.opencv.org/trunk/modules/photo/doc/denoising.html
52 69 Vadim Pisarevsky
53 69 Vadim Pisarevsky
p((((. !optflow.jpg!
54 69 Vadim Pisarevsky
55 75 Vadim Pisarevsky
* Yet another result from GSoC (that was a good year indeed!): Yuri Zemlyansky implemented "simple flow" optical flow algorithm; check https://github.com/Itseez/opencv/tree/master/samples/cpp/simpleflow_demo.cpp.
56 69 Vadim Pisarevsky
57 82 Vadim Pisarevsky
p((((. !CUDA.jpg!
58 1
59 82 Vadim Pisarevsky
* Numerous improvements and new functionality in GPU module:
60 82 Vadim Pisarevsky
  - device layer opened for users; now users write CUDA device code using OpenCV.
61 82 Vadim Pisarevsky
  - LBP cascade support in cascade classifier
62 82 Vadim Pisarevsky
  - fast non local means image denoising
63 82 Vadim Pisarevsky
  - faster integral image calculation on Kepler
64 82 Vadim Pisarevsky
  - Hough circles, Hough lines and generalized Hough transform implementation
65 82 Vadim Pisarevsky
  - bilateral filter
66 82 Vadim Pisarevsky
  - generalized Flood Fill connected component labeling
67 82 Vadim Pisarevsky
  - background/foreground segmentation algorithms: Mixture of Gaussian, ViBe, GMG (A. Godbehere, A. Matsukawa, K. Goldberg) . 
68 82 Vadim Pisarevsky
  - added confidence calculation into HOG
69 82 Vadim Pisarevsky
70 82 Vadim Pisarevsky
p((((. !OpenCL.jpg!
71 82 Vadim Pisarevsky
72 85 Vadim Pisarevsky
* Technology-preview version of ocl - OpenCL-accelerated computer vision algorithms, contributed by the Chinese Academy of Science. It includes:
73 82 Vadim Pisarevsky
  - arithmetical operations
74 82 Vadim Pisarevsky
  - filtering
75 82 Vadim Pisarevsky
  - geometrical image transformations (resize, remap etc.)
76 82 Vadim Pisarevsky
  - cascade classifier (i.e. face detector)
77 82 Vadim Pisarevsky
  - optical flow
78 82 Vadim Pisarevsky
currently, it only runs on GPUs.
79 69 Vadim Pisarevsky
80 69 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/949/bug.png!
81 69 Vadim Pisarevsky
82 69 Vadim Pisarevsky
* ~130 reported problems have been resolved since 2.4.2
83 69 Vadim Pisarevsky
84 1
p((((. !github.jpg!
85 1
86 1
* OpenCV has never been that social. We are at github now: http://github.com/itseez/opencv. Grab the latest versions from there, submit pull requests.
87 84 Vadim Pisarevsky
88 84 Vadim Pisarevsky
p((((. !update.jpg!
89 84 Vadim Pisarevsky
90 84 Vadim Pisarevsky
* Since 2.4.3rc we fixed several build problems (OpenCV-based applications on Xcode 4.5 & iOS6, OpenCV+TBB on Windows etc.) and closed a few issues, reported at code.opencv.org.
91 69 Vadim Pisarevsky
92 63 Vadim Pisarevsky
h2. version:2.4.2
93 50 Vadim Pisarevsky
94 50 Vadim Pisarevsky
__July, 2012__
95 50 Vadim Pisarevsky
96 66 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/960/android_ocv_small.png!
97 62 Vadim Pisarevsky
98 62 Vadim Pisarevsky
* Android package introduces a new service-based distribution model (see [[Android Release Notes]] for details).
99 62 Vadim Pisarevsky
100 59 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/951/freak.jpg!
101 1
102 59 Vadim Pisarevsky
* New keypoint descriptor FREAK has been contributed by EPFL group: Kirell Benzi, Raphael Ortiz, Alexandre Alahi and Pierre Vandergheynst. It's claimed to be superior to ORB and SURF descriptors, yet it's very fast (comparable to ORB). Please, see source://trunk/opencv/samples/cpp/freak_demo.cpp.
103 59 Vadim Pisarevsky
104 59 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/950/eigenfaces_opencv.png!
105 59 Vadim Pisarevsky
106 1
* Improved face recognizer and excellent tutorial on using it has been added by Philipp Wagner. Check the "face recognition tutorial":http://docs.opencv.org/modules/contrib/doc/facerec/facerec_tutorial.html.
107 1
108 59 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/948/100px-Apple_iOS_icon.png!
109 1
110 67 Vadim Pisarevsky
* *opencv2.framework* for iOS has been created. You can either download the binary from SourceForge or build it yourself using the simple guide: http://docs.opencv.org/doc/tutorials/introduction/ios_install/ios_install.html#ios-installation. Also, you may be interested to look at some OpenCV on iOS samples, created by our GSoC 2012 students Eduard and Charu: gsoc2012:source:/ios/trunk and read the slides of the tutorial: gsoc2012:source:/ios/trunk/doc/CVPR2012_OpenCV4IOS_Tutorial.pdf
111 1
112 59 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/949/bug.png!
113 59 Vadim Pisarevsky
114 61 Vadim Pisarevsky
* "Another 50 bugs":http://code.opencv.org/projects/opencv/issues?fixed_version_id=6&set_filter=1&status_id=5 have been fixed since 2.4.1 release.
115 59 Vadim Pisarevsky
116 59 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/952/logo.png!
117 50 Vadim Pisarevsky
118 67 Vadim Pisarevsky
* It's not about the code, but now we have the brand-new user site, http://opencv.org and the new stack overflow-like site with answers to the most popular questions http://answers.opencv.org
119 1
120 65 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/956/cuda.png!
121 65 Vadim Pisarevsky
122 65 Vadim Pisarevsky
* GPU module:
123 65 Vadim Pisarevsky
  - reimplemented CUDA accelerated gpu::PyrLKOpticalFlow for dense and sparse cases. New implementation up 1.5 - 2 times faster then previous GPU  optimized. Updated optical flow samples
124 65 Vadim Pisarevsky
  - implemented resize with area interpolation. CUDA optimized version for integer matrix types up 30 - 35 faster then not optimized OpenCV implementation and up 7 in worst case of 3 channel floating point matrix.
125 65 Vadim Pisarevsky
126 64 Vadim Pisarevsky
h2. 2.4.1
127 63 Vadim Pisarevsky
128 45 Vadim Pisarevsky
__June, 2012__
129 46 Vadim Pisarevsky
130 45 Vadim Pisarevsky
* The GPU module now supports CUDA 4.1 and CUDA 4.2 and can be compiled with CUDA 5.0 preview.
131 45 Vadim Pisarevsky
132 67 Vadim Pisarevsky
* Added API for storing OpenCV data structures in text string and reading them back:
133 45 Vadim Pisarevsky
<pre><code class="cpp">
134 45 Vadim Pisarevsky
//==== storing data ====
135 45 Vadim Pisarevsky
FileStorage fs(".xml", FileStorage::WRITE + FileStorage::MEMORY);
136 45 Vadim Pisarevsky
fs << "date" << date_string << "mymatrix" << mymatrix;
137 45 Vadim Pisarevsky
string buf = fs.releaseAndGetString();
138 45 Vadim Pisarevsky
139 45 Vadim Pisarevsky
//==== reading it back ====
140 45 Vadim Pisarevsky
FileStorage fs(buf, FileStorage::READ + FileStorage::MEMORY);
141 45 Vadim Pisarevsky
fs["date"] >> date_string;
142 45 Vadim Pisarevsky
fs["mymatrix"] >> mymatrix;
143 45 Vadim Pisarevsky
</code></pre>
144 46 Vadim Pisarevsky
145 45 Vadim Pisarevsky
* "@cv::calcOpticalFlowPyrLK@":http://docs.opencv.org/modules/video/doc/motion_analysis_and_object_tracking.html#calcopticalflowpyrlk now supports precomputed pyramids as input.
146 45 Vadim Pisarevsky
147 45 Vadim Pisarevsky
* Function signatures in documentation are made consistent with source code.
148 45 Vadim Pisarevsky
149 45 Vadim Pisarevsky
* Restored python wrappers for SURF and MSER.
150 1
151 45 Vadim Pisarevsky
* "45 more bugs":http://code.opencv.org/projects/opencv/issues?fixed_version_id=5&set_filter=1&status_id=5 in our bug tracker have been fixed
152 45 Vadim Pisarevsky
153 42 Vadim Pisarevsky
154 63 Vadim Pisarevsky
h2. version:2.4.0
155 42 Vadim Pisarevsky
156 42 Vadim Pisarevsky
__May, 2012__
157 42 Vadim Pisarevsky
158 42 Vadim Pisarevsky
The major changes since 2.4 beta
159 42 Vadim Pisarevsky
160 67 Vadim Pisarevsky
* OpenCV now provides pretty complete build information via cv::getBuildInformation().
161 42 Vadim Pisarevsky
162 67 Vadim Pisarevsky
* reading/writing video via ffmpeg finally works and is now available on MacOS X too.
163 43 Vadim Pisarevsky
note 1: we now demand reasonably fresh versions of ffmpeg/libav with libswscale included.
164 67 Vadim Pisarevsky
note 2: if possible, try to avoid reading or writing more than one video simultaneously (even within a single thread) with ffmpeg 0.7.x or earlier, since they seem to use some global structures that are destroyed by the codecs executed synchronously. Either build and install a newer ffmpeg (0.10.x is recommended), or serialize your video i/o, or use parallel processes instead of threads.
165 42 Vadim Pisarevsky
166 42 Vadim Pisarevsky
* MOG2 background subtraction by Zoran Zivkovic was optimized using TBB.
167 42 Vadim Pisarevsky
168 67 Vadim Pisarevsky
* The reference manual has been updated to match OpenCV 2.4.0.
169 42 Vadim Pisarevsky
170 67 Vadim Pisarevsky
* More than 20 bugs have been closed in our bug tracker. (http://code.opencv.org/projects/opencv/roadmap).
171 43 Vadim Pisarevsky
172 42 Vadim Pisarevsky
* Asus Xtion is now properly supported for HighGUI. For now, you have to manually specify this device by using VideoCapture(CV_CAP_OPENNI_ASUS) instead of VideoCapture(CV_CAP_OPENNI).
173 42 Vadim Pisarevsky
174 5 Vadim Pisarevsky
175 5 Vadim Pisarevsky
h2. 2.4 beta
176 39 Vadim Pisarevsky
177 5 Vadim Pisarevsky
__April, 2012__
178 8 Vadim Pisarevsky
179 67 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 for changes periodically, before as well as after 2.4 release.
180 5 Vadim Pisarevsky
181 5 Vadim Pisarevsky
h3. Common changes
182 36 Vadim Pisarevsky
183 67 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 will be the official OpenCV user site.
184 36 Vadim Pisarevsky
185 5 Vadim Pisarevsky
* Some of the old functionality from the modules @imgproc@, @video@, @calib3d@, @features2d@, @objdetect@ has been moved to legacy.
186 36 Vadim Pisarevsky
187 5 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).
188 5 Vadim Pisarevsky
189 5 Vadim Pisarevsky
h3. New functionality
190 21 Vadim Pisarevsky
191 67 Vadim Pisarevsky
 * A new essential class @cv::Algorithm@ has been introduced. It's planned to be the fundamental part of all of the "non-trivial" OpenCV functionality. All Algorithm-based classes have the following features:
192 21 Vadim Pisarevsky
 ** "virtual constructor", i.e. an algorithm instance can be created by name;
193 21 Vadim Pisarevsky
 ** there is a list of available algorithms;
194 21 Vadim Pisarevsky
 ** one can retrieve and set algorithm parameters by name;
195 5 Vadim Pisarevsky
 ** one can save algorithm parameters to XML/YAML file and then load them.
196 36 Vadim Pisarevsky
197 5 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.
198 36 Vadim Pisarevsky
199 5 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.
200 36 Vadim Pisarevsky
201 5 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).
202 36 Vadim Pisarevsky
203 5 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@.
204 36 Vadim Pisarevsky
205 5 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@.
206 40 Vadim Pisarevsky
207 40 Vadim Pisarevsky
* 2 algorithms for solving PnP problem have been added. Please, check @flags@ parameter in @solvePnP@ and @solvePnPRansac@ functions.
208 36 Vadim Pisarevsky
209 5 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.
210 36 Vadim Pisarevsky
211 5 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.
212 36 Vadim Pisarevsky
213 5 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. 
214 36 Vadim Pisarevsky
215 5 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.
216 36 Vadim Pisarevsky
217 16 Vadim Pisarevsky
* @Canny@ edge detector can now be run on color images, which results in better edge maps 
218 36 Vadim Pisarevsky
219 12 Vadim Pisarevsky
* Python bindings can now be used within python threads, so one can write multi-threaded computer vision applications in Python.
220 5 Vadim Pisarevsky
221 30 Vadim Pisarevsky
h3. OpenCV on GPU
222 30 Vadim Pisarevsky
223 30 Vadim Pisarevsky
* Different Optical Flow algorithms have been added:
224 30 Vadim Pisarevsky
** Brox (contributed by NVidia)
225 34 Vadim Pisarevsky
** PyrLK - both Dense and Sparse variations
226 30 Vadim Pisarevsky
** Farneback
227 30 Vadim Pisarevsky
228 1
* New feature detectors and descriptors:
229 1
** @GoodFeaturesToTrack@
230 34 Vadim Pisarevsky
** FAST/ORB which is patent free replacement of SURF.
231 30 Vadim Pisarevsky
232 36 Vadim Pisarevsky
* Overall GPU module enhancements:
233 36 Vadim Pisarevsky
** The module now requires CUDA 4.1 or later;
234 36 Vadim Pisarevsky
** Improved similarity of results between CPU and GPU;
235 30 Vadim Pisarevsky
** Added border extrapolation support for many functions;
236 30 Vadim Pisarevsky
** Improved performance.
237 30 Vadim Pisarevsky
238 30 Vadim Pisarevsky
* @pyrUp@/@pyrDown@ implementations.
239 1
240 1
* Matrix multiplication on GPU (wrapper for the CUBLAS library). This is optional, user need to compile OpenCV with CUBLAS support.
241 30 Vadim Pisarevsky
242 30 Vadim Pisarevsky
* @OpenGL back-end@ has been implemented for @highgui@  module, that allows to display @GpuMat@ directly without downloading them to CPU.
243 39 Vadim Pisarevsky
244 35 Vadim Pisarevsky
h3. OpenCV4Android
245 39 Vadim Pisarevsky
246 1
See the [[Android Release Notes]].
247 35 Vadim Pisarevsky
248 1
h3. Performance
249 16 Vadim Pisarevsky
250 36 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.
251 1
252 36 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@".
253 39 Vadim Pisarevsky
254 1
h3. Bug fixes
255 1
256 67 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 issues.
257 39 Vadim Pisarevsky
258 1
h3. Known issues
259 1
260 1
* 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
261 36 Vadim Pisarevsky
262 8 Vadim Pisarevsky
 <pre><code class="cpp">Ptr<DescriptorExtractor> d = new BriefDescriptorExtractor;</code></pre>
263 1
264 1
h2. 2.3.1
265 39 Vadim Pisarevsky
266 1
__August, 2011__
267 39 Vadim Pisarevsky
268 23 Vadim Pisarevsky
h3. OpenCV4Android
269 1
270 1
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.
271 1
272 1
h3. Other New Functionality and Features
273 36 Vadim Pisarevsky
274 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/.
275 36 Vadim Pisarevsky
276 1
* Support for Ximea cameras (http://www.ximea.com/) in @highgui@ has been contributed by Ximea developers.
277 36 Vadim Pisarevsky
278 1
* Planar subdivisions construction (Delaunay triangulation and Voronoi tessellation) have been ported to C++. See the new @delaunay2.cpp@ sample.
279 36 Vadim Pisarevsky
280 1
* Several new Python samples have been added.
281 36 Vadim Pisarevsky
282 1
* @FLANN@ in OpenCV has been upgraded to v1.6. Also, added Python bindings for @FLANN@.
283 1
284 36 Vadim Pisarevsky
* We now support the latest FFMPEG (0.8.x) that features multi-threaded decoding. Reading videos in OpenCV has never been that fast.
285 1
286 1
h3. Documentation
287 1
288 36 Vadim Pisarevsky
* Quite a few new tutorials have been added. Check http://opencv.itseez.com/trunk for the up-to-date documentation.
289 1
290 1
h3. Optimization
291 1
292 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.
293 1
294 1
h3. Bug Fixes
295 36 Vadim Pisarevsky
296 1
* Over 100 issues have been resolved since 2.3 release. Most of the issues (closed and still open) are listed at http://code.opencv.org/projects/opencv/issues?set_filter=1.
297 44 Vadim Pisarevsky
298 44 Vadim Pisarevsky
h3. Known issues
299 44 Vadim Pisarevsky
300 44 Vadim Pisarevsky
* TBB debug binaries are missed in the Windows installer. Here is a workaround:
301 44 Vadim Pisarevsky
** Download @tbb30_20110427oss_win.zip@ from the "TBB website":http://threadingbuildingblocks.org/ver.php?fid=171.
302 44 Vadim Pisarevsky
** Unzip and copy the @tbb*_debug.dll@ files from _bin/<ARCH>/<COMPILER>_ to the corresponding folder in the installed OpenCV location in _<OPENCVCV_ROOT>/build/common/tbb/<ARCH>/<COMPILER>_
303 1
304 1
h2. 2.3
305 39 Vadim Pisarevsky
306 1
__July, 2011__
307 1
308 1
h3. Modifications and Improvements since 2.3rc
309 36 Vadim Pisarevsky
310 1
* A few more bugs reported in the OpenCV bug tracker have been fixed.
311 36 Vadim Pisarevsky
312 67 Vadim Pisarevsky
* Documentation has been improved a lot! The new reference manual combines information for C++ and C interfaces, the OpenCV 1.x-style Python bindings and the new C++-style Python bindings. It has also been thoroughly checked for grammar, style and integrity.
313 1
314 36 Vadim Pisarevsky
  Besides, there are new and updated tutorials.
315 1
316 36 Vadim Pisarevsky
  The up-to-date online documentation is available at http://opencv.itseez.com.
317 1
318 36 Vadim Pisarevsky
* The new binary package includes various pre-compiled libs:
319 36 Vadim Pisarevsky
   https://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.3/
320 1
321 36 Vadim Pisarevsky
   Unfortunately, it's not a full-scale installation package, but simply a self-extracting archive with a @readme.txt@ supplied.
322 4 Vadim Pisarevsky
   The installation package is probably to come in the next version.
323 36 Vadim Pisarevsky
324 1
* VS2005 should build OpenCV 2.3 out of the box, including @DirectShow@ support.
325 36 Vadim Pisarevsky
326 1
* ffmpeg bindings are now available for all Windows users via compiler- and configuration- and
327 1
    version-independent @opencv_ffmpeg.dll@ (for 32-bit compilers) and @opencv_ffmpeg_64.dll@ (for 64-bit compilers).
328 1
329 35 Vadim Pisarevsky
h2. 2.3rc
330 39 Vadim Pisarevsky
331 1
__June, 2011__
332 1
333 1
h3. General Modifications and Improvements
334 36 Vadim Pisarevsky
335 67 Vadim Pisarevsky
* Buildbot-based Continuous Integration system is now continuously testing OpenCV snapshots. The current status is available at http://buildbot.itseez.com
336 36 Vadim Pisarevsky
337 67 Vadim Pisarevsky
* OpenCV switched to Google Test (http://code.google.com/p/googletest/) engine for regression and correctness tests. Each module now has "test" sub-directory which includes the corresponding tests.
338 36 Vadim Pisarevsky
339 1
340 1
h3. New Functionality, Features
341 36 Vadim Pisarevsky
342 1
* 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.
343 36 Vadim Pisarevsky
344 36 Vadim Pisarevsky
* @core@
345 67 Vadim Pisarevsky
** @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 considerably improved; on larger matrices it is still pretty good. SVD accuracy on poorly-conditioned matrices has also been polished.
346 1
** Arithmetic operations now support mixed-type operands and arbitrary number of channels.
347 36 Vadim Pisarevsky
348 36 Vadim Pisarevsky
* @features2d@
349 36 Vadim Pisarevsky
** Completely new patent-free @BRIEF@ and @ORB@ feature descriptors have been added.
350 1
** Very fast LSH matcher for @BRIEF@ and @ORB@ descriptors will be added in 2.3.1.
351 36 Vadim Pisarevsky
352 36 Vadim Pisarevsky
* @calib3d@
353 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.
354 36 Vadim Pisarevsky
355 36 Vadim Pisarevsky
* @highgui@
356 1
** [Windows] @videoInput@ is now a part of @highgui@. If there are any problems with compiling @highgui@, set @WITH_VIDEOINPUT=OFF@ in CMake.
357 36 Vadim Pisarevsky
358 36 Vadim Pisarevsky
* @stitching@
359 1
** @opencv_stitching@ is a beta version of new application that makes a panorama out of a set of photos taken from the same point.
360 36 Vadim Pisarevsky
361 36 Vadim Pisarevsky
* @python@
362 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.
363 36 Vadim Pisarevsky
364 38 Vadim Pisarevsky
* @contrib@
365 1
** A new experimental variational stereo correspondence algorithm @StereoVar@ has been added.
366 36 Vadim Pisarevsky
367 36 Vadim Pisarevsky
* @gpu@
368 1
** the module now requires CUDA 4.0 or later; Many improvements and bug fixes have been made.
369 36 Vadim Pisarevsky
370 1
h3. Android port
371 38 Vadim Pisarevsky
372 38 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.
373 1
  See [[Android Release Notes#231-beta1]] for details.
374 36 Vadim Pisarevsky
375 1
h3. Documentation
376 36 Vadim Pisarevsky
377 1
* OpenCV documentation is now written in @ReStructured Text@ and built using @Sphinx@ (http://sphinx.pocoo.org).
378 36 Vadim Pisarevsky
379 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.
380 36 Vadim Pisarevsky
381 1
* Style and grammar of the main reference manual (OpenCV 2.x C++ API) have been thoroughly checked and fixed.
382 36 Vadim Pisarevsky
383 1
* Online up-to-date version of the manual is available at http://opencv.itseez.com
384 1
385 1
386 1
h3. Samples
387 36 Vadim Pisarevsky
388 1
* Several samples using the new Python bindings (cv2 module) have been added: http://code.opencv.org/svn/opencv/branches/2.3/opencv/samples/python2
389 1
390 1
391 1
h3. Optimization
392 1
393 36 Vadim Pisarevsky
* Several ML algorithms have been threaded using TBB.
394 1
395 1
h3. Bug Fixes
396 1
397 36 Vadim Pisarevsky
* Over 250 issues have been resolved. Most of the issues (closed and still open) are listed at http://code.opencv.org/projects/opencv/issues?set_filter=1.
398 1
399 1
h3. Known Problems/Limitations
400 36 Vadim Pisarevsky
401 1
* Documentation (especially on the new Python bindings) is still being updated. Watch http://opencv.itseez.com for updates.
402 36 Vadim Pisarevsky
403 2 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.
404 1
405 1
406 1
h2. 2.2
407 39 Vadim Pisarevsky
408 1
__December, 2010__
409 1
410 1
h3. General Modifications and Improvements
411 37 Vadim Pisarevsky
412 37 Vadim Pisarevsky
* The library has been reorganized. Instead of @cxcore@, @cv@, @cvaux@, @highgui@ and @ml@ we now have several smaller modules:
413 37 Vadim Pisarevsky
** @opencv_core@ - core functionality (basic structures, arithmetics and linear algebra, dft, XML and YAML I/O ...).
414 37 Vadim Pisarevsky
** @opencv_imgproc@ - image processing (@filter@, @GaussianBlur@, @erode@, @dilate@, @resize@, @remap@, @cvtColor@, @calcHist@ etc.)
415 37 Vadim Pisarevsky
** @opencv_highgui@ - GUI and image & video I/O
416 37 Vadim Pisarevsky
** @opencv_ml@ - statistical machine learning models (SVM, Decision Trees, Boosting etc.)
417 37 Vadim Pisarevsky
** @opencv_features2d@ - 2D feature detectors and descriptors (SURF, FAST etc., including the new feature detectors-descriptor-matcher framework)
418 37 Vadim Pisarevsky
** @opencv_video@ - motion analysis and object tracking (optical flow, motion templates, background subtraction)
419 37 Vadim Pisarevsky
** @opencv_objdetect@ - object detection in images (Haar & LBP face detectors, HOG people detector etc.)
420 37 Vadim Pisarevsky
** @opencv_calib3d@ - camera calibration, stereo correspondence and elements of 3D data processing
421 37 Vadim Pisarevsky
** @opencv_flann@ - the Fast Library for Approximate Nearest Neighbors (@FLANN@ 1.5) and the OpenCV wrappers
422 37 Vadim Pisarevsky
** @opencv_contrib@ - contributed code that is not mature enough
423 37 Vadim Pisarevsky
** @opencv_legacy@ - obsolete code, preserved for backward compatibility
424 1
** @opencv_gpu@ - acceleration of some OpenCV functionality using @CUDA@ (relatively unstable, yet very actively developed part of OpenCV)
425 1
426 1
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.
427 37 Vadim Pisarevsky
428 1
It is still possible to use @#include <cv.h>@ etc. but the recommended notation is:
429 37 Vadim Pisarevsky
430 37 Vadim Pisarevsky
<pre><code class="cpp">
431 37 Vadim Pisarevsky
#include "opencv2/imgproc/imgproc.hpp"
432 37 Vadim Pisarevsky
...
433 1
</code></pre>
434 1
435 1
Please, check the new C and C++ samples (http://code.opencv.org/svn/opencv/trunk/opencv/samples), which now include the new-style headers.
436 37 Vadim Pisarevsky
437 67 Vadim Pisarevsky
* 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 functionality.
438 28 Vadim Pisarevsky
   SWIG-based Python wrappers are not included anymore.
439 37 Vadim Pisarevsky
440 28 Vadim Pisarevsky
* OpenCV can now be built for Android (GSoC 2010 project), thanks to Ethan Rublee; and there are some samples too. Please, check [[OpenCV4Android]]
441 37 Vadim Pisarevsky
442 1
* The completely new @opencv_gpu@ acceleration module has been created with support by NVIDIA. See below for details.
443 1
444 28 Vadim Pisarevsky
445 28 Vadim Pisarevsky
h3. New Functionality, Features
446 37 Vadim Pisarevsky
447 37 Vadim Pisarevsky
* @core@
448 37 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.
449 37 Vadim Pisarevsky
** @cv::Mat@ and @cv::MatND@ are made the same type: @typedef cv::Mat cv::MatND@.
450 37 Vadim Pisarevsky
    Note that many functions do not check the matrix dimensionality yet, so be careful when processing 3-, 4- ... dimensional matrices using OpenCV.
451 37 Vadim Pisarevsky
** 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@.
452 37 Vadim Pisarevsky
** @cv::Mat@ can now be print with "@<<@" operator. See @opencv/samples/cpp/cout_mat.cpp@.
453 1
** @cv::exp@ and @cv::log@ are now much faster thanks to SSE2 optimization.
454 37 Vadim Pisarevsky
455 37 Vadim Pisarevsky
* @imgproc@
456 37 Vadim Pisarevsky
** color conversion functions have been rewritten;
457 37 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.
458 37 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
459 37 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.
460 1
** special variant of @initUndistortRectifyMap@ for wide-angle cameras has been added: @initWideAngleProjMap()@
461 37 Vadim Pisarevsky
462 37 Vadim Pisarevsky
* @features2d@
463 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.itseez.com/modules/features2d/doc/common_interfaces_of_feature_detectors.html
464 37 Vadim Pisarevsky
      and the C++ samples:
465 37 Vadim Pisarevsky
*** @descriptor_extractor_matcher.cpp@ - finding object in a scene using keypoints and their descriptors.
466 37 Vadim Pisarevsky
*** @generic_descriptor_matcher.cpp@ - variation of the above sample where the descriptors do not have to be computed explicitly.
467 37 Vadim Pisarevsky
*** @bagofwords_classification.cpp@ - example of extending the framework and using it to process data from the VOC databases: http://pascallin.ecs.soton.ac.uk/challenges/VOC/
468 37 Vadim Pisarevsky
** 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@
469 1
** SURF keypoint detector has been parallelized using TBB (the patch is by imahon and yvo2m)
470 37 Vadim Pisarevsky
471 37 Vadim Pisarevsky
* @objdetect@
472 1
** LatentSVM object detector, implementing P. Felzenszwalb algorithm, has been contributed by Nizhniy Novgorod State University (NNSU) team. See @opencv/samples/c/latentsvmdetect.cpp@
473 37 Vadim Pisarevsky
474 37 Vadim Pisarevsky
* @calib3d@
475 1
** The new rational distortion model:
476 37 Vadim Pisarevsky
477 37 Vadim Pisarevsky
    @x' = x * (1@ + @k@~1~ * @r@^2^ + @k@~2~ * @r@^4^ + @k@~3~ * @r@^6^@)/(1@ + @k@~4~ * @r@^2^ + @k@~5~ * @r@^4^ + @k@~6~ * @r@^6^@) +@ _<tangential_distortion for @x@>_,
478 1
    @y' = y * (1@ + @k@~1~ * @r@^2^ + @k@~2~ * @r@^4^ + @k@~3~ * @r@^6^@)/(1@ + @k@~4~ * @r@^2^ + @k@~5~ * @r@^4^ + @k@~6~ * @r@^6^@) +@ _<tangential_distortion for @y@>_
479 37 Vadim Pisarevsky
480 37 Vadim Pisarevsky
    has been introduced. It is useful for calibration of cameras with wide-angle lenses. 
481 37 Vadim Pisarevsky
    Because of the increased number of parameters to optimize you need to supply more data to robustly estimate all of them. Or, simply initialize the distortion vectors with zeros and pass @CV_CALIB_RATIONAL_MODEL@ to enable the new model @CV_CALIB_FIX_K3 + CV_CALIB_FIX_K4 + CV_CALIB_FIX_K5@ or other such combinations to selectively enable or disable certain coefficients.
482 1
** rectification of trinocular camera setup, where all 3 heads are on the same line, is added. see @samples/cpp/3calibration.cpp@
483 37 Vadim Pisarevsky
484 37 Vadim Pisarevsky
* @ml@
485 1
** Gradient boosting trees model has been contributed by NNSU team.
486 37 Vadim Pisarevsky
487 37 Vadim Pisarevsky
* @highgui@
488 37 Vadim Pisarevsky
** 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
489 37 Vadim Pisarevsky
** The new API is described here: http://opencv.itseez.com/modules/highgui/doc/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)
490 37 Vadim Pisarevsky
** 16-bit and LZW-compressed TIFFs are now supported.
491 1
** You can now set the mode for IEEE1394 cameras on Linux.
492 37 Vadim Pisarevsky
493 37 Vadim Pisarevsky
* @contrib@
494 1
** Chamfer matching algorithm has been contributed by Marius Muja, Antonella Cascitelli, Marco Di Stefano and Stefano Fabri. See @samples/cpp/chamfer.cpp@
495 37 Vadim Pisarevsky
496 37 Vadim Pisarevsky
* @gpu@
497 1
    This is completely new part of OpenCV, created with the support by NVIDIA.
498 1
    Note that the package is at alpha, probably early beta state, so use it with care and check OpenCV SVN for updates.
499 1
500 1
    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).
501 37 Vadim Pisarevsky
502 37 Vadim Pisarevsky
    All the functionality is put to @cv::gpu@ namespace. The full list of functions and classes can be found at
503 37 Vadim Pisarevsky
    @opencv/modules/gpu/include/opencv2/gpu/gpu.hpp@, and here are some major components of the API:
504 37 Vadim Pisarevsky
** image arithmetics, filtering operations, morphology, geometrical transformations, histograms
505 37 Vadim Pisarevsky
** 3 stereo correspondence algorithms: Block Matching, Belief Propagation and Constant-Space Belief Propagation.
506 37 Vadim Pisarevsky
** HOG-based object detector. It runs more than order of magnitude faster than the CPU version!
507 10 Vadim Pisarevsky
    See @opencv/samples/gpu@
508 37 Vadim Pisarevsky
509 37 Vadim Pisarevsky
* @python@ bindings
510 28 Vadim Pisarevsky
  A lot more of OpenCV 2.x functionality is now covered by Python bindings.
511 37 Vadim Pisarevsky
512 37 Vadim Pisarevsky
  These new wrappers require @numpy@ to be installed
513 1
  (see http://opencv.willowgarage.com/wiki/InstallGuide for details).
514 37 Vadim Pisarevsky
515 37 Vadim Pisarevsky
  Likewise the C++ API, in the new Python bindings you do not need to allocate output arrays.
516 1
  They will be automatically created by the functions.
517 37 Vadim Pisarevsky
518 1
  Here is a micro example:
519 37 Vadim Pisarevsky
520 37 Vadim Pisarevsky
  <pre><code class="python">
521 1
  import cv
522 37 Vadim Pisarevsky
523 37 Vadim Pisarevsky
  a=cv.imread("lena.jpg",0)
524 37 Vadim Pisarevsky
  b=cv.canny(a, 50, 100, apertureSize=3)
525 37 Vadim Pisarevsky
  cv.imshow("test",b)
526 1
  cv.waitKey(0)</code></pre>
527 37 Vadim Pisarevsky
528 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.
529 1
530 1
h3. Documentation, Samples
531 37 Vadim Pisarevsky
532 68 Vadim Pisarevsky
* Links to wiki pages have been added to each function description, see http://opencv.willowgarage.com
533 37 Vadim Pisarevsky
534 68 Vadim Pisarevsky
* All the samples have been documented with default output ''(0 or incomplete number of parameters)'' set to print out "howto" run instructions; most samples have been converted to C++ to use the new OpenCV API.
535 1
536 1
h3. Bug Fixes
537 37 Vadim Pisarevsky
538 1
* Over 300 issues have been resolved. Most of the issues (closed and still open) are listed at http://code.opencv.org/projects/opencv/issues?set_filter=1
539 37 Vadim Pisarevsky
540 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.
541 1
542 1
h3. Known Problems/Limitations
543 37 Vadim Pisarevsky
544 47 Vadim Pisarevsky
* 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.
545 49 Vadim Pisarevsky
546 47 Vadim Pisarevsky
h2. Previous versions
547 47 Vadim Pisarevsky
548 81 Vadim Pisarevsky
[[ChangeLog_v10-v21|ChangeLog v1.0 - v2.1]]