Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and apparatus for adjusting brightness, and computer readable storage medium

A technology for adjusting brightness and computer programs, which is applied in the field of adjusting brightness and computer-readable storage media, and can solve problems such as image brightness errors, different sensor responses, and different color temperature responses, so as to reduce brightness errors and improve image quality.

Active Publication Date: 2018-06-19
NUBIA TECHNOLOGY CO LTD
View PDF10 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the current brightness formula, the brightness of the image can be obtained by converting the three channel components of red, green and blue RGB, but the coefficients of each channel are fixed, so the values ​​of the three RGB channel components directly affect the brightness of the image
However, different sensors have different responses to the three channels of RGB, and the same sensor has different responses to color temperature in different RGB channels.
Therefore, there are errors in the brightness of images captured by different sensors

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for adjusting brightness, and computer readable storage medium
  • Method and apparatus for adjusting brightness, and computer readable storage medium
  • Method and apparatus for adjusting brightness, and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] Based on the aforementioned embodiments, this embodiment of the present invention provides a method for adjusting brightness, which is applied to a terminal, and the functions implemented by this method can be realized by calling program codes by the processor in the terminal, and of course the program codes can be stored in the computer In the storage medium, it can be seen that the terminal includes at least a processor and a storage medium.

[0051] image 3 It is a schematic flow chart of the method for adjusting brightness in Embodiment 1 of the present invention, such as image 3 As shown, the method includes:

[0052] S301. Perform image analysis on the image to be processed to determine a white balance parameter of the image to be processed;

[0053] The white balance parameters include R channel gain, G channel gain and B channel gain.

[0054] Here, the image to be processed is acquired, and the image to be processed may be an image collected by the sensor ...

Embodiment 2

[0074] Based on the aforementioned embodiments, this embodiment of the present invention provides a method for adjusting brightness, which is applied to a terminal, and the functions implemented by this method can be realized by calling program codes by the processor in the terminal, and of course the program codes can be stored in the computer In the storage medium, it can be seen that the terminal includes at least a processor and a storage medium.

[0075] Image 6 It is a schematic flow chart of the method for adjusting brightness in Embodiment 2 of the present invention, as Image 6 As shown, the method includes:

[0076] S601. Acquire a reference area of ​​the image to be processed, perform image analysis on the image of the reference area to determine a white balance parameter of the reference area, and use the white balance parameter of the reference area as the white balance of the image to be processed parameter;

[0077] After the image to be processed is acquire...

Embodiment 3

[0087] Based on the aforementioned embodiments, this embodiment of the present invention provides a method for adjusting brightness, which is applied to a terminal, and the functions implemented by this method can be realized by calling program codes by the processor in the terminal, and of course the program codes can be stored in the computer In the storage medium, it can be seen that the terminal includes at least a processor and a storage medium.

[0088] Figure 8 It is a schematic flow chart of the method for adjusting brightness in Embodiment 3 of the present invention, as Figure 8 shown, including:

[0089] S801. Perform image analysis on the image to be processed to determine a white balance parameter of the image to be processed;

[0090] The white balance parameters include R channel gain, G channel gain and B channel gain.

[0091] S802. Acquire the current scene information, and determine the reference color temperature corresponding to the scene information a...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a method for adjusting brightness. The method comprises the following steps: performing image analysis on a to-be-processed image to determine a white balance parameter of theto-be-processed image, wherein the white balance parameter comprises a R channel gain, a G channel gain and a B channel gain; determining a brightness adjustment coefficient according to the white balance parameter and a reference white balance parameter; and adjusting the brightness of the to-be-processed image according to the brightness adjustment coefficient to obtain a target image. The embodiment of the invention further provides an apparatus for implementing the method and a computer readable storage medium. By adoption of the method provided by the invention, the brightness error of the image can be reduced, and the image quality can be improved.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to a method and device for adjusting brightness and a computer-readable storage medium. Background technique [0002] With the continuous development of computer technology, mobile terminals such as mobile phones, as portable communication devices, bring the convenience of mobile communication to users, and at the same time, mobile terminals can also provide functions such as taking pictures and image processing. As the camera function of mobile terminals is more and more widely used, users have higher and higher requirements for taking pictures. Brightness is a crucial factor affecting photo quality. [0003] In the current brightness formula, the brightness of the image can be obtained by converting the three channel components of red, green and blue RGB, but the coefficients of each channel are fixed, so the values ​​of the three RGB channel components directly ...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N9/64H04N9/73
CPCH04N9/64H04N9/73H04N23/88
Inventor 张文婷
Owner NUBIA TECHNOLOGY CO LTD