Patent attributes
A disparity determining method, an electronic device, and a computer-readable storage medium are provided. The disparity determining method includes: downsampling a first image and a second image, to obtain a first image with a first size and a second image with the first size; performing first-stage disparity computation on the first image with the first size and the second image with the first size, to obtain a first disparity map with the first size; and performing second-stage disparity computation on a first image with a second size and a second image with the second size based on an upsampled disparity map, with the second size, of the first disparity map, to obtain a second disparity map with the second size.