| CPC G06T 5/00 (2013.01) [G06T 5/50 (2013.01); G06T 7/50 (2017.01); H04N 23/56 (2023.01); H04N 23/81 (2023.01)] | 20 Claims |

|
1. A method for correcting interference fringes, comprising:
obtaining interference fringe images with different photographing distances, wherein each of the interference fringe images is captured by a camera and comprises interference fringes formed by an illumination source illuminating a target plane through a display screen; and each of the interference fringe images represents first pixel values of the interference fringes at different coordinate positions;
obtaining a to-be-corrected image comprising to-be-corrected pixels, and calculating a depth value of each of the to-be-corrected pixels in the to-be-corrected image;
selecting, from the interference fringe images with different photographing distances, an interference fringe image corresponding to the depth value of each of the to-be-corrected pixels as a target interference fringe image;
extracting first pixel values of target coordinate positions in the target interference fringe image, wherein the target coordinate positions are indictive of coordinate positions of the to-be-corrected pixels corresponding to the target interference fringe image in the to-be-corrected image; and
correcting second pixel values of the to-be-corrected pixels according to the first pixel values corresponding to the to-be-corrected pixels to obtain a corrected image.
|