Method for adjusting white balance of camera and related device

By obtaining the number of times the camera module drifts at a specific color temperature, the white balance point and color component intensity are adjusted, solving the problem of inconsistent white balance of the camera under different color temperature environments and improving the consistency of image quality.

CN116582760BActive Publication Date: 2026-02-10Hefei Xinming Intelligent Technology Co., Ltd.
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310714393.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-15
Publication Date
2026-02-10
Estimated Expiration
2043-06-15

AI Technical Summary

Technical Problem

The camera's white balance drifts inconsistently under different color temperature conditions, causing the captured images to appear either too warm or too cool, thus affecting image quality.

Method used

By measuring the number of times the camera module's white balance shifts towards warmer or cooler colors at the first color temperature, the white balance point is adjusted to enhance or weaken the intensity of the blue or red components, thereby making the white balance more stable at a specific color temperature.

Benefits of technology

It achieves precise adjustment of camera white balance, reduces white balance drift, and improves the consistency of image performance under different color temperature environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116582760B_ABST
    Figure CN116582760B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a camera white balance adjustment method and device, computer equipment, readable storage medium and program, and relate to the technical field of cameras. The method comprises: obtaining the number of times of white balance drift towards warm and drift towards cold of a camera module at a first color temperature; and adjusting the landing point of the white balance of the camera module according to the number of times of white balance drift towards warm and drift towards cold of the camera module at the first color temperature. The method provided by the embodiments of the present disclosure can realize the adjustment of camera white balance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of camera technology, and in particular to a method, apparatus, computer device, readable storage medium, and program for adjusting camera white balance. Background Technology

[0002] White balance drift occurs when a camera switches between different, relatively stable environments (e.g., near a window, facing indoors and outdoors, where physical parameters are stable at any given moment). Because white balance has a memory or statistical function, inconsistencies can occur even under the same conditions. For example, using the same parameters and the same camera module, when the light source color temperature gradually increases to its highest level and then cycles back up, the same color temperature can result in different visuals. Similarly, with the same module and parameters, under the same color temperature and illuminance, white balance drift can appear either too warm or too cool. Summary of the Invention

[0003] This disclosure provides a method, apparatus, computer device, readable storage medium, and program for adjusting camera white balance, relating to the field of camera technology. This method can adjust camera white balance.

[0004] This disclosure provides a method for adjusting the white balance of a camera, including: obtaining the number of times the white balance of the camera module shifts to a warmer or cooler state at a first color temperature; and adjusting the white balance setting of the camera module based on the number of times the white balance shifts to a warmer or cooler state at the first color temperature.

[0005] In one embodiment, adjusting the white balance setting of the camera module based on the number of times the white balance shifts to a warmer or cooler bias at the first color temperature includes: when the number of times the white balance shifts to a warmer bias is greater than the number of times it shifts to a cooler bias, moving the white balance setting towards a cooler bias; and when the number of times the white balance shifts to a warmer bias is less than the number of times it shifts to a cooler bias, moving the white balance setting towards a warmer bias.

[0006] In one embodiment, when the number of times the white balance shifts to a warmer tone is greater than the number of times it shifts to a cooler tone, moving the white balance point towards a cooler position includes: when the number of times the white balance shifts to a warmer tone is greater than the number of times it shifts to a cooler tone, moving the white balance point towards a cooler position, so that the probability of the camera module shifting to a cooler tone at the first color temperature is greater than a first proportion.

[0007] In one embodiment, shifting the white balance point towards a cooler position includes: increasing the intensity of the blue component in the white balance.

[0008] In one embodiment, when the number of times the white balance shifts to a warmer tone is less than the number of times it shifts to a cooler tone, shifting the white balance point to a warmer position includes: when the number of times the white balance shifts to a warmer tone is less than the number of times it shifts to a cooler tone, shifting the white balance point to a warmer position, so that the probability of the camera module shifting to a warmer tone at the first color temperature is greater than the second proportion.

[0009] In one embodiment, shifting the white balance point towards a warmer position includes: increasing the intensity of the red component in the white balance.

[0010] This disclosure provides a camera white balance adjustment device, comprising: an acquisition unit for acquiring the number of times the white balance of a camera module shifts towards a warmer or cooler state at a first color temperature; and an adjustment unit for adjusting the white balance setting of the camera module based on the number of times the white balance of the camera module shifts towards a warmer or cooler state at the first color temperature.

[0011] This disclosure provides a computer device including a processor, a memory, and an input / output interface; the processor is connected to the memory and the input / output interface respectively, wherein the input / output interface is used to receive data and output data, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device performs the method as described in any of the above embodiments.

[0012] This disclosure provides a computer-readable storage medium storing a computer program adapted to be loaded and executed by a processor, such that a computer device having the processor performs the method described in any of the above embodiments.

[0013] This disclosure provides a computer program product, including a computer program that, when executed by a processor, implements the method described in any of the above embodiments.

[0014] The camera white balance adjustment method of this application obtains the number of times the camera module's white balance shifts to a warmer or cooler state at a first color temperature; and adjusts the white balance landing point of the camera module based on the number of times the camera module's white balance shifts to a warmer or cooler state at the first color temperature, thereby achieving camera white balance adjustment. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 A schematic diagram of an exemplary system architecture for which the camera white balance adjustment method of the present disclosure can be applied is shown;

[0017] Figure 2 This is a flowchart of a camera white balance adjustment method provided in an embodiment of this disclosure;

[0018] Figure 3 This is a flowchart of a method for adjusting the white balance of a camera module based on the number of times the white balance of the camera module shifts to a warmer or cooler color at the first color temperature, according to an embodiment of this disclosure.

[0019] Figure 4 This is a flowchart of a method for shifting the white balance point to a cooler position when the number of times the white balance drifts to a warmer position is greater than the number of times it drifts to a cooler position, provided by an embodiment of this disclosure.

[0020] Figure 5 This is a flowchart of a method for shifting the white balance point to a warmer position when the number of times the white balance drifts to a warmer position is less than the number of times it drifts to a cooler position, provided by an embodiment of this disclosure.

[0021] Figure 6 This is a schematic diagram of the structure of a camera white balance adjustment device provided in an embodiment of this disclosure;

[0022] Figure 7 This is a schematic diagram of the structure of a computer device that implements the camera white balance adjustment method provided in the embodiments of this disclosure. Detailed Implementation

[0023] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0024] In this embodiment of the disclosure, the white balance of the camera module can be adjusted by obtaining the number of times the white balance of the camera module shifts to a warmer or cooler state at the first color temperature; and by adjusting the white balance point of the camera module based on the number of times the white balance of the camera module shifts to a warmer or cooler state at the first color temperature.

[0025] The following is a brief explanation of some of the terms used in this disclosure:

[0026] In professional video production, white balance refers to the sensor's response to red, green, and blue chromatic auras varies at different color temperatures, resulting in a non-1:1:1 white reproduction. Therefore, processing is needed to ensure that white is reproduced at any color temperature, and the sensor's response is calibrated to produce a 1:1:1 output.

[0027] Color temperature is a unit of measurement that indicates the color components in light. Theoretically, blackbody temperature refers to the color of an absolute blackbody after it has been heated from absolute zero (-273°C). When heated, a blackbody gradually changes from black to red, then to yellow, then to white, and finally emits blue light. The spectral composition of the light emitted by a blackbody at a certain temperature is called the color temperature at that temperature, and the unit of measurement is "K" (Kelvin).

[0028] The solutions provided in this disclosure involve technologies such as camera white balance.

[0029] Figure 1 A schematic diagram of an exemplary system architecture 100 to which the camera white balance adjustment method of the present disclosure can be applied is shown.

[0030] like Figure 1 As shown, system architecture 100 may include one or more of terminals 101, 102, and 103, a network 104, and a server 105. Network 104 is the medium used to provide a communication link between terminals 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

[0031] It should be understood that Figure 1 The number of terminals, networks, and servers shown is merely illustrative. Depending on implementation needs, there can be any number of terminals, networks, and servers. For example, server 105 could be a server cluster consisting of multiple servers.

[0032] Terminals 101, 102, and 103 interact with server 105 via network 104, and can receive or send messages, etc. Terminals 101, 102, and 103 can be various electronic devices with displays, including but not limited to smartphones, tablets, laptops, and desktop computers, etc.

[0033] Server 105 can be a server that provides various services. For example, after terminal 103 (or terminal 101 or 102) sends a camera white balance adjustment request to server 105, server 105 can obtain the number of times the camera module's white balance shifts to warmer or cooler under the first color temperature; based on the number of times the camera module's white balance shifts to warmer or cooler under the first color temperature, server 105 can adjust the white balance setting of the camera module, thereby achieving camera white balance adjustment.

[0034] The terminal can be a mobile phone (such as terminal 101), a tablet computer (such as terminal 102), or a desktop computer (such as terminal 101), etc., without limitation. The terminal can display applications, such as applications for adjusting camera white balance. Figure 1 The terminals mentioned are only a portion of the devices cited in this disclosure; the terminals are not limited to these. Figure 1 The equipment listed in the text.

[0035] In existing technologies, the common approach to white balance drift is to recalibrate the white balance and fit the Planck curve to make the white balance more stable and the algorithm more efficient.

[0036] Figure 2 This is a flowchart illustrating a camera white balance adjustment method provided in this disclosure. The method provided in this disclosure can be... Figure 1 The methods described in this embodiment are executed by a terminal or server, or by interaction between a terminal and a server. However, this disclosure is not limited thereto; the methods of this disclosure can be executed by any processor with computing power.

[0037] like Figure 2 As shown, the method provided in this disclosure embodiment may include the following steps.

[0038] In step S210, the number of times the camera module's white balance shifted to warmer and cooler under the first color temperature is obtained.

[0039] In this step, the terminal or server obtains the number of times the camera module's white balance shifts towards a warmer or cooler bias at the first color temperature. The number of these shifts can be obtained through experimental verification and statistical analysis, and then input into the terminal or server. For example, the number of white balance shifts towards a warmer or cooler bias at the first color temperature can be counted 100 times consecutively, and the number of each shift can be recorded.

[0040] "Warmer color shift" refers to images taken by the camera module having a reddish tint, while "cooler color shift" refers to images taken by the camera module having a bluish tint. Additionally, the primary color temperature can be any color temperature.

[0041] In step S220, the white balance setting of the camera module is adjusted according to the number of times the white balance shifts to warmer and cooler under the first color temperature.

[0042] In this step, the terminal or server adjusts the white balance setting of the camera module according to the number of times the white balance shifts to warmer and cooler at the first color temperature.

[0043] Figure 2 The method for adjusting the camera white balance involves obtaining the number of times the camera module's white balance shifts towards a warmer or cooler tone at a first color temperature; and adjusting the white balance point of the camera module based on the number of times the white balance shifts towards a warmer or cooler tone at the first color temperature, thereby achieving the adjustment of the camera white balance.

[0044] Figure 3 This is a flowchart illustrating a method for adjusting the white balance of a camera module based on the number of times the white balance shifts towards a warmer or cooler tone at the first color temperature, according to an embodiment of this disclosure. The method provided in this embodiment can be... Figure 1 The methods described in this embodiment are executed by a terminal or server, or by interaction between a terminal and a server. However, this disclosure is not limited thereto; the methods of this disclosure can be executed by any processor with computing power.

[0045] like Figure 3 As shown, the method provided in this disclosure embodiment may include the following steps.

[0046] In step S310, when the number of times the white balance drifts to a warmer position is greater than the number of times it drifts to a cooler position, the white balance point is moved towards the cooler position.

[0047] In this step, when the number of times the white balance drifts to a warmer position is greater than the number of times it drifts to a cooler position, the terminal or server moves the white balance point to a cooler position.

[0048] Figure 4 This is a flowchart illustrating a method for shifting the white balance point towards a cooler position when the number of white balance drifts to a warmer position exceeds the number of drifts to a cooler position, as provided in this embodiment of the disclosure. The method provided in this embodiment can be... Figure 1 The methods described in this embodiment are executed by a terminal or server, or by interaction between a terminal and a server. However, this disclosure is not limited thereto; the methods of this disclosure can be executed by any processor with computing power.

[0049] like Figure 4 As shown, the method provided in this disclosure embodiment may include the following steps.

[0050] In step S410, when the number of times the white balance shifts to a warmer tone is greater than the number of times it shifts to a cooler tone, the white balance point is moved to a cooler position so that the probability of the white balance shifting to a cooler tone at the first color temperature is greater than the first proportion.

[0051] In this step, when the number of times the white balance shifts to a warmer tone is greater than the number of times it shifts to a cooler tone, the terminal or server moves the white balance point to a cooler position, so that the probability of the white balance shifting to a cooler tone at the first color temperature is greater than the first proportion.

[0052] In one embodiment, when the number of times the white balance shifts to a warmer bias is greater than the number of times it shifts to a cooler bias, shifting the white balance point towards a cooler bias includes: when the number of times the white balance shifts to a warmer bias is greater than the number of times it shifts to a cooler bias, shifting the white balance point towards a cooler bias, so that the probability of the camera module shifting to a cooler bias at the first color temperature is greater than a first proportion. The first proportion is, for example, 90% or higher, so that the camera module substantially shifts to a cooler bias in the white balance at the first color temperature.

[0053] In one embodiment, shifting the white balance point towards a cooler position includes: increasing the intensity of the blue component in the white balance.

[0054] In step S320, when the number of times the white balance shifts to a warmer position is less than the number of times it shifts to a cooler position, the white balance point is moved towards a warmer position.

[0055] In this step, when the number of times the white balance drifts to a warmer position is less than the number of times it drifts to a cooler position, the terminal or server moves the white balance point to a warmer position.

[0056] Figure 5 This is a flowchart illustrating a method for shifting the white balance point towards a warmer position when the number of white balance drifts to a warmer position is less than the number of white balance drifts to a cooler position, according to an embodiment of this disclosure. The method provided in this embodiment can be... Figure 1 The methods described in this embodiment are executed by a terminal or server, or by interaction between a terminal and a server. However, this disclosure is not limited thereto; the methods of this disclosure can be executed by any processor with computing power.

[0057] like Figure 5 As shown, the method provided in this disclosure embodiment may include the following steps.

[0058] In step S510, when the number of times the white balance shifts to a warmer tone is less than the number of times it shifts to a cooler tone, the white balance point is moved to a warmer position so that the probability of the camera module shifting to a warmer tone at the first color temperature is greater than the second proportion.

[0059] In this step, when the number of times the white balance shifts to a warmer tone is less than the number of times it shifts to a cooler tone, the terminal or server moves the white balance point to a warmer position, so that the probability of the camera module shifting to a warmer tone at the first color temperature is greater than the second proportion.

[0060] In one embodiment, when the number of times the white balance shifts to a warmer bias is less than the number of times it shifts to a cooler bias, shifting the white balance point towards a warmer position includes: shifting the white balance point towards a warmer position when the number of times the white balance shifts to a warmer bias is less than the number of times it shifts to a cooler bias, so that the probability of the camera module shifting to a warmer bias at the first color temperature is greater than a second proportion. The second proportion is, for example, 90% or higher, so that the camera module substantially maintains a warmer white balance at the first color temperature.

[0061] In one embodiment, shifting the white balance point towards a warmer position includes: increasing the intensity of the red component in the white balance.

[0062] Figure 3 The method described herein ensures that the camera module's white balance is substantially warmer or cooler at the first color temperature, minimizing the possibility of both simultaneously exhibiting warmer or cooler white balance shifts at the first color temperature. When the camera module's white balance is substantially warmer or cooler at the first color temperature, subsequent adjustments can be made to the intensity of the blue or red component in the white balance to ensure accurate white balance in the image output by the camera module.

[0063] Figure 6 This is a schematic diagram of the structure of a camera white balance adjustment device provided in an embodiment of this disclosure.

[0064] like Figure 6 As shown, the camera white balance adjustment device 600 provided in this embodiment may include:

[0065] The acquisition unit 610 is used to acquire the number of times the white balance of the camera module shifts to a warmer or cooler tone at the first color temperature.

[0066] The adjustment unit 620 is used to adjust the white balance point of the camera module according to the number of times the white balance of the camera module shifts to a warmer or cooler tone at the first color temperature.

[0067] Figure 6The camera white balance adjustment device includes an acquisition unit for acquiring the number of times the camera module's white balance shifts towards a warmer or cooler state at a first color temperature; and an adjustment unit for adjusting the white balance point of the camera module based on the number of times the white balance shifts towards a warmer or cooler state at the first color temperature, thereby enabling the adjustment of the camera white balance.

[0068] In one embodiment, the adjustment unit 620 is further configured to move the white balance point to a cooler position when the number of times the white balance drifts to a warmer position is greater than the number of times it drifts to a cooler position; and to move the white balance point to a warmer position when the number of times the white balance drifts to a warmer position is less than the number of times it drifts to a cooler position.

[0069] In one embodiment, the adjustment unit 620 is further configured to move the white balance point to a cooler position when the number of times the white balance shifts to a warmer position is greater than the number of times it shifts to a cooler position, so that the probability of the white balance shifting to a cooler position at the first color temperature is greater than a first proportion.

[0070] In one embodiment, the adjustment unit 620 is also used to enhance the intensity of the blue component in the white balance.

[0071] In one embodiment, the adjustment unit 620 is further configured to move the white balance point to a warmer position when the number of times the white balance shifts to a warmer position is less than the number of times it shifts to a cooler position, so that the probability of the camera module shifting to a warmer position at the first color temperature is greater than the second proportion.

[0072] In one embodiment, the adjustment unit 620 is also used to enhance the intensity of the red component in the white balance.

[0073] See Figure 7 , Figure 7 This is a schematic diagram of the structure of a computer device that implements the camera white balance adjustment method provided in the embodiments of this disclosure.

[0074] like Figure 7 As shown, the computer device in this embodiment may include one or more processors 701, a memory 702, and an input / output interface 703. The processor 701, memory 702, and input / output interface 703 are connected via a bus 704. The memory 702 stores a computer program, which includes program instructions. The input / output interface 703 receives and outputs data, such as for data interaction between the host machine and the computer device, or for data interaction between various virtual machines within the host machine. The processor 701 executes the program instructions stored in the memory 702.

[0075] The processor 701 can perform the following operations:

[0076] Obtain the number of times the camera module's white balance shifts to a warmer or cooler tone at the first color temperature; adjust the white balance setting of the camera module based on the number of times the camera module's white balance shifts to a warmer or cooler tone at the first color temperature.

[0077] In some feasible implementations, the processor 701 may be a central processing unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0078] The memory 702 may include read-only memory and random access memory, and provides instructions and data to the processor 701 and input / output interface 703. A portion of the memory 702 may also include non-volatile random access memory. For example, the memory 702 may also store device type information.

[0079] In practice, the computer device can execute the implementation methods provided by the steps in the above embodiments through its built-in functional modules. For details, please refer to the implementation methods provided by the steps in the above embodiments, which will not be repeated here.

[0080] This disclosure provides a computer device including a processor, an input / output interface, and a memory. The processor retrieves a computer program from the memory and executes the steps of the method shown in the above embodiments to perform a transmission operation.

[0081] This disclosure also provides a computer-readable storage medium storing a computer program adapted to be loaded by a processor and execute the methods provided in the steps of the above embodiments. Specific implementations of the steps in the above embodiments can be found therein and will not be repeated here. Furthermore, the beneficial effects of using the same method will not be repeated here either. For technical details not disclosed in the embodiments of the computer-readable storage medium involved in this disclosure, please refer to the description of the method embodiments of this disclosure. As an example, the computer program can be deployed to execute on a single computer device, or on multiple computer devices located in one location, or on multiple computer devices distributed across multiple locations and interconnected via a communication network.

[0082] The computer-readable storage medium can be the apparatus provided in any of the foregoing embodiments or the internal storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Furthermore, the computer-readable storage medium can include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.

[0083] This disclosure also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various alternative embodiments described above.

[0084] The terms "first," "second," etc., used in the specification, claims, and drawings of this disclosure are used to distinguish different objects, not to describe a specific order. Furthermore, the term "comprising," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, apparatuses, products, or devices.

[0085] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of functionality. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.

[0086] The methods and related apparatuses provided in this disclosure are described with reference to the method flowcharts and / or structural diagrams provided in this disclosure. Specifically, each block of the method flowchart and / or structural diagram, as well as combinations of blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions are provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable transmission device to create a machine, such that the instructions, which execute via the processor of the computer or other programmable transmission device, generate instructions for implementing the process. Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable transmission device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable transmission device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or structures illustrate the steps of the functions specified in one or more boxes.

[0087] The above-disclosed embodiments are merely preferred embodiments of this disclosure and should not be construed as limiting the scope of this disclosure. Therefore, any equivalent variations made in accordance with the claims of this disclosure shall still fall within the scope of this disclosure.

Claims

1. A method for adjusting camera white balance, characterized in that, include: Obtain the number of times the camera module's white balance shifts towards a warmer or cooler tone at the first color temperature; Adjusting the white balance point of the camera module based on the number of times the white balance shifts towards warmer and cooler colors at the first color temperature includes: When the number of times the white balance shifts to a warmer position is greater than the number of times it shifts to a cooler position, the white balance point is moved towards the cooler position. When the number of times the white balance shifts to a warmer position is less than the number of times it shifts to a cooler position, the white balance point is moved towards the warmer position.

2. The method according to claim 1, characterized in that, When the number of times the white balance shifts to a warmer position is greater than the number of times it shifts to a cooler position, shifting the white balance point towards the cooler position includes: When the number of times the white balance shifts to a warmer tone is greater than the number of times it shifts to a cooler tone, the white balance point is shifted to a cooler position so that the probability of the white balance shifting to a cooler tone at the first color temperature is greater than the first proportion.

3. The method according to claim 2, characterized in that, Shifting the white balance point towards a cooler position includes: Enhance the intensity of the blue component in the white balance.

4. The method according to claim 1, characterized in that, When the number of times the white balance shifts to a warmer position is less than the number of times it shifts to a cooler position, shifting the white balance point towards a warmer position includes: When the number of times the white balance shifts to a warmer tone is less than the number of times it shifts to a cooler tone, the white balance point is shifted to a warmer position so that the probability of the camera module shifting to a warmer tone at the first color temperature is greater than the second proportion.

5. The method according to claim 4, wherein shifting the white balance point to a warmer position comprises: Enhance the intensity of the red component in the white balance.

6. A camera white balance adjustment device, characterized in that, include: The acquisition unit is used to acquire the number of times the camera module's white balance shifts to a warmer or cooler tone at the first color temperature. The adjustment unit is used to adjust the white balance landing point of the camera module according to the number of times the white balance drifts to a warmer or cooler state at the first color temperature, including: when the number of times the white balance drifts to a warmer state is greater than the number of times it drifts to a cooler state, the white balance landing point is moved to a cooler position. When the number of times the white balance shifts to a warmer position is less than the number of times it shifts to a cooler position, the white balance point is moved towards the warmer position.

7. A computer device, characterized in that, Includes processor, memory, and input / output interfaces; The processor is connected to the memory and the input / output interface respectively, wherein the input / output interface is used to receive data and output data, the memory is used to store computer programs, and the processor is used to call the computer programs so that the computer device executes the method according to any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the method of any one of claims 1-5.

9. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the method described in any one of claims 1-5.

Citation Information

Patent Citations

  • Method, device, equipment and storage medium for determining white balance point region

    CN108540787A

  • An automatic white balance correction method and system

    CN109729332A