Improving the accuracy of fast dense stereo correspondence algorithms by enforcing local consistency of disparity fields