Patent ID: 11900637
Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 14:
15. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when being executed by a processor of a mobile terminal, enable the mobile terminal to execute an image processing method, the method comprising:
extracting a red, green and blue channel image and a white channel image from a target image;
determining a first gray-scale component image of the red, green and blue channel image, and determining a second gray-scale component image of the white channel image;
determining first decomposed sub-band information of the first gray-scale component image, and determining second decomposed sub-band information of the second gray-scale component image, wherein the first decomposed sub-band information comprises at least one decomposition level, each decomposition level comprises at least one frequency band, and each frequency band corresponds to a frequency band coefficient matrix, wherein the second decomposed sub-band information comprises at least one decomposition level, each decomposition level comprises at least one frequency band, and each frequency band corresponds to a frequency band coefficient matrix;
determining third decomposed sub-band information according to the first decomposed sub-band information and the second decomposed sub-band information; and
performing image reconstruction according to the third decomposed sub-band information to obtain a third gray-scale component image, and constructing a color image corresponding to the target image according to the third gray-scale component image;
wherein determining the third decomposed sub-band information according to the first decomposed sub-band information and the second decomposed sub-band information comprises:
taking the same frequency band of the first decomposed sub-band information and the second decomposed sub-band information under the same decomposition level as the corresponding frequency band of the third decomposed sub-band information under the decomposition level; and
for each frequency band in the third decomposed sub-band information under respective decomposition levels, calculating the frequency band coefficient matrix of the corresponding frequency band in the third decomposed sub-band information according to the frequency band coefficient matrix of the corresponding frequency band in the first decomposed sub-band information and the frequency band coefficient of the corresponding frequency band in the second decomposed sub-band information matrix.