Skip to content

C++ example codes for camera calibration, rectification and to build disparity maps

License

Notifications You must be signed in to change notification settings

thiagortk/Stereo-Vision

Repository files navigation

Stereo Vision

C++ example codes for camera calibration, rectification and to build disparity maps

Calibration

Calibration

Rectification

Rectification

Disparity Map

Disparity Map

Infos

Must have OpenCV 3.1 or later installed with extra modules.

The following examples were used:

If you are going to use real-time images and perform your own calibration, use the class: "calibracao.cpp" and then the "disparity.cpp". Build your main to use these classes.

If you are going to use already rectified data set images, you can use "filteredDisparityMap.cpp". The main is inside.

Caution: it has absolute path in the code for the rectified images that should be used for the construction of the Disparity Map. You will need to change the absolute paths or change to use argv.

To compile: g++ filteredDisparityMap.cpp -lopencv_core -lopencv_videoio -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc -lopencv_calib3d -lopencv_features2d -lopencv_ximgproc -o veRun

About

C++ example codes for camera calibration, rectification and to build disparity maps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages