ChangeLog

Version 134 (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 125 Vadim Pisarevsky
h2. version:2.4.6
6 116 Vadim Pisarevsky
7 134 Vadim Pisarevsky
__July, 2013__
8 127 Vadim Pisarevsky
9 124 Vadim Pisarevsky
p((((. !winrt_opencv.jpg!
10 124 Vadim Pisarevsky
* Windows RT: added video file i/o and sample application using camera, enabled parallelization with TBB or MS Concurrency
11 124 Vadim Pisarevsky
12 124 Vadim Pisarevsky
p((((. !CUDA.jpg!
13 124 Vadim Pisarevsky
* CUDA 5.5: added  support for desktop and ARM
14 124 Vadim Pisarevsky
15 124 Vadim Pisarevsky
p((((. !qt.png!
16 117 Vadim Pisarevsky
* added Qt 5 support
17 1
18 125 Vadim Pisarevsky
p((((. !OpenCL.jpg!
19 125 Vadim Pisarevsky
* many new functions are ported to OpenCL
20 125 Vadim Pisarevsky
21 127 Vadim Pisarevsky
p((((. !threads.jpg!
22 1
* switched to generalized `cv::parallel_for_()` from `tbb::parallel_for()` to allow using other backends
23 127 Vadim Pisarevsky
24 128 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/948/100px-Apple_iOS_icon.png!
25 133 Vadim Pisarevsky
* @iOS@ build scripts (together with @Android@ ones) moved to @'opencv/platforms'@ directory
26 129 Vadim Pisarevsky
* fixed bug with incorrect saved video from camera through CvVideoCamera
27 131 Vadim Pisarevsky
* added @`rotateVideo`@ flag to the @CvVideoCamera@ class to control camera preview rotation on device rotation
28 131 Vadim Pisarevsky
* added functions to convert between @UIImage@ and @cv::Mat@ (just include @opencv2/highgui/ios.h@)
29 121 Vadim Pisarevsky
30 117 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/949/bug.png!
31 126 Vadim Pisarevsky
* "numerous bug-fixes":http://code.opencv.org/projects/opencv/issues?query_id=52 across all the library
32 126 Vadim Pisarevsky
33 127 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/960/android_ocv_small.png!
34 116 Vadim Pisarevsky
* see also [[Android Release Notes]]
35 116 Vadim Pisarevsky
36 116 Vadim Pisarevsky
List of contributors:
37 116 Vadim Pisarevsky
<pre>
38 118 Vadim Pisarevsky
~/Work/OpenCV/opencv> git checkout 2.4.6
39 1
~/Work/OpenCV/opencv> git shortlog --no-merges -n -s 2.4 --not 2.4.5
40 130 Vadim Pisarevsky
    55  Peng Xiao
41 118 Vadim Pisarevsky
    50  yao
42 118 Vadim Pisarevsky
    41  Roman Donchenko
43 119 Vadim Pisarevsky
    40  Alexander Smorkalov
44 1
    21  Vladislav Vinogradov
45 119 Vadim Pisarevsky
    10  Kirill Kornyakov
46 119 Vadim Pisarevsky
     9  Andrey Pavlenko
47 119 Vadim Pisarevsky
     8  Alexander Shishkov
48 118 Vadim Pisarevsky
     8  Andrey Kamaev
49 1
     5  alex77git
50 119 Vadim Pisarevsky
     5  Dominik Rose
51 118 Vadim Pisarevsky
     4  Ivan Korolev
52 1
     3  Sergei Nosov
53 1
     3  abidrahmank
54 118 Vadim Pisarevsky
     3  poiuytrez
55 116 Vadim Pisarevsky
     2  Leszek Swirski
56 116 Vadim Pisarevsky
     1  Bo Li
57 116 Vadim Pisarevsky
     1  Jan Machacek
58 116 Vadim Pisarevsky
     1  ShengyinWu
59 116 Vadim Pisarevsky
     1  Siva Prasad Varma
60 118 Vadim Pisarevsky
     1  Gurpinder Singh Sandhu
61 118 Vadim Pisarevsky
     1  Andrew Senin
62 119 Vadim Pisarevsky
     1  Peter Minin
63 116 Vadim Pisarevsky
     1  caorong
64 116 Vadim Pisarevsky
     1  dave
65 116 Vadim Pisarevsky
     1  ograycode
66 118 Vadim Pisarevsky
     1  Dustin Spicuzza
67 118 Vadim Pisarevsky
     1  Luis Díaz Más
68 119 Vadim Pisarevsky
     1  Egbert van der Wal
69 120 Vadim Pisarevsky
</pre>
70 104 Vadim Pisarevsky
71 104 Vadim Pisarevsky
h2. version:2.4.5
72 104 Vadim Pisarevsky
73 104 Vadim Pisarevsky
__April, 2013__
74 108 Vadim Pisarevsky
75 106 Vadim Pisarevsky
p((((. !winrt_opencv.jpg!
76 113 Vadim Pisarevsky
77 106 Vadim Pisarevsky
* Experimental WinRT support (build for [[WindowsRT]] guide)
78 106 Vadim Pisarevsky
79 106 Vadim Pisarevsky
p((((. !superres.jpg!
80 106 Vadim Pisarevsky
81 109 Vadim Pisarevsky
* the new video super-resolution module has been added that implements the following papers:
82 109 Vadim Pisarevsky
83 109 Vadim Pisarevsky
  - S. Farsiu, D. Robinson, M. Elad, P. Milanfar. Fast and robust Super-Resolution. Proc 2003 IEEE Int Conf on Image Process, pp. 291–294, 2003.
84 106 Vadim Pisarevsky
  - D. Mitzel, T. Pock, T. Schoenemann, D. Cremers. Video super resolution using duality based TV-L1 optical flow. DAGM, 2009.
85 106 Vadim Pisarevsky
86 106 Vadim Pisarevsky
p((((. !clahe.jpg!
87 106 Vadim Pisarevsky
88 106 Vadim Pisarevsky
* CLAHE (adaptive histogram equalization) algorithm has been implemented, both CPU and GPU-accelerated versions (in imgproc and gpu modules, respectively)
89 1
90 1
p((((. !OpenCL.jpg!
91 111 Vadim Pisarevsky
92 111 Vadim Pisarevsky
* there are further improvements and extensions in ocl module:
93 111 Vadim Pisarevsky
   - 2 stereo correspondence algorithms: stereobm (block matching) and stereobp (belief propagation) have been added
94 1
   - many bugs fixed, including some crashes on Intel HD4000
95 111 Vadim Pisarevsky
96 110 Vadim Pisarevsky
p((((. !visual_studio_image_watch.png!
97 115 Vadim Pisarevsky
98 110 Vadim Pisarevsky
* The tutorial on displaying @cv::Mat@ inside Visual Studio 2012 debugger has been contributed by Wolf Kienzle from Microsoft Research. See http://opencv.org/image-debugger-plug-in-for-visual-studio.html
99 111 Vadim Pisarevsky
100 107 Vadim Pisarevsky
101 1
p((((. !github.jpg!
102 1
103 1
* 78 pull requests have been merged. Big thanks to everybody who contributed!
104 111 Vadim Pisarevsky
105 1
106 110 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/949/bug.png!
107 115 Vadim Pisarevsky
108 104 Vadim Pisarevsky
* At least 25 bugs have been fixed since 2.4.4 (see http://code.opencv.org/projects/opencv/issues select closed issues with target version set to "2.4.5").
109 100 Vadim Pisarevsky
110 86 Vadim Pisarevsky
h2. version:2.4.4
111 100 Vadim Pisarevsky
112 86 Vadim Pisarevsky
__March, 2013__
113 88 Vadim Pisarevsky
114 86 Vadim Pisarevsky
p((((. !java_logo.svg.png!
115 102 Vadim Pisarevsky
116 86 Vadim Pisarevsky
* This is the biggest news in 2.4.4 - we've got full-featured OpenCV Java bindings on a desktop, not only Android! In fact you can use any JVM language, including functional Java or handy Groovy. Big thanks to "Eric Christiansen":https://plus.google.com/u/0/114834902961564956461 for the contribution! Check the "tutorial":http://docs.opencv.org/doc/tutorials/introduction/desktop_java/java_dev_intro.html for details and code samples.
117 87 Vadim Pisarevsky
118 87 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/960/android_ocv_small.png!
119 102 Vadim Pisarevsky
120 87 Vadim Pisarevsky
* Android application framework, samples, tutorials, OpenCV Manager are updated, see [[Android Release Notes]] for details.
121 86 Vadim Pisarevsky
122 86 Vadim Pisarevsky
p((((. !CUDA.jpg!
123 102 Vadim Pisarevsky
124 102 Vadim Pisarevsky
* Numerous improvements in @gpu@ module and the following new functionality & optimizations:
125 102 Vadim Pisarevsky
** Optimizations for the NVIDIA Kepler architecture
126 102 Vadim Pisarevsky
** NVIDIA CARMA platform support
127 102 Vadim Pisarevsky
** HoughLinesP for line segments detection
128 94 Vadim Pisarevsky
** Lab/Luv <-> RGB conversions
129 86 Vadim Pisarevsky
130 1
p((((. !OpenCL.jpg!
131 102 Vadim Pisarevsky
132 102 Vadim Pisarevsky
* Let us be more verbose here. The openCL-based hardware acceleration (ocl) module is now mature, and, with numerous bug fixes, it is largely bug-free. Correct operation has been verified on all tested platforms, including discrete GPUs (tested on NVIDIA and AMD boards), as well as integrated GPUs (AMD APUs as well as Intel Ivy Bridge iGPUs). On the host side, there has been exhaustive testing on 32/64 bit, Windows/Linux systems, making the ocl module a very serious and robust cross-platform GPU hardware acceleration solution. While we currently do not test on other devices that implement OpenCL (e.g. FPGA, ARM or other processors), it is expected that the ocl module will work well on such devices as well (provided the minimum requirements explained in the user guide are met).
133 102 Vadim Pisarevsky
Here are specific highlights of the 2.4.4 release:
134 102 Vadim Pisarevsky
** The @ocl::Mat@ can now use “special” memory (e.g. pinned memory, host-local or device-local).
135 102 Vadim Pisarevsky
** The ocl module can detect if the underlying hardware supports “integrated memory,” and if so use “device-local” memory by default for all operations.
136 102 Vadim Pisarevsky
** New arithmetic operations for @ocl::Mat@, providing significant ease of use for simple numerical manipulations.
137 102 Vadim Pisarevsky
** Interop with OpenCL enables very easy integration of OpenCV in existing OpenCL applications, and vice versa.
138 102 Vadim Pisarevsky
** New algorithms include Hough circles, more color conversions (including YUV, YCrCb), and Hu Moments.
139 102 Vadim Pisarevsky
** Numerous bug fixes, and optimizations, including in: blendLinear, square samples, erode/dilate, Canny, convolution fixes with AMD FFT library, mean shift filtering, Stereo BM.
140 100 Vadim Pisarevsky
** Platform specific bug fixes: PyrLK, bruteForceMatcher, faceDetect now works also on Intel Ivy Bridge chips (as well as on AMD APUs/GPUs and NVIDIA GPUs); erode/dilate also works on NVIDIA GPUs (as well as AMD APUs/GPUs and Intel iGPUs).
141 102 Vadim Pisarevsky
142 86 Vadim Pisarevsky
p((((. !update.jpg!
143 102 Vadim Pisarevsky
144 102 Vadim Pisarevsky
* Many people contributed their code in the form of "pull requests":https://github.com/Itseez/opencv/pulls?direction=desc&page=1&sort=created&state=closed. Here are some of the most interesting contributions, that were included into 2.4 branch:
145 102 Vadim Pisarevsky
** ">100":http://code.opencv.org/projects/opencv/versions/11 reported problems have been resolved since 2.4.3
146 103 Vadim Pisarevsky
** Oscar Deniz "submitted":https://github.com/Itseez/opencv/pulls?direction=desc&page=1&sort=created&state=closed smile detector and sample.
147 86 Vadim Pisarevsky
** Alexander Smorkalov created a "tutorial":http://docs.opencv.org/doc/tutorials/introduction/crosscompilation/arm_crosscompile_with_cmake.html#arm-linux-cross-compile on cross-compilation of OpenCV for Linux on ARM platforms.
148 84 Vadim Pisarevsky
149 69 Vadim Pisarevsky
h2. version:2.4.3
150 84 Vadim Pisarevsky
151 69 Vadim Pisarevsky
__November, 2012__
152 69 Vadim Pisarevsky
153 69 Vadim Pisarevsky
p((((. !threads.jpg!
154 84 Vadim Pisarevsky
155 69 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.
156 69 Vadim Pisarevsky
157 69 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/960/android_ocv_small.png!
158 78 Vadim Pisarevsky
159 69 Vadim Pisarevsky
* Improved OpenCV Manager, new Java samples framework, better camera support on Android, see [[Android Release Notes]] for details.
160 69 Vadim Pisarevsky
161 69 Vadim Pisarevsky
p((((. !ios6.jpg!
162 79 Vadim Pisarevsky
163 69 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.
164 69 Vadim Pisarevsky
165 69 Vadim Pisarevsky
p((((. !python.png!
166 69 Vadim Pisarevsky
167 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
168 69 Vadim Pisarevsky
169 69 Vadim Pisarevsky
p((((. !profile.jpg!
170 69 Vadim Pisarevsky
171 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
172 69 Vadim Pisarevsky
173 69 Vadim Pisarevsky
p((((. !denoising.jpg!
174 69 Vadim Pisarevsky
175 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
176 69 Vadim Pisarevsky
177 69 Vadim Pisarevsky
p((((. !optflow.jpg!
178 75 Vadim Pisarevsky
179 69 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.
180 82 Vadim Pisarevsky
181 1
p((((. !CUDA.jpg!
182 82 Vadim Pisarevsky
183 1
* Numerous improvements and new functionality in GPU module:
184 1
  - device layer opened for users; now users write CUDA device code using OpenCV.
185 82 Vadim Pisarevsky
  - LBP cascade support in cascade classifier
186 82 Vadim Pisarevsky
  - fast non local means image denoising
187 82 Vadim Pisarevsky
  - faster integral image calculation on Kepler
188 82 Vadim Pisarevsky
  - Hough circles, Hough lines and generalized Hough transform implementation
189 82 Vadim Pisarevsky
  - bilateral filter
190 82 Vadim Pisarevsky
  - generalized Flood Fill connected component labeling
191 82 Vadim Pisarevsky
  - background/foreground segmentation algorithms: Mixture of Gaussian, ViBe, GMG (A. Godbehere, A. Matsukawa, K. Goldberg) . 
192 82 Vadim Pisarevsky
  - added confidence calculation into HOG
193 82 Vadim Pisarevsky
194 82 Vadim Pisarevsky
p((((. !OpenCL.jpg!
195 82 Vadim Pisarevsky
196 82 Vadim Pisarevsky
* Technology-preview version of ocl - OpenCL-accelerated computer vision algorithms, contributed by the Chinese Academy of Science. It includes:
197 85 Vadim Pisarevsky
  - arithmetical operations
198 82 Vadim Pisarevsky
  - filtering
199 82 Vadim Pisarevsky
  - geometrical image transformations (resize, remap etc.)
200 82 Vadim Pisarevsky
  - cascade classifier (i.e. face detector)
201 82 Vadim Pisarevsky
  - optical flow
202 102 Vadim Pisarevsky
currently, it only runs on GPUs.
203 102 Vadim Pisarevsky
204 69 Vadim Pisarevsky
http://code.opencv.org/attachments/download/1147
205 69 Vadim Pisarevsky
206 69 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/949/bug.png!
207 69 Vadim Pisarevsky
208 69 Vadim Pisarevsky
* ~130 reported problems have been resolved since 2.4.2
209 1
210 1
p((((. !github.jpg!
211 1
212 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.
213 84 Vadim Pisarevsky
214 84 Vadim Pisarevsky
p((((. !update.jpg!
215 84 Vadim Pisarevsky
216 115 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.
217 69 Vadim Pisarevsky
218 63 Vadim Pisarevsky
219 50 Vadim Pisarevsky
h2. version:2.4.2
220 50 Vadim Pisarevsky
221 50 Vadim Pisarevsky
__July, 2012__
222 66 Vadim Pisarevsky
223 62 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/960/android_ocv_small.png!
224 62 Vadim Pisarevsky
225 62 Vadim Pisarevsky
* Android package introduces a new service-based distribution model (see [[Android Release Notes]] for details).
226 59 Vadim Pisarevsky
227 1
p((((. !http://code.opencv.org/attachments/951/freak.jpg!
228 59 Vadim Pisarevsky
229 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.
230 59 Vadim Pisarevsky
231 59 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/950/eigenfaces_opencv.png!
232 1
233 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.
234 59 Vadim Pisarevsky
235 1
p((((. !http://code.opencv.org/attachments/948/100px-Apple_iOS_icon.png!
236 67 Vadim Pisarevsky
237 1
* *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
238 59 Vadim Pisarevsky
239 59 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/949/bug.png!
240 61 Vadim Pisarevsky
241 59 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.
242 59 Vadim Pisarevsky
243 50 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/952/logo.png!
244 67 Vadim Pisarevsky
245 1
* 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
246 65 Vadim Pisarevsky
247 65 Vadim Pisarevsky
p((((. !http://code.opencv.org/attachments/956/cuda.png!
248 65 Vadim Pisarevsky
249 65 Vadim Pisarevsky
* GPU module:
250 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
251 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.
252 64 Vadim Pisarevsky
253 63 Vadim Pisarevsky
h2. 2.4.1
254 45 Vadim Pisarevsky
255 46 Vadim Pisarevsky
__June, 2012__
256 45 Vadim Pisarevsky
257 45 Vadim Pisarevsky
* The GPU module now supports CUDA 4.1 and CUDA 4.2 and can be compiled with CUDA 5.0 preview.
258 67 Vadim Pisarevsky
259 45 Vadim Pisarevsky
* Added API for storing OpenCV data structures in text string and reading them back:
260 45 Vadim Pisarevsky
<pre><code class="cpp">
261 45 Vadim Pisarevsky
//==== storing data ====
262 45 Vadim Pisarevsky
FileStorage fs(".xml", FileStorage::WRITE + FileStorage::MEMORY);
263 45 Vadim Pisarevsky
fs << "date" << date_string << "mymatrix" << mymatrix;
264 45 Vadim Pisarevsky
string buf = fs.releaseAndGetString();
265 45 Vadim Pisarevsky
266 45 Vadim Pisarevsky
//==== reading it back ====
267 45 Vadim Pisarevsky
FileStorage fs(buf, FileStorage::READ + FileStorage::MEMORY);
268 45 Vadim Pisarevsky
fs["date"] >> date_string;
269 45 Vadim Pisarevsky
fs["mymatrix"] >> mymatrix;
270 46 Vadim Pisarevsky
</code></pre>
271 45 Vadim Pisarevsky
272 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.
273 45 Vadim Pisarevsky
274 45 Vadim Pisarevsky
* Function signatures in documentation are made consistent with source code.
275 45 Vadim Pisarevsky
276 1
* Restored python wrappers for SURF and MSER.
277 45 Vadim Pisarevsky
278 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
279 42 Vadim Pisarevsky
280 63 Vadim Pisarevsky
281 42 Vadim Pisarevsky
h2. version:2.4.0
282 42 Vadim Pisarevsky
283 42 Vadim Pisarevsky
__May, 2012__
284 42 Vadim Pisarevsky
285 42 Vadim Pisarevsky
The major changes since 2.4 beta
286 67 Vadim Pisarevsky
287 42 Vadim Pisarevsky
* OpenCV now provides pretty complete build information via cv::getBuildInformation().
288 67 Vadim Pisarevsky
289 43 Vadim Pisarevsky
* reading/writing video via ffmpeg finally works and is now available on MacOS X too.
290 67 Vadim Pisarevsky
note 1: we now demand reasonably fresh versions of ffmpeg/libav with libswscale included.
291 42 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.
292 42 Vadim Pisarevsky
293 42 Vadim Pisarevsky
* MOG2 background subtraction by Zoran Zivkovic was optimized using TBB.
294 67 Vadim Pisarevsky
295 42 Vadim Pisarevsky
* The reference manual has been updated to match OpenCV 2.4.0.
296 67 Vadim Pisarevsky
297 43 Vadim Pisarevsky
* More than 20 bugs have been closed in our bug tracker. (http://code.opencv.org/projects/opencv/roadmap).
298 42 Vadim Pisarevsky
299 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).
300 5 Vadim Pisarevsky
301 5 Vadim Pisarevsky
302 39 Vadim Pisarevsky
h2. 2.4 beta
303 5 Vadim Pisarevsky
304 8 Vadim Pisarevsky
__April, 2012__
305 67 Vadim Pisarevsky
306 5 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.
307 5 Vadim Pisarevsky
308 36 Vadim Pisarevsky
h3. Common changes
309 67 Vadim Pisarevsky
310 36 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.
311 5 Vadim Pisarevsky
312 36 Vadim Pisarevsky
* Some of the old functionality from the modules @imgproc@, @video@, @calib3d@, @features2d@, @objdetect@ has been moved to legacy.
313 5 Vadim Pisarevsky
314 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).
315 5 Vadim Pisarevsky
316 21 Vadim Pisarevsky
h3. New functionality
317 67 Vadim Pisarevsky
318 21 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:
319 21 Vadim Pisarevsky
 ** "virtual constructor", i.e. an algorithm instance can be created by name;
320 21 Vadim Pisarevsky
 ** there is a list of available algorithms;
321 5 Vadim Pisarevsky
 ** one can retrieve and set algorithm parameters by name;
322 36 Vadim Pisarevsky
 ** one can save algorithm parameters to XML/YAML file and then load them.
323 5 Vadim Pisarevsky
324 36 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.
325 5 Vadim Pisarevsky
326 36 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.
327 5 Vadim Pisarevsky
328 36 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).
329 5 Vadim Pisarevsky
330 36 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@.
331 5 Vadim Pisarevsky
332 40 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@.
333 40 Vadim Pisarevsky
334 36 Vadim Pisarevsky
* 2 algorithms for solving PnP problem have been added. Please, check @flags@ parameter in @solvePnP@ and @solvePnPRansac@ functions.
335 5 Vadim Pisarevsky
336 36 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.
337 5 Vadim Pisarevsky
338 36 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.
339 5 Vadim Pisarevsky
340 36 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. 
341 5 Vadim Pisarevsky
342 36 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.
343 16 Vadim Pisarevsky
344 36 Vadim Pisarevsky
* @Canny@ edge detector can now be run on color images, which results in better edge maps 
345 12 Vadim Pisarevsky
346 5 Vadim Pisarevsky
* Python bindings can now be used within python threads, so one can write multi-threaded computer vision applications in Python.
347 30 Vadim Pisarevsky
348 30 Vadim Pisarevsky
h3. OpenCV on GPU
349 30 Vadim Pisarevsky
350 30 Vadim Pisarevsky
* Different Optical Flow algorithms have been added:
351 34 Vadim Pisarevsky
** Brox (contributed by NVidia)
352 30 Vadim Pisarevsky
** PyrLK - both Dense and Sparse variations
353 30 Vadim Pisarevsky
** Farneback
354 1
355 1
* New feature detectors and descriptors:
356 34 Vadim Pisarevsky
** @GoodFeaturesToTrack@
357 30 Vadim Pisarevsky
** FAST/ORB which is patent free replacement of SURF.
358 36 Vadim Pisarevsky
359 36 Vadim Pisarevsky
* Overall GPU module enhancements:
360 36 Vadim Pisarevsky
** The module now requires CUDA 4.1 or later;
361 30 Vadim Pisarevsky
** Improved similarity of results between CPU and GPU;
362 30 Vadim Pisarevsky
** Added border extrapolation support for many functions;
363 30 Vadim Pisarevsky
** Improved performance.
364 30 Vadim Pisarevsky
365 1
* @pyrUp@/@pyrDown@ implementations.
366 1
367 30 Vadim Pisarevsky
* Matrix multiplication on GPU (wrapper for the CUBLAS library). This is optional, user need to compile OpenCV with CUBLAS support.
368 30 Vadim Pisarevsky
369 39 Vadim Pisarevsky
* @OpenGL back-end@ has been implemented for @highgui@  module, that allows to display @GpuMat@ directly without downloading them to CPU.
370 35 Vadim Pisarevsky
371 39 Vadim Pisarevsky
h3. OpenCV4Android
372 1
373 35 Vadim Pisarevsky
See the [[Android Release Notes]].
374 1
375 16 Vadim Pisarevsky
h3. Performance
376 36 Vadim Pisarevsky
377 1
* A few OpenCV functions, like color conversion, morphology, data type conversions, brute-force feature matcher have been optimized using TBB and/or SSE intrinisics.
378 36 Vadim Pisarevsky
379 39 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@".
380 1
381 1
h3. Bug fixes
382 67 Vadim Pisarevsky
383 39 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.
384 1
385 1
h3. Known issues
386 1
387 36 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
388 8 Vadim Pisarevsky
389 1
 <pre><code class="cpp">Ptr<DescriptorExtractor> d = new BriefDescriptorExtractor;</code></pre>
390 1
391 39 Vadim Pisarevsky
h2. 2.3.1
392 1
393 39 Vadim Pisarevsky
__August, 2011__
394 23 Vadim Pisarevsky
395 1
h3. OpenCV4Android
396 1
397 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.
398 1
399 36 Vadim Pisarevsky
h3. Other New Functionality and Features
400 1
401 36 Vadim Pisarevsky
* Retina module has been contributed by Alexandre Benoit (in @opencv_contrib@ module). See the new retina sample and https://sites.google.com/site/benoitalexandrevision/.
402 1
403 36 Vadim Pisarevsky
* Support for Ximea cameras (http://www.ximea.com/) in @highgui@ has been contributed by Ximea developers.
404 1
405 36 Vadim Pisarevsky
* Planar subdivisions construction (Delaunay triangulation and Voronoi tessellation) have been ported to C++. See the new @delaunay2.cpp@ sample.
406 1
407 36 Vadim Pisarevsky
* Several new Python samples have been added.
408 1
409 1
* @FLANN@ in OpenCV has been upgraded to v1.6. Also, added Python bindings for @FLANN@.
410 36 Vadim Pisarevsky
411 1
* We now support the latest FFMPEG (0.8.x) that features multi-threaded decoding. Reading videos in OpenCV has never been that fast.
412 1
413 1
h3. Documentation
414 36 Vadim Pisarevsky
415 1
* Quite a few new tutorials have been added. Check http://opencv.itseez.com/trunk for the up-to-date documentation.
416 1
417 1
h3. Optimization
418 1
419 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.
420 1
421 36 Vadim Pisarevsky
h3. Bug Fixes
422 1
423 44 Vadim Pisarevsky
* 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.
424 44 Vadim Pisarevsky
425 44 Vadim Pisarevsky
h3. Known issues
426 44 Vadim Pisarevsky
427 44 Vadim Pisarevsky
* TBB debug binaries are missed in the Windows installer. Here is a workaround:
428 44 Vadim Pisarevsky
** Download @tbb30_20110427oss_win.zip@ from the "TBB website":http://threadingbuildingblocks.org/ver.php?fid=171.
429 1
** 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>_
430 1
431 39 Vadim Pisarevsky
h2. 2.3
432 1
433 1
__July, 2011__
434 1
435 36 Vadim Pisarevsky
h3. Modifications and Improvements since 2.3rc
436 1
437 36 Vadim Pisarevsky
* A few more bugs reported in the OpenCV bug tracker have been fixed.
438 67 Vadim Pisarevsky
439 1
* 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.
440 36 Vadim Pisarevsky
441 1
  Besides, there are new and updated tutorials.
442 36 Vadim Pisarevsky
443 1
  The up-to-date online documentation is available at http://opencv.itseez.com.
444 36 Vadim Pisarevsky
445 36 Vadim Pisarevsky
* The new binary package includes various pre-compiled libs:
446 1
   https://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.3/
447 36 Vadim Pisarevsky
448 4 Vadim Pisarevsky
   Unfortunately, it's not a full-scale installation package, but simply a self-extracting archive with a @readme.txt@ supplied.
449 36 Vadim Pisarevsky
   The installation package is probably to come in the next version.
450 1
451 36 Vadim Pisarevsky
* VS2005 should build OpenCV 2.3 out of the box, including @DirectShow@ support.
452 1
453 1
* ffmpeg bindings are now available for all Windows users via compiler- and configuration- and
454 1
    version-independent @opencv_ffmpeg.dll@ (for 32-bit compilers) and @opencv_ffmpeg_64.dll@ (for 64-bit compilers).
455 98 Vadim Pisarevsky
456 39 Vadim Pisarevsky
h2. 2.3 beta
457 1
458 1
__June, 2011__
459 1
460 36 Vadim Pisarevsky
h3. General Modifications and Improvements
461 67 Vadim Pisarevsky
462 36 Vadim Pisarevsky
* Buildbot-based Continuous Integration system is now continuously testing OpenCV snapshots. The current status is available at http://buildbot.itseez.com
463 67 Vadim Pisarevsky
464 36 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.
465 1
466 1
467 36 Vadim Pisarevsky
h3. New Functionality, Features
468 1
469 36 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.
470 36 Vadim Pisarevsky
471 67 Vadim Pisarevsky
* @core@
472 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 considerably improved; on larger matrices it is still pretty good. SVD accuracy on poorly-conditioned matrices has also been polished.
473 36 Vadim Pisarevsky
** Arithmetic operations now support mixed-type operands and arbitrary number of channels.
474 36 Vadim Pisarevsky
475 36 Vadim Pisarevsky
* @features2d@
476 1
** Completely new patent-free @BRIEF@ and @ORB@ feature descriptors have been added.
477 36 Vadim Pisarevsky
** Very fast LSH matcher for @BRIEF@ and @ORB@ descriptors will be added in 2.3.1.
478 36 Vadim Pisarevsky
479 24 Vadim Pisarevsky
* @calib3d@
480 36 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.
481 36 Vadim Pisarevsky
482 1
* @highgui@
483 36 Vadim Pisarevsky
** [Windows] @videoInput@ is now a part of @highgui@. If there are any problems with compiling @highgui@, set @WITH_VIDEOINPUT=OFF@ in CMake.
484 36 Vadim Pisarevsky
485 1
* @stitching@
486 36 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.
487 36 Vadim Pisarevsky
488 1
* @python@
489 36 Vadim Pisarevsky
** 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.
490 38 Vadim Pisarevsky
491 1
* @contrib@
492 36 Vadim Pisarevsky
** A new experimental variational stereo correspondence algorithm @StereoVar@ has been added.
493 36 Vadim Pisarevsky
494 1
* @gpu@
495 36 Vadim Pisarevsky
** the module now requires CUDA 4.0 or later; Many improvements and bug fixes have been made.
496 1
497 38 Vadim Pisarevsky
h3. Android port
498 38 Vadim Pisarevsky
499 1
* 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.
500 36 Vadim Pisarevsky
  See [[Android Release Notes#231-beta1]] for details.
501 1
502 36 Vadim Pisarevsky
h3. Documentation
503 1
504 36 Vadim Pisarevsky
* OpenCV documentation is now written in @ReStructured Text@ and built using @Sphinx@ (http://sphinx.pocoo.org).
505 1
506 36 Vadim Pisarevsky
* 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.
507 1
508 36 Vadim Pisarevsky
* Style and grammar of the main reference manual (OpenCV 2.x C++ API) have been thoroughly checked and fixed.
509 1
510 1
* Online up-to-date version of the manual is available at http://opencv.itseez.com
511 1
512 1
513 36 Vadim Pisarevsky
h3. Samples
514 1
515 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
516 1
517 1
518 1
h3. Optimization
519 36 Vadim Pisarevsky
520 1
* Several ML algorithms have been threaded using TBB.
521 1
522 1
h3. Bug Fixes
523 36 Vadim Pisarevsky
524 1
* 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.
525 1
526 36 Vadim Pisarevsky
h3. Known Problems/Limitations
527 1
528 36 Vadim Pisarevsky
* Documentation (especially on the new Python bindings) is still being updated. Watch http://opencv.itseez.com for updates.
529 2 Vadim Pisarevsky
530 1
* 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.
531 1
532 1
533 39 Vadim Pisarevsky
h2. 2.2
534 1
535 1
__December, 2010__
536 1
537 37 Vadim Pisarevsky
h3. General Modifications and Improvements
538 37 Vadim Pisarevsky
539 37 Vadim Pisarevsky
* The library has been reorganized. Instead of @cxcore@, @cv@, @cvaux@, @highgui@ and @ml@ we now have several smaller modules:
540 37 Vadim Pisarevsky
** @opencv_core@ - core functionality (basic structures, arithmetics and linear algebra, dft, XML and YAML I/O ...).
541 37 Vadim Pisarevsky
** @opencv_imgproc@ - image processing (@filter@, @GaussianBlur@, @erode@, @dilate@, @resize@, @remap@, @cvtColor@, @calcHist@ etc.)
542 37 Vadim Pisarevsky
** @opencv_highgui@ - GUI and image & video I/O
543 37 Vadim Pisarevsky
** @opencv_ml@ - statistical machine learning models (SVM, Decision Trees, Boosting etc.)
544 37 Vadim Pisarevsky
** @opencv_features2d@ - 2D feature detectors and descriptors (SURF, FAST etc., including the new feature detectors-descriptor-matcher framework)
545 37 Vadim Pisarevsky
** @opencv_video@ - motion analysis and object tracking (optical flow, motion templates, background subtraction)
546 37 Vadim Pisarevsky
** @opencv_objdetect@ - object detection in images (Haar & LBP face detectors, HOG people detector etc.)
547 37 Vadim Pisarevsky
** @opencv_calib3d@ - camera calibration, stereo correspondence and elements of 3D data processing
548 37 Vadim Pisarevsky
** @opencv_flann@ - the Fast Library for Approximate Nearest Neighbors (@FLANN@ 1.5) and the OpenCV wrappers
549 37 Vadim Pisarevsky
** @opencv_contrib@ - contributed code that is not mature enough
550 1
** @opencv_legacy@ - obsolete code, preserved for backward compatibility
551 1
** @opencv_gpu@ - acceleration of some OpenCV functionality using @CUDA@ (relatively unstable, yet very actively developed part of OpenCV)
552 1
553 37 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.
554 1
555 37 Vadim Pisarevsky
It is still possible to use @#include <cv.h>@ etc. but the recommended notation is:
556 37 Vadim Pisarevsky
557 37 Vadim Pisarevsky
<pre><code class="cpp">
558 37 Vadim Pisarevsky
#include "opencv2/imgproc/imgproc.hpp"
559 1
...
560 1
</code></pre>
561 1
562 37 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.
563 67 Vadim Pisarevsky
564 28 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.
565 37 Vadim Pisarevsky
   SWIG-based Python wrappers are not included anymore.
566 28 Vadim Pisarevsky
567 37 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]]
568 1
569 1
* The completely new @opencv_gpu@ acceleration module has been created with support by NVIDIA. See below for details.
570 28 Vadim Pisarevsky
571 28 Vadim Pisarevsky
572 37 Vadim Pisarevsky
h3. New Functionality, Features
573 37 Vadim Pisarevsky
574 37 Vadim Pisarevsky
* @core@
575 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.
576 37 Vadim Pisarevsky
** @cv::Mat@ and @cv::MatND@ are made the same type: @typedef cv::Mat cv::MatND@.
577 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.
578 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@.
579 1
** @cv::Mat@ can now be print with "@<<@" operator. See @opencv/samples/cpp/cout_mat.cpp@.
580 37 Vadim Pisarevsky
** @cv::exp@ and @cv::log@ are now much faster thanks to SSE2 optimization.
581 37 Vadim Pisarevsky
582 37 Vadim Pisarevsky
* @imgproc@
583 37 Vadim Pisarevsky
** color conversion functions have been rewritten;
584 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.
585 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
586 1
** 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.
587 37 Vadim Pisarevsky
** special variant of @initUndistortRectifyMap@ for wide-angle cameras has been added: @initWideAngleProjMap()@
588 37 Vadim Pisarevsky
589 1
* @features2d@
590 37 Vadim Pisarevsky
** 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
591 37 Vadim Pisarevsky
      and the C++ samples:
592 37 Vadim Pisarevsky
*** @descriptor_extractor_matcher.cpp@ - finding object in a scene using keypoints and their descriptors.
593 37 Vadim Pisarevsky
*** @generic_descriptor_matcher.cpp@ - variation of the above sample where the descriptors do not have to be computed explicitly.
594 1
*** @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/
595 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@
596 37 Vadim Pisarevsky
** SURF keypoint detector has been parallelized using TBB (the patch is by imahon and yvo2m)
597 1
598 1
* @objdetect@
599 37 Vadim Pisarevsky
** LatentSVM object detector, implementing P. Felzenszwalb algorithm, has been contributed by Nizhniy Novgorod State University (NNSU) team. See @opencv/samples/c/latentsvmdetect.cpp@
600 37 Vadim Pisarevsky
601 1
* @calib3d@
602 100 Vadim Pisarevsky
** The new rational distortion model:
603 37 Vadim Pisarevsky
  
604 1
    @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@>_,
605 37 Vadim Pisarevsky
    @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@>_
606 37 Vadim Pisarevsky
607 37 Vadim Pisarevsky
    has been introduced. It is useful for calibration of cameras with wide-angle lenses. 
608 1
    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.
609 37 Vadim Pisarevsky
** rectification of trinocular camera setup, where all 3 heads are on the same line, is added. see @samples/cpp/3calibration.cpp@
610 37 Vadim Pisarevsky
611 1
* @ml@
612 37 Vadim Pisarevsky
** Gradient boosting trees model has been contributed by NNSU team.
613 37 Vadim Pisarevsky
614 37 Vadim Pisarevsky
* @highgui@
615 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
616 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)
617 1
** 16-bit and LZW-compressed TIFFs are now supported.
618 37 Vadim Pisarevsky
** You can now set the mode for IEEE1394 cameras on Linux.
619 37 Vadim Pisarevsky
620 1
* @contrib@
621 37 Vadim Pisarevsky
** Chamfer matching algorithm has been contributed by Marius Muja, Antonella Cascitelli, Marco Di Stefano and Stefano Fabri. See @samples/cpp/chamfer.cpp@
622 37 Vadim Pisarevsky
623 1
* @gpu@
624 1
    This is completely new part of OpenCV, created with the support by NVIDIA.
625 1
    Note that the package is at alpha, probably early beta state, so use it with care and check OpenCV SVN for updates.
626 1
627 37 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).
628 37 Vadim Pisarevsky
629 37 Vadim Pisarevsky
    All the functionality is put to @cv::gpu@ namespace. The full list of functions and classes can be found at
630 37 Vadim Pisarevsky
    @opencv/modules/gpu/include/opencv2/gpu/gpu.hpp@, and here are some major components of the API:
631 37 Vadim Pisarevsky
** image arithmetics, filtering operations, morphology, geometrical transformations, histograms
632 37 Vadim Pisarevsky
** 3 stereo correspondence algorithms: Block Matching, Belief Propagation and Constant-Space Belief Propagation.
633 10 Vadim Pisarevsky
** HOG-based object detector. It runs more than order of magnitude faster than the CPU version!
634 37 Vadim Pisarevsky
    See @opencv/samples/gpu@
635 37 Vadim Pisarevsky
636 28 Vadim Pisarevsky
* @python@ bindings
637 37 Vadim Pisarevsky
  A lot more of OpenCV 2.x functionality is now covered by Python bindings.
638 37 Vadim Pisarevsky
639 1
  These new wrappers require @numpy@ to be installed
640 37 Vadim Pisarevsky
  (see http://opencv.willowgarage.com/wiki/InstallGuide for details).
641 37 Vadim Pisarevsky
642 1
  Likewise the C++ API, in the new Python bindings you do not need to allocate output arrays.
643 37 Vadim Pisarevsky
  They will be automatically created by the functions.
644 1
645 37 Vadim Pisarevsky
  Here is a micro example:
646 37 Vadim Pisarevsky
647 1
  <pre><code class="python">
648 37 Vadim Pisarevsky
  import cv
649 37 Vadim Pisarevsky
650 37 Vadim Pisarevsky
  a=cv.imread("lena.jpg",0)
651 37 Vadim Pisarevsky
  b=cv.canny(a, 50, 100, apertureSize=3)
652 1
  cv.imshow("test",b)
653 37 Vadim Pisarevsky
  cv.waitKey(0)</code></pre>
654 1
655 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.
656 1
657 37 Vadim Pisarevsky
h3. Documentation, Samples
658 68 Vadim Pisarevsky
659 37 Vadim Pisarevsky
* Links to wiki pages have been added to each function description, see http://opencv.willowgarage.com
660 68 Vadim Pisarevsky
661 1
* 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.
662 1
663 37 Vadim Pisarevsky
h3. Bug Fixes
664 1
665 37 Vadim Pisarevsky
* 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
666 1
667 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.
668 1
669 37 Vadim Pisarevsky
h3. Known Problems/Limitations
670 47 Vadim Pisarevsky
671 49 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.
672 47 Vadim Pisarevsky
673 47 Vadim Pisarevsky
h2. Previous versions
674 81 Vadim Pisarevsky
675 1
[[ChangeLog_v10-v21|ChangeLog v1.0 - v2.1]]