Abstract:
A multi-depth-interval refocusing method, apparatus and electronic device are provided. The method includes displaying an image on a display device; acquiring user input, and determining, in the displayed image according to the user input, a refocus area including at least two discontinuous depth intervals, where each depth interval in the at least two discontinuous depth intervals is constituted by at least one depth plane, each depth plane contains at least one focus pixel, and depths of object points corresponding to focus pixels contained on a same depth plane are the same; performing refocusing processing on an image within the refocus area to display a refocused image on the display device, where the refocused image has a visually distinguishable definition difference relative to an area, except the refocus area, in the displayed image; and displaying the refocused image on the display device. Therefore, multi-depth-interval refocusing is implemented.
Abstract:
A multi-depth-interval refocusing method, apparatus and electronic device are provided. The method includes displaying an image on a display device; acquiring user input, and determining, in the displayed image according to the user input, a refocus area including at least two discontinuous depth intervals, where each depth interval in the at least two discontinuous depth intervals is constituted by at least one depth plane, each depth plane contains at least one focus pixel, and depths of object points corresponding to focus pixels contained on a same depth plane are the same; performing refocusing processing on an image within the refocus area to display a refocused image on the display device, where the refocused image has a visually distinguishable definition difference relative to an area, except the refocus area, in the displayed image; and displaying the refocused image on the display device. Therefore, multi-depth-interval refocusing is implemented.