White balance determining method, terminal and computer readable storage medium
A determination method and technology of white balance, applied to color TV parts, TV system parts, TVs, etc., can solve the problem of large color difference between image color and actual color
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0075] Based on the foregoing embodiments, the embodiments of the present invention provide a method for determining white balance, which can be applied to a terminal, and the functions implemented by the method for determining white balance can be realized by calling program codes by a processor in the terminal, Of course, the program code can be stored in a computer storage medium. It can be seen that the terminal includes at least a processor and a storage medium.
[0076] This embodiment provides a method for determining white balance, image 3 It is a schematic flowchart of the method for determining the white balance in Embodiment 1 of the present invention, refer to image 3 As shown, the method for determining the above-mentioned white balance may include:
[0077] S301: Obtain an image collected by a camera of the terminal;
[0078] When the user captures the profile picture through the camera in the terminal, if the light is dark or the light is bright, the color o...
Embodiment 2
[0101] Based on the foregoing embodiments, this embodiment provides a method for determining white balance, which can be applied to a terminal, and the functions implemented by the method for determining white balance can be realized by calling program codes by a processor in the terminal, of course The program code can be stored in a computer storage medium. It can be seen that the terminal includes at least a processor and a storage medium.
[0102] On the basis of the first embodiment above, the above-mentioned brightness parameter may include a brightness value and an RGB value. Correspondingly, in order to obtain the threshold value of the preset brightness parameter, it may be implemented in any of the following ways:
[0103] When the above-mentioned brightness parameter is a brightness value, in an optional embodiment, obtaining the threshold value of the preset brightness parameter in S303 may include:
[0104] Acquire a preset threshold value of the brightness value ...
Embodiment 3
[0156] Based on the foregoing method embodiments, this embodiment provides a terminal, Figure 7 It is a schematic structural diagram of the terminal in Embodiment 3 of the present invention, refer to Figure 7 As shown, the terminal includes a processor 71, a memory 72, and a communication bus 73; the communication bus 73 is used to realize connection and communication between the processor 71 and the memory 72; the processor 71 is used to execute the white balance stored in the memory 72 determined procedures to achieve the following steps:
[0157] Obtain the image captured by the camera of the terminal; determine the brightness parameter corresponding to each pixel of the image; obtain the threshold value of the preset brightness parameter; select the pixel point from each pixel according to the threshold value of the preset brightness parameter; The RGB value of the point is calculated using the preset white balance algorithm to obtain the white balance of the image.
...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


