Photographing control method and device and storage medium
By carrying exposure sequence information and identification information in the photo request, combining frame fetching before SR and frame fetching after HDR, the problem of lag in the high dynamic range super-resolution photography performance in the prior art is solved, and dynamic frame fetching and frame number continuity are achieved, improving user experience.
Patent Information
- Application Number
- CN202311359993.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-19
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2043-10-19
AI Technical Summary
When the prior art realizes high dynamic range super-resolution photography, the performance of the frame is lagging, and the traditional super-resolution front frame acquisition cannot meet the frame number and exposure requirements, affecting the user experience.
By carrying exposure sequence information and identification information in the photo request, selecting the target image frame, combining the frame before SR and the frame after HDR to generate the photo picture, ensuring the continuous frame number and reducing performance lag.
It realizes dynamic frame fetching behavior of HDSR scenes, avoids performance lag and improves user photography experience.
Smart Images

Figure CN119865706A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of photographic imaging, and in particular to a photographic control method, device and storage medium. Background Art
[0002] With the advancement of technology, people are constantly pursuing high-dynamic and high-resolution images for various mobile electronic devices.
[0003] In related technologies, for example, the dynamic frame-taking photography method can adopt the post-frame taking method to meet the scene synthesis standard of High Dynamic Range Super Resolution (HDSR) photography technology when the frame number is continuous. However, the post-frame taking behavior will cause HDSR scene performance to freeze. The traditional super resolution (SR) pre-frame taking behavior cannot meet the requirements of frame number and exposure (ev) value, and cannot effectively support dynamic frame taking behavior, which greatly reduces performance, affects user experience, and reduces users' dependence on electronic device photography. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a photographing control method, device and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a photographing control method is provided, comprising: in response to a camera application of an electronic device receiving a photographing request, carrying exposure sequence information and identification information in the photographing request; the exposure carried in the exposure sequence information includes a first number of first exposures, a second number of second exposures, and a third number of third exposures in sequence according to the timing of the image frames requested by the photographing request, wherein the first exposure is greater than the second exposure, and the third exposure is greater than the first exposure; the identification included in the identification information includes a second number of second identifications, a third number of second identifications, and a first number of first identifications in sequence according to the timing of the image frames requested by the photographing request, the first identification is used to identify that an image frame is obtained from a cache frame before the photographing request is received, and the second identification is used to identify that an image frame is obtained from a cache frame after the photographing request is received; based on the exposure sequence information and the identification information, selecting a target image frame, the target image frame being an image frame used to generate a photographed picture according to the exposure sequence information; based on the target image frame, generating a photographed picture.
[0006] In one embodiment, the selecting of target image frames based on the exposure sequence information and the identification information includes: in response to the first identification, selecting the first number of image frames in reverse order starting from the current frame in which the photo request is received, and in response to the second identification, selecting the second number of image frames and the third number of image frames in reverse order starting from the current frame; and obtaining target image frames based on the first number of image frames, the second number of image frames and the third number of image frames, wherein the first number of image frames in the target image frames have a first exposure, the second number of image frames have a second exposure, and the third number of image frames have a third exposure.
[0007] In one embodiment, the selecting of the first number of image frames in reverse order starting from the current frame in which the photo request is received includes: selecting the first number of image frames with the first exposure level in reverse order starting from the current frame in which the photo request is received; the selecting of the second number of image frames and the third number of image frames in reverse order starting from the current frame includes: modifying the exposure level of the second number of image frames to the second exposure level, and modifying the exposure level of the third number of image frames to the third exposure level; selecting the second number of image frames with the second exposure level and the third number of image frames with the third exposure level in reverse order starting from the current frame; obtaining the target image frame based on the first number of image frames, the second number of image frames and the third number of image frames includes: determining the first number of image frames with the first exposure level, the second number of image frames with the second exposure level and the third number of image frames with the third exposure level in sequence according to the timing of the image frames requested by the photo request to obtain the target image frame.
[0008] In one embodiment, the method also includes: adding a second number of image frames of the second exposure and a third number of image frames of the third exposure among the image frames requested by the photo request to a cache frame queue, and modifying the identifiers of the second number of image frames of the second exposure and the third number of image frames of the third exposure to the first identifier.
[0009] In one embodiment, before selecting the target image frame based on the exposure sequence information and the identification information, the method also includes: determining that a first condition is satisfied, and satisfying the first condition includes enabling image frames to be acquired in the cache frames before receiving the photo request to generate a photo.
[0010] In one embodiment, before obtaining the target image frame based on the first number of image frames, the second number of image frames and the third number of image frames, the method also includes: determining that a second condition is satisfied, and satisfying the second condition includes that the frame numbers of the first number of image frames, the second number of image frames and the third number of image frames are continuous, and the sensitivity frame-to-frame difference ratio is less than a threshold.
[0011] According to a second aspect of an embodiment of the present disclosure, there is provided a photographing device, including:
[0012] A receiving unit, for responding to a camera application of an electronic device receiving a photo request, wherein the photo request carries exposure sequence information and identification information; the exposures carried in the exposure sequence information include a first number of first exposures, a second number of second exposures, and a third number of third exposures in sequence according to the timing of the image frames requested by the photo request, wherein the first exposure is greater than the second exposure, and the third exposure is greater than the first exposure; the identifiers included in the identification information include a second number of second identifiers, a third number of second identifiers, and a first number of first identifiers in sequence according to the timing of the image frames requested by the photo request, wherein the first identifier is used to identify that an image frame is obtained from a cache frame before the photo request is received, and the second identifier is used to identify that an image frame is obtained from a cache frame after the photo request is received; a selecting unit, for selecting a target image frame based on the exposure sequence information and the identification information, wherein the target image frame is an image frame used to generate a photo picture; an imaging unit, for generating a photo picture based on the target image frame.
[0013] In one embodiment, the selection unit selects the target image frame based on the exposure sequence information and the identification information in the following manner: in response to the first identification, the first number of image frames are selected in reverse order starting from the current frame where the photo request is received, and in response to the second identification, the second number of image frames and the third number of image frames are selected backward in order starting from the current frame; based on the first number of image frames, the second number of image frames and the third number of image frames, a target image frame is obtained, in which the first number of image frames have a first exposure, the second number of image frames have a second exposure, and the third number of image frames have a third exposure.
[0014] In one embodiment, the selection unit is also used to select the first number of image frames in reverse order starting from the current frame where the photo request is received, including: selecting the first number of image frames with the first exposure level in reverse order starting from the current frame where the photo request is received; selecting the second number of image frames and the third number of image frames in reverse order starting from the current frame, including: modifying the exposure level of the second number of image frames to the second exposure level, and modifying the exposure level of the third number of image frames to the third exposure level; selecting the second number of image frames with the second exposure level and the third number of image frames with the third exposure level in reverse order starting from the current frame; obtaining the target image frame based on the first number of image frames, the second number of image frames and the third number of image frames, including: determining the first number of first exposure image frames, the second number of second exposure image frames and the third number of third exposure image frames in sequence according to the timing of the image frames requested by the photo request to obtain the target image frame.
[0015] In one embodiment, the photographing device is also used to: add a second number of image frames of the second exposure and a third number of image frames of the third exposure among the image frames requested by the photographing request to a cache frame queue, and modify the identifiers of the second number of image frames of the second exposure and the third number of image frames of the third exposure to the first identifier.
[0016] In one embodiment, the selection unit is also used to determine whether a first condition is satisfied before selecting a target image frame based on the exposure sequence information and the identification information, wherein satisfying the first condition includes enabling image frames to be obtained from cache frames before receiving the photo request to generate a photo.
[0017] In one embodiment, the selection unit is also used to, before obtaining the target image frame based on the first number of image frames, the second number of image frames and the third number of image frames: determine that a second condition is satisfied, wherein the second condition is satisfied including that the frame numbers of the first number of image frames, the second number of image frames and the third number of image frames are continuous, and the sensitivity frame-to-frame difference ratio is less than a threshold.
[0018] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to execute the executable instructions to execute the photo imaging method in the first aspect or any one of the embodiments of the first aspect.
[0019] According to the fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the photo-taking imaging method in the first aspect or any one of the embodiments of the first aspect.
[0020] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: according to the photo request received by the camera application of the electronic device, the exposure sequence information and identification information are carried in the photo request, and the front frame and the back frame are taken according to the exposure sequence information and the identification information, so as to ensure that the HDSR scene can perform normal dynamic frame taking behavior. In addition, the frame number of the HDSR scene frame taking can be ensured to be continuous, and the occurrence of the HDSR scene performance jamming phenomenon caused by the back frame taking behavior can be reduced, thereby improving the user's photo taking experience.
[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0023] Figure 1 The figure is a flow chart of a photographing control method according to an exemplary embodiment.
[0024] Figure 2 The present invention is a flowchart of selecting a target image frame according to an exemplary embodiment.
[0025] Figure 3 The figure is a flowchart of obtaining a target image frame according to an exemplary embodiment.
[0026] Figure 4 The figure is an example diagram showing a photographing control according to an exemplary embodiment.
[0027] Figure 5 The figure is a block diagram of a photographing device according to an exemplary embodiment.
[0028] Figure 6 The invention is a block diagram of a device for taking photos according to an exemplary embodiment. DETAILED DESCRIPTION
[0029] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.
[0030] The dynamic frame-taking photography imaging method provided in the embodiments of the present disclosure is applied to the photography imaging scene of the electronic device. The dynamic frame-taking photography imaging method involved in the embodiments of the present disclosure is mainly applied to the HDSR scene combining SR and HDR. For example, it is applied to the scene of mobile phone photography imaging.
[0031] In the related technologies, most HDSR scenes use a post-frame solution to meet the frame requirements of SR and HDR combined scenes, thereby sacrificing performance to achieve the synthesis effect, indirectly ensuring the user's photography needs for high-dynamic and high-resolution images. However, in the stage where photography and imaging are developing more and more steadily and rapidly, the negative effects of imaging waiting time have seriously affected the user's photography experience and cannot effectively meet user expectations. Compared with photography in other scenes, the post-frame photography imaging solution lags behind the photography frame time, resulting in the overall processing time being infinitely extended.
[0032] Moreover, in the scenario where SR and HDR are combined, the SR pre-capture behavior cannot meet the requirements of frame number and EV value, and cannot effectively support dynamic frame capture behavior, which greatly reduces the camera performance and makes it impossible to actively optimize the shot to gallery time standard, seriously reducing the user's camera experience and reducing the user's dependence on electronic device photography.
[0033] In view of this, the present disclosure provides a photo control method, which obtains the frame number information obtained by clicking to take a photo according to a photo request, implements a front frame scheme based on SR front frame and logically HDR back frame, and sequentially stores the image frames obtained before SR and the image frames obtained logically after HDR in the frame number information obtained by clicking to take a photo, that is, the image frames obtained before SR are set as the first identification information, and the image frames obtained logically after HDR are set as the second identification information, wherein the exposure of the first identification information is the first exposure, the exposure of the second identification information includes the second exposure and the third exposure, the first exposure is greater than the second exposure, and the third exposure is greater than the first exposure, the first identification information is synthesized into a normally exposed image frame, and the synthesized normally exposed image frame is combined with the second identification information to obtain the image required by the user. The front frame scheme can reduce the occurrence of performance freezes in HDSR scenarios caused by the post-frame behavior, and avoid the situation of discontinuous frame numbers, thereby improving the user's photo experience.
[0034] Figure 1 is a flow chart of a photographing control method according to an exemplary embodiment. Figure 1 As shown, the photographing method is used in an electronic device and includes the following steps.
[0035] In step S11, in response to a camera application of the electronic device receiving a photo request, the photo request carries exposure sequence information and identification information.
[0036] In an embodiment of the present disclosure, an electronic device receives a photo request, and the received photo request has different functional purposes. The different functional purposes can assign a flag that can achieve the different functional purposes to the photo request, for example, assigning a flag that carries exposure sequence information and identification information to the photo request.
[0037] Among them, the exposure sequence information can be understood as a set of information with different exposure values, and the identification information can be understood as a set of identification information with different identification purposes, that is, whether it is necessary to perform a forward frame fetch on the image frame under the current frame number or whether the image frame under the current frame number needs to be logically fetched later when performing a forward frame fetch operation.
[0038] The exposure levels carried in the exposure sequence information include a first number of first exposure levels, a second number of second exposure levels, and a third number of third exposure levels in sequence according to the timing of the image frames requested by the photo request, wherein the first exposure level is greater than the second exposure level, and the third exposure level is greater than the first exposure level.
[0039] The first exposure level may be understood as normal exposure (ev0), the second exposure level may be understood as underexposure (ev-), and the third exposure level may be understood as overexposure (ev+).
[0040] The identifiers included in the identification information include a second number of second identifiers, a third number of second identifiers, and a first number of first identifiers in sequence according to the timing of the image frames requested by the photo request. The first identifier is used to identify that the image frames are obtained from the cache frames before the photo request is received, and the second identifier is used to identify that the image frames are obtained from the cache frames after the photo request is received.
[0041] Among them, the first number can be understood as the number of image frames required for reverse selection, the second number can be understood as the number of partial image frames required for sequential selection, and the third number can be understood as the number of another part of image frames required for sequential selection, among which the first number, the second number and the third number are not limited in quantity.
[0042] In step S12, based on the exposure sequence information and the identification information, a target image frame is selected, where the target image frame is an image frame used to generate a photographed picture according to the exposure sequence information.
[0043] In the disclosed embodiment, image frames are selected based on exposure sequence information and identification information, and the selected image frames are image frames that meet the conditions for generating photographic images.
[0044] The target image frame may be understood as an image frame that carries different exposure sequence information and different identification information and can carry different exposure sequence information according to different identification information to generate an image frame required for taking a picture.
[0045] In step S13, a photographic picture is generated based on the target image frame.
[0046] In the disclosed embodiment, the required photographic picture is generated according to the target image frame that meets the synthesis conditions.
[0047] The photographed image can be understood as a final image synthesized from photographed image frames generated by the sensor.
[0048] In the disclosed embodiment, the photo request issued by the electronic device is processed differently according to the exposure sequence information and identification information carried in the photo request, that is, when the current frame number is clicked to take a photo, whether the required frame needs to be pre-fetched or logically post-fetched, and a target image frame that meets the conditions is selected for the exposure sequence information and the identification information, the image frames that need to be pre-fetched are synthesized into an image frame with the same exposure value, and the synthesized image frame is synthesized with the image frame that needs to be logically post-fetched to obtain the required picture, so that it can autonomously perform dynamic pre-fetching of the required frame under corresponding conditions and ensure the continuity of the required frame number.
[0049] Figure 2 FIG. 1 is a flowchart showing a method of selecting a target image frame according to an exemplary embodiment. Figure 2 As shown, the following steps are included:
[0050] In step S21, in response to the first identifier, a first number of image frames are selected in reverse order starting from the current frame where the photo request is received, and in response to the second identifier, a second number of image frames and a third number of image frames are selected in reverse order starting from the current frame.
[0051] In the disclosed embodiment, the selection conditions of the image frames are set, and then the selection method of the target image frames is determined. The target image frame selection method can be determined according to the click-to-shoot moment. For example, different identifiers are set according to the click-to-shoot moment, and the front-fetching behavior or the logical back-fetching behavior is set according to the different identifiers. The image frames marked as the front-fetching behavior are selected in reverse order, and the image frames marked as the back-fetching behavior are selected in sequence backward.
[0052] Among them, the first identifier can be understood as a symbol for storing image frames that conform to the reverse order, that is, a symbol for selecting the first number of image frames in reverse order from the first number of image frames under the current frame number when a photo request is received, and the second identifier can be understood as a symbol for storing image frames selected backward in order starting from the current frame, that is, a symbol for storing the second number of image frames and the third number of image frames under the current frame number.
[0053] In step S22, target image frames are obtained based on a first number of image frames, a second number of image frames and a third number of image frames, wherein the first number of image frames have a first exposure, the second number of image frames have a second exposure, and the third number of image frames have a third exposure.
[0054] In the disclosed embodiment, exposure information of the image is determined according to the first number, the second number and the third number of image frames respectively, and the target image frame is determined according to the first number, the second number and the third number carrying different exposure information.
[0055] Among them, the first exposure level can be understood as the state of normal exposure (ev0) of the image under normal circumstances, the second exposure level can be understood as the state of underexposure (ev-) of the image under normal circumstances, and the third exposure level can be understood as the state of overexposure (ev+) of the image under normal circumstances.
[0056] In the disclosed embodiment, the image frame selection condition is set, the photo request is divided into request frames with different exposure sequence information and identification information, and the target image frame that meets the condition is selected according to the different information carried by the obtained request frame. The obtained image frame is convenient for subsequent acquisition operations.
[0057] Figure 3 FIG. 1 is a flowchart of obtaining a target image frame according to an exemplary embodiment. Figure 3 As shown, the following steps are included:
[0058] In step S31, a first number of image frames having a first exposure level are selected in reverse order starting from the current frame at which the photo-taking request is received.
[0059] In the embodiment of the present disclosure, when a photo-taking request for a current image frame is received, a first number of image frames are selected in reverse order.
[0060] In the embodiment of the present disclosure, a first number of image frames of a first exposure are selected in reverse order, with the purpose of synthesizing the selected first number of image frames of the first exposure into one image frame of the first exposure.
[0061] In step S32, a second number of image frames with a second exposure level and a third number of image frames with a third exposure level are sequentially selected starting from the current frame.
[0062] In the disclosed embodiment, starting from the current frame where a photo request is received, a second number of image frames and a third number of image frames are sequentially selected backwards, and the exposure of the second number of image frames is modified to the second exposure, and the exposure of the third number of image frames is modified to the third exposure.
[0063] In the disclosed embodiment, a second number of second exposure image frames and a third number of third exposure image frames are obtained, with the purpose of synthesizing the obtained second exposure image frames and third exposure image frames with the first exposure image frames.
[0064] In step S33, target image frames are obtained based on the first number of image frames, the second number of image frames and the third number of image frames.
[0065] In the disclosed embodiment, a first number of first-exposure image frames, a second number of second-exposure image frames, and a third number of third-exposure image frames are sequentially determined according to the timing of the image frames requested by the photo request to obtain the target image frames.
[0066] Among them, the obtained image frame can be understood as synthesizing a first number of first exposure image frames into an image frame of first exposure, and synthesizing the synthesized first exposure image frame with the second exposure image frame and the third exposure image frame to obtain the target image frame.
[0067] In the disclosed embodiment, an acquisition operation is performed on the selected target image frame, a first number of first exposure image frames are synthesized into a first exposure image frame, and the obtained first exposure image frame is synthesized with the remaining exposure image frames to finally obtain the target frame.
[0068] In the embodiment of the present disclosure, the storage location of the acquired target image frame is set, and the acquired target image frame can be stored in a queue. For example, a cache queue is set, and the target image frame is stored in the cache queue. The cache queue is a queue including a first number of first exposure information, and a second number of second exposure image frames and a third number of third exposure image frames are added to the cache queue, and the second identification information of the second number of second exposure image frames and the third number of third exposure image frames added to the cache queue is modified to the first identification information.
[0069] Among them, the cache queue can be understood as the first exposure queue of the first quantity that is cached to avoid the inability to perform the front frame operation due to clearing the queue when the current frame of the photo request is received, and the second exposure queue of the second quantity that needs to perform the logical post-frame operation and the third exposure queue of the third quantity.
[0070] In the embodiment of the present disclosure, the second identification information of the second number of image frames of the second exposure and the third number of image frames of the third exposure added to the cache queue is modified to the first identification information. The purpose is to set the frame number of the image frame with the second identification in the request sent by the electronic device to the frame number of the image frame with the first identification that can be accepted, so as to ensure that the bottom layer of the electronic device can smoothly store the second number of image frames of the second exposure and the third number of image frames of the third exposure.
[0071] In the disclosed embodiment, based on the exposure sequence information and the identification information, before selecting the target image, it is determined whether the selected target image satisfies the conditions for generating a photograph. For example, a first condition is set to store the image frame before the received photograph request in a queue, and to ensure that the queue is not automatically cleared when the photograph request is sent.
[0072] Among them, the first condition can be understood as the electronic device enabling the acquisition of graphic frames in the cache frames before receiving the photo request to generate a photo, that is, the electronic device browses the obtained image frames before receiving the photo request, and stores the browsed image frames in the cache queue. The cache queue may include two queues, namely, a consumer queue and a production frame queue. The consumer queue is used to store processed image frames, and the producer queue is used to store unprocessed image frames. Frames are taken from the producer queue in reverse order to obtain 5 frames in the producer queue and 3 frames in the consumer queue, thereby obtaining 8 image frames required for multi-frame synthesis.
[0073] In the disclosed embodiment, it is determined whether the frame acquired by the electronic device meets the synthesis condition and ensures that the frame acquired by the electronic device can be pre-fetched, thereby synthesizing the image frame that can be pre-fetched with the image frame that is logically post-fetched.
[0074] In the disclosed embodiment, the taken image frames are determined to be image frames that meet the requirements for generating a photographed image. For example, a second condition is set to ensure that the frame numbers of the first number of image frames, the second number of image frames, and the third number of image frames are continuous, and the sensitivity frame-to-frame difference ratio is less than a threshold.
[0075] The sensitivity may be understood as the exposure sensitivity of the acquired target image frame, the sensitivity frame-by-frame difference ratio may be understood as the average sensitivity of the target image frame, and the threshold may be understood as a set value, such as 10%.
[0076] In the disclosed embodiment, before determining whether the frames acquired by the electronic device meet the synthesis standard, it is also necessary to ensure that the first number of frames of the first exposure acquired by the electronic device can be synthesized with the second number of frames of the second exposure and the third number of frames of the third exposure.
[0077] In the embodiment of the present disclosure, for HDSR photography, an electronic device sends ten requests as an example, as shown in Table 1, to specifically illustrate the operation of dynamically taking frames for photography and imaging in the electronic device.
[0078] In Table 1, Tag1 is the first identifier, Tag0 is the second identifier, Request is the request sent by the application layer, 100ev- is the first request for click to take a photo with underexposure, 101ev+ is the second request for click to take a photo with overexposure, and 100ev- and 101ev+ are also image frames that need to be taken later logically.
[0079]
[0080]
[0081] Table 1
[0082] In the disclosed embodiment, the application layer will fill in all the flags that allow dynamic pre-fetching, i.e., the first flag and the second flag, for 10 requests, so that the EV values carried by the requests are in the order of 8 EV0s, one EV-, and one EV+ exposure table, wherein the flags of the under-exposure value image frames and over-exposure value image frames that logically require post-frame fetching, and the first two in the request list are set to the second flag, and the remaining 8 image frames are normally enabled for SR synthesis, and the flags of these 8 frames are set to the first flag. The application layer will process them separately according to the corresponding HDSR shooting standards set and send these 10 requests to the underlying framework, and then send them layer by layer to the underlying multi-frame shooting queue to send them to the sensor.
[0083] In the disclosed embodiment, when the first request with the exposure ev value and the identifier reaches the processing layer, it is determined whether the current queue state can support dynamic frame fetching behavior. If it can support dynamic frame fetching, the front frame fetching operation is performed; if not, the back frame fetching operation is performed.
[0084] In the embodiment of the present disclosure, the dynamic frame-taking operation requires 8 image frames carrying the first identifier to determine whether the frame-taking can be performed. After the sensor receives the request, the 8 frames are taken in the reverse order of the queue to determine whether their exposure values meet the requirements. If they meet the requirements, the exposure values of the 100th and 101st frames in Table 1 are modified to underexposure and overexposure, and sent to the underlying sensor.
[0085] In the disclosed embodiment, the underlying sensor generates two image frames with exposure values that meet the requirements for HDSR synthesis based on the modified 100th frame and 101st frame. At this time, because the application layer has sent 10 requests, and HDSR synthesis only requires the first and second requests in the group of requests, the next time you take a photo, you need to start taking frames from the third request and perform SR synthesis operations with normal exposure values.
[0086] In the disclosed embodiment, when the processing layer receives a request for under-exposed and over-exposed image frames, it refuses to clear the cache queue and continues to store the eight image frames carrying the first identifier in the cache queue.
[0087] In the disclosed embodiment, two image frames of exposure values generated by the underlying sensor and satisfying the requirements of HDSR synthesis are manually added to the 108th and 109th frames (ie, the two request frames with the second identifier).
[0088] In the disclosed embodiment, in a set of requests sent by click to take a photo at this time, the image frames carried by the original request frame are actually the 8 previously taken image frames with normal exposure values, as well as the first click to take a photo request with underexposure and the second click to take a photo request with overexposure.
[0089] Figure 4 FIG. 1 is a flowchart of a photographing control method according to an exemplary embodiment. Figure 4 As shown, the specific steps are as follows:
[0090] In step S41, the camera shooting function is turned on.
[0091] In an exemplary embodiment of the present disclosure, an electronic device for photographing, such as a camera, is turned on to perform a photographing operation.
[0092] In step S42, the SR scene is entered, triggering high dynamic range HDR.
[0093] In an exemplary embodiment of the present disclosure, in a scenario where forward frame acquisition can be performed, a condition is triggered for a camera to shoot a composite picture, such as triggering high dynamic range HDR.
[0094] Among them, SR (Super Resolution) can be understood as a technology that can dynamically fetch frames.
[0095] In step S43, click to take a photo, and the electronic device sends a request.
[0096] In an exemplary embodiment of the present disclosure, according to the operation of clicking to take a photo, the electronic device sends a request carrying exposure information and identification information.
[0097] Among them, the request sent by the electronic device can be understood as including a certain number of queues with different flag values, for example, in combination with Table 1, including 8 requests with a flag value of 1 and 2 requests with a flag value of 0. The request in Table 1 can be understood as the request sent by the electronic device. Assuming that the electronic device sends 10 requests in the 100th frame, the electronic device fills in the flag that allows dynamic pre-fetching for all 10 requests (that is, the request frame with a Tag value of 1 on the request frame and a Tag value of 0 that logically needs to be fetched later), so that its request frame carries information with different exposure levels.
[0098] In step S44, dynamic frame acquisition logic judgment is performed.
[0099] In an exemplary embodiment of the present disclosure, dynamic frame fetching logic judgment is performed according to the flag value carried.
[0100] The dynamic frame acquisition logic can be understood as the selected target image frame meets certain conditions, for example, the frame number is continuous, the exposure sensitivity frame-by-frame difference ratio is less than a threshold, such as less than 10%,
[0101] In step S45, the bottom layer output operation is performed.
[0102] In an exemplary embodiment of the present disclosure, the bottom layer sensors respectively generate images according to the requests sent by the electronic device.
[0103] The bottom layer output can be understood as the bottom layer outputting the image frames carrying different exposure values (ev-, ev0, ev+) and tag values (Tag0, Tag1) according to the request sent by the electronic device. For example, in combination with Table 1, the image frame carrying the exposure value of ev0 is assigned to one request, and the image frame carrying the exposure values of ev- and ev+ is assigned to another request, wherein the bottom layer outputs the image frames into different requests.
[0104] In step S46, corresponding frame number information is obtained from the producer queue and the consumer queue to determine whether it meets the multi-frame synthesis standard.
[0105] In an exemplary embodiment of the present disclosure, to determine whether the obtained frame meets the standard of multi-frame synthesis, the obtained frame can be placed in a queue, such as a cache queue, and the cache queue can be divided into different frame retrieval queues, such as a producer queue and a consumer queue.
[0106] The producer queue can be understood as storing the image frames returned by the bottom layer without any processing, and the consumer queue can be understood as storing the processed image frames returned by the bottom layer. In conjunction with Table 1, the frame numbers 92 to 99 are stored in the frame numbers 100 to 107 in the request frame.
[0107] In step S47, the EV values of the first frame and the second frame are modified to ev- and ev+, and sent to the bottom sensor and received.
[0108] In an exemplary embodiment of the present disclosure, an image frame that is a front-fetched frame but logically a back-fetched frame is sent to an underlying sensor and received.
[0109] Among them, the first frame can be understood as the first image frame obtained by sequentially taking frames after the electronic device receives the photo request during the photo operation, and the second frame can be understood as the second image frame after the first image frame obtained by sequentially taking frames after the electronic device receives the photo request during the photo operation. Combined with Table 1, the first frame can be understood as the 100th frame carrying the ev-exposure value in the request sent by the electronic device, and the second frame can be understood as the 101st frame carrying the ev+exposure value in the request sent by the electronic device. The underlying sensor can be understood as a receiving device that receives image frames of different exposures.
[0110] In step S48, the frame selection judgment of the multi-frame synthesis is completed normally.
[0111] In the disclosed embodiment, the obtained frame is set to determine the frame selection judgment for normally completing the multi-frame synthesis.
[0112] Among them, multi-frame synthesis can be understood as synthesizing the received frames in different ways, for example, classifying and synthesizing multiple frames, combining Table 1, synthesizing frame numbers with the same exposure value, and then synthesizing them with different exposure values.
[0113] In step S49, the frame numbers are continuous and the exposure sensitivity is consistent.
[0114] In the disclosed embodiment, a determination condition is set to determine whether the obtained frame meets the conditions for being forward-fetched and whether it can be synthesized.
[0115] The continuous frame number can be understood as the frame number of the frame returned by the bottom layer and the frame logically taken later being continuous, and the exposure sensitivity compliance can be understood as the average exposure sensitivity of the obtained frames being less than a threshold, such as 10%.
[0116] In step S410, manually add frames 108 and 109 to the zero shutter queue and perform a locking operation.
[0117] In the disclosed embodiment, the last two frames in the request sent by the electronic device are manually added to the zero shutter queue and locked.
[0118] Among them, combined with Table 1, the last two frames in the request sent by the electronic device are numbered 108 and 109. The purpose of adding the obtained two frames to the zero shutter queue and locking them can be understood as setting the last two frames to be able to accept the frame information returned by the underlying layer, and ensuring that the last two frames in the request will not be released in advance, so that it can successfully complete the frame acquisition and photo taking.
[0119] In step S411, the front frame is fetched and the first frame number information and the second frame number information are output.
[0120] In the disclosed embodiment, the frame number information is output.
[0121] Among them, the first identification information and the second identification information can be understood as the second number of frames with the second exposure and the third number of frames with the third exposure returned by the bottom layer, and outputting the first identification information and the second identification information can be understood as enabling the second number of frames with the second exposure and the third number of frames with the third exposure obtained by the bottom layer to be placed in the last two frames in the request issued by the electronic device, ensuring that the last two frames can be enabled for synthesis.
[0122] In step S412, data processing is completed and a YUV image is generated.
[0123] In the disclosed embodiment, the processing of the frames obtained by picture synthesis is completed, and the obtained frames are all converted from the original file data that has not been processed by the camera into YUV data images.
[0124] Among them, completing the data processing can be understood as, in combination with Table 1, performing multi-frame synthesis on the data transmission of the acquired 8 frames of normal exposure values, and outputting a high-resolution normal exposure value image, which is used to be passed into the high dynamic range algorithm together with the 100ev- / 101ev+ acquired later, and the image format is converted after high dynamic range processing. The yuv image can be understood as an image format.
[0125] In step S413, the processed pictures are saved in an album.
[0126] In the disclosed embodiment, the synthesized picture is saved in an album.
[0127] In step S414, the camera shooting function is turned off.
[0128] In the disclosed embodiment, the camera shooting function is turned off to terminate the function operation of taking photos and dynamically capturing frames.
[0129] In the disclosed embodiment, frame taking is divided into front frame taking and logical back frame taking according to dynamic frame taking, which solves the problem that in the scenario of frame taking and synthesizing photos, the requirement of frame number continuity cannot be met based on the front frame taking, resulting in the inability to perform front frame taking, which further leads to slow performance response in the dynamic frame taking scenario, the photo imaging time cannot be actively optimized, the photo taking time is seriously delayed, and the overall processing time is infinitely extended, affecting the user's photo experience.
[0130] Based on the same concept, the embodiment of the present disclosure also provides a photographing device.
[0131] It is understandable that the photographing device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0132] Figure 5 is a block diagram of a photographing device according to an exemplary embodiment. Figure 5 The device 100 includes a receiving unit 101, a selecting unit 102 and an imaging unit 103.
[0133] The receiving unit 101 is used to carry exposure sequence information and identification information in response to a camera application of an electronic device receiving a photo request; the exposure carried in the exposure sequence information includes a first number of first exposures, a second number of second exposures, and a third number of third exposures in sequence according to the timing of the image frames requested by the photo request, wherein the first exposure is greater than the second exposure, and the third exposure is greater than the first exposure; the identification included in the identification information includes a second number of second identifications, a third number of second identifications, and a first number of first identifications in sequence according to the timing of the image frames requested by the photo request, the first identification is used to identify that the image frame is obtained from the cache frame before the photo request is received, and the second identification is used to identify that the image frame is obtained from the cache frame after the photo request is received; the selecting unit 102 is used to select a target image frame based on the exposure sequence information and the identification information, the target image frame being an image frame used to generate a photo picture; the imaging unit 103 is used to generate a photo picture based on the target image frame.
[0134] In one embodiment, the selection unit 102 selects target image frames based on exposure sequence information and identification information in the following manner: in response to a first identification, a first number of image frames are selected in reverse order starting from the current frame where a photo request is received, and in response to a second identification, a second number of image frames and a third number of image frames are selected in reverse order starting from the current frame; based on the first number of image frames, the second number of image frames and the third number of image frames, target image frames are obtained, wherein the first number of image frames in the target image frames have a first exposure, the second number of image frames have a second exposure, and the third number of image frames have a third exposure.
[0135] In one embodiment, the photographing device is also used to add a second number of image frames of the second exposure and a third number of image frames of the third exposure among the image frames requested by the photographing request to a cache frame queue, and to modify the identifiers of the second number of image frames of the second exposure and the third number of image frames of the third exposure to the first identifier.
[0136] In one embodiment, the selection unit 102 is also used to determine whether a first condition is satisfied before selecting a target image frame based on the exposure sequence information and the identification information, wherein satisfying the first condition includes enabling image frames to be obtained from cache frames before receiving a photo request to generate a photo.
[0137] In one embodiment, the selection unit 102 is also used to determine that a second condition is satisfied before obtaining a target image frame based on a first number of image frames, a second number of image frames, and a third number of image frames. Satisfying the second condition includes that the frame numbers of the first number of image frames, the second number of image frames, and the third number of image frames are continuous, and the sensitivity frame-by-frame difference ratio is less than a threshold.
[0138] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0139] Figure 6 2 is a block diagram of a device 200 for taking photos according to an exemplary embodiment. For example, the device 200 may be a mobile phone, a computer, a digital broadcast electronic device, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0140] Reference Figure 6 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .
[0141] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 202 may include one or more modules to facilitate the interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate the interaction between the multimedia component 208 and the processing component 202.
[0142] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0143] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.
[0144] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0145] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
[0146] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0147] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0148] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0149] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0150] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0151] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
[0152] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0153] It will be further understood that the terms “center”, “longitudinal”, “lateral”, “front”, “back”, “up”, “down”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation.
[0154] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
[0155] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0156] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.
[0157] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims
1. A photography control method, characterized in that: The method comprises: In response to a camera application of the electronic device receiving a photo request, the photo request carries exposure sequence information and identification information; The exposure levels carried in the exposure level sequence information include, in sequence according to the time sequence of the image frames requested by the photographing request, a first number of first exposure levels, a second number of second exposure levels, and a third number of third exposure levels, wherein the first exposure level is greater than the second exposure level, and the third exposure level is greater than the first exposure level; The identifiers included in the identification information include, in sequence according to the timing of the image frames requested by the photographing request, a second number of second identifiers, a third number of second identifiers, and a first number of first identifiers, the first identifiers being used to identify that the image frames are acquired from the cache frames before the photographing request is received, and the second identifiers being used to identify that the image frames are acquired from the cache frames after the photographing request is received; Based on the exposure sequence information and the identification information, selecting a target image frame, wherein the target image frame is an image frame used to generate a photographed image according to the exposure sequence information; Based on the target image frame, a photographic picture is generated.
2. The method according to claim 1, characterized in that The selecting a target image frame based on the exposure sequence information and the identification information includes: In response to the first identifier, selecting the first number of image frames in reverse order starting from the current frame in which the photo-taking request is received, and in response to the second identifier, selecting the second number of image frames and the third number of image frames in reverse order starting from the current frame; Based on the first number of image frames, the second number of image frames and the third number of image frames, a target image frame is obtained, in which the first number of image frames have a first exposure, the second number of image frames have a second exposure, and the third number of image frames have a third exposure.
3. The method according to claim 2, characterized in that The step of selecting the first number of image frames in reverse order from the current frame where the photo-taking request is received comprises: Selecting the first number of image frames with the first exposure level in reverse order starting from the current frame where the photo-taking request is received; The selecting the second number of image frames and the third number of image frames sequentially backward starting from the current frame comprises: Modifying the exposure of the second number of image frames to the second exposure, and modifying the exposure of the third number of image frames to the third exposure; Selecting the second number of image frames with the second exposure level and the third number of image frames with the third exposure level in a backward order starting from the current frame; The obtaining of target image frames based on the first number of image frames, the second number of image frames and the third number of image frames comprises: The first number of first-exposure image frames, the second number of second-exposure image frames, and the third number of third-exposure image frames are sequentially determined according to the timing of the image frames requested by the photo request to obtain the target image frames.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Add a second number of image frames of the second exposure and a third number of image frames of the third exposure among the image frames requested by the photo request to the cache frame queue, and modify the identifiers of the second number of image frames of the second exposure and the third number of image frames of the third exposure to the first identifier.
5. The method according to claim 1, characterized in that Before selecting a target image frame based on the exposure sequence information and the identification information, the method further includes: It is determined that a first condition is satisfied, where satisfying the first condition includes enabling an image frame to be acquired from a cache frame before the photo request is received to generate a photo.
6. The method according to claim 2 or 3, characterized in that: Before obtaining the target image frame based on the first number of image frames, the second number of image frames and the third number of image frames, the method further includes: It is determined that a second condition is satisfied, where the second condition is satisfied including that the frame numbers of the first number of image frames, the second number of image frames, and the third number of image frames are continuous, and a sensitivity frame-by-frame difference ratio is less than a threshold.
7. A photographing device, characterized in that: include: A receiving unit, in response to a camera application of the electronic device receiving a photo request, wherein the photo request carries exposure sequence information and identification information; The exposures carried in the exposure sequence information include, in order according to the timing of the image frames requested by the photographing request, a first number of first exposures, a second number of second exposures, and a third number of third exposures, wherein the first exposure is greater than the second exposure, and the third exposure is greater than the first exposure; the identifiers included in the identifier information include, in order according to the timing of the image frames requested by the photographing request, a second number of second identifiers, a third number of second identifiers, and a first number of first identifiers, wherein the first identifier is used to identify that an image frame is acquired from a cache frame before the photographing request is received, and the second identifier is used to identify that an image frame is acquired from a cache frame after the photographing request is received; A selection unit, configured to select a target image frame based on the exposure sequence information and the identification information, wherein the target image frame is an image frame used to generate a photographed image; An imaging unit is used to generate a photographic picture based on the target image frame.
8. The photographing device according to claim 7, characterized in that: The selection unit selects the target image frame based on the exposure sequence information and the identification information in the following manner: In response to the first identifier, selecting the first number of image frames in reverse order starting from the current frame in which the photo-taking request is received, and in response to the second identifier, selecting the second number of image frames and the third number of image frames in reverse order starting from the current frame; Based on the first number of image frames, the second number of image frames and the third number of image frames, a target image frame is obtained, in which the first number of image frames have a first exposure, the second number of image frames have a second exposure, and the third number of image frames have a third exposure.
9. The photographing device according to claim 8, characterized in that: The selection unit selects the first number of image frames in reverse order starting from the current frame receiving the photo-taking request in the following manner: Selecting the first number of image frames with the first exposure level in reverse order starting from the current frame where the photo-taking request is received; The selecting the second number of image frames and the third number of image frames sequentially backward starting from the current frame comprises: Modifying the exposure of the second number of image frames to the second exposure, and modifying the exposure of the third number of image frames to the third exposure; Selecting the second number of image frames with the second exposure level and the third number of image frames with the third exposure level in a backward order starting from the current frame; The obtaining of target image frames based on the first number of image frames, the second number of image frames and the third number of image frames comprises: The first number of first-exposure image frames, the second number of second-exposure image frames, and the third number of third-exposure image frames are sequentially determined according to the timing of the image frames requested by the photo request to obtain the target image frames.
10. The photographing device according to any one of claims 7 to 9, characterized in that: The photographing device is also used for: Add a second number of image frames of the second exposure and a third number of image frames of the third exposure among the image frames requested by the photo request to the cache frame queue, and modify the identifiers of the second number of image frames of the second exposure and the third number of image frames of the third exposure to the first identifier.
11. The photographing device according to claim 7, characterized in that: The selection unit is further configured to select, based on the exposure sequence information and the identification information, before the target image frame is selected: It is determined that a first condition is satisfied, where satisfying the first condition includes enabling an image frame to be acquired from a cache frame before the photo request is received to generate a photo.
12. The photographing device according to claim 8 or 9, characterized in that: The selection unit is further configured to obtain, based on the first number of image frames, the second number of image frames, and the third number of image frames, a target image frame before: It is determined that a second condition is satisfied, where the second condition is satisfied including that the frame numbers of the first number of image frames, the second number of image frames, and the third number of image frames are continuous, and a sensitivity frame-by-frame difference ratio is less than a threshold.
13. A photographing device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method according to any one of claims 1 to 6.
14. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Photographing method and device, medium and terminal equipment
CN114630050A
Photographing method, photographing device and storage medium
CN116170700A
Image processing apparatus, image processing method, imaging apparatus, and program
US20200221007A1
Cited By
Intelligent decision control system and method based on camera shooting and mobile terminal
CN122120607A