Methods and systems for controlling exposure parameters of imaging device

The method and system dynamically adjust exposure parameters based on real-time scene analysis to enhance image quality by balancing brightness levels and adapting to changing conditions, addressing the challenge of static exposure control in imaging devices.

WO2026020741A1PCT designated stage Publication Date: 2026-01-29ZHEJIANG DAHUA TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/143886
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-23
Filing Date
2024-12-30
Publication Date
2026-01-29

AI Technical Summary

Technical Problem

Existing imaging devices struggle to dynamically adjust exposure parameters in response to changing scene conditions, such as nighttime and fast-moving scenes, leading to suboptimal exposure effects.

Method used

A method and system for controlling exposure parameters of an imaging device that dynamically adjusts exposure ratios based on real-time scene information, using a processor to determine an exposure ratio allocation sequence and control the imaging device accordingly, incorporating modules for frame acquisition, determination, and control.

Benefits of technology

This approach improves exposure control effects by balancing bright and dark portions, reducing image flickering, and adapting to various lighting conditions, resulting in enhanced image quality through flexible exposure parameter adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024143886_29012026_PF_FP_ABST
    Figure CN2024143886_29012026_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a method and apparatus for controlling at least one exposure parameter of an imaging device, and a storage medium. The method comprises obtaining a plurality of current frames captured by the imaging device; determining an exposure ratio allocation sequence based on a current scene type of a shooting scene of the plurality of current frames; and controlling, based on the exposure ratio allocation sequence, the imaging device to operate according to a corresponding allocation ratio of each of the at least one exposure parameter, so as to obtain the plurality of target frames.
Need to check novelty before this filing date? Find Prior Art

Description

METHODS AND SYSTEMS FOR CONTROLLING EXPOSURE PARAMETERS OF IMAGING DEVICECROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority of Chinese Patent Application No. 202410988201.0, filed on July 23, 2024, the entire contents of which are incorporated herein by reference.TECHNICAL FIELD

[0002] The present disclosure relates to the field of image processing, and in particular to a method, system, apparatus, and a storage medium for controlling at least one exposure parameter of an imaging device.BACKGROUND

[0003] With the rapid development of image processing technology, the technology of high dynamic range (HDR) imaging has become one of the hot research directions in photography. By synthesizing multiple frames with different exposure parameters, the HDR technology can significantly improve the contrast and details of the image, thereby better restoring the actual lighting condition of the scene.

[0004] When an image device captures images or videos, it usually needs to control the exposure parameters to achieve better shooting effects. However, due to the changing scene conditions and the single control manner for the exposure parameters, the exposure parameters cannot be effectively adjusted dynamically according to the actual scene changes (e.g., nighttime and fast-moving scenes) , which affects the exposure effect of the imaging device.

[0005] Therefore, it is desirable to provide methods and systems for controlling exposure parameters of an imaging device to optimize the exposure control effect of the imaging device.SUMMARY

[0006] One or more embodiments of the present disclosure provide a method implemented on a computing device having one or more processors and one or more storage devices for controlling at least one exposure parameter of an imaging device. The method may comprise obtaining a plurality of current frames captured by the imaging device; determining an exposure ratio allocation sequence based on a current scene type of a shooting scene of the plurality of current frames, wherein the exposure ratio allocation sequence includes an allocation ratio of each of the at least one exposure parameter among a plurality of exposure parameters of the imaging device in a plurality of target frames to be captured; and controlling, based on the exposure ratio allocation sequence, the imaging device to operate according to a corresponding allocation ratio of each of the at least one exposure parameter, so as to obtain the plurality of target frames.

[0007] One or more embodiments of the present disclosure provide a system implemented on a computing device having one or more processors and one or more storage devices for controlling at least one exposure parameter of an imaging device. The system may comprise an acquisition module, a determination module, and a control module. The acquisition module may be configured to obtain a plurality of current frames captured by the imaging device. The determination module may be configured to determine an exposure ratio allocation sequence based on a current scene type of a shooting scene of the plurality of current frames. The exposure ratio allocation sequence may include an allocation ratio of each of the at least one exposure parameter among a plurality of exposure parameters of the imaging device in a plurality of target frames to be captured. The control module may be configured to control, based on the exposure ratio allocation sequence, the imaging device to operate according to a corresponding allocation ratio of each of the at least one exposure parameter, so as to obtain the plurality of target frames.

[0008] One or more embodiments of the present disclosure provide an apparatus for controlling at least one exposure parameter of an imaging device, comprising at least one processor and at least one storage device. The at least storage device may be configured to store computer instructions. The at least one processor may be configured execute at least a portion of the computer instructions to implement the method for controlling the at least one exposure parameter of the imaging device.

[0009] One or more embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer instructions. When a computer reads the computer instructions, the computer may execute the method for controlling the at least one exposure parameter of the image device.

[0010] Some embodiments of the present disclosure have at least the following beneficial effects. (1) The exposure ratio is dynamically adjusted according to actual-time scene information, so as to improve the exposure control effect in different scenes, better balance the details of bright and dark portions, and flexibly adapt to various complex lighting conditions. (2) The current frame brightness level of the image is adjusted successively according to the preset step size, which can reduce negative effects such as flickering of the image. (3) By dynamically adjusting the target allocation ratio of the exposure parameters, the imaging device can dynamically adjust the exposure parameters according to the current frame ambient brightness level.BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The present disclosure will be further illustrated by way of exemplary embodiments, which will be described in detail by means of the accompanying drawings. These embodiments are not limiting, and in these embodiments, the same numbering indicates the same structure, wherein:

[0012] FIG. 1 is a schematic diagram illustrating an application scenario of a system for controlling at least one exposure parameter of an imaging device according to some embodiments of present disclosure;

[0013] FIG. 2 is a schematic diagram illustrating an exemplary system for controlling at least one exposure parameter of an imaging device according to some embodiments of present disclosure;

[0014] FIG. 3 is a schematic diagram illustrating exemplary hardware and software components of an exemplary computing device according to some embodiments of the present disclosure;

[0015] FIG. 4 is a flowchart illustrating an exemplary process for controlling at least one exposure parameter of an imaging device according to some embodiments of the present disclosure;

[0016] FIG. 5 is a flowchart illustrating an exemplary process for updating a current frame ambient brightness level according to some embodiments of the present disclosure;

[0017] FIG. 6 is a flowchart illustrating an exemplary process for determining an exposure ratio allocation sequence according to some embodiments of the present disclosure; and

[0018] FIG. 7 is a flowchart illustrating an exemplary process for determining an exposure ratio allocation sequence according to some embodiments of the present disclosure.DETAILED DESCRIPTION

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the accompanying drawings required to be used in the description of the embodiments are briefly described below. Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present disclosure, and it is possible for a person of ordinary skill in the art to apply the present disclosure to other similar scenarios in accordance with these drawings without creative labor. Unless obviously obtained from the context or the context illustrates otherwise, the same numeral in the drawings refers to the same structure or operation.

[0020] It should be understood that the terms “system” , “device” , “unit” and / or “module” used herein are a way to distinguish between different components, elements, parts, sections, or assemblies at different levels. However, the terms may be replaced by other expressions if other words accomplish the same purpose.

[0021] As shown in the present disclosure and in the claims, unless the context clearly suggests an exception, the words “one” , “a” , “an” , “one kind” , and / or “the” do not refer specifically to the singular, but may also include the plural. Generally, the terms “including” and “comprising” suggest only the inclusion of clearly identified steps and elements, however, the steps and elements that do not constitute an exclusive list, and the method or apparatus may also include other steps or elements.

[0022] Flowcharts are used in the present disclosure to illustrate the operations performed by a system according to embodiments of the present disclosure, and the related descriptions are provided to aid in a better understanding of the magnetic resonance imaging method and / or system. It should be appreciated that the preceding or following operations are not necessarily performed in an exact sequence. Instead, steps can be processed in reverse order or simultaneously. Also, it is possible to add other operations to these processes or to remove a step or steps from these processes.

[0023] By synthesizing a plurality of frames with different exposure parameters, the HDR technology can significantly improve the contrast and detail performance of the image, thereby better restoring the actual lighting condition of the scene. The plurality of frames with different exposure parameters may include at least one long frame and at least one short frame. By fusing the at least one long frame and the at least one short frame, the fused image retains details of bright and dark portions and provides greater color depth, thereby significantly improving the contrast and detail performance of the image.

[0024] When an image device captures images or videos, it usually needs to control the exposure parameters to achieve better shooting effects. However, due to the changing scene conditions and the single control manner for the exposure parameters, the exposure parameters cannot be effectively and dynamically adjusted according to the actual scene changes (e.g., nighttime and fast-moving scenes) , which affects the exposure effect of the imaging device.

[0025] In view of this, some embodiments of the present disclosure provide a method, a system, and a storage medium for controlling at least one exposure parameter of an imaging device, which can adopt a more flexible allocation strategy for exposure control, improve the exposure control effect, improve the exposure control effect of various scenes, and make the overall exposure control strategy more flexible and adaptable.

[0026] FIG. 1 is a schematic diagram illustrating an application scenario of a system for controlling at least one exposure parameter of an imaging device according to some embodiments of present disclosure. In some embodiments, as shown in FIG. 1, an application scenario of the system 100 for controlling the at least one exposure parameter of the imaging device may include an imaging device 110, a network 120, a storage device 130, and a processor 140. In some embodiments, the system for controlling the at least one exposure parameter of the imaging device may be performed by implementing the method and / or process disclosed in the present disclosure.

[0027] The imaging device 110 refers to any device with a processing capability and an imaging function, such as an electronic device, a camera, a video camera, etc., with the imaging function, which is not limited in the embodiments of the present disclosure. In some embodiments, one or more imaging devices 110 may be provided. In some embodiments, the imaging device 110 may dynamically adjust the at least one exposure parameter according to the method for controlling the at least one exposure parameter of the imaging device described in the present disclosure. In some embodiments, the imaging device 110 may send obtained frames to the processor 140 for processing. In some embodiments, the imaging device 110 may send the obtained frames to the storage device 130 for storage.

[0028] The network 120 may include any suitable network that facilitates information and / or data exchange. In some embodiments, one or more components of the system 100 may exchange information and / or data via the network 120. For example, the processor 140 may obtain a plurality of frames captured by the imaging device 110 via the network 120. The network 120 may include a local area network (LAN) , a wide area network (WAN) , a wired network, a wireless network, or the like, or any combination thereof.

[0029] The storage device 130 may store data or information generated by other devices. In some embodiments, the storage device 130 may store data and / or information captured by the imaging device 110, such as image data, etc. In some embodiments, the storage device 130 may store data and / or information processed by the processing device 140, such as an exposure ratio allocation sequence. The storage device 130 may include one or more storage components. Each of the one or more storage components may be an independent device or part of other devices. The storage device may be local or implemented through the cloud. In some embodiments, the storage device 130 may include a mass memory, a removable memory, a volatile read-write memory, a read-only memory (ROM) , or the like, or any combination thereof. In some embodiments, the storage device 130 may be implemented on a cloud platform. In some embodiments, the storage device 130 may be part of the processor 140.

[0030] The processor 140 may be configured to manage data resources and process data and / or information from various modules of the application scenario of the system 100 for controlling the at least one exposure parameter of the imaging device and / or an external data source. The processor 140 may execute program instructions based on the data, information and / or processing results to implement one or more functions described in the present disclosure. For example, the processor 140 may obtain a plurality of current frames captured by the imaging device; determine an exposure ratio allocation sequence based on a current scene type of a shooting scene of the plurality of current frames; and control, based on the exposure ratio allocation sequence, the imaging device to operate according to a corresponding allocation ratio of each of the at least one exposure parameter, so as to obtain a plurality of target frames.

[0031] In some embodiments, the processor 140 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, the processor 140 may be local or remote. In some embodiments, the processor 140 may be implemented on the cloud platform. Merely by way of example, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, or the like, or any combination thereof.

[0032] FIG. 2 is a schematic diagram illustrating an exemplary system for controlling at least one exposure parameter of an imaging device according to some embodiments of present disclosure.

[0033] In some embodiments, as shown in FIG. 2, a system 200 for controlling at least one exposure parameter of an imaging device may include an acquisition module 210, a determination module 220, and a control module 230. In some embodiments, one or more of the acquisition module 210, the determination module 220, and the control module 230 may be integrated into a processor.

[0034] In some embodiments, the acquisition module 210 may be configured to obtain a plurality of current frames captured by the imaging device.

[0035] In some embodiments, the determination module 220 may be configured to determine an exposure ratio allocation sequence based on a current scene type of a shooting scene of the plurality of current frames.

[0036] In some embodiments, the determination module 220 may be further configured to obtain scene information of the shooting scene, and determine the current scene type based on the scene information.

[0037] In some embodiments, the determination module 220 may be further configured to determine exposure priorities of at least two exposure parameters based on the current scene type; and determine the exposure ratio allocation sequence based on the exposure priorities, a target allocation ratio of the at least two exposure parameters, and a total exposure ratio of the plurality of current frames.

[0038] In some embodiments, the determination module 220 may be further configured to determine the target allocation ratio based on a current frame ambient brightness level. In some embodiments, the determination module 220 may be further configured to: in response to determining that the current frame ambient brightness level is greater than a first brightness threshold, designate a first ratio as the target allocation ratio; in response to determining that the current frame ambient brightness level is less than a second brightness threshold, designate a second ratio as the target allocation ratio; and in response to determining that the current frame ambient brightness level is less than or equal to the first brightness threshold and greater than or equal to the second brightness threshold, determine the target allocation ratio based on the first ratio and the second ratio.

[0039] In some embodiments, the determination module 220 may be further configured to determine a total exposure ratio by performing exposure ratio calculation based on the current frame ambient brightness level.

[0040] In some embodiments, the determination module 220 may be further configured to determine the exposure ratio allocation sequence by allocating the total exposure ratio to the at least two exposure parameters in sequence based on an order of the exposure priorities of the at least two exposure parameters; if a current ranked exposure parameter of the at least two exposure parameters reaches a corresponding allocation ratio, allocating the total exposure ratio to a next ranked exposure parameter of the at least two exposure parameters until the total exposure ratio is fully allocated; or if each of the at least two exposure parameters reaches a corresponding allocation ratio and the total exposure ratio is not fully allocated, continuing allocating the total exposure ratio according to an actual allocable ratio of the each of the at least two exposure parameters.

[0041] In some embodiments, the determination module 220 may be further configured to determine a preset scene condition for the current scene type; and perform a preset configuration for the preset scene condition to determine the exposure priorities. In some embodiments, the determination module 220 may be further configured to determine the preset scene condition for the current scene type; and prioritize, based on the preset scene condition and a preset sorting algorithm, the at least two exposure parameters to determine the exposure priorities.

[0042] In some embodiments, the determination module 220 may be further configured to determine one or more target exposure parameters from the plurality of exposure parameters based on the preset scene condition; or determine the one or more target exposure parameters from the plurality of exposure parameters based on the preset scene condition and the exposure priorities; and determine the exposure ratio allocation sequence of the one or more target exposure parameters based on the preset scene condition.

[0043] In some embodiments, the determination module 220 may be further configured to adjust one or more allocable multiples of the one or more target exposure parameters based on the preset scene condition to determine the exposure ratio allocation sequence of the one or more target exposure parameters.

[0044] In some embodiments, the determination module 220 may be further configured to determine an adjustment step size based on at least one of the current scene type or the exposure priorities; and determine the exposure ratio allocation sequence of the one or more target exposure parameters based on a current exposure ratio allocation of the one or more target exposure parameters and the adjustment step size, the current exposure ratio allocation including an exposure ratio allocation used when capturing the plurality of current frames.

[0045] In some embodiments, the determination module 220 may be further configured to determine the adjustment step size based on the current frame ambient brightness level, the first brightness threshold, and the second brightness threshold, the first brightness threshold being greater than the second brightness threshold.

[0046] In some embodiments, the control module 230 may be configured to control, based on the exposure ratio allocation sequence, the imaging device to operate according to a corresponding allocation ratio of each of the at least one exposure parameter, so as to obtain the plurality of target frames.

[0047] In some embodiments, the system 200 for controlling the at least one exposure parameter of the imaging device may further include an updating module 240. In some embodiments, the updating module 240 may be configured to: before determining the current scene type based on the scene information, obtain the current frame ambient brightness level and a target ambient brightness level; and update the current frame ambient brightness level based on the current frame ambient brightness level and the target ambient brightness level.

[0048] In some embodiments, the updating module 240 may be further configured to: in response to determining that a first difference between the current frame ambient brightness level and the target ambient brightness level is greater than a first difference threshold, update the current frame ambient brightness level.

[0049] In some embodiments, the updating module 240 may be further configured to obtain a current actual ambient brightness level of each of the plurality of current frames when the plurality of current frames are captured and a historical actual ambient brightness level; and in response to determining that a second difference between the current actual ambient brightness level and the historical actual ambient brightness level is greater than a second difference threshold, update the target ambient brightness level by designating the current actual ambient brightness level as the target ambient brightness level.

[0050] More descriptions of the acquisition module 210, the determination module 220, the control module 230, and the updating module 240 may be found in the related descriptions of FIGs. 4-7.

[0051] It should be understood that the system and the modules thereof shown in FIG. 2 can be implemented in various ways. It should be noted that the above description of the system 200 for controlling the at least one exposure parameter of the imaging device and the modules thereof is only for the convenience of description and cannot limit the present disclosure to the scope of the embodiments. It can be understood that for those skilled in the art, after understanding the principle of the system, it is possible to arbitrarily combine the various modules or form a subsystem to connect with other modules without deviating from this principle. In some embodiments, the acquisition module 210, the determination module 220, the control module 230, and the updating module 240 disclosed in FIG. 2 can be different modules in a system, or a module can actualize the functions of two or more modules mentioned above. For example, each module can share a storage module, or each module can have its own storage module. Such variations are all within the scope of protection of the present disclosure.

[0052] FIG. 3 is a schematic diagram illustrating exemplary hardware and software components of an exemplary computing device according to some embodiments of the present disclosure.

[0053] A computing device 300 may be a general-purpose computer or a special-purpose computer, both of which may be used to implement the method for controlling the at least one exposure parameter of the imaging device described in some embodiments of the present disclosure. The computing device 300 may include various modules for implementing the system for controlling the at least one exposure parameter of the imaging device described in the present disclosure. For example, the processor may be implemented on the computing device 300 through its hardware, software program, firmware or a combination thereof. For convenience, only one computer is shown in the figure. However, the computer functions related to controlling the exposure parameters of the imaging device described in the present disclosure may be implemented in a distributed manner on a plurality of similar platforms to disperse the processing load.

[0054] For example, the computing device 300 may include a communication port 350 which is connected to and / or from a network to enable data communication. The computing device 300 may further include a processor 320 in the form of one or more processors to execute program instructions. An exemplary computer platform may include an internal communication bus 310, different types of program memories and data memories (e.g., a disk 370, a read-only memory (ROM) 330, or a random-access memory (RAM) 340, and various data files processed and / or transmitted by the computer. The exemplary computer platform may further program instructions executed by the processor 320 stored in the ROM 330, the RAM 340, and / or other forms of non-transitory storage media. The methods and / or processes of the present disclosure may be implemented in the form of program instructions. The computing device 300 may further include an input / output (I / O) interface 360 which may support input / output between the computer and other components. The computing device 300 may receive programming and data through network communication.

[0055] For illustration purposes only, only one CPU and / or processor is exemplarily described in the computing device 300. However, it should be noted that the computing device 300 in some embodiments of the present disclosure may include a plurality of CPUs and / or processors, and thus the operations and / or methods implemented by one CPU and / or processor described in the present disclosure may also be implemented by the plurality of CPUs and / or processors jointly or independently. For example, in the present disclosure, if the CPU and / or processor of the computing device 300 performs an operation A and an operation B, it should be understood that the operation A and the operation B may also be performed jointly or independently by two different CPUs and / or processors in the computing device 300 (e.g., a first processor performs the operation A, a second processor performs the operation B, or the first and second processors perform the operation A and the operation B together) .

[0056] Those skilled in the art can understand that the structure shown in FIG. 3 is merely a block diagram of a portion of the structure related to the solution of the present disclosure, and does not constitute a limitation on the computer device to which the solution of the present disclosure is applied. The specific computing device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0057] FIG. 4 is a flowchart illustrating an exemplary process for controlling at least one exposure parameter of an imaging device according to some embodiments of the present disclosure. In some embodiments, a process 400 may be executed by a processor (e.g., the processor 140) . For example, the process 400 may be stored in a storage device (e.g., the storage device 130) in the form of a program or instruction, and when the processor executes the program or instruction, the process 400 may be implemented. The schematic diagram illustrating operations of the process 400 presented below is illustrative. In some embodiments, the process may be completed using one or more additional operations not described and / or one or more operations not discussed. In addition, the order of the operations of the process 400 shown in FIG. 4 and described below is not restrictive. As shown in FIG. 4, the process 400 may include one or more of the following operations.

[0058] In 410, a plurality of current frames captured by an imaging device may be obtained.

[0059] In some embodiments, the plurality of current frames may be obtained by capturing a surrounding environment or a target region using the imaging device.

[0060] In 420, an exposure ratio allocation sequence may be determined based on a current scene type of a shooting scene of the plurality of current frames.

[0061] In some embodiments, a scene type of the shooting scene may include but not limited to daytime, nighttime, evening, a fast-moving scene, a stationary scene, etc.

[0062] The current scene type may be determined in various ways. In some embodiments, the processor may determine the current scene type by performing scene recognition on the plurality of current frames captured by the imaging device. The manner of scene recognition is not limited in the embodiments of the present disclosure, and operations familiar to those skilled in the art can be used.

[0063] In some embodiments, the processor may obtain scene information of the shooting scene, and determine the current scene type based on the scene information.

[0064] The scene information refers to a series of detailed data and features of the shooting scene when the plurality of current frames are captured. In some embodiments, the scene information and the plurality of current frames may be obtained at the same time or at adjacent time points. The scene information represents current ambient information of the imaging device, illumination of the shooting scene, and other information. The ambient information may include but not limited to an ambient brightness level.

[0065] In some embodiments, the scene information may include at least one of scene change information, motion information, etc.

[0066] The scene change information may include change information of a background, a foreground, etc., of the shooting scene. For example, the scene change information may include switching of a close view to a distant view, a stationary scene to a moving scene, a landscape to an active entity or an animal, etc.

[0067] The motion information refers to motion information of a target subject contained in each of the plurality of current frames. For example, the motion information may include a motion speed of the target subject contained in each of the plurality of current frames. The target subject may include but not limited to an active entity, an object, an animal, a vehicle, etc., located in the shooting scene.

[0068] In some embodiments, the processor may obtain the scene information by performing information collection on the shooting scene (e.g., by performing information collection through the imaging device or a sensor, etc. ) and analyzing the current frames, historical frames, etc., which is not limited in the embodiments of the present disclosure.

[0069] In some embodiments, the processor may determine the current scene type based on the scene information in various ways. For example, the processor may distinguish between the moving scene and the stationary scene based on the motion speed of the target subject in the motion information and a speed threshold. As another example, the processor may distinguish between the moving scene and the stationary scene based on a pixel change of a frame or a moving target in the scene change information.

[0070] In some embodiments, the processor may determine the current scene type through a trained machine learning model. For example, the processor may input the scene information into the trained machine learning model (hereinafter referred to as a scene determination model) , and the scene determination model may output the current scene type. The machine learning model may be trained using a plurality of training samples with labels in various ways. For example, the machine learning model may be trained based on gradient descent. The training samples used for training the scene determination model may include sample scene information of a sample shooting scene, and the corresponding labels may include an actual scene type of the sample shooting scene. The training samples may be determined based on historical data, and the labels corresponding to the training samples may be determined by the system or by manual annotation.

[0071] In some embodiments, the scene information may include a current frame ambient brightness level when the plurality of current frames are captured. The current frame ambient brightness level refers to an ambient brightness level shown in the plurality of current frames.

[0072] In some embodiments, the processor may determine the current frame ambient brightness level by analyzing the plurality of current frames. If the current frame ambient brightness levels corresponding to the plurality of current frames are different, the processor may use an average of the current frame ambient brightness levels corresponding to the plurality of current frames as a final current frame ambient brightness level.

[0073] In some embodiments, the processor may determine the current scene type based on the current frame ambient brightness level. For example, the processor may distinguish different scene types based on the current frame ambient brightness level and different preset brightness thresholds. Merely by way of example, different brightness thresholds may be set to distinguish between daytime, nighttime, and a transition scene (e.g., early morning or dusk) .

[0074] In some embodiments, before determining the current scene type based on the scene information, the processor may obtain the current frame ambient brightness level and a target ambient brightness level; and update the current frame ambient brightness level based on the current frame ambient brightness level and the target ambient brightness level. The target ambient brightness level refers to an ambient brightness level that the frame is expected to reach.

[0075] In some embodiments, the processor may determine the target ambient brightness level based on actual ambient brightness levels of a plurality of historical frames. For example, a statistical value (e.g., a mean or a mode) of the actual ambient brightness levels of the plurality of historical frames may be determined as the target ambient brightness level.

[0076] In some embodiments, the processor may update the current frame ambient brightness level based on the current frame ambient brightness level and the target ambient brightness level in various ways. For example, if the current frame ambient brightness level is different from the target ambient brightness level, the processor may update the current frame ambient brightness level to the target ambient brightness level.

[0077] In some embodiments, in response to determining that a first difference between the current frame ambient brightness level and the target ambient brightness level is greater than a first difference threshold, the processor may update the current frame ambient brightness level.

[0078] After the current frame ambient brightness level and the target ambient brightness level are obtained, whether the first difference between the current frame ambient brightness level and the target ambient brightness level is greater than the first difference threshold may be determined so as to determine whether the current frame ambient brightness level is close to the target ambient brightness level.

[0079] If the first difference between the current frame ambient brightness level and the target ambient brightness level is greater than the first difference threshold, it means that the current frame ambient brightness level is not the same as or close to the target ambient brightness level, and the current frame ambient brightness level may be updated. If the first difference between the current frame ambient brightness level and the target ambient brightness level is not greater than the first difference threshold, it means that the current frame ambient brightness level is the same as or close to the target ambient brightness level, and the current frame ambient brightness level may not need to be updated.

[0080] The processor may update the current frame ambient brightness level in various ways. In some embodiments, the processor may update the current frame ambient brightness level to the target ambient brightness level.

[0081] In some embodiments, the processor may update the current frame ambient brightness level based on a brightness adjustment step size to obtain an updated current frame ambient brightness level. The brightness adjustment step size may be determined based on the first difference between the current frame ambient brightness level and the target ambient brightness level, or the brightness adjustment step size may be determined by a user input in advance. It is understood that the brightness adjustment step size may be determined based on a specific application scenario, which is not limited in the embodiments of the present disclosure.

[0082] In some embodiments, a sum of the current frame ambient brightness level and the brightness adjustment step size may be determined as the updated current frame ambient brightness level, such that the current frame ambient brightness level is updated to the target ambient brightness level with the brightness adjustment step size to obtain the updated current frame ambient brightness level.

[0083] The process of updating the current frame ambient brightness level in this embodiment may be expressed by the following Equation (1) : where Ec denotes the current frame ambient brightness level, Ep denotes a historical frame ambient  brightness level, step denotes the brightness adjustment step size, Et denotes the target ambient brightness level, None denotes no update, and else denotes other situations except Et≠Ec.

[0084] With application of the above manner, when the first difference between the current frame ambient brightness level and the target ambient brightness level is greater than the first difference threshold, the current frame ambient brightness level may be updated to the target ambient brightness level with the brightness adjustment step size to obtain the updated current frame ambient brightness level instead of being directly updated to the target ambient brightness level. The brightness adjustment step size may limit a change rate of the current frame ambient brightness level, which can reduce the negative effects (e.g., flickering) caused by a large change in a target multiple of an exposure ratio allocation.

[0085] In some embodiments, before updating the current frame ambient brightness level based on the current frame ambient brightness level and the target ambient brightness level, the processor may determine whether to update the target ambient brightness level.

[0086] In some embodiments, the processor may obtain a current actual ambient brightness level of each of the plurality of current frames when the plurality of current frames are captured and a historical actual ambient brightness level; and in response to determining that a second difference between the current actual ambient brightness level and the historical actual ambient brightness level is greater than a second difference threshold, update the target ambient brightness level by designating the current actual ambient brightness level as the target ambient brightness level.

[0087] The current actual ambient brightness level refers to an actual ambient brightness level of the shooting scene when the plurality of currents are captured (i.e., at a current moment) . The historical actual ambient brightness level refers to an actual ambient brightness level of the shooting scene before the current moment.

[0088] In some embodiments, the processor may determine the current actual ambient brightness level by performing automatic calculation based on frame information and exposure parameters of the current frames. The manner of determining the current actual ambient brightness level is not limited in the embodiments of the present disclosure, and operations familiar to those skilled in the art can be used.

[0089] In some embodiments, after the plurality of current frames are obtained, the processor may determine whether a current frame is a first frame. If it is determined that the current frame is the first frame, current frame exposure information may be initialized. For example, the current frame ambient brightness level, the target ambient brightness level, the historical actual ambient brightness level, the historical frame ambient brightness level, etc., may be initialized to the current actual ambient brightness level. The historical frame ambient brightness level refers to an ambient brightness level of each of the historical frames.

[0090] In some embodiments, if it is determined that the current frame is not the first frame, the processor may determine whether the second difference between the current actual ambient brightness level and the historical actual ambient brightness level is greater than the second difference threshold, so as to determine whether a brightness level of a current scene has a significant change. If the second difference between the current actual ambient brightness level and the historical actual ambient brightness level is greater than the second difference threshold, it means that the brightness level of the current scene has the significant change, and the processor may update the target ambient brightness level by designating the current actual ambient brightness level as the target ambient brightness level.

[0091] In some embodiments, if the second difference between the current actual ambient brightness level and the historical actual ambient brightness level is not greater than the second difference threshold, it means that the brightness level of the current scene does not have the significant change, and no update is required.

[0092] In some embodiments, in response to determining that the second difference between the current actual ambient brightness level and the historical actual ambient brightness level is greater than the second difference threshold, the processor may synchronously update the target ambient brightness level and a previous frame actual ambient brightness level to the current actual ambient brightness level, which may be represented by the following Equation (2) : where Epr denotes the previous frame actual ambient brightness level, Et denotes the target  ambient brightness level, Er denotes the current actual ambient brightness level, diff denotes the second difference between the current actual ambient brightness level and the historical actual ambient brightness level, tolerance denotes the second difference threshold, None denotes no update, and else denotes other situations except diff>tolerance.

[0093] Referring to FIG. 5, in some embodiments, in order to update the current frame ambient brightness level, the processor may perform one or more of the following operations 510-550.

[0094] In 510, a current actual ambient brightness level of each of a plurality of current frames when the plurality of current frames are captured and a historical actual ambient brightness level may be obtained.

[0095] In 520, whether a second difference between the current actual ambient brightness level and the historical actual ambient brightness level is greater than a second difference threshold may be determined.

[0096] In 530, in response to determining that the second difference between the current actual ambient brightness level and the historical actual ambient brightness level is greater than the second difference threshold, a target ambient brightness level may be updated by designating the current actual ambient brightness level as the target ambient brightness level.

[0097] In 540, whether a first difference between the current frame ambient brightness level and the target ambient brightness level is greater than a first difference threshold may be determined.

[0098] In 550, in response to determining that the first difference between the current frame ambient brightness level and the target ambient brightness level is greater than the first difference threshold, the current frame ambient brightness level may be updated based on a brightness adjustment step size to obtain an updated current frame ambient brightness level.

[0099] With the application of the manner, when the second difference between the current actual ambient brightness level and the historical actual ambient brightness level is greater than the second difference threshold, the target ambient brightness level may be updated to the current actual ambient brightness level, which can prevent frequent changes in the target ambient brightness level when the real-time ambient brightness level changes slightly, thereby reducing flickering in the captured frames caused by frequent adjustments in the exposure parameters due to frequent changes in the subsequent frame ambient brightness level. In addition, unnecessary performance consumption can be reduced.

[0100] In some embodiments, the exposure ratio allocation sequence may include an allocation ratio of each of the at least one exposure parameter among a plurality of exposure parameters of the imaging device in a plurality of target frames to be captured. The allocation ratio represents an allocable multiple of each of the at least one exposure parameter in the plurality of target frames to be captured, such as an allocable multiple of a gain, a shutter speed, an aperture, etc. The higher the allocable multiple, the more allocable multiples for exposure adjustment. For example, if the allocable multiple of the gain parameter is 8 and the allocable multiple of the shutter parameter is 4, the gain parameter may be adjusted up to a multiple of 8 and the shutter parameter may be adjusted up to a multiple of 4.

[0101] The target frames refer to frames to be captured. In some embodiments, the target frames may include a long exposure frame and a short exposure frame. The long exposure frame refers to a frame captured using a long exposure. The short exposure frame refers to a frame captured using a short exposure.

[0102] In the long exposure frame, due to a relatively long exposure time, the details of the dark portion are clearer, but it may cause overexposure of a highlight portion. In the short exposure frame, due to a relatively short exposure time, the details of the highlight portion can be better preserved, but the dark portion may appear too dark or lack details. According to some embodiments of the present disclosure, the fused image is obtained by fusing the long exposure frame and the short exposure frame. The fused image retains the details of the bright and dark portions and provides greater color depth, such that the frame has significant improvement in both contrast and detail performance.

[0103] In some embodiments, the at least one exposure parameter may include one or more of a gain, a shutter parameter, an aperture, etc. Correspondingly, the exposure ratio allocation sequence may include an allocation ratio of one or more of the gain, the shutter speed, and the aperture of the at least one exposure parameter in the plurality of target frames to be captured. For example, the exposure ratio allocation sequence may be (shutter speed: gain: aperture) = (a: b: 1) , where (a: b: 1) represents that the shutter time of the long exposure frame is a times that of the short exposure frame, the gain of the long exposure frame is b times that of the short exposure frame, and the aperture of the long exposure frame and the aperture of the short exposure frame are the same. Other exposure ratio allocation sequences may be obtained in a similar way. The allocation multiple may be a decimal.

[0104] In some embodiments, the processor may determine the exposure ratio allocation sequence based on the current scene type through a preset comparison table. In some embodiments, the preset comparison table may include a correspondence between different scene types and different exposure ratio allocation sequences. In some embodiments, the preset comparison table may be constructed based on prior knowledge or historical data (e.g., a historical scene type and a historical exposure ratio allocation sequence corresponding to a historical fused image with good detail performance, the good detail performance being determined by the user) .

[0105] In some embodiments, the processor may determine the exposure ratio allocation sequence based on the current scene type and a target scene type. For example, if the current scene type and the target scene type are consistent, the processor may directly adopt an exposure ratio allocation sequence corresponding to the current scene type, i.e., an exposure ratio allocation sequence determined through the preset comparison table. If the current scene type and the target scene type are inconsistent, the processor may average the exposure ratio allocation sequence corresponding to the current scene type and an exposure ratio allocation sequence corresponding to the target scene type. The exposure ratio allocation sequence corresponding to the target scene type may be determined by querying the preset comparison table. For example, the exposure ratio allocation sequence corresponding to the target scene type may be determined based on the target scene type through the preset comparison table.

[0106] In some embodiments, the processor may determine the exposure ratio allocation sequence based on the current scene type, the target scene type, the current frame ambient brightness level, and the target ambient brightness level. For example, if the current scene type and the target scene type are inconsistent, the processor may determine the exposure ratio allocation sequence by performing a weighted average of the exposure ratio allocation sequence corresponding to the current scene type and the exposure ratio allocation sequence corresponding to the target scene type. A weight for weighting may be determined based on the first difference between the current frame ambient brightness level and the target ambient brightness level.

[0107] In some embodiments, the processor may determine a weight of the exposure ratio allocation sequence corresponding to the current scene type and a weight of the exposure ratio allocation sequence corresponding to the target scene type, respectively, based on the first difference between the current frame ambient brightness level and the target ambient brightness level. For example, the larger the first difference between the current frame ambient brightness level and the target ambient brightness level, the larger the weight of the exposure ratio allocation sequence corresponding to the current scene type; the smaller the first difference between the current frame ambient brightness level and the target ambient brightness level, the larger the weight of the exposure ratio allocation sequence corresponding to the target scene type.

[0108] In some embodiments, the processor may determine the exposure ratio allocation sequence based on the current scene type, the target scene type, the current frame ambient brightness level, the target ambient brightness level, and a weight adjustment step size. The weight adjustment step size is an adjustment step size for adjusting the weight for weighting.

[0109] For example, if the current scene type and the target scene type are inconsistent, the processor may determine the exposure ratio allocation sequence by performing the weighted average of the exposure ratio allocation sequence corresponding to the current scene type and the exposure ratio allocation sequence corresponding to the target scene type. The weight for weighting may be determined based on the first difference between the current frame ambient brightness level and the target ambient brightness level and the weight adjustment step size.

[0110] In some embodiments, the processor may determine a count of steps to be adjusted based on the current frame ambient brightness level, the target ambient brightness level, and the weight adjustment step size; determine an initial weight based on the first difference between the current frame ambient brightness level and the target ambient brightness level; and determine a final weight for weighting based on the count of steps to be adjusted and the initial weight. The count of steps to be adjusted= [|current frame ambient brightness level-target ambient brightness level| / weight adjustment step size] , where | | denotes an absolute value and [] denotes rounded down. The weight adjustment step size may be a system default value, an empirical value, a manually preset value, or the like, or any combination thereof, and may be set according to actual needs, which is not limited in the present disclosure.

[0111] In some embodiments, at least two exposure parameters may be provided, and the processor may determine exposure priorities of the at least two exposure parameters based on the current scene type; and determine the exposure ratio allocation sequence based on the exposure priorities, a target allocation ratio of the at least two exposure parameters, and a total exposure ratio of the plurality of current frames. More description regarding this embodiment may be found in FIG. 6 and related descriptions thereof.

[0112] In some embodiments, the processor may determine one or more target exposure parameters from the plurality of exposure parameters based on a preset scene condition; or determine the one or more target exposure parameters from the plurality of exposure parameters based on the preset scene condition and the exposure priorities; and determine the exposure ratio allocation sequence of the one or more target exposure parameters based on the preset scene condition. More description regarding this embodiment may be found in FIG. 7 and related descriptions thereof.

[0113] In 430, the imaging device may be controlled, based on the exposure ratio allocation sequence, to operate according to a corresponding allocation ratio of each of at least one exposure parameter, so as to obtain a plurality of target frames.

[0114] The allocation ratio refers to an allocation ratio of each of the at least one exposure parameter of different frames to be captured defined in the exposure ratio allocation sequence.

[0115] After the exposure ratio allocation sequence of the at least one exposure parameter of the imaging device is obtained, the processor may control the imaging device to operate according to the exposure ratio allocation sequence, and transmit the exposure ratio allocation sequence to an image signal processing module, a driving layer, etc., such that the imaging device may operate according to the exposure ratio allocation sequence to capture the plurality of target frames.

[0116] In some embodiments, the plurality of target frames may be configured to synthesize a target image. The manner of synthesizing the target image is not specifically limited in the embodiments of the present disclosure, and operations familiar to those skilled in the art can be used.

[0117] The above scheme can dynamically change the allocation ratio of each of the at least one exposure parameter according to the scene condition, determine the one or more target exposure parameters of the imaging device to cause the imaging device to operate according to the exposure ratio allocation sequence, and adopt a more flexible allocation strategy for exposure control, thereby improving the exposure control effect. In addition, the allocation ratio and / or the exposure priority is determined according to the scene information, so as to adapt to more scenes for exposure control, improve the exposure control effect of various scenes, and make the overall exposure control strategy more flexible and adaptable.

[0118] FIG. 6 is a flowchart illustrating an exemplary process for determining an exposure ratio allocation sequence according to some embodiments of the present disclosure. In some embodiments, a process 600 may be executed by a processor (e.g., the processor 140) . For example, the process 600 may be stored in a storage device (e.g., the storage device 130) in the form of a program or instruction, and when the processor executes the program or instruction, the process 600 may be implemented. The schematic diagram illustrating operations of the process 600 presented below is illustrative. In some embodiments, the process may be completed using one or more additional operations not described and / or one or more operations not discussed. In addition, the order of the operations of the process 600 shown in FIG. 6 and described below is not restrictive. As shown in FIG. 6, the process 600 may include one or more of the following operations.

[0119] In 610, exposure priorities of at least two exposure parameters may be determined based on a current scene type.

[0120] The exposure priority refers to an importance of a plurality of exposure parameters in an exposure adjustment process. For example, the exposure priority may include an order or an importance of adjusting a gain, a shutter speed, an aperture, etc. The exposure priority may be expressed in a numerical value. The smaller the numerical value, the higher the exposure importance, and the higher the priority of exposure adjustment.

[0121] In some embodiments, the exposure priority represents the exposure importance of each exposure parameter and whether the exposure parameter needs to be adjusted. For example, in some scenes, only the shutter speed and the gain need to be adjusted, but not the aperture. The exposure importances (i.e., the exposure priorities) of the shutter speed and the gain may be set, and the aperture may be set to an exposure priority of 0, indicating that the exposure parameter does not need to be adjusted.

[0122] In some embodiments, the processor may determine the exposure priorities of the at least two exposure parameters based on the current scene types in various ways. For example, the exposure priorities may be set by the processor based on default and / or pre-configured by those skilled as needed. Merely by way of example, when the vehicle speed is high at night, an allocation ratio and / or an exposure priority of the gain of the short exposure frame may be increased, and an allocation ratio and / or an exposure priority of the shutter speed may be reduced, so as to improve a signal-to-noise ratio of the short exposure frame. When a dynamic range of the shooting scene is extremely large and ghosting is not desired, and the signal-to-noise ratio needs to be improved, the aperture may be appropriately allocated, and the allocation ratios of the gain and the shutter speed of the long exposure frame and the short exposure frame may be kept the same as much as possible.

[0123] In some embodiments, the processor may determine a preset scene condition for the current scene type; and perform a preset configuration for the preset scene condition to determine the exposure priorities.

[0124] The preset scene condition may include a daytime scene, a nighttime scene, an early morning scene, a dusk scene, a cloudy scene, a sunny scene, etc.

[0125] In some embodiments, the processor may determine the preset scene condition for the current scene type by analyzing scene information. For example, the processor may determine the preset scene condition satisfied by the scene information by analyzing at least one of a current frame ambient brightness level, scene change information, motion information, etc.

[0126] For example, the processor may analyze the current frame ambient brightness level and set a corresponding brightness threshold. A count and a value of the brightness threshold may be set by the processor based on default and / or set by those skilled as needed, which are not limited in the present disclosure. For example, a first brightness threshold P1 and a second brightness threshold P2 may be set, the first brightness threshold P1 being greater than the second brightness threshold P2. In response to determining that the current frame ambient brightness level is greater than the first brightness threshold P1, it is determined to be a first scene condition, such as a daytime scene. In response to determining that the current frame ambient brightness level is less than the second brightness threshold P2, it is determined to be a second scene condition, such as a nighttime scene. In response to determining that the current frame ambient brightness level is less than or equal to the first brightness threshold and greater than or equal to the second brightness threshold, it is determined to be a third scene condition, such as a transition scene (e.g., an early morning scene or a dusk scene) of which the current environment is between the daytime scene and the nighttime scene.

[0127] For example, the processor may set preset scene conditions for different ambient brightness levels, or may set brightness thresholds for different preset scene conditions. For example, in response to determining that the current frame ambient brightness level is greater than a third brightness threshold, it is determined to be a cloudy scene, and in response to determining that the current frame ambient brightness level is greater than a fourth brightness threshold, it is determined to be a sunny scene. The fourth brightness threshold may be greater than the third brightness threshold. It is understood that the corresponding preset scene conditions may be set for different application scenes, which are not limited in the present disclosure.

[0128] In some embodiments, the preset scene condition satisfied by the scene information may be determined using a current actual ambient brightness level, or the preset scene condition satisfied by the scene information may be determined by combining the current actual ambient brightness level and the current frame ambient brightness level, etc. The specific implementation may be found in the implementation process of the current frame ambient brightness level, which is not repeated in the present disclosure.

[0129] For example, for motion information, if there is a moving frame or target subject, it is determined that the preset scene condition satisfied is a motion scene, or if a motion speed is greater than a speed threshold, it is determined that the preset scene condition satisfied is the motion scene, otherwise, it is determined that the preset scene condition satisfied is a stationary scene. The speed threshold may be set to a plurality of speed intervals of different gears. For example, if the motion speed is less than a speed threshold 1, it is determined to be a slow-moving scene; if the motion speed is greater than a speed threshold 2, it is determined to be a fast-moving scene, etc.

[0130] For example, for the scene change information, if a pixel change in a frame is detected, or a count of changed pixels is greater than a set count, it is determined to be a motion scene; if the pixel change in the frame is not detected, or the count of changed pixels is not greater than the set count, it is determined to be a stationary scene. If a moving target subject is detected, it is determined to be a motion scene.

[0131] It is understood that the above analysis of the scene information for determining the preset scene condition satisfied by the scene information may be determined according to the specific application scenario, which is not limited in the embodiments of the present disclosure.

[0132] In some embodiments, the processor may perform a preset configuration for the preset scene condition to determine the exposure priorities for different preset scene conditions.

[0133] In some application scenarios, the processor may perform the preset configuration for the preset scene condition to set a fixed order or a dynamic order of the exposure priorities of the at least two exposure parameters. The exposure priorities may be stored in the form of an index array. For example, the exposure priorities of the shutter speed, the gain, and the aperture is pri= [2, 1, 3] , where pri= [2, 1, 3] denotes that the priority of the gain is 1, the priority of the shutter speed is 2, and the priority of the aperture is 3. The smaller the number, the higher the priority. Therefore, the exposure priorities are expressed as: the gain>the shutter speed>the aperture. Accordingly, an index array of a priority array is index= [1, 0, 2] . The numbers in the priority array pri= [] represent the exposure priorities of the exposure parameters, and the numbers in the index array index= [] represent an index of the exposure priority of each of the exposure parameters.

[0134] In some embodiments, the processor may determine one or more candidate exposure priorities based on the preset configuration for the preset scene condition; and determine a final exposure priority based on an initial exposure priority and the one or more candidate exposure priorities. In some embodiments, the processor may determine the final exposure priority by replacing the initial exposure priority and the one or more candidate exposure priorities with the same position. For example, index values at the same position in the index array corresponding to the initial exposure priority and the one or more candidate exposure priorities may be replaced.

[0135] Merely by way of example, an index array of an initial exposure priority is set to index= [0, 1, 2] , the index array of the exposure priority index= [1, 0, 2] determined in the previous example is used as an index array of a candidate exposure priority, and index values of the same position in index= [0, 1, 2] and index= [1, 0, 2] are replaced to obtain a final exposure priority index= [1, 0, 2] .

[0136] In some implementations, when the scene condition is single (e.g., when only the signal-to-noise ratio of the short frame needs to be improved) , the exposure priority may be pre-calibrated to prioritize the gain, followed by the shutter speed, and then the aperture. The aperture, as a frequent on hardware factor, may be temporarily ignored and may not be adjusted. Therefore, the exposure priority pri may be set to [2, 1, 3] .

[0137] In some embodiments of the present disclosure, different scene conditions have different requirements for the exposure parameters. By determining the exposure priorities, it can be ensured that the most critical exposure parameter is adjusted preferentially under different scene conditions, thereby making the imaging device achieve the optimal image effect.

[0138] In some embodiments, the processor may determine the preset scene condition for the current scene type; and prioritize, based on the preset scene condition and a preset sorting algorithm, the at least two exposure parameters to determine the exposure priorities. The manner of determining the preset scene condition is consistent with the above, which is not repeated here.

[0139] In some embodiments, the processor may perform a preset configuration for the exposure priorities of the at least two exposure parameters based on the preset scene condition, and store the exposure priorities in an array. The processor may sort values in the array according to the preset sorting algorithm to determine the exposure priorities. For example, the preset sorting algorithm may include bubble sorting, quick sorting, heap sorting, etc.

[0140] For example, taking bubble sorting as an example, prioritizing the at least two exposure parameters may be expressed as: for (i=0; i<len-1; i++) for (j=0; j<len-i-1; j++) sort () , where i and j denote indexes in the array, len denotes a length of the array, and sort () denotes a  function for sorting elements of the array.

[0141] In some embodiments of the present disclosure, the computer cannot directly derive the order of the exposure priorities from the array. By prioritizing the array using the preset sorting algorithm, the processor can clearly represent the numerical values of the exposure priorities, such that the exposure priorities have a clear order of magnitude.

[0142] In 620, an exposure ratio allocation sequence may be determined based on the exposure priorities, a target allocation ratio of the at least two exposure parameters, and a total exposure ratio of a plurality of current frames.

[0143] The target allocation ratio refers to a maximum ratio range in which the at least two exposure parameters can be adjusted under the preset scene condition.

[0144] In some embodiments, the scene information may include a current frame ambient brightness level when the plurality of current frames are captured. The processor may determine the target allocation ratio based on the current frame ambient brightness level.

[0145] In some embodiments, the processor may determine the target allocation ratio in various ways. For example, the processor may determine the target allocation ratio based on the current frame ambient brightness level by querying a first preset table. The first preset table may include a correspondence between different frame ambient brightness levels and different target allocation ratios. The processor and / or those skilled in the art may pre-configure different maximum ratios for different frame ambient brightness levels based on historical data or prior knowledge to construct the first preset table.

[0146] In some embodiments, the processor may add scene conditions to the first preset table. That is, the first preset table may contain a correspondence between different combinations of frame ambient brightness levels and scene conditions and different target allocation ratios.

[0147] In some embodiments, when there is no value in the first preset table that completely matches the current frame ambient brightness level, the processor may adopt a maximum allocation ratio corresponding to an ambient brightness value that is closest to the current frame ambient brightness level.

[0148] In some embodiments, in response to determining that the current frame ambient brightness level is greater than a first brightness threshold, the processor may designate a first ratio as the target allocation ratio; in response to determining that the current frame ambient brightness level is less than a second brightness threshold, the processor may designate a second ratio as the target allocation ratio; and in response to determining that the current frame ambient brightness level is less than or equal to the first brightness threshold and greater than or equal to the second brightness threshold, the processor may determine the target allocation ratio based on the first ratio and the second ratio.

[0149] In some embodiments, in response to determining that the current frame ambient brightness level is greater than the first brightness threshold, the preset scene condition may be a first scene condition, such as a daytime scene, etc. The processor may determine the first ratio corresponding to the first brightness threshold. The first ratio indicates that an allocable multiple of the shutter speed is a first limit value. The first limit value may be an actual maximum allocable multiple of the shutter speed or a set maximum allocable multiple.

[0150] In some embodiments, the shutter speed of the at least one exposure parameter may be allocated at the set maximum allocable multiple to obtain the first ratio.

[0151] For example, an allocation ratio of the shutter speed, the gain, and the aperture in the first ratio may be expressed as: (shut_max_rate, 1, 1) , where shut_max_rate means that the shutter may be set according to an actual maximum exposure ratio to ensure that the shutter speed is adequately allocated and all the exposure ratio is allocated to the shutter speed, and 1 means that no adjustment is required and the ratio of the previous frame is continued to be used. For example, in a traffic road scene, the gain is relatively low during the daytime and the clarity of the target subject is relatively high, and the allocation ratio may be set according to the above manner, i.e., all the exposure ratio is allocated to the shutter speed, so as to improve the adaptability to the daytime scene.

[0152] In some embodiments, in response to determining that the current frame ambient brightness level is less than the second brightness threshold, the preset scene condition at this time may be a second scene condition, such as a nighttime scene, etc. The processor may determine the second ratio corresponding to the second brightness threshold. The second ratio indicates that the allocable multiple of the shutter speed is a first limit value, and an allocable multiple of the gain is a second limit value. In some embodiments, the allocable ratio of the gain may be adjusted to a maximum limit value based on the first ratio to obtain the second ratio.

[0153] For example, an allocation ratio of the shutter speed, the gain, and the aperture in the second ratio may be expressed as: (shut_max_rate, gain_max_rate, 1) , where shut_max_rate denotes the first limit value, and gain_max_rate denotes the second limit value, which may be set according to the actual maximum exposure ratio, and 1 means no adjustment is required.

[0154] According to the manner, the exposure priority may also be [2, 1, 3] , i.e., the multiple of gain_max_rate may be preferentially allocated to the gain, and the remaining allocation ratio may be allocated to the shutter speed. In this case, the first limit value and the second limit value may be set to different values accordingly.

[0155] In some embodiments, in response to determining that the current frame ambient brightness level is less than or equal to the first brightness threshold and greater than or equal to the second brightness threshold, the preset scene condition at this time may be a third scene condition, such as an early morning scene or a dusk scene. The processor may determine the target allocation ratio based on the first ratio and the second ratio through interpolation. More descriptions may be found in FIG. 7 and related descriptions thereof.

[0156] More descriptions regarding the preset scene condition, the first brightness threshold, and the second brightness threshold may be found in the above descriptions of FIG. 6, which are not repeated here.

[0157] In some embodiments of the present disclosure, by setting different brightness thresholds and ratios, the target allocation ratio of at least two exposure parameters can be flexibly adjusted according to the current scene condition, such that the imaging device can still maintain the optimal exposure balance under different scene conditions, thereby ensuring that the exposure adjustment is more flexible and better adapting to the changing shooting scenes.

[0158] In some embodiments of the present disclosure, by using the current frame ambient brightness level when the plurality of current frames are captured, the exposure can be controlled more efficiently according to the current frame ambient brightness level, thereby making the imaging device quickly adapt to different ambient brightness levels, ensuring the stability of the exposure effect, and avoiding image quality fluctuations in complex ambient brightness levels.

[0159] The total exposure ratio refers to a ratio of an exposure amount of the long exposure frame to an exposure amount of the short exposure frame in the plurality of current frames.

[0160] In some embodiments, the processor may multiply the shutter speed, the gain, and the aperture to obtain an exposure amount. Merely by way of example, the exposure of the long exposure frame=the shutter speed of the long exposure frame×the gain of the long exposure frame×the aperture of the long exposure frame; and the exposure amount of the short exposure frame may be determined in a similar manner.

[0161] In some embodiments, the processor may determine the total exposure ratio by performing exposure ratio calculation based on the current frame ambient brightness level.

[0162] Merely by way of example, the total exposure ratio=the exposure amount of the long exposure frame / the exposure amount of the short exposure frame.

[0163] In some embodiments of the present disclosure, the total exposure ratio directly affects balancing the exposure amount of the long exposure frame and the exposure amount of the short exposure frame, and further determines the final image synthesis. By determining the total exposure ratio, the imaging device can make a reasonable allocation among the plurality of exposure parameters and avoid unreasonable exposure adjustments.

[0164] In some embodiments, the total exposure ratio may be related to a dynamic range of the shooting scene. The dynamic range may include a brightness difference between a highest scene brightness level of the shooting scene and a lowest scene brightness level of the shooting scene.

[0165] In some embodiments, the total exposure ratio may be positively related to the dynamic range of the shooting scene. For example, if the dynamic range of the shooting scene is large (e.g., the dynamic range of the shooting scene contains both a very bright portion and a very dark shadow) , a larger total exposure ratio needs to be set to capture all details.

[0166] In some embodiments, the processor may determine a dynamic range of a reference frame as the dynamic range of the shooting scene. The reference frame may be a first frame when the imaging device starts shooting, an average value of a plurality of historical frames, or a frame with the largest dynamic range in the historical frames. When actually shooting is performed, a plurality of frames may be captured with a default exposure ratio, and then the exposure ratio may be updated according to the dynamic range of the shooting scene of the plurality of frames for subsequent shooting.

[0167] In some embodiments, in response to the current shooting scene changes, the processor may monitor a dynamic range of each frame after the current shooting scene changes; in response to determining that a difference between the dynamic range of a frame and the dynamic range of the reference frame is greater than a preset threshold, the processor may update the frame to the reference frame. The preset threshold may be preset by the processor. For example, the preset threshold may be 30%of the dynamic range of the reference frame.

[0168] In some embodiments of the present disclosure, by correlating the total exposure ratio with the dynamic range of the shooting scene, the exposure of the image can be adjusted according to the actual brightness difference of the shooting scene, especially when there are significant brightness differences in the shooting scene, such as a high dynamic range scene requiring a larger exposure ratio, such that the exposure ratio can be allocated reasonably.

[0169] In some embodiments, the processor may allocate the total exposure ratio to the at least two exposure parameters in sequence based on a descending order of the exposure priorities of the at least two exposure parameters within the target allocation ratio, so as to determine the exposure ratio allocation sequence. For example, if the order of the exposure priorities is expressed as the gain, the shutter speed, and the aperture, the total exposure ratio may be allocated to the gain, the shutter speed, and the aperture in sequence to determine the exposure ratio allocation sequence.

[0170] For example, the exposure priorities corresponding to the aperture, the shutter speed, and the gain may be [1, 2, 3] , indicating that during the exposure adjustment, the exposure ratio may be first allocated to the gain until the exposure ratio of the gain reaches a maximum allocable ratio; the remaining exposure ratio of the total exposure ratio may be allocated to the shutter speed; and the exposure priority of the aperture is 1, which requires no exposure adjustment.

[0171] In some embodiments, the processor may allocate the total exposure ratio to the at least two exposure parameters in sequence based on an order of the exposure priorities of the at least two exposure parameters; if a current ranked exposure parameter of the at least two exposure parameters reaches a corresponding allocation ratio, allocate the total exposure ratio to a next ranked exposure parameter of the at least two exposure parameters until the total exposure ratio is fully allocated; or if each of the at least two exposure parameters reaches a corresponding allocation ratio and the total exposure ratio is not fully allocated, continue allocating the total exposure ratio according to an actual allocable ratio of the each of the at least two exposure parameters.

[0172] In some embodiments, if the current ranked exposure parameter of the at least two exposure parameters reaches a maximum allocatable ratio and the total exposure ratio is not fully allocated, the total exposure ratio may continue to be allocated to the next ranked exposure parameter of the at least two exposure parameters until the total exposure ratio is fully allocated; if the total exposure ratio is fully allocated, the allocation may be ended.

[0173] In some embodiments, if each ranked exposure parameter of the at least two exposure parameters reaches the corresponding allocation ratio and the total exposure ratio is not fully allocated, the total exposure ratio may continue to be allocated according to an actual allocable ratio of the each of the at least two exposure parameters.

[0174] In some embodiments, if each ranked exposure parameter of the at least two exposure parameters reaches the maximum allocation ratio and the total exposure ratio is fully allocated, whether to continue allocation may be set according to demand. For example, those skilled in the art may input allocatable or non-allocatable according to demand. If it is set to allocatable, the total exposure ratio may continue to be allocated according to the actual allocable ratio of the each of the at least two exposure parameters; if it is set to non-allocatable, the allocation may be ended.

[0175] In some embodiments of the present disclosure, dynamic allocation for different exposure parameters can be realized through the above allocation manner. For example, if the adjustment of the shutter speed reaches the maximum allocable ratio, the total exposure ratio may continue to be allocated to the next ranked exposure parameter to avoid overexposure or underexposure of the image caused by excessive adjustment of the shutter speed. The remaining exposure ratio may be allocated to the next ranked exposure parameter to ensure that each exposure parameter is reasonably adjusted.

[0176] In some embodiments of the present disclosure, by combining the exposure priorities, the target allocation ratio, and the total exposure ratio, it is ensured that adjustments of important exposure parameters are prioritized, and the exposure ratio is properly allocated to each exposure parameter and does not exceed the maximum allocable ratio, thereby making the exposure ratio allocation sequence more reasonable.

[0177] FIG. 7 is a flowchart illustrating an exemplary process for determining an exposure ratio allocation sequence according to some embodiments of the present disclosure. In some embodiments, a process 700 may be executed by a processor (e.g., the processor 140) . For example, the process 700 may be stored in a storage device (e.g., the storage device 130) in the form of a program or instruction, and when the processor executes the program or instruction, the process 700 may be implemented. The schematic diagram illustrating operations of the process 700 presented below is illustrative. In some embodiments, the process may be completed using one or more additional operations not described and / or one or more operations not discussed. In addition, the order of the operations of the process 700 shown in FIG. 7 and described below is not restrictive. As shown in FIG. 7, the process 700 may include one or more of the following operations.

[0178] In 710, one or more target exposure parameters may be determined from a plurality of exposure parameters based on a preset scene condition; or the one or more target exposure parameters may be determined from the plurality of exposure parameters based on the preset scene condition and exposure priorities.

[0179] The one or more target exposure parameters are exposure parameters that need to be adjusted.

[0180] In some embodiments, the processor may determine, based on the preset scene condition and an order of the exposure priorities, an exposure parameter with the highest priority among the plurality of exposure parameters as a target exposure parameter.

[0181] In 720, an exposure ratio allocation sequence of the one or more target exposure parameters may be determined based on the preset scene condition.

[0182] In some embodiments, the processor may determine the exposure ratio allocation sequence of the one or more target exposure parameters based on the preset scene condition in various ways. For example, the processor may determine the exposure ratio allocation sequence of the one or more target exposure parameters based on the preset scene condition by querying a second preset table. The second preset table may include a correspondence between each preset scene condition and the exposure ratio allocation sequence. The second preset table may be pre-constructed based on historical data or prior knowledge.

[0183] In some embodiments, the processor may adjust one or more allocable multiples of the one or more target exposure parameters based on the preset scene condition to determine the exposure ratio allocation sequence of the one or more target exposure parameters.

[0184] In some embodiments, the processor may adjust the allocable multiple (s) of the target exposure parameter (s) based on the preset scene conditions to determine the exposure ratio allocation sequence of the target exposure parameter (s) . The exposure ratio allocation sequence of the one or more target exposure parameters may be set by the processor based on default and / or pre-configured by those skilled in the art based on different preset scene conditions as needed.

[0185] In some embodiments of the present disclosure, by adjusting the one or more allocable multiples of the one or more target exposure parameters based on different preset scene conditions (e.g., daytime, nighttime, motion, etc. ) , the one or more allocable multiples may be dynamically adjusted to meet the shooting requirements under different environmental conditions, thereby avoiding excessive adjustment of the one or more target exposure parameters.

[0186] In some embodiments, the processor may determine an adjustment step size based on at least one of the current scene type or the exposure priorities; and determine the exposure ratio allocation sequence of the one or more target exposure parameters based on a current exposure ratio allocation of the one or more target exposure parameters and the adjustment step size. The current exposure ratio allocation may include an exposure ratio allocation used when capturing the plurality of current frames.

[0187] The adjustment step size refers to a step value of gradually adjusting the exposure parameters.

[0188] In some implementations, the processor may determine the adjustment step size in various ways. For example, the processor may determine an initial step size based on the current scene type, and adjust the initial step size based on the exposure priorities to determine the adjustment step size. For example, the initial step size may be reduced for one or more exposure parameters with a high priority, and the initial step size may be increased for one or more exposure parameters with a low priority, etc.

[0189] In some embodiments, the processor may determine the adjustment step size based on a current frame ambient brightness level, a first brightness threshold, and a second brightness threshold. The first brightness threshold may be greater than the second brightness threshold.

[0190] In some embodiments, the processor may determine the adjustment step size by performing interpolation between the first brightness threshold and the second brightness threshold based on the current frame ambient brightness level.

[0191] For example, the adjustment step size may be determined by the following Equation (3) : Ratio_distri=interpolate (map, E) ,    (3) where Ratio_distri denotes the adjustment step size, interpolate () denotes an interpolation function,  map denotes a correspondence between the first brightness threshold, the second brightness threshold, and a first ratio and a second ratio corresponding to the first brightness threshold and the second brightness threshold, respectively, and E denotes the current frame ambient brightness level.

[0192] In some embodiments of the present disclosure, by performing interpolation between the first brightness threshold and the second brightness threshold, the exposure parameters can be gradually adjusted to make the exposure adjustment smoother and avoid abrupt exposure changes or “jumps” , thereby effectively avoiding flickering or unnatural exposure transitions in the captured frames.

[0193] In some embodiments, the adjustment step size may be related to an actual ambient brightness level of the plurality of target frames, the current frame ambient brightness level, and a target ambient brightness level.

[0194] The actual ambient brightness level refers to a predicted actual ambient brightness level of the shooting scene when the plurality of frames are subsequently captured (i.e., at a future moment) .

[0195] In some embodiments, the processor may determine the adjustment step size based on the actual ambient brightness level of the plurality of target frames, the current frame ambient brightness level, and the target ambient brightness level.

[0196] For example, the adjustment step size may be determined by the following Equation (4) : P=A×|L-Ln|×|Lm-Ln|, (4) where P denotes the adjustment step size, L denotes a weighted average of the actual ambient  brightness level of the plurality of target frames, Ln denotes the current frame ambient brightness level, Lm denotes the target ambient brightness level; A denotes a preset constant for adjusting the magnitude of a preset step size.

[0197] The actual ambient brightness level of the plurality of target frames may be determined in various ways. In some embodiments, the processor may predict the actual ambient brightness level of the plurality of target frames based on a historical actual ambient brightness level and a current actual ambient brightness level of the plurality of target frames.

[0198] In some embodiments, the processor may determine the actual ambient brightness level of the plurality of target frames through a prediction model based on historical actual ambient brightness level of the plurality of target frames, scene information, and time information.

[0199] In some embodiments, the prediction model may be a machine learning model, such as a long short-term memory network (LSTM) , etc.

[0200] In some embodiments, an input of the prediction model may include the historical actual ambient brightness level of the plurality of target frames, the scene information, and the time information, and an output of the prediction model may include the actual ambient brightness level of the plurality of target frames.

[0201] In some embodiments, training samples of the prediction model may include a sample actual ambient brightness level of a plurality of sample frames, sample scene information, and sample time information. Training labels corresponding to the training samples may include the actual ambient brightness levels of the plurality of target frames after a plurality of time points of the plurality of sample frames.

[0202] The training samples may be determined based on historical data, and the training labels corresponding to the training samples may be manually acquired and labeled based on the historical data.

[0203] In some embodiments, the prediction model may be obtained by training using a plurality of training samples with the training labels. The processor may execute the following training process to obtain the prediction model. The training process may include: obtaining a plurality of training samples with labels to form a training sample set, and performing a plurality of iterations based on the training sample set. At least one of the plurality of iterations may include: selecting one or more training samples from the training data set, inputting the one or more training samples into an initial prediction model to obtain model prediction outputs corresponding to the one or more training samples; substituting the model prediction outputs corresponding to the one or more training samples and the labels corresponding to the one or more training samples into a predefined formula of a loss function to calculate a value of the loss function; and iteratively updating model parameters of the initial prediction model according to the value of the loss function until an iteration end condition is met, and ending the iteration to obtain a trained prediction model. Iteratively updating the model parameters of the initial prediction model may be performed in various ways (e.g., updating based on gradient descent) . The iteration end condition may include that the loss function converges, or a count of iterations reaches an iteration count threshold.

[0204] In some embodiments of the present disclosure, the accuracy of the exposure adjustment can be dynamically controlled by relating the adjustment step size to the actual ambient brightness level of the plurality of target frames, the current frame ambient brightness level, and the target ambient brightness level. For example, when the current frame ambient brightness level is close to the actual ambient brightness level, the step size may be small, which means that the adjustment speed is low, and a significant change in the frame exposure can be avoided; when a difference between the current frame ambient brightness level and the actual ambient brightness level is large, the step size may be large, which means that the adjustment speed is accelerated to avoid the frame being too dark or too bright. By introducing the prediction model, the actual ambient brightness level can be accurately predicted based on the historical data, such that the exposure parameters can be adjusted in time to avoid unstable frame exposure.

[0205] The current exposure ratio allocation refers to an exposure ratio distribution used when the plurality of current frames are captured.

[0206] In some embodiments, the processor may determine the exposure ratio assignment sequence of the one or more target exposure parameters by adding the adjustment step size to the current exposure ratio allocation of the one or more target exposure parameters.

[0207] In some embodiments of the present disclosure, by adjusting the step size and calculating the exposure ratio allocation sequence of the one or more target exposure parameters according to the current exposure ratio allocation, a fine allocation can be made between different exposure parameters. Each exposure parameter may gradually reach a target value according to the adjustment step size, thereby ensuring detail control during the exposure process.

[0208] In some embodiments of the present disclosure, by the preset scene condition, different scene conditions (e.g., daytime, nighttime, motion scenes, etc. ) can be automatically recognized, and the most suitable target exposure parameters can be selected from the plurality of exposure parameters. The one or more target exposure parameters are selected in combination with the exposure priorities, which ensures that the most important exposure parameters are adjusted preferentially according to the scene conditions and the requirements of shooting targets, such that the image device can be more efficient in different shooting scenes, and high-quality image output can be provided.

[0209] One or more embodiments of the present disclosure provide an apparatus for controlling at least one exposure parameter of an imaging device. The apparatus may comprise a processing device. The processing device may be configured to implement the method for controlling the at least one exposure parameter of the imaging device.

[0210] Some embodiments of the present disclosure further provide a non-transitory computer-readable storage medium storing computer instructions. When a computer reads the computer instructions, the computer may execute the method for controlling at the least one exposure parameter of the imaging device described in any of the above embodiments.

[0211] Having thus described the basic concepts, it may be rather apparent to those skilled in the art after reading this detailed disclosure that the foregoing detailed disclosure is intended to be presented by way of example only and is not limiting. Various alterations, improvements, and modifications may occur and are intended to those skilled in the art, though not expressly stated herein. These alterations, improvements, and modifications are intended to be suggested by this disclosure and are within the spirit and scope of the exemplary embodiments of this disclosure.

[0212] Moreover, certain terminology has been used to describe embodiments of the present disclosure. For example, the terms “one embodiment, ” “an embodiment, ” and “some embodiments” mean that a particular feature, structure, or feature described in connection with the embodiment is included in at least one embodiment of the present disclosure. Therefore, it is emphasized and should be appreciated that two or more references to “an embodiment” or “one embodiment” or “an alternative embodiment” in various portions of this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or features may be combined as suitable in one or more embodiments of the present disclosure.

[0213] Furthermore, the recited order of processing elements or sequences, or the use of numbers, letters, or other designations therefore, is not intended to limit the claimed processes and methods to any order except as may be specified in the claims. Although the above disclosure discusses through various examples what is currently considered to be a variety of useful embodiments of the disclosure, it is to be understood that such detail is solely for that purpose and that the appended claims are not limited to the disclosed embodiments, but, on the contrary, are intended to cover modifications and equivalent arrangements that are within the spirit and scope of the disclosed embodiments. For example, although the implementation of various parts described above may be embodied in a hardware device, it may also be implemented as a software only solution, e.g., an installation on an existing server or mobile device.

[0214] Similarly, it should be appreciated that in the foregoing description of embodiments of the present disclosure, various features are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure aiding in the understanding of one or more of the various embodiments. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed subject matter requires more features than are expressly recited in each claim. Rather, claimed subject matter may lie in less than all features of a single foregoing disclosed embodiment.

[0215] In some embodiments, numbers describing the number of ingredients and attributes are used. It should be understood that such numbers used for the description of the embodiments use the modifier “about” , “approximately” , or “substantially” in some examples. Unless otherwise stated, “about” , “approximately” , or “substantially” indicates that the number is allowed to vary by ±20%. Correspondingly, in some embodiments, the numerical parameters used in the description and claims are approximate values, and the approximate values may be changed according to the required features of individual embodiments. In some embodiments, the numerical parameters should consider the prescribed effective digits and adopt the method of general digit retention. Although the numerical ranges and parameters used to confirm the breadth of the range in some embodiments of the present disclosure are approximate values, in specific embodiments, settings of such numerical values are as accurate as possible within a feasible range.

[0216] For each patent, patent application, patent application publication, or other materials cited in the present disclosure, such as articles, books, specifications, publications, documents, or the like, the entire contents of which are hereby incorporated into the present disclosure as a reference. The application history documents that are inconsistent or conflict with the content of the present disclosure are excluded, and the documents that restrict the broadest scope of the claims of the present disclosure (currently or later attached to the present disclosure) are also excluded. It should be noted that if there is any inconsistency or conflict between the description, definition, and / or use of terms in the auxiliary materials of the present disclosure and the content of the present disclosure, the description, definition, and / or use of terms in the present disclosure is subject to the present disclosure.

[0217] Finally, it should be understood that the embodiments described in the present disclosure are only used to illustrate the principles of the embodiments of the present disclosure. Other variations may also fall within the scope of the present disclosure. Therefore, as an example and not a limitation, alternative configurations of the embodiments of the present disclosure may be regarded as consistent with the teaching of the present disclosure. Accordingly, the embodiments of the present disclosure are not limited to the embodiments introduced and described in the present disclosure explicitly.

Claims

1.A method implemented on a computing device having one or more processors and one or more storage devices for controlling at least one exposure parameter of an imaging device, comprising:obtaining a plurality of current frames captured by the imaging device;determining an exposure ratio allocation sequence based on a current scene type of a shooting scene of the plurality of current frames, wherein the exposure ratio allocation sequence includes an allocation ratio of each of the at least one exposure parameter among a plurality of exposure parameters of the imaging device in a plurality of target frames to be captured; andcontrolling, based on the exposure ratio allocation sequence, the imaging device to operate according to a corresponding allocation ratio of each of the at least one exposure parameter, so as to obtain the plurality of target frames.2.The method of claim 1, wherein the current scene type is determined by:obtaining scene information of the shooting scene, anddetermining the current scene type based on the scene information.3.The method of any one of claims 1-2, wherein the scene information includes a current frame ambient brightness level of each of the plurality of current frames when the plurality of current frames are captured, and before determining the current scene type based on the scene information, the method further comprises:obtaining the current frame ambient brightness level and a target ambient brightness level; andupdating the current frame ambient brightness level based on the current frame ambient brightness level and the target ambient brightness level.4.The method of claim 3, wherein the updating the current frame ambient brightness level based on the current frame ambient brightness level and the target ambient brightness level includes:in response to determining that a first difference between the current frame ambient brightness level and the target ambient brightness level is greater than a first difference threshold, updating the current frame ambient brightness level.5.The method of claim 3, further comprising, before updating the current frame ambient brightness level based on the current frame ambient brightness level and the target ambient brightness level:obtaining a current actual ambient brightness level of each of the plurality of current frames when the plurality of current frames are captured and a historical actual ambient brightness level; andin response to determining that a second difference between the current actual ambient brightness level and the historical actual ambient brightness level is greater than a second difference threshold, updating the target ambient brightness level by designating the current actual ambient brightness level as the target ambient brightness level.6.The method of any one of claims 1-2, wherein the plurality of exposure parameters include at least two exposure parameters, and the determining an exposure ratio allocation sequence based on a current scene type includes:determining exposure priorities of the at least two exposure parameters based on the current scene type; anddetermining the exposure ratio allocation sequence based on the exposure priorities, a target allocation ratio of the at least two exposure parameters, and a total exposure ratio of the plurality of current frames.7.The method of claim 6, wherein the scene information includes a current frame ambient brightness level when the plurality of current frames are captured, and the target allocation ratio is determined by:determining the target allocation ratio based on the current frame ambient brightness level.8.The method of claim 7, wherein the determining the target allocation ratio based on the current frame ambient brightness level includes:in response to determining that the current frame ambient brightness level is greater than a first brightness threshold, designating a first ratio as the target allocation ratio;in response to determining that the current frame ambient brightness level is less than a second brightness threshold, designating a second ratio as the target allocation ratio; andin response to determining that the current frame ambient brightness level is less than or equal to the first brightness threshold and greater than or equal to the second brightness threshold, determining the target allocation ratio based on the first ratio and the second ratio.9.The method of claim 7, wherein the total exposure ratio is determined by:performing exposure ratio calculation based on the current frame ambient brightness level.10.The method of claim 6, wherein the total exposure ratio is related to a dynamic range of the shooting scene, the dynamic range includes a brightness difference between a highest scene brightness level of the shooting scene and a lowest scene brightness level of the shooting scene.11.The method of claim 6, wherein the exposure ratio allocation sequence is determined by:allocating the total exposure ratio to the at least two exposure parameters in sequence based on an order of the exposure priorities of the at least two exposure parameters; wherein:if a current ranked exposure parameter of the at least two exposure parameters reaches a corresponding allocation ratio, allocating the total exposure ratio to a next ranked exposure parameter of the at least two exposure parameters until the total exposure ratio is fully allocated; orif each of the at least two exposure parameters reaches a corresponding allocation ratio and the total exposure ratio is not fully allocated, continuing allocating the total exposure ratio according to an actual allocable ratio of the each of the at least two exposure parameters.12.The method of claim 6, wherein the determining exposure priorities of the at least two exposure parameters based on the current scene type includes:determining a preset scene condition for the current scene type; andperforming a preset configuration for the preset scene condition to determine the exposure priorities.13.The method of claim 6, wherein the determining exposure priorities of the at least two exposure parameters based on the current scene type includes:determining a preset scene condition for the current scene type; andprioritizing, based on the preset scene condition and a preset sorting algorithm, the at least two exposure parameters to determine the exposure priorities.14.The method of claim 13, further comprising:determining one or more target exposure parameters from the plurality of exposure parameters based on the preset scene condition; or determining the one or more target exposure parameters from the plurality of exposure parameters based on the preset scene condition and the exposure priorities; anddetermining the exposure ratio allocation sequence of the one or more target exposure parameters based on the preset scene condition.15.The method of claim 14, wherein the determining the exposure ratio allocation sequence of the one or more target exposure parameters based on the preset scene condition includes:adjusting one or more allocable multiples of the one or more target exposure parameters based on the preset scene condition to determine the exposure ratio allocation sequence of the one or more target exposure parameters.16.The method of claim 14, wherein the determining the exposure ratio allocation sequence of the one or more target exposure parameters based on the preset scene condition includes:determining an adjustment step size based on at least one of the current scene type or the exposure priorities; anddetermining the exposure ratio allocation sequence of the one or more target exposure parameters based on a current exposure ratio allocation of the one or more target exposure parameters and the adjustment step size, wherein the current exposure ratio allocation includes an exposure ratio allocation used when capturing the plurality of current frames.17.The method of claim 16, wherein the scene information includes a current frame ambient brightness level, and the determining an adjustment step size includes:determining the adjustment step size based on the current frame ambient brightness level, a first brightness threshold, and a second brightness threshold, wherein the first brightness threshold is greater than the second brightness threshold.18.The method of claim 16, wherein the adjustment step size is related to an actual ambient brightness level of the plurality of target frames, the current frame ambient brightness level, and a target ambient brightness level, and the actual ambient brightness level of the plurality of target frames is determined by:determining the actual ambient brightness level of the plurality of target frames based on a historical actual ambient brightness level and a current actual ambient brightness level.19.The method of claim 1, wherein the at least one exposure parameter includes at least one of a shutter speed, a gain, or an aperture.20.The method of claim 1, wherein the plurality of target frames are configured for synthesizing a target image.21.A system for controlling at least one exposure parameter of an imaging device, comprising at least one processor and at least one storage device; whereinthe at least storage device is configured to store computer instructions; andthe at least one processor is configured to execute at least a portion of the computer instructions to implement the method for controlling at least one exposure parameter of any one of claims 1-20.22.A non-transitory computer-readable storage medium storing computer instructions, wherein when a computer reads the computer instructions, the computer executes the method for controlling at least one exposure parameter of any one of claims 1-20.

Citation Information

Patent Citations

  • Image processing method and device

    CN110121882A

  • Exposure brightness control method and device, electronic equipment and storage medium

    CN111770285A

  • Exposure adjustment method and device, medium and electronic equipment

    CN116193267A

  • Exposure parameter control method, camera device and storage medium

    CN118524293A

  • Method of fast estimation of scene brightness and optimal camera exposure

    US20210218874A1