US 11,798,147 B2
Image processing method and device
Chunli Ti, Shenzhen (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Dec. 29, 2020, as Appl. No. 17/136,902.
Application 17/136,902 is a continuation of application No. PCT/CN2019/074780, filed on Feb. 11, 2019.
Claims priority of application No. 201810703983.3 (CN), filed on Jun. 30, 2018.
Prior Publication US 2021/0118111 A1, Apr. 22, 2021
Int. Cl. G06T 5/50 (2006.01); G06T 7/55 (2017.01)
CPC G06T 5/50 (2013.01) [G06T 7/55 (2017.01); G06T 2207/10024 (2013.01); G06T 2207/10048 (2013.01); G06T 2207/20221 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An image processing method, comprising:
obtaining a first image;
obtaining a second image;
extracting a first vertical gradient and a first horizontal gradient of each band in the first image using a first gradient operator;
extracting a second vertical gradient and a second horizontal gradient of each band in the second image using a second gradient operator;
calculating a first gradient saliency feature map of each band in the first image based on the first vertical gradient and the first horizontal gradient;
performing weighted averaging on each pixel in the first gradient saliency feature map of each band in the first image to obtain a first gradient saliency map of the first image;
calculating a second gradient saliency feature map of each band in the second image based on the second vertical gradient and the second horizontal gradient;
performing weighted averaging on each pixel in the second gradient saliency feature map of each band in the second image to obtain a second gradient saliency map of the second image;
performing, based on the first gradient saliency feature map and the second gradient saliency feature map, feature matching between the first image and the second image to obtain a dense disparity map of the first image;
performing disparity translation on a second pixel in the second image corresponding to a first pixel in the first image based on the dense disparity map; and
fusing, based on the dense disparity map, the first image and the second pixel.