Exposure adjustment method based on quadra color filter array, and device

By using the four-color filtering array algorithm and preset optimization exposure table in the camera device for multiple exposure compensation and adjustments, the problem that it is difficult to achieve similarity to the real scene in special scenes is solved, and the user experience is significantly improved.

WO2025044452A1PCT designated stage expired Publication Date: 2025-03-06FIBOCOM WIRELESS SOFTWARE INC
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/101592
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-01
Filing Date
2024-06-26
Publication Date
2025-03-06

AI Technical Summary

Technical Problem

In special scenarios, such as sunny or too dim scenes, after physical exposure compensation is only performed through the four-color filtering array algorithm, the photo screen is still difficult to achieve similarity to the real scene, and the user experience is poor.

Method used

By obtaining the camera parameters in the current shooting scene, using the four-color filtering array algorithm to generate an exposure compensation correction command, correct the exposure, and determine whether the picture under the corrected exposure meets the preset abnormal exposure conditions. If it is satisfied, adjust the exposure based on the preset optimization exposure table.

Benefits of technology

Through multiple exposure compensation and adjustments, the authenticity of the photo screen can be greatly improved under the adjusted exposure and improved the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024101592_06032025_PF_FP_ABST
    Figure CN2024101592_06032025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are an exposure adjustment method and apparatus based on a quadra color filter array, and a device and a medium. The exposure adjustment method based on a quadra color filter array comprises: acquiring the current photographing parameters of a camera device in a current photographing scene, and using a quadra color filter array and the current photographing parameters to generate an exposure compensation correction command (S11); using the exposure compensation correction command to correct the current exposure of the camera device, so as to obtain a corrected exposure (S12); and determining whether a captured picture under the corrected exposure satisfies a preset abnormal exposure condition, and if the preset abnormal exposure condition is satisfied, adjusting the corrected exposure on the basis of a preset optimized exposure meter, so as to obtain an adjusted exposure to photograph the current photographing scene under the adjusted exposure (S13).
Need to check novelty before this filing date? Find Prior Art

Description

Exposure adjustment method and device based on four-color filter array algorithm

[0001] Citation of Related Applications

[0002] This disclosure claims all rights and interests in the Chinese invention patent application with application number 202311121506.3 filed with the State Intellectual Property Office of the People's Republic of China on September 1, 2023, and entitled "Exposure adjustment method and device based on four-color filter array algorithm", and incorporates the entire contents thereof into this disclosure by reference.

[0003] field

[0004] The present disclosure generally relates to the field of general algorithm technology, and more specifically to an exposure adjustment method, apparatus, device, and medium based on a four-color filter array algorithm.

[0005] background

[0006] Currently, Qualcomm processors used in camera devices include a four-color filter array algorithm configuration that uses the four-color filter array algorithm to perform physical exposure compensation, increase exposure, and thereby solve the problem of the camera image being too dark. However, in special scenes, such as sunny scenes or overly dim scenes, adjusting the image only through exposure compensation still makes it difficult to achieve a photo effect that is close to the real scene, resulting in a poor user experience.

[0007] Overview

[0008] In a first aspect, the present disclosure relates to an exposure adjustment method based on a four-color filter array algorithm, which includes:

[0009] Obtaining current shooting parameters of the camera device in the current shooting scene, and generating an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters;

[0010] Correcting the current exposure of the camera device using the exposure compensation correction command to obtain a corrected exposure; and

[0011] Determine whether the photographed image at the corrected exposure meets a preset abnormal exposure condition. If the preset abnormal exposure condition is met, adjust the corrected exposure based on a preset optimized exposure table to obtain an adjusted exposure, so as to shoot the current shooting scene at the adjusted exposure.

[0012] In certain embodiments, determining whether the photographed image at the corrected exposure satisfies a preset abnormal exposure condition, and if so, adjusting the corrected exposure based on a preset optimized exposure table to obtain an adjusted exposure, includes:

[0013] Determine whether the brightness gain of the photographed image under the corrected exposure meets the preset overexposure condition. If the preset overexposure condition is met, reduce the exposure time corresponding to the corrected exposure based on the brightness gain of the target minimum exposure value in the preset optimized exposure table to obtain the adjusted exposure.

[0014] In some embodiments, before determining whether the photographed image at the corrected exposure meets a preset overexposure condition, the method further includes:

[0015] The current exposure table is optimized based on the target minimum exposure value in the received instruction for optimizing the exposure table to obtain the preset optimized exposure table.

[0016] In certain embodiments, determining whether the photographed image at the corrected exposure satisfies a preset abnormal exposure condition, and if so, adjusting the corrected exposure based on a preset optimized exposure table to obtain an adjusted exposure, includes:

[0017] Determine whether the brightness gain of the photographed image under the corrected exposure meets the preset underexposure condition. If the preset underexposure condition is met, increase the exposure time corresponding to the corrected exposure based on the brightness gain of the target maximum exposure value in the preset optimized exposure table to obtain the adjusted exposure.

[0018] In some embodiments, before determining whether the brightness gain of the photographed image at the corrected exposure meets a preset underexposure condition, the method further includes:

[0019] The current exposure table is optimized based on the target maximum exposure value in the received optimization exposure table instruction to obtain the preset optimized exposure table.

[0020] In some embodiments, obtaining current shooting parameters of the camera device in the current shooting scene and generating an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters includes:

[0021] Obtaining current shooting parameters of the camera device in the current shooting scene; wherein the current shooting parameters include current sensitivity and current exposure sensitivity;

[0022] If it is determined based on the current sensitivity that a preset four-color filter array algorithm trigger condition is currently satisfied, determining the number of exposure rows corresponding to the current sensitivity and the exposure time multiplier corresponding to the current exposure sensitivity; and

[0023] An exposure compensation correction command is generated using a four-color filter array algorithm, the exposure row length, and the exposure time multiple.

[0024] In some embodiments, before obtaining the current shooting parameters of the camera device in the current shooting scene, the method further includes:

[0025] The four-color filter array algorithm is respectively subjected to configuration operations of algorithm logic and configuration operations of exposure meter sensitivity correction factors, so as to generate an exposure compensation correction command using the configured four-color filter array algorithm and the current shooting parameters.

[0026] In a second aspect, the present disclosure relates to an exposure adjustment device based on a four-color filter array algorithm, comprising:

[0027] A command acquisition module is configured to obtain current shooting parameters of the camera device in the current shooting scene, and generate an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters;

[0028] an exposure correction module configured to correct the current exposure of the camera device using the exposure compensation correction command to obtain a corrected exposure; and

[0029] The exposure adjustment module is configured to determine whether the photographed image at the corrected exposure meets a preset abnormal exposure condition. If the preset abnormal exposure condition is met, the corrected exposure is adjusted based on a preset optimized exposure table to obtain an adjusted exposure, so as to shoot the current shooting scene at the adjusted exposure.

[0030] In a third aspect, the present disclosure provides a device for designing an electronic device, comprising:

[0031] a memory configured to store a computer program;

[0032] The processor is configured to execute the computer program to implement the exposure adjustment method based on the four-color filter array algorithm described in the present disclosure.

[0033] In a fourth aspect, the present disclosure relates to a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the exposure adjustment method based on the four-color filter array algorithm described in the present disclosure is implemented.

[0034] In certain embodiments, after the present disclosure uses the exposure compensation correction command to perform exposure compensation on the current exposure of the camera device, it is necessary to determine whether the photographic image under the corrected exposure meets the preset abnormal exposure condition. If the photographic image still meets the preset abnormal exposure condition, it is necessary to adjust the corrected exposure based on the preset optimized exposure table, so that the photographic image under the adjusted exposure will not appear too bright or too dark, so as to further improve the photographic effect of the camera device and thus improve the user experience.

[0035] BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are merely embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.

[0037] FIG1 is a flow chart of an exposure adjustment method based on a four-color filter array algorithm according to an embodiment of the present disclosure;

[0038] FIG2 is a schematic diagram of a photo taken in an outdoor sky scene according to an embodiment of the present disclosure;

[0039] FIG3 is a schematic diagram of exposure compensation according to an embodiment of the present disclosure;

[0040] FIG4 is a schematic diagram of an abnormal exposure process according to an embodiment of the present disclosure;

[0041] FIG5 is a flow chart of an exposure adjustment method according to an embodiment of the present disclosure;

[0042] FIG6 is a flow chart of another exposure adjustment method according to an embodiment of the present disclosure;

[0043] FIG7 is a schematic diagram of a photographic image that is too dark according to an embodiment of the present disclosure;

[0044] FIG8 is a schematic diagram of an exposure meter optimization according to an embodiment of the present disclosure;

[0045] FIG9 is a schematic diagram of a photo taken after double exposure compensation according to an embodiment of the present disclosure;

[0046] FIG10 is a schematic structural diagram of an exposure adjustment device based on a four-color filter array algorithm according to an embodiment of the present disclosure; and

[0047] FIG11 is a structural diagram of an electronic device according to an embodiment of the present disclosure.

[0048] Details

[0049] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of the present disclosure.

[0050] Currently, Qualcomm processors used in camera devices include a four-color filter array algorithm configuration that uses the four-color filter array algorithm to perform physical exposure compensation, increase exposure, and thereby solve the problem of the camera image being too dark. However, in special scenes, such as sunny scenes or overly dim scenes, adjusting the image only through exposure compensation still makes it difficult to achieve a photo effect that is close to the real scene, resulting in a poor user experience.

[0051] To this end, in a first aspect, the present disclosure provides an exposure adjustment solution to improve the photographic effect of the camera device, thereby improving the user experience.

[0052] 1 , an embodiment of the present disclosure discloses an exposure adjustment method based on a four-color filter array algorithm, including:

[0053] Step S11: obtaining current shooting parameters of the camera device in the current shooting scene, and generating an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters;

[0054] Step S12: using the exposure compensation correction command to correct the current exposure of the camera device to obtain a corrected exposure; and

[0055] Step S13: Determine whether the photographed image at the corrected exposure meets the preset abnormal exposure condition. If the preset abnormal exposure condition is met, adjust the corrected exposure based on the preset optimized exposure table to obtain the adjusted exposure, so as to shoot the current shooting scene at the adjusted exposure.

[0056] In certain embodiments, obtaining the current shooting parameters of the camera device in the current shooting scene and generating an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters include: obtaining the current shooting parameters of the camera device in the current shooting scene; wherein, the current shooting parameters include a current sensitivity and a current exposure sensitivity; if it is determined based on the current sensitivity that a preset four-color filter array algorithm trigger condition is currently met, determining the number of exposure rows corresponding to the current sensitivity and the exposure time multiplier corresponding to the current exposure sensitivity; generating an exposure compensation correction command using a four-color filter array algorithm, the exposure row length, and the exposure time multiplier. For example, FIG2 shows a schematic diagram of a photographed image in an outdoor sky scene. The outdoor sky scene is photographed using the Qualcomm QCM6490 four-in-one sensor s5k3p9sp QCFA (quadra color filter array) on the Qualcomm platform. The current sensitivity (ISO) and current exposure sensitivity of the camera device in the outdoor sky scene are obtained. Based on the current sensitivity, it is necessary to determine whether the quadratic filter array algorithm needs to be triggered, that is, whether a preset quadratic filter array algorithm triggering condition is currently met. For example, if the photographed image is too dark before shooting in the outdoor sky scene, it is determined that the preset quadratic filter array algorithm triggering condition is met, and the exposure line count corresponding to the current sensitivity and the exposure time multiplier corresponding to the current exposure sensitivity are determined. For example, if the exposure time multiplier corresponding to the current exposure sensitivity is 18, an exposure compensation correction command is then generated using the quadratic filter array algorithm, the exposure line length, and the exposure time multiplier of 18.

[0057] In certain embodiments, before obtaining the current shooting parameters of the camera device in the current shooting scene, the method further includes: performing configuration operations on the algorithm logic and the exposure meter sensitivity correction factor of the four-color filter array algorithm, so as to generate an exposure compensation correction command using the configured four-color filter array algorithm and the current shooting parameters. According to the physical characteristics of the sensor, the camera hardware abstraction layer (Camera Hal) is used to perform configuration operations on the algorithm logic and the exposure meter sensitivity correction factor of the four-color filter array algorithm, that is, the algorithm logic and the exposure meter sensitivity correction factor are customized. For example, according to the s5k3p9sp characteristics, the QCFA sensitivity difference is configured to 4 times to complete the configuration of the algorithm logic, and the exposure meter sensitivity correction factor is customized to 4 to complete the configuration of the exposure meter sensitivity correction factor. In this way, the four-color filter array algorithm can be correctly enabled.

[0058] In certain embodiments, as shown in the exposure compensation diagram in FIG3 , the camera hardware abstraction layer issues an exposure compensation correction command to the QCFA software tool in the camera sensor hardware. The QCFA software tool uses the exposure compensation correction command to correct the current exposure of the camera device to obtain a corrected exposure, so that the photographed image at the corrected exposure is more consistent with the real scene.

[0059] In certain embodiments, the image captured at the corrected exposure may be too bright or too dark, so further optimization of the image captured at the corrected exposure is required, i.e., re-optimization of the corrected exposure. For example, FIG4 shows a schematic diagram of an exposure abnormality processing flow. If the image captured at the corrected exposure is consistent with the actual scene, then the shot can be taken directly. If the image captured at the corrected exposure is too bright or too dark, i.e., the image captured at the corrected exposure meets the preset abnormal exposure condition, then the corrected exposure needs to be adjusted based on a preset optimized exposure table to optimize the corrected exposure. This makes the image captured at the adjusted exposure closer to reality, and thus, the shooting effect at the adjusted exposure is also better. Whether the preset abnormal exposure condition is met can be determined based on the brightness gain of the image captured at the corrected exposure. If the brightness gain is within the excessively large or too small range set in the preset abnormal exposure condition, then the preset abnormal exposure condition is determined to be met.

[0060] In certain embodiments, after the present disclosure uses the exposure compensation correction command to perform exposure compensation on the current exposure of the camera device, it is necessary to determine whether the photographic image under the corrected exposure meets the preset abnormal exposure condition. If the photographic image still meets the preset abnormal exposure condition, it is necessary to adjust the corrected exposure based on the preset optimized exposure table, so that the photographic image under the adjusted exposure will not appear too bright or too dark, so as to further improve the photographic effect of the camera device and thus improve the user experience.

[0061] 5 , an embodiment of the present disclosure discloses an exposure adjustment method based on a four-color filter array algorithm, which includes:

[0062] Step S21: obtaining current shooting parameters of the camera device in the current shooting scene, and generating an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters;

[0063] Step S22: using the exposure compensation correction command to correct the current exposure of the camera device to obtain a corrected exposure; and

[0064] Step S23: Determine whether the brightness gain of the photographic image at the corrected exposure meets a preset overexposure condition. If the preset overexposure condition is met, reduce the exposure time corresponding to the corrected exposure based on the brightness gain of the target minimum exposure value in the preset optimized exposure table to obtain an adjusted exposure, so as to shoot the current shooting scene at the adjusted exposure.

[0065] In some embodiments, before determining whether the photographed image at the corrected exposure meets the preset overexposure condition, the method further includes: optimizing the current exposure table based on the target minimum exposure value in the received optimized exposure table instruction to obtain the preset optimized exposure table. The exposure table is customized within the software pipeline of the ISP (Image Signal Processing) sensor's 3A algorithm. This optimization optimizes the current exposure table to create a preset optimized exposure table. This customization does not affect the camera's exposure information in normal shooting mode and is only effective when matched to the four-color filter array algorithm. The customized exposure table algorithm is then debugged and a dynamic MinEXP (minimum exposure value) is set. This allows the camera to re-adjust the minimum exposure threshold for scenes with abnormal exposure after processing using the four-color filter array software tool, using the preset optimized exposure table gain to reduce the exposure time corresponding to the corrected exposure. This secondary exposure compensation is then applied to address the overly dark scene. The 3A algorithm includes AF (Auto Focus), AE (Automatic Exposure), and AWB (Auto White Balance).

[0066] Thus, after the present disclosure utilizes the four-color filter array algorithm for exposure compensation, in order to prevent overexposure in the photographic image, the exposure table is customized and optimized in advance. In this way, the exposure time corresponding to the corrected exposure can be directly reduced based on the brightness gain of the target minimum exposure value in the preset optimized exposure table, thereby achieving better photographic images at the adjusted exposure.

[0067] 6 , an embodiment of the present disclosure discloses another exposure adjustment method based on a four-color filter array algorithm, which includes:

[0068] Step S31: obtaining current shooting parameters of the camera device in the current shooting scene, and generating an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters;

[0069] Step S32: using the exposure compensation correction command to correct the current exposure of the camera device to obtain a corrected exposure; and

[0070] Step S33: Determine whether the brightness gain of the photographic image at the corrected exposure meets a preset underexposure condition. If the preset underexposure condition is met, increase the exposure time corresponding to the corrected exposure based on the brightness gain of the target maximum exposure value in the preset optimized exposure table to obtain an adjusted exposure, so as to shoot the current shooting scene at the adjusted exposure.

[0071] In some embodiments, before determining whether the brightness gain of the photographed image at the corrected exposure meets the preset underexposure condition, the method further includes: optimizing the current exposure table based on the target maximum exposure value in the received optimized exposure table instruction to obtain the preset optimized exposure table. It is understandable that although the current exposure is corrected using the exposure compensation correction command, the photographed image at the corrected exposure may still be too dark, for example, as shown in the schematic diagram of an overly dark photographed image in FIG7 . That is, after one exposure compensation, the exposure of the photographed image with too dark brightness needs to be optimized again. The specific process is as follows: before actual shooting, the exposure meter is pre-optimized, that is, an optimized exposure meter instruction is received, and the current exposure meter is optimized according to the target maximum exposure value in the optimized exposure meter instruction to obtain a preset optimized exposure table; when a second exposure compensation is required later, that is, the brightness gain of the photographed image falls within a preset excessive range, the exposure time corresponding to the corrected exposure is increased based on the brightness gain of the target maximum exposure value. As shown in the exposure meter optimization schematic diagram in FIG8 , the original exposure time of 100,000 is increased to 300,000, thereby improving the effect of the photographed image. As shown in the schematic diagram of the photographed image after the second exposure compensation in FIG9 , the brightness of FIG9 is improved compared with that of FIG7 , making the various elements in the photographed image in FIG9 clearer.

[0072] It can be seen that, based on the exposure compensation correction command generated by the four-color filter array algorithm to correct the current exposure, the present invention adds a processing logic for increasing the exposure time corresponding to the corrected exposure based on the brightness gain of the target maximum exposure value in the preset optimized exposure table, so that the photo picture under the adjusted exposure is more in line with reality, and thus the shooting effect is improved. The processing logic is simple, convenient and effective, which saves manpower and time for camera effect debugging and improves user experience.

[0073] As shown in FIG10 , an embodiment of the present disclosure discloses an exposure adjustment device based on a four-color filter array algorithm, which includes:

[0074] The command acquisition module 11 is configured to obtain current shooting parameters of the camera device in the current shooting scene, and generate an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters;

[0075] an exposure correction module 12 configured to correct the current exposure of the camera device using the exposure compensation correction command to obtain a corrected exposure; and

[0076] The exposure adjustment module 13 is configured to determine whether the photographed image at the corrected exposure meets the preset abnormal exposure condition. If the preset abnormal exposure condition is met, the corrected exposure is adjusted based on the preset optimized exposure table to obtain the adjusted exposure, so as to shoot the current shooting scene at the adjusted exposure.

[0077] In certain embodiments, after the present disclosure uses the exposure compensation correction command to perform exposure compensation on the current exposure of the camera device, it is necessary to determine whether the photographic image under the corrected exposure meets the preset abnormal exposure condition. If the photographic image still meets the preset abnormal exposure condition, it is necessary to adjust the corrected exposure based on the preset optimized exposure table, so that the photographic image under the adjusted exposure will not appear too bright or too dark, so as to further improve the photographic effect of the camera device and thus improve the user experience.

[0078] In a third aspect, an embodiment of the present disclosure further provides an electronic device. FIG11 is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the diagram should not be considered as any limitation on the scope of application of the present disclosure.

[0079] FIG11 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure, which includes: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is configured to store a computer program, which is loaded and executed by the processor 21 to implement the following steps:

[0080] Obtaining current shooting parameters of the camera device in the current shooting scene, and generating an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters;

[0081] Correcting the current exposure of the camera device using the exposure compensation correction command to obtain a corrected exposure; and

[0082] Determine whether the photographed image at the corrected exposure meets a preset abnormal exposure condition. If the preset abnormal exposure condition is met, adjust the corrected exposure based on a preset optimized exposure table to obtain an adjusted exposure, so as to shoot the current shooting scene at the adjusted exposure.

[0083] In certain embodiments, the processor can implement the following steps by executing the computer program stored in the memory:

[0084] Determine whether the brightness gain of the photographed image under the corrected exposure meets the preset overexposure condition. If the preset overexposure condition is met, reduce the exposure time corresponding to the corrected exposure based on the brightness gain of the target minimum exposure value in the preset optimized exposure table to obtain the adjusted exposure.

[0085] In certain embodiments, the processor can implement the following steps by executing the computer program stored in the memory:

[0086] The current exposure table is optimized based on the target minimum exposure value in the received instruction for optimizing the exposure table to obtain the preset optimized exposure table.

[0087] In certain embodiments, the processor can implement the following steps by executing the computer program stored in the memory:

[0088] Determine whether the brightness gain of the photographed image under the corrected exposure meets the preset underexposure condition. If the preset underexposure condition is met, increase the exposure time corresponding to the corrected exposure based on the brightness gain of the target maximum exposure value in the preset optimized exposure table to obtain the adjusted exposure.

[0089] In certain embodiments, the processor can implement the following steps by executing the computer program stored in the memory:

[0090] The current exposure table is optimized based on the target maximum exposure value in the received optimization exposure table instruction to obtain the preset optimized exposure table.

[0091] In certain embodiments, the processor can implement the following steps by executing the computer program stored in the memory:

[0092] Obtaining current shooting parameters of the camera device in the current shooting scene; wherein the current shooting parameters include current sensitivity and current exposure sensitivity;

[0093] If it is determined based on the current sensitivity that a preset four-color filter array algorithm trigger condition is currently satisfied, determining the number of exposure rows corresponding to the current sensitivity and the exposure time multiplier corresponding to the current exposure sensitivity; and

[0094] An exposure compensation correction command is generated using a four-color filter array algorithm, the exposure row length, and the exposure time multiple.

[0095] In certain embodiments, the processor may further comprise the following steps by executing the computer program stored in the memory:

[0096] The four-color filter array algorithm is respectively subjected to configuration operations of algorithm logic and configuration operations of exposure meter sensitivity correction factors, so as to generate an exposure compensation correction command using the configured four-color filter array algorithm and the current shooting parameters.

[0097] In certain embodiments, the power supply 23 is configured to provide operating voltage for each hardware device on the electronic device; the communication interface 24 can create a data transmission channel between the electronic device and an external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present disclosure, and is not specifically limited here; the input and output interface 25 is configured to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0098] In some embodiments, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor configured to process data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor configured to process data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is configured to be responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor configured to process computing operations related to machine learning.

[0099] In some embodiments, the memory 22 serves as a carrier for resource storage, which may be a read-only memory, a random access memory, a disk, or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222, and data 223, etc. The storage method may be temporary storage or permanent storage.

[0100] In certain embodiments, an operating system 221 is configured to manage and control the various hardware devices and computer programs 222 on the electronic device, enabling the processor 21 to operate and process the massive amounts of data 223 in the memory 22. The operating system 221 may be Windows, Unix, Linux, or other operating systems. In addition to including computer programs capable of implementing the exposure adjustment method disclosed in any of the aforementioned embodiments and executed by the electronic device, the computer programs 222 may further include computer programs capable of performing other specific tasks. Data 223 may include data received by the electronic device from external devices, as well as data collected by its own input / output interface 25.

[0101] In a fourth aspect, the present disclosure relates to a computer-readable storage medium for storing a computer program. When executed by a processor, the computer program implements the exposure adjustment method based on the four-color filter array algorithm described in this disclosure. The specific steps of this method can be found in the corresponding contents disclosed in the aforementioned embodiments and will not be further elaborated here.

[0102] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. References to the same or similar parts between the various embodiments are sufficient. The modules disclosed in the embodiments are described briefly because they correspond to the methods disclosed in the embodiments. For relevant details, refer to the method description.

[0103] Professionals may further appreciate that the units and algorithmic steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure. The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly using hardware, software modules executed by a processor, or a combination of the two. The software module can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable EPROM (Erasable Programmable Read Only Memory), electrically erasable programmable EEPROM (Electrically Erasable Programmable read only memory), register, hard disk, removable disk, CD-ROM (Compact Disc Read-Only Memory), or any other form of storage medium known in the technical field.

[0104] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0105] The above is a detailed introduction to the exposure adjustment method, module, device and medium based on the four-color filter array algorithm provided by the present disclosure. Specific examples are used herein to illustrate the principles and implementation methods of the present disclosure. The description of the above embodiments is only used to help understand the method and core ideas of the present disclosure. At the same time, for those skilled in the art, according to the ideas of the present disclosure, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present disclosure.

Claims

1. An exposure adjustment method based on a four-color filter array algorithm, comprising: Acquire current shooting parameters of the camera device in the current shooting scene, and generate an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters; Correcting the current exposure of the camera device using the exposure compensation correction command to obtain a corrected exposure; as well as Determine whether the photographed picture at the corrected exposure satisfies a preset abnormal exposure condition; if so, adjust the corrected exposure based on a preset optimized exposure table to obtain an adjusted exposure, so as to shoot the current shooting scene at the adjusted exposure.

2. The exposure adjustment method based on the four-color filter array algorithm as claimed in claim 1, wherein: The determining whether the photographed picture at the corrected exposure satisfies a preset abnormal exposure condition, and if the preset abnormal exposure condition is satisfied, adjusting the corrected exposure based on a preset optimized exposure table to obtain an adjusted exposure, comprises: Determine whether the brightness gain of the photographed image under the corrected exposure meets the preset overexposure condition. If the preset overexposure condition is met, reduce the exposure time corresponding to the corrected exposure based on the brightness gain of the target minimum exposure value in the preset optimized exposure table to obtain the adjusted exposure.

3. The exposure adjustment method based on the four-color filter array algorithm as claimed in claim 1 or 2, wherein: Before determining whether the photographed image at the corrected exposure meets a preset overexposure condition, the method further includes: The current exposure table is optimized based on the target minimum exposure value in the received instruction for optimizing the exposure table to obtain the preset optimized exposure table.

4. The exposure adjustment method based on the four-color filter array algorithm according to any one of claims 1 to 3, wherein: The determining whether the photographed picture at the corrected exposure satisfies a preset abnormal exposure condition, and if the preset abnormal exposure condition is satisfied, adjusting the corrected exposure based on a preset optimized exposure table to obtain an adjusted exposure, comprises: Determine whether the brightness gain of the photographed image under the corrected exposure meets the preset underexposure condition. If the preset underexposure condition is met, increase the exposure time corresponding to the corrected exposure based on the brightness gain of the target maximum exposure value in the preset optimized exposure table to obtain the adjusted exposure.

5. The exposure adjustment method based on the four-color filter array algorithm as claimed in claim 4, wherein: Before determining whether the brightness gain of the photographed image at the corrected exposure satisfies a preset underexposure condition, the method further includes: The current exposure table is optimized based on the target maximum exposure value in the received optimization exposure table instruction to obtain the preset optimized exposure table.

6. The exposure adjustment method based on the four-color filter array algorithm according to any one of claims 1 to 5, wherein: The step of obtaining the current shooting parameters of the camera device in the current shooting scene and generating an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters includes: Acquire current shooting parameters of the camera device in the current shooting scene; wherein the current shooting parameters include current sensitivity and current exposure sensitivity; If it is determined based on the current sensitivity that the preset four-color filter array algorithm trigger condition is currently satisfied, determining the number of exposure rows corresponding to the current sensitivity and the exposure time multiple corresponding to the current exposure sensitivity; and An exposure compensation correction command is generated using a four-color filter array algorithm, the exposure line length, and the exposure time multiple.

7. The exposure adjustment method based on the four-color filter array algorithm as claimed in claim 6, wherein: Before obtaining the current shooting parameters of the camera device in the current shooting scene, the method further includes: The four-color filter array algorithm is respectively subjected to configuration operations of algorithm logic and configuration operations of exposure meter sensitivity correction factors, so as to generate an exposure compensation correction command using the configured four-color filter array algorithm and the current shooting parameters.

8. An exposure adjustment device based on a four-color filter array algorithm, comprising: A command acquisition module is configured to acquire current shooting parameters of the camera device in the current shooting scene, and generate an exposure compensation correction command using a four-color filter array algorithm and the current shooting parameters; an exposure correction module, configured to correct the current exposure of the camera device using the exposure compensation correction command to obtain a corrected exposure; as well as The exposure adjustment module is configured to determine whether the photographed image at the corrected exposure meets a preset abnormal exposure condition. If the preset abnormal exposure condition is met, the corrected exposure is adjusted based on a preset optimized exposure table to obtain an adjusted exposure, so as to shoot the current shooting scene at the adjusted exposure.

9. Electronic equipment, comprising: a memory configured to store a computer program; A processor is configured to execute the computer program to implement the exposure adjustment method based on the four-color filter array algorithm as described in any one of claims 1 to 7.

10. A computer-readable storage medium for storing a computer program; wherein: When the computer program is executed by a processor, the exposure adjustment method based on the four-color filter array algorithm described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and device for improving automatic exposure effect realized through manual adjustment

    CN103905740A

  • Imaging control method, device, electronic device, and computer-readable storage medium

    CN109040607A

  • An automatic exposure control method and an electronic device using the same

    CN109819155A

  • Image exposure method and electronic equipment

    CN113163128A

  • Brightness adjustment method and device, storage medium and product

    CN115633258A