This disclosure provides a method, apparatus, electronic device, and storage medium for
stereo image reconstruction. The method includes: performing
optical flow pre-alignment on the left and right view features of the
stereo image to be processed using a
stereo image reconstruction model to obtain pre-aligned features; performing fine alignment on the pre-aligned features using the stereo image reconstruction model; and reconstructing the left and right views of the stereo image to be processed based on the fine alignment to obtain the reconstructed left and right views of the stereo image. In this scheme, in the stereo image reconstruction process, in addition to using
optical flow estimation for
optical flow pre-alignment, a fine alignment task is also performed on the pre-aligned features in the stereo image reconstruction model, greatly improving the accuracy of the pre-aligned features between the left and right view features of the stereo image to be processed, thereby improving the subjective effect of the reconstruction result and achieving better super-resolution of the stereo image.