Image processing method and device

An image processing and image technology, applied in the field of image processing, can solve problems such as poor white balance processing effect of portraits, and achieve the effect of improving the effect, avoiding color cast, and avoiding the introduction of errors.
CN113676715AActive Publication Date: 2021-11-19SPREADTRUM SEMICON (NANJING) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SPREADTRUM SEMICON (NANJING) CO LTD
Publication Date
2021-11-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides an image processing method and device, and the method comprises the steps: obtaining a to-be-processed image which comprises a face image; acquiring a color value and a conversion coefficient of the face image in the first coordinate system; converting the color value of the face image through the conversion coefficient to obtain a reference color value, wherein the reference color value is used for indicating the color value of ambient light corresponding to the face image in the first coordinate system. According to the image information of the to-be-processed image and the reference color value, a target color value is determined, white balance processing is carried out on the to-be-processed image through the target color value, and the target color value is used for indicating the color value of ambient light corresponding to the to-be-processed image in the first coordinate system. The reference color value is determined through the conversion coefficient of the linear relationship between the reference color value and the color value of the face image, and the linear relationship is a primary linear relationship, so the white balance processing effect of the portrait can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The embodiments of the present application relate to image processing technologies, and in particular, to an image processing method and apparatus. Background technique

[0002] The automatic white balance (AWB) algorithm can compensate for the color cast of the image when shooting under a specific light source by strengthening the corresponding complementary color to achieve white balance processing.

[0003] Among them, based on the AWB algorithm, a portrait automatic white balance (FACE-AWB) algorithm is also proposed. The current FACE-AWB algorithm has errors in the process of mapping the reference skin color point to the neutral color point, resulting in In large-area color mixing scenes and large-area non-neutral solid color scenes, the face is prone to color cast.

[0004] Therefore, in the current FACE-AWB algorithm, there is a problem that the white balance processing effect of the portrait is not good. SUMMARY OF THE INVENTION

[0005] Em...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More