Skip to content

yizhaoyanbo/sgbm_cuda

 
 

Repository files navigation

zhangyou_sgbm_cuda

Opencv does not implement the gpu version of the sgbm algorithm, this project is based on the opencv sgbm algorithm. After my test, it is 3-4 times faster than the cpu version of the opencv sgbm algorithm, and the effect is exactly the same as opencv sgbm. The maximum disparity can be set to an integer multiple of 32, the maximum is 256.

How to compile and use
mkdir build
cd build
cmake ..
make
Regarding the use of the program, you can look at the program logic in the main function, which is very simple.

Finally
The program is based on opencv3.4 and cuda9.0, and the program assumes that the left and right images have been corrected.

Program performance display
If you want to watch the recorded demo video, click Road effect .This video is not subject to any post processing, such as acceleration

or
example1
example2

If you find this program useful, please give me a star, thank you.

About

Implement opencv sgbm algorithm based on cuda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cuda 74.7%
  • C++ 22.3%
  • CMake 3.0%