From now on I’ll open a new section “Source code” and gradually upload all my project codes and share with people who need them. These codes are mainly focused on computer vision, graphics, robot planning, localization and so on. The introductions will be on the wordpress page, and the source code will be hosted on codeplex:

OK. Here comes the first project, which is a course project I recently wrote for the evaluation of  stereo vision algorithms. I implemented the basic algorithms like NCC and SAD. Other better algorithms like SGBM, GC are using OpenCV functions.

The program is written in, using MFC to build the interface, picture control to show the OpenCV results. To compile the program, you need to configure OpenCV to Visual Studio correctly. I’m using OpenCV 2.1 here, if you use other versions, just change the version of corresponding cv210.lib,cxcore210.lib,highgui210.lib files in additional dependencies.

Source code download page:

Executable file can be downloaded here, you should run it in XP3 compatible mode.

If you have any problems, leave a reply here or send me an email.

Program interface



Tsukuba Anaglyph NCC(WINDOW:11 DSR:20)
SSD(WINDOW:20 DSR:20) BM( SADWindowSize=15) SGBM
Apple Anaglyph NCC(WINDOW:20  DSR:10)
SSD (WINDOW:15  DSR:12) BM( SADWindowSize=15) SGBM
Corn Anaglyph NCC(WINDOW:11 DSR:20)
SSD(WINDOW:30 DSR:60) BM( SADWindowSize=15) SGBM
Dolls Anaglyph (On 1390*1100) NCC(WINDOW:9 DSR:20)
SSD(WINDOW:15 DSR:20) BM( SADWindowSize=15) SGBM(On 1390*1100)
Aloe Anaglyph (On 1390*1100) NCC(WINDOW:9 DSR:11)
SSD(WINDOW:15 DSR:20) BM( SADWindowSize=15) SGBM