CPC G06F 18/213 (2023.01) [G06F 18/214 (2023.01); G06V 10/22 (2022.01)] | 12 Claims |
11. A method executed by an image processing device, which comprises a first storage configured to store a first statistical model generated by learning bokeh which occurs in a first image affected by aberration of a first optical system, and varies non-linearly in accordance with a distance to a subject in the first image, the method comprising:
acquiring a second image affected by aberration of a second optical system;
acquiring a bokeh value which indicates bokeh occurring in the acquired second image and an uncertainty level which indicates a level of uncertainty for the bokeh value, the bokeh value and the uncertainty level being output from the first statistical model by inputting the second image into the first statistical model;
generating a first bokeh map based on the acquired bokeh value and uncertainty level; and acquiring a second bokeh map obtained by interpolating a bokeh value with respect to the first bokeh map.
|