https://hgpu.org/?p=9112
Real-time Stereo Vision: Optimizing Semi-Global Matching