US 12,347,148 B2
Image processing method and related device
Jing Wang, Beijing (CN); Ze Cui, Beijing (CN); and Bo Bai, Beijing (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Aug. 4, 2022, as Appl. No. 17/881,432.
Application 17/881,432 is a continuation of application No. PCT/CN2021/075405, filed on Feb. 5, 2021.
Claims priority of application No. 202010082808.4 (CN), filed on Feb. 7, 2020.
Prior Publication US 2022/0375133 A1, Nov. 24, 2022
Int. Cl. G06K 9/00 (2022.01); G06T 3/4007 (2024.01); G06T 9/00 (2006.01); G06V 10/48 (2022.01)
CPC G06T 9/00 (2013.01) [G06T 3/4007 (2013.01); G06V 10/48 (2022.01)] 17 Claims
OG exemplary drawing
 
1. An image processing method applied to an image processing device comprising one or more processors, the method comprising:
obtaining a first image;
performing feature extraction on the first image to obtain at least one first feature map, wherein the at least one first feature map comprises N first feature values, and N is a positive integer;
obtaining a target compression bit rate;
determining, based on a target mapping relationship, M target gain values corresponding to the target compression bit rate, wherein the target mapping relationship indicates an association relationship between a compression bit rate and M target gain values, each target gain value of the M target gain values corresponds to a first feature value of the N first feature values, and M is a positive integer less than or equal to N;
respectively processing corresponding first feature values based on the M target gain values to obtain M second feature values; and
performing quantization and entropy encoding on at least one processed first feature map to obtain encoded data, wherein the at least one processed first feature map comprises the M second feature values;
wherein the target mapping relationship comprises a target function mapping relationship, and based on an input of the target function mapping relationship comprising the target compression bit rate, an output of the target function mapping relationship comprises the M target gain values.