New Features of OpenCV2.4.3: after four months of waiting, OpenCV released a new version, the latest version of OpenCV2.4.3, for: OpenCV-2.4.3.exe. Next, let's take a look at the new changes in opencv2.4.3. For more information, see code. opencv. orgprojectsopencvwikiChangeLog.
New Features of OpenCV2.4.3: after four months of waiting, OpenCV released a new version, the latest version of OpenCV2.4.3, for: OpenCV-2.4.3.exe. Next, let's take a look at the new changes in opencv2.4.3. For more information, see http://code.opencv.org/projects/opencv/wiki/changelog.pdf.
New Features of OpenCV2.4.3:
After four months of waiting, OpenCV released a new version, the latest version of OpenCV2.4.3, for: OpenCV-2.4.3.exe.
Next, let's take a look at what new changes have taken place in opencv2.4.3, mainly by referring. Many of the changes in this version come from google summer code (GSoC), and that project contributed a lot of code.
In multithreading, many general multi-thread parallel processing algorithms are added in the background, such as TBB and OpenMP Based on the cross platform, Grand Central Dispatch Based on the Apple platform, and Microsoft Concurrency computing. Because OpenCV is embedded with these background algorithms, users do not even need to install these background libraries.
In terms of android, improved OpenCV management and added new Java framework routines. android can better support cameras. For details about the changes, see:Android Release Notes
In ios, opencv2.framework fully supports ios6 and iPhone 5. For instructions on installing opencv on ios, refer:
Http://docs.opencv.org/doc/tutorials/ios/table_of_content_ios/table_of_content_ios.html.
In terms of Python, some examples are added, including ASIFT, hand-writing recognition, motion denoising, and Amazon pickers. Its usage reference:
Https://github.com/Itseez/opencv/tree/master/samples/python2
In terms of face detection, due to the contribution of GSoC, two cascade classifier files on the side face are added. For details, refer to the webpage:Https://github.com/Itseez/opencv/tree/master/data/lbpcascades
In terms of image de-noise, the non-local means de-noise algorithm has been improved. Although the algorithm is not real-time, the effect is quite good. For details, refer to the webpage:
Http://docs.opencv.org/trunk/modules/photo/doc/denoising.html
In terms of optical flow, the "simple flow" optical flow algorithm is added. For details, refer to the webpage:Https://github.com/Itseez/opencv/tree/master/samples/cpp/simpleflow_demo.cpp.
In CUDA, many GPU functional modules are added.
The driver layer is fully open to users. Now, users can use opencv to write CUDA drivers. It supports cascading of the local codes (BPS) in the cascade classifier and adds a fast non-local mean image denoising algorithm; A faster integral algorithm is introduced. The kernel, the kernel line, and the generalized kernel transform are introduced. Bilateral filters are introduced. The generalized fill-in method is used to mark the connected domain. Foreground background separation algorithm, GMM, added the ViBe and GMG algorithms, and added the Trust Computing function in the HOG class.
In OpenCL, arithmetic operations, filtering, common geometric transformation, optical flow, and cascading classifier are added. Currently, these algorithms can only run on the GPU.
On the basis of OpenCV2.4.2, about 130 bugs have been fixed, which is exciting, and so many bugs are missing.
OpenCV is now widely promoted and has been added to Github. The URL is:Http://github.com/itseez/opencv. You can download the latest version on this page and submit various questions.
Personal feelings:
From the above trend, we can see that OpenCV is moving towards multi-platform, multi-core, multi-programming languages, and constantly introducing various new computer vision algorithms. We are looking forward to the release of OpenCV2.5.0 in 2013!
OpenCV2.4.3 installation method:
Next, let's talk about how to install OpenCV2.4.3. Since I have recently used many Qt instances, I will talk about how to install OpenCV2.4.3 in Qt. In fact, VS and Qt are the same. For details about the subsequent steps, refer to my previous blog post: Summary series _ 7 (opencv2.4.2 + vs2010 Installation Introduction). Although this is for version 2.4.2, however, the basic process is the same.
Installation environment win32XP + opencv2.4.2 + QtCreator2.5.1 (the method is also applicable to Microsoft Vs Users)
In fact, opencv2.4.3 is simpler than opencv2.4.2, because part of the TBB configuration is missing.
Step 1:Download opencv-2.4.3.exe
Step 2:Double-click the exe file and decompress it to the directory you want to install. Here is the directory after decompression:
C: \ Qt \ opencv
Step 3:Configure environment variables: configure the following environment variables in the system environment variables. After testing, you only need to configure the environment variables in the system variables and do not need to configure them in the user variables, in addition, unlike opencv2.4.2, because opencv of version 2.4.3 is embedded with the TBB function, you do not need to configure the TBB environment variable.
Variable name: variable value:
PATH: C: \ Program Files \ opencv2.4.2 \ build \ x86 \ vc10 \ bin
Step 4:Open QtCreator and create a pure C ++ project,Add an image named opencv.png to the project folder (the code in the program corresponding to the image name)The main function code is changed to the following:
#include
#include
using namespace cv;using namespace std;int main(){ namedWindow( "show_image", WINDOW_AUTOSIZE ); Mat src = imread( "opencv.png" ); while(1) { imshow( "show_image", src ); char c = waitKey(0); if( c == 27 ) return 0; } return 0;}
Step 5:Double-click the *. pro file on the right of the QtCreator project and enter the following content:
INCLUDEPATH += C:\Qt\opencv\build\include \
C:\Qt\opencv\build\include\opencv \
C:\Qt\opencv\build\include\opencv2
LIBS += C:\Qt\opencv\build\x86\vc10\lib\opencv_core243d.lib \
C:\Qt\opencv\build\x86\vc10\lib\opencv_highgui243d.lib \
C:\Qt\opencv\build\x86\vc10\lib\opencv_imgproc243d.lib
|
Step 6:Run the program and the result is as follows:
Step 6:Run the program and the result is as follows:
Tip:If the opencv environment variable is not configured, open the QtCreator project, compile the code in Step 4, and then configure the opencv environment variable, at this time, the project is run without any result. After one-step debugging, it is found that an error occurs when the main function is directly entered.This inferior stopped because it triggered an exception.As follows:
In this case, you only need to turn off the QtCreator software and re-open it, because it has not recognized the configured opencv.
References:
Http://code.opencv.org/projects/opencv/wiki/ChangeLog