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

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

Info

Publication number
CN116847202A
CN116847202A CN202311121506.3A CN202311121506A CN116847202A CN 116847202 A CN116847202 A CN 116847202A CN 202311121506 A CN202311121506 A CN 202311121506A CN 116847202 A CN116847202 A CN 116847202A
Authority
CN
China
Prior art keywords
exposure
current
color filter
corrected
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311121506.3A
Other languages
Chinese (zh)
Other versions
CN116847202B (en
Inventor
杜维康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Guanghetong Wireless Communication Software Co ltd
Original Assignee
Shenzhen Guanghetong Wireless Communication Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Guanghetong Wireless Communication Software Co ltd filed Critical Shenzhen Guanghetong Wireless Communication Software Co ltd
Priority to CN202311121506.3A priority Critical patent/CN116847202B/en
Publication of CN116847202A publication Critical patent/CN116847202A/en
Application granted granted Critical
Publication of CN116847202B publication Critical patent/CN116847202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses an exposure adjustment method, a device, equipment and a medium based on a four-color filter array algorithm, wherein the method comprises the following steps: acquiring current shooting parameters of the camera equipment in a current shooting scene, and generating an exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameters; correcting the current exposure of the image pickup equipment by using an exposure compensation correction command to obtain corrected exposure; and if the photographed picture under the corrected exposure meets the preset abnormal exposure condition, adjusting the corrected exposure based on the preset optimized exposure table to obtain the adjusted exposure so as to photograph the current photographed scene under the adjusted exposure. After exposure compensation is performed on the current exposure of the image pickup device, if the photographed picture still meets the preset abnormal exposure condition, the corrected exposure needs to be adjusted based on the preset optimized exposure table, so that the photographing effect of the image pickup device is further improved, and the user experience is further improved.

Description

Exposure adjustment method and device based on four-color filter array algorithm
Technical Field
The application relates to the technical field of general algorithms, in particular to an exposure adjustment method, device, equipment and medium based on a four-color filter array algorithm.
Background
The high-pass processor with the camera equipment at present contains four-color filter array algorithm configuration so as to utilize the four-color filter array algorithm to carry out physical exposure compensation, increase the exposure degree and further solve the problem that a photographed picture is too dark, but when in special scenes, such as a sunny scene, an excessively dark scene and the like, the picture is adjusted only through exposure compensation, the obtained photographing effect still is difficult to achieve close to a real scene, and the user experience is poor.
In summary, how to improve the photographing effect of the photographing device and further improve the user experience is a problem to be solved in the field.
Disclosure of Invention
Accordingly, the present application is directed to a method, apparatus, device and medium for adjusting exposure based on a four-color filter array algorithm, which improve the photographing effect of an image capturing device, and further improve the user experience. The specific scheme is as follows:
in a first aspect, the application discloses an exposure adjustment method based on a four-color filter array algorithm, which comprises the following steps:
acquiring current shooting parameters of the camera equipment in a current shooting scene, and generating an exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameters;
correcting the current exposure degree of the image pickup equipment by utilizing the exposure compensation correction command to obtain corrected exposure degree;
judging whether a photographed picture under the corrected exposure degree meets a preset abnormal exposure condition, and if so, adjusting the corrected exposure degree based on a preset optimized exposure table to obtain an adjusted exposure degree so as to photograph the current photographed scene under the adjusted exposure degree.
Optionally, the determining whether the photographed image under the corrected exposure meets a preset abnormal exposure condition, if yes, adjusting the corrected exposure based on a preset optimized exposure table to obtain an adjusted exposure, including:
judging whether the brightness gain of the photographed picture under the corrected exposure degree meets a preset overexposure condition, if so, reducing the exposure time corresponding to the corrected exposure degree based on the brightness gain of the target minimum exposure value in the preset optimized exposure table to obtain the adjusted exposure degree.
Optionally, before determining whether the brightness gain of the photographed picture under the corrected exposure degree meets the preset overexposure condition, the method further includes:
and optimizing the current exposure table based on the target minimum exposure value in the received optimized exposure table instruction so as to obtain the preset optimized exposure table.
Optionally, the determining whether the photographed image under the corrected exposure meets a preset abnormal exposure condition, if yes, adjusting the corrected exposure based on a preset optimized exposure table to obtain an adjusted exposure, including:
judging whether the brightness gain of the photographed picture under the corrected exposure degree meets a preset underexposure condition, if so, increasing the exposure time corresponding to the corrected exposure degree based on the brightness gain of the target maximum exposure value in the preset optimized exposure table to obtain the adjusted exposure degree.
Optionally, before determining whether the brightness gain of the photographed picture under the corrected exposure degree meets the preset underexposure condition, the method further includes:
and 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.
Optionally, the obtaining the current shooting parameter of the image capturing device in the current shooting scene, generating the exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameter includes:
acquiring current shooting parameters of the camera equipment in a current shooting scene; the current shooting parameters comprise current sensitivity and current exposure sensitivity;
if the current sensitivity is judged to currently meet the triggering condition of a preset four-color filter array algorithm, determining the exposure line number corresponding to the current sensitivity and the exposure time multiple corresponding to the current exposure sensitivity;
and generating an exposure compensation correction command by using a four-color filter array algorithm, the exposure line length and the exposure time multiple.
Optionally, before the obtaining the current shooting parameters of the image capturing device in the current shooting scene, the method further includes:
and respectively carrying out configuration operation of algorithm logic and configuration operation of an exposure meter sensitivity correction factor on the four-color filter array algorithm so as to generate an exposure compensation correction command by using the configured four-color filter array algorithm and the current shooting parameters.
In a second aspect, the present application discloses an exposure adjustment device based on a four-color filter array algorithm, comprising:
the command acquisition module is used for acquiring current shooting parameters of the camera equipment in the current shooting scene and generating an exposure compensation correction command by utilizing a four-color filter array algorithm and the current shooting parameters;
the exposure correction module is used for correcting the current exposure degree of the image pickup equipment by utilizing the exposure compensation correction command so as to obtain corrected exposure degree;
and the exposure adjustment module is used for judging whether the photographed picture under the corrected exposure meets a preset abnormal exposure condition, and if so, adjusting the corrected exposure based on a preset optimized exposure table to obtain the adjusted exposure so as to photograph the current photographed scene under the adjusted exposure.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the exposure adjustment method disclosed above.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the steps of the exposure adjustment method disclosed previously.
The application has the beneficial effects that: the method comprises the steps of obtaining current shooting parameters of the camera equipment in a current shooting scene, and generating an exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameters; correcting the current exposure degree of the image pickup equipment by utilizing the exposure compensation correction command to obtain corrected exposure degree; judging whether a photographed picture under the corrected exposure degree meets a preset abnormal exposure condition, and if so, adjusting the corrected exposure degree based on a preset optimized exposure table to obtain an adjusted exposure degree so as to photograph the current photographed scene under the adjusted exposure degree. Therefore, after the exposure compensation correction command is utilized to carry out exposure compensation on the current exposure of the image pickup equipment, whether the photographed image under the corrected exposure meets the preset abnormal exposure condition or not needs to be judged, if the photographed image still meets the preset abnormal exposure condition, the corrected exposure is required to be adjusted based on the preset optimized post exposure table, so that the photographing image under the adjusted exposure cannot be excessively bright or excessively dark, the photographing effect of the image pickup equipment is further improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an exposure adjustment method based on a four-color filter array algorithm;
fig. 2 is a schematic view of a photographing picture under an outdoor sky scene according to the present disclosure;
FIG. 3 is a schematic view of exposure compensation according to one embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a specific exposure exception handling process according to the present disclosure;
FIG. 5 is a flowchart of a specific exposure adjustment method according to the present disclosure;
FIG. 6 is a flowchart of another specific exposure adjustment method disclosed in the present application;
FIG. 7 is a schematic illustration of a specific picture taken over-hinting intent of the present disclosure;
FIG. 8 is a schematic view of an optimization of an exposure table according to one embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a photo frame after compensation for secondary exposure according to the present application;
FIG. 10 is a schematic diagram of an exposure adjustment device based on a four-color filter array algorithm according to the present disclosure;
fig. 11 is a block diagram of an electronic device according to the present disclosure.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The high-pass processor with the camera equipment at present contains four-color filter array algorithm configuration so as to utilize the four-color filter array algorithm to carry out physical exposure compensation, increase the exposure degree and further solve the problem that a photographed picture is too dark, but when in special scenes, such as a sunny scene, an excessively dark scene and the like, the picture is adjusted only through exposure compensation, the obtained photographing effect still is difficult to achieve close to a real scene, and the user experience is poor.
Therefore, the application correspondingly provides an exposure adjustment scheme, which improves the photographing effect of the photographing equipment and further improves the experience of the user.
Referring to fig. 1, the embodiment of the application discloses an exposure adjustment method based on a four-color filter array algorithm, which comprises the following steps:
step S11: and acquiring current shooting parameters of the image pickup device in the current shooting scene, and generating an exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameters.
In this embodiment, the obtaining the current shooting parameter of the image capturing apparatus in the current shooting scene, and generating the exposure compensation correction command by using the four-color filter array algorithm and the current shooting parameter includes: acquiring current shooting parameters of the camera equipment in a current shooting scene; the current shooting parameters comprise current sensitivity and current exposure sensitivity; if the current sensitivity is judged to currently meet the triggering condition of a preset four-color filter array algorithm, determining the exposure line number corresponding to the current sensitivity and the exposure time multiple corresponding to the current exposure sensitivity; and generating an exposure compensation correction command by using a four-color filter array algorithm, the exposure line length and the exposure time multiple. For example, a specific view of a photographing frame in an outdoor sky scene is shown in fig. 2, a high-pass platform QCM6490 four-in-one sensor s5k3p9sp qcifa (Quadra Color Filter Array, i.e., a four-color filter array algorithm) photographs the outdoor sky scene, the current sensitivity (ISO) and the current exposure sensitivity of the photographing device in the outdoor sky scene are obtained, and it is required to determine whether the four-color filter array algorithm needs to be triggered currently based on the current sensitivity, i.e., whether the preset four-color filter array algorithm triggering condition is met currently, for example, whether the photographing frame is too dark before photographing in the outdoor sky scene is determined to meet the preset four-color filter array algorithm triggering condition, and determine an exposure line number (linecount) corresponding to the current sensitivity and an exposure time multiple corresponding to the current exposure sensitivity, e.g., the exposure time multiple corresponding to the current exposure sensitivity is 18, and then generate an exposure compensation command by using the four-color filter array algorithm, the exposure line length and the exposure time multiple 18.
In this embodiment, before the obtaining the current shooting parameters of the image capturing apparatus in the current shooting scene, the method further includes: and respectively carrying out configuration operation of algorithm logic and configuration operation of an exposure meter sensitivity correction factor on the four-color filter array algorithm so as to generate an exposure compensation correction command by 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 utilized to perform the configuration operation of the algorithm logic and the configuration operation of the exposure meter sensitivity correction factors on the four-color filter array algorithm respectively, that is, the algorithm logic and the exposure meter sensitivity correction factors are customized, for example, the QCFA sensitivity difference is configured to be 4 times according to the s5k3p9sp characteristic, so as to complete the configuration of the algorithm logic, and the exposure meter sensitivity correction factors are customized to be 4 so as to complete the configuration of the exposure meter sensitivity correction factors, thus, the four-color filter array algorithm can be enabled correctly.
Step S12: and correcting the current exposure degree of the image pickup equipment by using the exposure compensation correction command to obtain corrected exposure degree.
For example, in a specific exposure compensation schematic diagram shown in fig. 3, the Camera hardware abstraction layer issues an exposure compensation correction command to a qcifa software tool in Camera sensor (Camera sensor) hardware, and the qcifa software tool corrects the current exposure of the image capturing device by using the exposure compensation correction command to obtain a corrected exposure, so that a photographed image under the corrected exposure is more attached to a real scene.
Step S13: judging whether a photographed picture under the corrected exposure degree meets a preset abnormal exposure condition, and if so, adjusting the corrected exposure degree based on a preset optimized exposure table to obtain an adjusted exposure degree so as to photograph the current photographed scene under the adjusted exposure degree.
It will be appreciated that there may be too bright or too dark a picture taken at the modified exposure, and therefore further optimisation of the picture taken at the modified exposure is required, i.e. again optimisation of the modified exposure. For example, a specific exposure anomaly processing flow shown in fig. 4 is shown, if the photographed image under the corrected exposure is consistent with the real scene, photographing can be directly performed, if the photographed image under the corrected exposure is too bright or too dark, that is, the photographed image under the corrected exposure meets the preset anomaly exposure condition, the corrected exposure needs to be adjusted based on the preset optimized exposure table to optimize the corrected exposure, so that the photographed image under the adjusted exposure is closer to the actual scene, and thus, photographing is performed under the adjusted exposure, and the photographing effect is better. Wherein, whether the preset abnormal exposure condition is satisfied can be judged according to the brightness Gain (Gain) of the photographed picture under the corrected exposure degree, and if the brightness Gain is in an excessively large range or an excessively small range set in the preset abnormal exposure condition, the preset abnormal exposure condition is judged to be satisfied.
The application has the beneficial effects that: the method comprises the steps of obtaining current shooting parameters of the camera equipment in a current shooting scene, and generating an exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameters; correcting the current exposure degree of the image pickup equipment by utilizing the exposure compensation correction command to obtain corrected exposure degree; judging whether a photographed picture under the corrected exposure degree meets a preset abnormal exposure condition, and if so, adjusting the corrected exposure degree based on a preset optimized exposure table to obtain an adjusted exposure degree so as to photograph the current photographed scene under the adjusted exposure degree. Therefore, after the exposure compensation correction command is utilized to carry out exposure compensation on the current exposure of the image pickup equipment, whether the photographed image under the corrected exposure meets the preset abnormal exposure condition or not needs to be judged, if the photographed image still meets the preset abnormal exposure condition, the corrected exposure is required to be adjusted based on the preset optimized post exposure table, so that the photographing image under the adjusted exposure cannot be excessively bright or excessively dark, the photographing effect of the image pickup equipment is further improved, and the user experience is improved.
Referring to fig. 5, an embodiment of the present application discloses a specific exposure adjustment method based on a four-color filter array algorithm, including:
step S21: and acquiring current shooting parameters of the image pickup device in the current shooting scene, and generating an exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameters.
Step S22: and correcting the current exposure degree of the image pickup equipment by using the exposure compensation correction command to obtain corrected exposure degree.
Step S23: judging whether the brightness gain of the photographed picture under the corrected exposure degree meets a preset overexposure condition, if so, reducing the exposure time corresponding to the corrected exposure degree based on the brightness gain of a target minimum exposure value in a preset optimized exposure table to obtain an adjusted exposure degree so as to photograph the current photographed scene under the adjusted exposure degree.
In this embodiment, before determining whether the brightness gain of the photographed image under the corrected exposure degree meets the preset overexposure condition, the method further includes: and optimizing the current exposure table based on the target minimum exposure value in the received optimized exposure table instruction so as to obtain the preset optimized exposure table. Performing Exposure table customization on a software channel (pipeline) of an ISP (Image Signal Processing), namely image signal processing) sensor 3A algorithm, namely optimizing a current Exposure table to obtain a preset optimized Exposure table, enabling customization to take effect only when matching to a four-color filter array algorithm without influencing Exposure information of a normal shooting mode of a camera, then debugging the customized Exposure table algorithm, setting a dynamic Min EXP (minimum Exposure value), and thus, if a shooting picture under corrected Exposure meets preset overexposure conditions, namely the brightness Gain of the shooting picture is within a preset too small range, re-matching the minimum Exposure threshold for an abnormal Exposure scene after processing by using a four-color filter array software tool, namely reducing Exposure Time (Exposure Time) corresponding to the corrected Exposure by using the brightness Gain (Gain) of the preset optimized Exposure table, namely performing secondary Exposure compensation to solve the problem of excessive darkness of the scene; among them, the 3A algorithm includes AF (Auto Focus), AE (Automatic Exposure, auto exposure), AWB (Auto White Balance ).
Therefore, after the exposure compensation is performed by using the four-color filter array algorithm, in order to prevent the condition that the photo frame still has overexposure, the exposure table is customized in advance, and the exposure table is optimized, so that the exposure time corresponding to the corrected exposure degree can be directly reduced based on the brightness gain of the target minimum exposure value in the preset optimized exposure table, and the photo frame effect under the condition of adjusting the post-exposure degree is better.
Referring to fig. 6, an embodiment of the present application discloses another specific exposure adjustment method based on a four-color filter array algorithm, including:
step S31: and acquiring current shooting parameters of the image pickup device in the current shooting scene, and generating an exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameters.
Step S32: and correcting the current exposure degree of the image pickup equipment by using the exposure compensation correction command to obtain corrected exposure degree.
Step S33: judging whether the brightness gain of the photographed picture under the corrected exposure degree meets a preset underexposure condition, if so, increasing the exposure time corresponding to the corrected exposure degree based on the brightness gain of the target maximum exposure value in a preset optimized exposure table to obtain the adjusted exposure degree so as to photograph the current photographed scene under the adjusted exposure degree.
In this embodiment, before determining whether the brightness gain of the photographed image under the corrected exposure meets the preset underexposure condition, the method further includes: and 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 can be understood that, although the exposure compensation correction command is used to correct the current exposure, the photographed image under the corrected exposure may still be too dark, for example, a specific photographed image shown in fig. 7 is too implicit, that is, after one exposure compensation, exposure optimization is required to be performed again on the photographed image with too dark brightness, which is as follows: before actual shooting, optimizing an exposure table in advance, namely receiving an optimized exposure table command, and optimizing the current exposure table according to a target maximum exposure value in the optimized exposure table command to obtain a preset optimized exposure table; when the secondary exposure compensation is needed in the subsequent process, that is, the brightness gain of the photographed picture belongs to the preset excessive range, the exposure time corresponding to the corrected exposure is increased based on the brightness gain of the target maximum exposure value, such as a specific exposure table optimization schematic diagram shown in fig. 8, and the original exposure time 100000 is increased to 300000, so that the effect of the photographed picture is improved, such as a specific photographed picture schematic diagram after the secondary exposure compensation shown in fig. 9, and the brightness of fig. 9 is improved compared with the brightness of fig. 7, so that each element in the photographed picture of fig. 9 is clearer.
Therefore, the application adds the processing logic for improving 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 on the basis of correcting the current exposure by using the exposure compensation correction command generated by the four-color filter array algorithm, so that the photographed picture under the adjusted exposure is more practical, the photographing effect is improved, and the processing logic is simple, convenient and effective, saves the manpower and time for the effect debugging of the camera, and improves the user experience.
Referring to fig. 10, an embodiment of the present application discloses an exposure adjustment device based on a four-color filter array algorithm, including:
a command obtaining module 11, configured to obtain a current shooting parameter of an image capturing device in a current shooting scene, and generate an exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameter;
an exposure correction module 12 for correcting the current exposure degree of the image capturing apparatus by using the exposure compensation correction command to obtain a corrected exposure degree;
the exposure adjustment module 13 is configured to determine whether the photographed image under the corrected exposure meets a preset abnormal exposure condition, and if so, adjust the corrected exposure based on a preset optimized exposure table to obtain an adjusted exposure, so as to photograph the current photographed scene under the adjusted exposure.
The application has the beneficial effects that: the method comprises the steps of obtaining current shooting parameters of the camera equipment in a current shooting scene, and generating an exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameters; correcting the current exposure degree of the image pickup equipment by utilizing the exposure compensation correction command to obtain corrected exposure degree; judging whether a photographed picture under the corrected exposure degree meets a preset abnormal exposure condition, and if so, adjusting the corrected exposure degree based on a preset optimized exposure table to obtain an adjusted exposure degree so as to photograph the current photographed scene under the adjusted exposure degree. Therefore, after the exposure compensation correction command is utilized to carry out exposure compensation on the current exposure of the image pickup equipment, whether the photographed image under the corrected exposure meets the preset abnormal exposure condition or not needs to be judged, if the photographed image still meets the preset abnormal exposure condition, the corrected exposure is required to be adjusted based on the preset optimized post exposure table, so that the photographing image under the adjusted exposure cannot be excessively bright or excessively dark, the photographing effect of the image pickup equipment is further improved, and the user experience is improved.
Further, the embodiment of the application also provides electronic equipment. Fig. 11 is a block diagram of an electronic device 20, according to an exemplary embodiment, and is not intended to limit the scope of use of the present application in any way.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Specifically, the method comprises the following steps: 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. Wherein the memory 22 is used for storing a computer program, which is loaded and executed by the processor 21 for realizing the following steps:
acquiring current shooting parameters of the camera equipment in a current shooting scene, and generating an exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameters;
correcting the current exposure degree of the image pickup equipment by utilizing the exposure compensation correction command to obtain corrected exposure degree;
judging whether a photographed picture under the corrected exposure degree meets a preset abnormal exposure condition, and if so, adjusting the corrected exposure degree based on a preset optimized exposure table to obtain an adjusted exposure degree so as to photograph the current photographed scene under the adjusted exposure degree.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
judging whether the brightness gain of the photographed picture under the corrected exposure degree meets a preset overexposure condition, if so, reducing the exposure time corresponding to the corrected exposure degree based on the brightness gain of the target minimum exposure value in the preset optimized exposure table to obtain the adjusted exposure degree.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and optimizing the current exposure table based on the target minimum exposure value in the received optimized exposure table instruction so as to obtain the preset optimized exposure table.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
judging whether the brightness gain of the photographed picture under the corrected exposure degree meets a preset underexposure condition, if so, increasing the exposure time corresponding to the corrected exposure degree based on the brightness gain of the target maximum exposure value in the preset optimized exposure table to obtain the adjusted exposure degree.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and 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.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
acquiring current shooting parameters of the camera equipment in a current shooting scene; the current shooting parameters comprise current sensitivity and current exposure sensitivity;
if the current sensitivity is judged to currently meet the triggering condition of a preset four-color filter array algorithm, determining the exposure line number corresponding to the current sensitivity and the exposure time multiple corresponding to the current exposure sensitivity;
and generating an exposure compensation correction command by using a four-color filter array algorithm, the exposure line length and the exposure time multiple.
In some embodiments, the processor may further include the following steps by executing the computer program stored in the memory:
and respectively carrying out configuration operation of algorithm logic and configuration operation of an exposure meter sensitivity correction factor on the four-color filter array algorithm so as to generate an exposure compensation correction command by using the configured four-color filter array algorithm and the current shooting parameters.
In this embodiment, the power supply 23 is configured to provide an 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 the external device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not limited herein in detail; the input/output interface 25 is used for acquiring external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application requirement, which is not limited herein.
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, field programmable gate array), PLA (Programmable Logic Array ). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon include an operating system 221, a computer program 222, and data 223, and the storage may be temporary storage or permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device and the computer program 222, so as to implement the operation and processing of the processor 21 on the mass data 223 in the memory 22, which may be Windows, unix, linux. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the exposure adjustment method performed by the electronic device disclosed in any of the foregoing embodiments. The data 223 may include, in addition to data received by the electronic device and transmitted by the external device, data collected by the input/output interface 25 itself, and so on.
Further, the application also discloses a computer readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the exposure adjustment method disclosed previously. For specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no further description is given here.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the module disclosed in the embodiment, since the module corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application. The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in random access Memory (Random Access Memory), memory, read-Only Memory (ROM), electrically programmable EPROM (Erasable Programmable Read Only Memory), electrically erasable programmable EEPROM (Electrically Erasable Programmable Read Only Memory), registers, hard disk, removable disk, CD-ROM (Compact Disc Read-Only Memory), or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above detailed description of the exposure adjustment method, module, device and medium provided by the present application applies specific examples to illustrate the principles and embodiments of the present application, and the above examples are only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. The exposure adjustment method based on the four-color filter array algorithm is characterized by comprising the following steps of:
acquiring current shooting parameters of the camera equipment in a current shooting scene, and generating an exposure compensation correction command by using a four-color filter array algorithm and the current shooting parameters;
correcting the current exposure degree of the image pickup equipment by utilizing the exposure compensation correction command to obtain corrected exposure degree;
judging whether a photographed picture under the corrected exposure degree meets a preset abnormal exposure condition, and if so, adjusting the corrected exposure degree based on a preset optimized exposure table to obtain an adjusted exposure degree so as to photograph the current photographed scene under the adjusted exposure degree.
2. The exposure adjustment method based on the four-color filter array algorithm according to claim 1, wherein the determining whether the photographed image under the corrected exposure degree satisfies a preset abnormal exposure condition, if so, adjusting the corrected exposure degree based on a preset optimized post-exposure table to obtain an adjusted exposure degree, includes:
judging whether the brightness gain of the photographed picture under the corrected exposure degree meets a preset overexposure condition, if so, reducing the exposure time corresponding to the corrected exposure degree based on the brightness gain of the target minimum exposure value in the preset optimized exposure table to obtain the adjusted exposure degree.
3. The exposure adjustment method based on the four-color filter array algorithm according to claim 2, wherein the determining whether the brightness gain of the photographed picture at the corrected exposure degree satisfies a preset overexposure condition further includes:
and optimizing the current exposure table based on the target minimum exposure value in the received optimized exposure table instruction so as to obtain the preset optimized exposure table.
4. The exposure adjustment method based on the four-color filter array algorithm according to claim 1, wherein the determining whether the photographed image under the corrected exposure degree satisfies a preset abnormal exposure condition, if so, adjusting the corrected exposure degree based on a preset optimized post-exposure table to obtain an adjusted exposure degree, includes:
judging whether the brightness gain of the photographed picture under the corrected exposure degree meets a preset underexposure condition, if so, increasing the exposure time corresponding to the corrected exposure degree based on the brightness gain of the target maximum exposure value in the preset optimized exposure table to obtain the adjusted exposure degree.
5. The exposure adjustment method based on the four-color filter array algorithm according to claim 4, wherein the determining, before whether the brightness gain of the photographed picture at the corrected exposure degree satisfies a preset underexposure condition, further comprises:
and 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.
6. The exposure adjustment method based on the four-color filter array algorithm according to any one of claims 1 to 5, wherein the acquiring current shooting parameters of the image capturing apparatus in the current shooting scene, generating an exposure compensation correction command using the four-color filter array algorithm and the current shooting parameters, includes:
acquiring current shooting parameters of the camera equipment in a current shooting scene; the current shooting parameters comprise current sensitivity and current exposure sensitivity;
if the current sensitivity is judged to currently meet the triggering condition of a preset four-color filter array algorithm, determining the exposure line number corresponding to the current sensitivity and the exposure time multiple corresponding to the current exposure sensitivity;
and generating an exposure compensation correction command by 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 according to claim 6, further comprising, before the acquiring the current shooting parameters of the image capturing apparatus in the current shooting scene:
and respectively carrying out configuration operation of algorithm logic and configuration operation of an exposure meter sensitivity correction factor on the four-color filter array algorithm so as to generate an exposure compensation correction command by 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:
the command acquisition module is used for acquiring current shooting parameters of the camera equipment in the current shooting scene and generating an exposure compensation correction command by utilizing a four-color filter array algorithm and the current shooting parameters;
the exposure correction module is used for correcting the current exposure degree of the image pickup equipment by utilizing the exposure compensation correction command so as to obtain corrected exposure degree;
and the exposure adjustment module is used for judging whether the photographed picture under the corrected exposure meets a preset abnormal exposure condition, and if so, adjusting the corrected exposure based on a preset optimized exposure table to obtain the adjusted exposure so as to photograph the current photographed scene under the adjusted exposure.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the exposure adjustment method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program; wherein the computer program when executed by a processor implements the steps of the exposure adjustment method according to any one of claims 1 to 7.
CN202311121506.3A 2023-09-01 2023-09-01 Exposure adjustment method and device based on four-color filter array algorithm Active CN116847202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311121506.3A CN116847202B (en) 2023-09-01 2023-09-01 Exposure adjustment method and device based on four-color filter array algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311121506.3A CN116847202B (en) 2023-09-01 2023-09-01 Exposure adjustment method and device based on four-color filter array algorithm

Publications (2)

Publication Number Publication Date
CN116847202A true CN116847202A (en) 2023-10-03
CN116847202B CN116847202B (en) 2023-12-05

Family

ID=88172880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311121506.3A Active CN116847202B (en) 2023-09-01 2023-09-01 Exposure adjustment method and device based on four-color filter array algorithm

Country Status (1)

Country Link
CN (1) CN116847202B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647565A (en) * 2012-04-18 2012-08-22 格科微电子(上海)有限公司 Pixel array ranging method, image sensor and image sensing method
JP2014060578A (en) * 2012-09-18 2014-04-03 Olympus Imaging Corp Image pick-up device
CN105120247A (en) * 2015-09-10 2015-12-02 联想(北京)有限公司 White-balance adjusting method and electronic device
CN108270977A (en) * 2018-03-06 2018-07-10 广东欧珀移动通信有限公司 Control method and device, imaging device, computer equipment and readable storage medium storing program for executing
CN108965729A (en) * 2018-08-13 2018-12-07 Oppo广东移动通信有限公司 Control method, device, electronic equipment and computer readable storage medium
CN109040607A (en) * 2018-08-13 2018-12-18 Oppo广东移动通信有限公司 Image formation control method, device, electronic equipment and computer readable storage medium
CN114785966A (en) * 2022-06-21 2022-07-22 深圳比特微电子科技有限公司 Exposure control method, shooting processing method, device and medium
CN115633258A (en) * 2022-09-27 2023-01-20 北京极感科技有限公司 Brightness adjusting method, equipment, storage medium and product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647565A (en) * 2012-04-18 2012-08-22 格科微电子(上海)有限公司 Pixel array ranging method, image sensor and image sensing method
JP2014060578A (en) * 2012-09-18 2014-04-03 Olympus Imaging Corp Image pick-up device
CN105120247A (en) * 2015-09-10 2015-12-02 联想(北京)有限公司 White-balance adjusting method and electronic device
CN108270977A (en) * 2018-03-06 2018-07-10 广东欧珀移动通信有限公司 Control method and device, imaging device, computer equipment and readable storage medium storing program for executing
CN108965729A (en) * 2018-08-13 2018-12-07 Oppo广东移动通信有限公司 Control method, device, electronic equipment and computer readable storage medium
CN109040607A (en) * 2018-08-13 2018-12-18 Oppo广东移动通信有限公司 Image formation control method, device, electronic equipment and computer readable storage medium
CN114785966A (en) * 2022-06-21 2022-07-22 深圳比特微电子科技有限公司 Exposure control method, shooting processing method, device and medium
CN115633258A (en) * 2022-09-27 2023-01-20 北京极感科技有限公司 Brightness adjusting method, equipment, storage medium and product

Also Published As

Publication number Publication date
CN116847202B (en) 2023-12-05

Similar Documents

Publication Publication Date Title
EP3694203A1 (en) Method and device for obtaining exposure compensation value of high-dynamic-range image
EP1814081B1 (en) Exposure control apparatus and image pickup apparatus
CN108737738B (en) Panoramic camera and exposure method and device thereof
CN109218627B (en) Image processing method, image processing device, electronic equipment and storage medium
CN109194882B (en) Image processing method, image processing device, electronic equipment and storage medium
EP1814082A2 (en) Face importance level determining apparatus and method, and image pickup apparatus
CN102053453B (en) Imaging device, method for controlling imaging device
CN103888644B (en) Picture pick-up device and its control method
WO2017096857A1 (en) Method and device for adjusting photographing parameter of camera
CN104050651A (en) Scene image processing method and device
EP3672221A1 (en) Imaging device and imaging method
EP3799413A1 (en) Motion ghost resistant hdr method and portable terminal
CN109729274A (en) Image processing method, device, electronic equipment and storage medium
JP6562770B2 (en) Image processing apparatus, image processing method, program, and storage medium
CN113592739B (en) Lens shading correction method, device and storage medium
CN106791451B (en) Photographing method of intelligent terminal
CN116416122B (en) Image processing method and related device
CN110809146A (en) Image contrast adjusting method and device, terminal equipment and storage medium
JP4841582B2 (en) Image correction program and image correction apparatus
JP2010041174A (en) Image processor
CN116847202B (en) Exposure adjustment method and device based on four-color filter array algorithm
US20170163852A1 (en) Method and electronic device for dynamically adjusting gamma parameter
US8836816B2 (en) Method of adjusting the brightness of a digital camera image
US20200043151A1 (en) Empirical exposure normalization
CN115633258A (en) Brightness adjusting method, equipment, storage medium and product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant