#Stereo Block Matching Depth Map The images used for this testing are from the Middlebury Stereo dataset. Here is a basic explanation from OpenCV how depth maps are created from stereoscopic images.