1. A method for determining dense disparity fields between digital images, comprising the steps of: capturing a first and a second image of a same scene, said first and second images being captured from two different positions related to said scene; and determining, for each pixel of the second image, a disparity from a point in the first image to said pixel of the second image minimising an optical flow objective function, the optical flow objective function comprising, for each one of said pixels of the second image, a term depending in a monotonically increasing way on a distance between an epipolar line associated with said pixel and said point of the first image.