Patent ID: 11943419
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 11:
12. A method of adapting an image processing model, the method comprising:
receiving a plurality of tuples of images, each tuple of images comprising a pair of images representing a common scene and a refocused training image of the scene;
for each tuple of images:
processing the pair of images using an image processing model, comprising:
(i) processing the pair of images using a computational neural network to extract features from the pair of images;
(ii) comparing the features across a plurality of disparity planes to generate a cost volume; and
(iii) generating a mask for each of a plurality of planes associated with respective depths within an image from respective up-sampled slices of the cost volume;

performing a refocusing stage, comprising:
(iv) for each of the said plurality of planes associated with the respective depths:
generating a masked image from an input image and the mask;
refocusing the masked image using a blurring kernel to generate a refocused partial image;

(v) generating a refocussed image from the refocussed partial images;
(vi) estimating a difference between the generated refocused image and the refocused training image to obtain an estimated difference; and
(vii) adapting the image processing model in dependence on the estimated difference.