Generates disparity and depth maps