US12556809B2 - Shooting method and related device - Google Patents
Shooting method and related deviceInfo
- Publication number
- US12556809B2 US12556809B2 US18/262,483 US202218262483A US12556809B2 US 12556809 B2 US12556809 B2 US 12556809B2 US 202218262483 A US202218262483 A US 202218262483A US 12556809 B2 US12556809 B2 US 12556809B2
- Authority
- US
- United States
- Prior art keywords
- exposure
- images
- frames
- image
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active, expires
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/633—Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
- H04N23/683—Vibration or motion blur correction performed by a processor, e.g. controlling the readout of an image memory
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/24—Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10141—Special mode during image acquisition
- G06T2207/10144—Varying exposure
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
Definitions
- This application relates to the field of terminal technologies, and in particular to a shooting method and a related device.
- a camera application in an electronic device begins to send an instruction to a hardware abstraction layer, to view a convergence state of a 3A algorithm. Only after receiving prompt information of convergence of the 3A algorithm reported by the hardware abstraction layer, the camera application sends a shooting command, and a related module of the hardware abstraction layer starts frame selection, frame capturing, and post processing, to transmit an image obtained by shooting this time to the camera application, for the user to view:
- the camera application is to interact with the hardware abstraction layer for a plurality of times, and the related module of the hardware abstraction layer is to process the image for a plurality of times, leading to a relatively long time to be required from shutter triggering to completion of photo shooting. That is, a shooting response time of the electronic device is relatively long and a shooting response speed is relatively slow, affecting shooting experience of the user.
- This application provides a shooting method and a related device.
- an electronic device may send an instruction of shooting in advance by using a camera application.
- a camera HAL module in the electronic device receives the instruction of shooting in advance and determines that a current 3A state is a 3A lock state, the electronic device may obtain an image frame. It may be understood that the image frame is an image obtained by shooting this time.
- the electronic device may send a shooting request in advance, and it is not required that the camera application and the camera HAL module in the electronic device interact with each other for a plurality of times. This reduces time used, and increases a shooting response speed of the electronic device, so that the user can obtain a shot image more quickly, that is, shooting experience of the user is improved.
- this application provides a shooting method.
- the method may be applied to an electronic device.
- This method may include: The electronic device displays a first user interface, where the first user interface includes a shutter control; the first user interface is a shooting user interface of a camera application; when detecting an operation of tapping the shutter control, the electronic device generates an instruction of shooting in advance in response to the operation of tapping the shutter control; and the electronic device determines a current 3A state based on the instruction of shooting in advance, and obtains an image frame if the current 3A state is a 3A lock state, where the 3A state is used for indicating a performing progress of a 3A algorithm; and the 3A lock state indicates that the 3A algorithm has converged.
- the user may tap the shutter control to trigger shooting.
- the electronic device may detect the operation of tapping the shutter control and generate the instruction of shooting in advance.
- the electronic device may determine the current 3A state based on the instruction of shooting in advance. If the current 3A state is the 3A lock state, the electronic device may obtain the image frame this time. In this manner, the electronic device triggers a shooting process in advance, and the current 3A state is not required to be uploaded to the camera application. This reduces a time of interaction between the camera application and the HAL layer, increases a shooting response speed of the electronic device, to enable the user to obtain an image more quickly after tapping a shutter, improving shooting experience of the user.
- an image frame (that is, an image obtained by shooting this time) finally obtained by the electronic device is an image I.
- an image frame (that is, an image obtained by shooting this time) finally obtained by the electronic device is an image K.
- the first user interface is a user interface A.
- the method further includes: The electronic device sends the instruction of shooting in advance to a hardware abstraction layer HAL based on a first interface by using the camera application, where the first interface is a custom interface.
- the camera application in the electronic device sends the instruction of shooting in advance through a custom interface (that is, the foregoing first interface).
- the instruction of shooting in advance triggers a shooting process in advance and increases a shooting response speed of the electronic device.
- the first interface is an interface X in an embodiment described later.
- the obtaining an image frame specifically includes: The electronic device selects N frames of images from a buffered frame queue based on a first time and a jitter amount and sharpness of the images in the buffered frame queue, where the first time is a time point at which the electronic device detects the operation of tapping the shutter control; the buffered frame queue is used for storing an image captured by the electronic device by using a camera lens; the N frames of images are original RAW images; and N is a positive integer; and the electronic device performs post processing on the N frames of images, to obtain the image frame.
- the electronic device may select the N frames of images from the buffered frame queue for subsequent post processing. It may be understood that the electronic device may select the N frames of images from the buffered frame queue based on the first time and the jitter amount and sharpness of the images in the buffered frame queue.
- the first time may be a time point at which the user taps the shutter control mentioned in an embodiment described later. It may be understood that, for a specific manner in which the electronic device selects the N frames of images, reference may be made to an embodiment described later. Details are not described herein.
- the method before sending a to-be-sent shooting parameter, the electronic device sends a variable exposure shooting parameter to the camera lens by using a camera HAL module and captures a group of variable exposure frames based on the variable exposure shooting parameter by using the camera lens, where the to-be-sent shooting parameter is a shooting parameter obtained by the camera HAL module before obtaining the variable exposure shooting parameter and not yet sent to the camera lens; the variable exposure shooting parameter includes exposure parameters corresponding to the group of variable exposure frames; and an exposure time corresponding to images in the group of variable exposure frames is different; and that the electronic device performs post processing on the N frames of images includes: The electronic device fuses the N frames of images with the group of variable exposure frames.
- the electronic device before sending a shooting parameter (such as the foregoing variable exposure shooting parameter) required for shooting this time, the electronic device is to continually send a shooting parameter required for capturing a previewed image to the camera lens.
- a shooting parameter such as the foregoing variable exposure shooting parameter
- the electronic device is to continually send a shooting parameter required for capturing a previewed image to the camera lens.
- the camera HAL module in the electronic device obtains the variable exposure shooting parameter
- there is still a to-be-sent shooting parameter that is, the to-be-sent shooting parameter
- the camera HAL module may queue the variable exposure shooting parameter in front of the to-be-sent shooting parameter, so that the camera HAL module sends the variable exposure shooting parameter in advance. This means that a time point at which the electronic device obtains a variable exposure frame is shortened.
- a time point at which the electronic device performs post processing is also shortened, and then a time point at which an image is shot this time is also shortened.
- a shooting process is accelerated, a shooting response speed of the electronic device is increased, and shooting experience of the user is also improved.
- a time difference between a time point at which the variable exposure frame is generated and a time point at which the N frames of images are selected from the buffered queue is shortened, facilitating subsequent fusion and obtaining a clearer image frame.
- the method further includes: The electronic device adds address information to the images in the buffered frame queue; the electronic device records address information corresponding to the N frames of images, and adds 1 to a reference count corresponding to the N frames of images, where the reference count is a quantity of times for which the corresponding images are about to be invoked or being invoked; and the images that are about to be invoked or being invoked for times not equal to 0 are not eliminated after being moved out of the buffered frame queue; and the electronic device obtains the N frames of images based on the address information corresponding to the N frames of images.
- the electronic device may obtain the images in the buffered frame queue by using the address information and the reference count of the images in the queue for post processing. Specifically, the electronic device is not required to copy the image in the queue, but adds 1 to the reference count, and then find corresponding images by using the address information. It may be understood that an image with a reference count not being 0 is not eliminated after being moved out of the buffered frame queue. In the foregoing manner, a large amount of time for copying and computing resources are reduced, a shooting process is accelerated, and a shooting response speed of the electronic device is increased.
- the one group of variable exposure frames include a short exposure frame, a medium exposure frame, and a long exposure frame.
- An exposure time corresponding to the short exposure frame is less than an exposure time corresponding to the medium exposure frame.
- An exposure time corresponding to the medium exposure frame is less than an exposure time corresponding to the long exposure frame.
- the method further includes: The electronic device detects an operation of shutter releasing.
- the method further includes: The electronic device displays a second user interface.
- the second user interface includes a gallery shortcut control.
- the gallery shortcut control displays a thumbnail of the image frame.
- the second user interface is a user interface B.
- this application provides an electronic device.
- the electronic device may include a display; a memory; and one or more processors.
- the memory may store a computer program, and the processor may invoke the computer program.
- the display may be configured to display a first user interface.
- the first user interface includes a shutter control.
- the first user interface is a shooting user interface of a camera application.
- the processor is configured to: when detecting an operation of tapping the shutter control, generate an instruction of shooting in advance in response to the operation of tapping the shutter control; and determine a current 3A state based on the instruction of shooting in advance, and obtain an image frame if the current 3A state is a 3A lock state.
- the 3A state is used for indicating a performing progress of a 3A algorithm.
- the 3A lock state indicates that the 3A algorithm has converged.
- the processor may be configured to: send the instruction of shooting in advance to a hardware abstraction layer HAL based on a first interface by using the camera application.
- the first interface is a custom interface.
- the processor when the processor is configured to obtain the image frame, the processor is specifically configured to: select N frames of images from a buffered frame queue based on a first time and a jitter amount and sharpness of the images in the buffered frame queue, where the first time is a time point at which the electronic device detects the operation of tapping the shutter control; the buffered frame queue is used for storing an image captured by the electronic device by using a camera lens; the N frames of images are original RAW images; and N is a positive integer; and perform post processing on the N frames of images, to obtain the image frame.
- the processor before the processor is configured to perform post processing on the N frames of image, the processor is further configured to: before sending a to-be-sent shooting parameter, send a variable exposure shooting parameter to the camera lens by using a camera HAL module.
- the electronic device may include a camera lens.
- the camera lens may be configured to capture a group of variable exposure frames based on the variable exposure shooting parameter.
- the to-be-sent shooting parameter is a shooting parameter obtained by the camera HAL module before obtaining the variable exposure shooting parameter and not yet sent to the camera lens.
- the variable exposure shooting parameter includes exposure parameters corresponding to the group of variable exposure frames. An exposure time corresponding to images in the group of variable exposure frames is different.
- the processor is specifically configured to fuse the N frames of images with the group of variable exposure frames.
- the processor before the processor is configured to perform post processing on the N frames of image, the processor is further configured to: add address information to the images in the buffered frame queue; record address information corresponding to the N frames of images, and add 1 to a reference count corresponding to the N frames of images, where the reference count is a quantity of times for which the corresponding images are about to be invoked or being invoked; and the images that are about to be invoked or being invoked for times not equal to 0) are not eliminated after being moved out of the buffered frame queue; and obtain the N frames of images based on the address information corresponding to the N frames of images.
- the one group of variable exposure frames include a short exposure frame, a medium exposure frame, and a long exposure frame.
- An exposure time corresponding to the short exposure frame is less than an exposure time corresponding to the medium exposure frame.
- An exposure time corresponding to the medium exposure frame is less than an exposure time corresponding to the long exposure frame.
- the processor after being configured to generate the instruction of shooting in advance by using the camera application, the processor is further configured to detect an operation of shutter releasing.
- the display is further configured to display a second user interface.
- the second user interface includes a gallery shortcut control.
- the gallery shortcut control displays a thumbnail of the image frame.
- this application provides a shooting method.
- the method may be applied to an electronic device.
- the method may include:
- the electronic device displays a first user interface, where the first user interface includes a shutter control; and the first user interface is a shooting user interface of a camera application:
- the electronic device detects a first operation acting on the shutter control, and determines a current 3A state in response to the first operation; if the current 3A state is a 3A lock state, before sending a to-be-sent shooting parameter, the electronic device sends a variable exposure shooting parameter to a camera lens by using a camera HAL module and captures a group of variable exposure frames based on the variable exposure shooting parameter by using the camera lens; and the electronic device selects N frames of images from a buffered frame queue, and performs post processing on the group of variable exposure frames and the N frames of images, to obtain an image frame.
- the 3A state is used for indicating a performing progress of a 3A algorithm.
- the 3A lock state indicates that the 3A algorithm has converged.
- the to-be-sent shooting parameter is a shooting parameter obtained by the camera HAL module before obtaining the variable exposure shooting parameter and not yet sent to the camera lens.
- the variable exposure shooting parameter includes exposure parameters corresponding to the group of variable exposure frames. An exposure time corresponding to images in the group of variable exposure frames is different.
- the buffered frame queue is used for storing an image captured by the electronic device by using the camera lens; and N is a positive integer.
- the method before performing post processing on the group of variable exposure frames and the N frames of images, the method further includes: The electronic device adds address information to the images in the buffered frame queue; the electronic device records address information corresponding to the N frames of images, and adds 1 to a reference count corresponding to the N frames of images, where the reference count is a quantity of times for which the corresponding images are about to be invoked or being invoked; and the images that are about to be invoked or being invoked for times not equal to 0) are not eliminated after being moved out of the buffered frame queue; and the electronic device obtains the N frames of images based on the address information corresponding to the N frames of images.
- this application provides an electronic device.
- the electronic device may include a display, a camera lens, a memory; and one or more processors.
- the memory may store a computer program, and the processor may invoke the computer program.
- the display may be configured to display a first user interface.
- the first user interface includes a shutter control; and the first user interface is a shooting user interface of a camera application.
- the processor may be configured to: detect a first operation acting on the shutter control, and determine a current 3A state in response to the first operation; and if the current 3A state is a 3A lock state, before sending a to-be-sent shooting parameter, send a variable exposure shooting parameter to the camera lens by using a camera HAL module.
- the camera lens may be configured to capture a group of variable exposure frames based on the variable exposure shooting parameter.
- the processor may be further configured to select N frames of images from a buffered frame queue, and perform post processing on the group of variable exposure frames and the N frames of images, to obtain an image frame.
- the 3A state is used for indicating a performing progress of a 3A algorithm.
- the 3A lock state indicates that the 3A algorithm has converged.
- the to-be-sent shooting parameter is a shooting parameter obtained by the camera HAL module before obtaining the variable exposure shooting parameter and not yet sent to the camera lens.
- the variable exposure shooting parameter includes exposure parameters corresponding to the group of variable exposure frames. An exposure time corresponding to images in the group of variable exposure frames is different.
- the buffered frame queue is used for storing an image captured by the electronic device by using the camera lens; and N is a positive integer.
- the processor before being configured to perform post processing on the group of variable exposure frames and the N frames of images, is further configured to: add address information to the images in the buffered frame queue; record address information corresponding to the N frames of images, and add 1 to a reference count corresponding to the N frames of images, where the reference count is a quantity of times for which the corresponding images are about to be invoked or being invoked; and the images that are about to be invoked or being invoked for times not equal to 0) are not eliminated after being moved out of the buffered frame queue; and obtain the N frames of images based on the address information corresponding to the N frames of images.
- this application provides a shooting method.
- the method may be applied to an electronic device.
- the method may include:
- the electronic device displays a first user interface, where the first user interface includes a shutter control; and the first user interface is a shooting user interface of a camera application:
- the electronic device detects a first operation acting on the shutter control, and determines a current 3A state in response to the first operation:
- the electronic device adds address information to the images in the buffered frame queue if the current 3A state is a 3A lock state;
- the electronic device selects N frames of images from the buffered frame queue, records address information corresponding to the N frames of images, and adds 1 to a reference count corresponding to the N frames of images, where the reference count is a quantity of times for which the corresponding images are about to be invoked or being invoked; and the images that are about to be invoked or being invoked for times not equal to 0 are not eliminated after being moved out of the buffered frame queue; and the buffered frame queue is
- this application provides an electronic device.
- the electronic device may include a display; a memory; and one or more processors.
- the memory may store a computer program, and the processor may invoke the computer program.
- the display may be configured to display a first user interface.
- the first user interface includes a shutter control; and the first user interface is a shooting user interface of a camera application.
- the processor may be configured to: detect a first operation acting on the shutter control, and determine a current 3A state in response to the first operation; and add address information to the images in the buffered frame queue if the current 3A state is a 3A lock state; select N frames of images from the buffered frame queue, record address information corresponding to the N frames of images, and add 1 to a reference count corresponding to the N frames of images, where the reference count is a quantity of times for which the corresponding images are about to be invoked or being invoked; and the images that are about to be invoked or being invoked for times not equal to 0) are not eliminated after being moved out of the buffered frame queue; and the buffered frame queue is used for storing an image captured by the electronic device by using a camera lens; and N is a positive integer; and obtain the N frames of images based on the address information corresponding to the N frames of images, and perform post processing on the N frames of images, to obtain an image frame.
- this application provides a computer storage medium including instructions.
- the instructions When the instructions are run on an electronic device, the electronic device is enabled to perform any one of the possible implementations in the first aspect.
- this application provides a computer storage medium including instructions.
- the instructions When the instructions are run on an electronic device, the electronic device is enabled to perform any one of the possible implementations in the third aspect.
- this application provides a computer storage medium including instructions.
- the instructions When the instructions are run on an electronic device, the electronic device is enabled to perform any one of the possible implementations in the fifth aspect.
- an embodiment of this application provides a chip.
- the chip is used in an electronic device.
- the chip includes one or more processors.
- the processor is configured to invoke computer instructions to enable the electronic device to perform any one of the possible implementations in the first aspect.
- an embodiment of this application provides a chip.
- the chip is used in an electronic device.
- the chip includes one or more processors.
- the processor is configured to invoke computer instructions to enable the electronic device to perform any one of the possible implementations in the third aspect.
- an embodiment of this application provides a chip.
- the chip is used in an electronic device.
- the chip includes one or more processors.
- the processor is configured to invoke computer instructions to enable the electronic device to perform any one of the possible implementations in the fifth aspect.
- an embodiment of this application provides a computer program product including instructions.
- the computer program product is run on an electronic device, the electronic device is enabled to perform any one of the possible implementations in the first aspect.
- an embodiment of this application provides a computer program product including instructions.
- the computer program product is run on an electronic device, the electronic device is enabled to perform any one of the possible implementations in the third aspect.
- an embodiment of this application provides a computer program product including instructions.
- the computer program product is run on an electronic device, the electronic device is enabled to perform any one of the possible implementations in the fifth aspect.
- the electronic device provided in the second aspect the computer storage medium provided in the seventh aspect, the chip provided in the tenth aspect, and the computer program product provided in the thirteenth aspect are all configured to perform any one of the possible implementations in the first aspect. Therefore, for beneficial effects that can be achieved, reference may be made to the beneficial effects in any one of the possible implementations in the first aspect. The details are not described herein again.
- the electronic device provided in the fourth aspect, the computer storage medium provided in the eighth aspect, the chip provided in the eleventh aspect, and the computer program product provided in the fourteenth aspect are all configured to perform any one of the possible implementations in the second aspect.
- the electronic device provided in the sixth aspect, the computer storage medium provided in the ninth aspect, the chip provided in the twelfth aspect, and the computer program product provided in the fifteenth aspect are all configured to perform any one of the possible implementations in the second aspect.
- FIG. 1 is a schematic diagram of a shooting method according to an embodiment of this application:
- FIG. 2 A to FIG. 2 C are schematic diagrams of a group of user interfaces according to an embodiment of this application:
- FIG. 3 A and FIG. 3 B are a flowchart of a shooting method according to an embodiment of this application:
- FIG. 4 is a schematic diagram of an image generation sequence according to an embodiment of this application:
- FIG. 5 is a schematic diagram of a buffered frame queue according to an embodiment of this application:
- FIG. 6 is a schematic diagram of exposure of a rolling shutter according to an embodiment of this application:
- FIG. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of this application:
- FIG. 8 is a schematic diagram of a software structure of an electronic device according to an embodiment of this application.
- FIG. 9 is a schematic diagram of a shooting method according to an embodiment of this application.
- the electronic device may be a smart phone, a smart TV, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart household device, and/or a smart city device.
- PDA personal digital assistant
- AR augmented reality
- VR virtual reality
- AI artificial intelligence
- a specific type of the electronic device is not specially limited in embodiments of this application.
- 3A means auto focus (AF), auto exposure (AE), and auto white balance (AWB).
- the auto focus is a process of automatically adjusting a focal length of a camera lens to obtain a clear image.
- the auto exposure is a process of automatically adjusting an exposure parameter to enable a photosensitive device to obtain an appropriate exposure.
- the auto white balance is a process of automatically adjusting a white balance gain to enable a color of a shot image to be close to a real color of an object.
- the 3A algorithm is actually implemented in a hardware abstraction layer of the electronic device.
- the camera application in an application layer is to interact with the hardware abstraction layer (HAL), to implement the 3A algorithm. That is, during shooting, the electronic device is not only to spend time on executing the 3A algorithm, but also to spend time on completing interaction between the camera application and the hardware abstraction layer.
- HAL hardware abstraction layer
- FIG. 1 is a schematic diagram of a shooting process according to an embodiment of this application.
- an electronic device may include a camera application.
- a shooting user interface of the camera application may include a shutter control. It may be understood that the shutter control may be configured to monitor a user operation that triggers shooting.
- a user may trigger the shutter control. Taking tapping to trigger shooting as an example, when the user taps the shutter control, the user' finger touches a touch screen of the electronic device. Then, when the user releases the shutter control, a user's finger no longer touches the touch screen of the electronic device.
- the camera application of the electronic device may detect that the user releases the shutter control. In this case, the camera application generates a 3A trigger instruction.
- the 3A trigger instruction is for triggering a 3A algorithm.
- the camera application may send the 3A trigger instruction to a HAL layer to be processed by a related module.
- a camera HAL module may process the 3A trigger instruction.
- the camera HAL module may determine that the instruction includes information (such as TRIGGER_START entry) for instructing to execute the 3A algorithm, and provide an interface to implement the 3A algorithm.
- a 3A state is a 3A adjustment state. That is, in this process, a shooting parameter required for the camera lens to obtain an image is being continually adjusted.
- the camera HAL module continually updates the shooting parameter.
- the 3A state changes from the 3A adjustment state to a 3A lock state.
- the camera HAL module may send the ideal shooting parameter to related hardware such as a driver and a camera lens.
- the camera lens may obtain an image based on the ideal shooting parameter.
- the camera HAL module may report 3A state prompt information to the camera application. It may be understood that the 3A state prompt information is used for prompting the camera application that the 3A algorithm has converged (that is, the ideal shooting parameter has been determined and locked).
- the camera application may send a shooting request.
- the camera HAL module may select an image (that is, a selected frame shown in FIG. 1 ) from a buffered frame queue for post processing and copy the selected image. It may be understood that post processing may include image fusion and the like.
- the camera HAL module may fuse a copied image and an image in a variable exposure frame queue, and perform other related processing.
- a post-processed image is an image obtained by shooting this time.
- the camera HAL module may upload the image to the camera application.
- a gallery shortcut control of a shooting user interface of the camera application may display a thumbnail of the image.
- the camera application may send a 3A unlock instruction. It may be understood that the 3A unlock instruction is used for canceling the 3A lock state.
- the 3A state changes from the 3A lock state to the 3A adjustment state.
- the shooting parameter mentioned in this application may include a focus parameter, an exposure parameter, and a white balance parameter.
- the electronic device may determine, based on the focus parameter, whether the electronic device is in a good focus state.
- the focus parameter may include a focal length.
- the exposure parameter may include an aperture size, a shutter speed (that is, an exposure time), and a photosensitivity parameter.
- the white balance parameter includes an RGB value.
- variable exposure frame queue may include a plurality of image frames obtained by using different exposure parameters.
- the variable exposure frame queue may include a short exposure frame, a medium exposure frame, and a long exposure frame.
- An exposure time corresponding to the short exposure frame is relatively short.
- An exposure time corresponding to the long exposure frame is relatively long.
- An exposure time corresponding to the medium exposure frame is between the exposure time corresponding to the short exposure frame and the exposure time corresponding to the long exposure frame.
- a shutter lag shown in FIG. 1 means a shutter delay, which is also referred to as a shutter time lag.
- the shutter delay means a time for which the camera automatically focuses, measures light, calculates an exposure, and selects an appropriate exposure combination for data calculation and storage processing when a shutter is tapped.
- a quantity of image frames that can be accommodated in a buffered frame queue is limited. Once the quantity of image frames accommodated in the buffered frame queue reaches an upper limit, the buffered frame queue releases an image that first enters the buffered frame queue (that is, moving the image out of the buffered frame queue) based on a principle of “first-in, first-out”, to accommodate a subsequently generated image frame. It may be understood the image moved out of the buffered frame queue is recycled and eliminated. In some embodiments of this application, the buffered frame queue may accommodate 8 frames of images at most.
- the camera application sends the shooting request only after the user releases the shutter control and the 3A algorithm converges.
- the camera application and the camera HAL module interact with each other for many times, to generate a HAL time delay 1 and HAL time delay 2 shown in FIG. 1 .
- the camera HAL module is preparing for sending a shooting parameter.
- the shooting parameter that the camera HAL module is preparing to send is a shooting parameter updated during implementation of the 3A algorithm.
- the camera HAL module may continue to send the ideal shooting parameter.
- the camera lens captures an image based on a time sequence in which the shooting parameter is received. This means that the camera lens first captures the image based on an updated shooting parameter during implementation of the 3A algorithm, and then captures a variable exposure frame based on the ideal shooting parameter.
- the camera HAL module may select an image for post processing from the buffered frame queue and copy the selected image. After the variable exposure frame reaches the HAL layer, the camera HAL module may perform post processing on the copied image and the variable exposure frame. An image obtained by post processing is an image obtained by shooting this time.
- the camera HAL module is not only to spend time on copying the image, but also to spend time on waiting for the variable exposure frame.
- the camera HAL module determines definition of an image in the buffered frame queue, and then selects a relatively clear image from the buffered frame queue. In this process, the camera HAL module evaluates the definition of the image by a jitter amount and sharpness information when the image is entirely exposed. This evaluation manner is not accurate to some extent. That is, the camera HAL module cannot accurately evaluate the definition of the image in the buffered frame in this evaluation manner.
- a camera application in an electronic device may send an instruction of shooting in advance through a custom interface when a user taps a shutter control.
- the instruction of shooting in advance is for triggering a shooting process in advance. This means that the instruction of shooting in advance is for triggering the 3A algorithm, and triggering operations such as subsequent frame selection and post processing when the 3A algorithm converges.
- the electronic device may further capture the variable exposure frame in advance.
- the camera HAL module in the electronic device may add address information to an image in the buffered frame queue. The address information is used for indicating a position of a corresponding image in the buffered frame queue.
- the camera HAL module may record address information corresponding to a selected image, and obtain, during post processing, the corresponding image based on the address information to be fused with the variable exposure frame.
- the electronic device may further determine an entire jitter amount of the image based on a jitter amount of each row of pixels of the image, to evaluate definition of the image more accurately.
- the electronic device may not only reduce a response time, but also more accurately select a clearer image for fusion. This increases definition of a shot image and improves shooting experience of the user.
- GUI graphical user interface
- the user interface may be a user interface element such as an icon, a window, or a control displayed on a display of an electronic device, and the control may include a visual user interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a state bar, a navigation bar, or a widget.
- FIG. 2 A shows an example of a user interface 210 of an electronic device.
- the user interface 210 displays a page with application icons.
- the page may include a plurality of application icons (for example, a weather application icon, a calendar application icon, a gallery application icon, a notes application icon, an email application icon, an AppGallery icon, a settings application icon, and the like).
- Page indicators may also be displayed below the plurality of application icons, to indicate a positional relationship between a currently displayed page and other pages.
- There are a plurality of application icons for example, a camera application icon 211 , a browser application icon, an information application icon, a phone application icon. The application icon remains displayed during page switching.
- the camera application icon 211 is an icon of a camera application.
- the camera application icon 211 may be for triggering start of a camera application, that is a camera application program.
- the camera application is an image shooting application on an electronic device such as a smart phone or a tablet computer. A name of the application is not limited in this application.
- the electronic device may detect a user operation acting on the camera application icon 211 . In response to the user operation, the electronic device may display a user interface 220 shown in FIG. 2 B .
- the user interface 220 may include a setting region 221 , a preview region 222 , a camera mode option 223 , a gallery shortcut control 224 , a shutter control 225 , and a camera lens flipping control 226 .
- the setting region 221 may include a setting control and a flash control.
- the preview region 222 may be used for displaying an image captured by a camera lens in real time.
- the electronic device may refresh display content in the preview region 222 in real time, so that the user previews an image currently captured by the camera lens.
- One or more shooting mode options may be displayed in the camera mode option 223 .
- the one or more shooting mode options may include a night mode option, a portrait mode option, a photo mode option, a video mode option, and a more option.
- the one or more shooting mode options may be expressed as text information on the user interface, such as “NIGHT”, “PORTRAIT”, “PHOTO”, “VIDEO”, and “MORE”.
- the one or more shooting mode options may be further displayed as icons or interactive elements (IE) in other forms on the user interface.
- the gallery shortcut control 224 may be used for starting a gallery application.
- the electronic device may start the gallery application.
- the gallery application is an application for picture management on an electronic device such as a smart phone or a tablet computer, and may also be referred to as a “gallery”.
- a name of the application is not limited in this embodiment.
- the gallery application may support the user in performing various operations on a picture stored in the electronic device, for example, operations such as browsing, editing, deleting, and selecting.
- the shutter control 225 may be used for monitoring an operation performed by the user to trigger shooting.
- the electronic device may detect a user operation acting on the shutter control 225 .
- the electronic device may obtain an image by using the camera lens and store the image as a picture in the gallery application.
- the electronic device may further display a thumbnail of the stored image in the gallery shortcut control 224 . That is, the user may tap the shutter control 225 to trigger shooting.
- the shutter control 225 may be a button or a control in another form.
- the camera lens flipping control 226 may be used for monitoring an operation performed by the user to trigger flipping of a camera lens.
- the electronic device may detect an operation of shutter tapping acting on the shutter control 225 .
- the camera application may generate an instruction of shooting in advance and send the instruction of shooting in advance to a HAL layer through a custom interface.
- a camera HAL module the electronic device may determine a current 3A state after receiving the instruction of shooting in advance. If the 3A state is a 3A lock state, the camera HAL module may perform operations such as frame selection and perform post processing. It may be understood that an image obtained by post processing is an image obtained by shooting this time.
- the camera HAL module may upload the image to the camera application.
- the electronic device may store the image to the gallery application.
- the electronic device may display a user interface 230 shown in FIG. 2 C .
- Controls included in the user interface 230 are basically the same as controls included in the user interface 220 . A difference is that a previewed image displayed in a preview region 231 in the user interface 230 changes, and an image displayed in a gallery shortcut control 232 changes. It may be understood that an image displayed by the gallery shortcut control 232 is an image obtained by the camera lens of the electronic device and stored in the gallery application.
- user interfaces shown in FIG. 2 A to FIG. 2 C are only examples provided in this application, and should not be regarded as limitations on this application. That is, user interfaces shown in FIG. 2 A to FIG. 2 C may display more or less content, which is not limited in this application.
- An electronic device displays a user interface A.
- the user interface A is a shooting user interface of a camera application.
- the camera application is an application in the electronic device.
- the user interface A includes a shutter control.
- a user may tap a camera application icon.
- the electronic device may start the camera application and display the user interface A.
- the camera application is an application in the electronic device.
- the user interface A is a shooting user interface of a camera application.
- the user interface A includes a shutter control. The user may implement shooting by triggering the shutter control. The shutter control is used for monitoring an operation performed by the user to trigger shooting.
- the user interface A may be a user interface 220 shown in FIG. 2 B .
- the electronic device detects that the user taps the shutter control, and the camera application in the electronic device generates an instruction of shooting in advance in response to an operation of tapping the shutter control.
- the instruction of shooting in advance is for triggering a shooting process in advance.
- the user may trigger the shutter control.
- a user's finger touches a touch screen of the electronic device.
- the touch screen After receiving a touch operation, the touch screen generates a corresponding input event.
- the input event is transmitted to the camera application.
- the camera application After receiving the input event, the camera application generates the instruction of shooting in advance.
- the instruction of shooting in advance is for triggering a shooting process in advance.
- the camera application in the electronic device sends the instruction of shooting in advance to a HAL layer through an interface X.
- the camera application in the electronic device may send the instruction of shooting in advance to the HAL layer through the interface X, so that a camera HAL module in the HAL layer processes the instruction of shooting in advance.
- the interface X is a custom interface.
- the interface X is used for sending the instruction of shooting in advance to the HAL layer, and is not a general interface for interaction between an application layer and the HAL layer.
- the camera HAL module in the HAL layer in the electronic device determines a current 3A state after receiving the instruction of shooting in advance.
- the camera HAL module in the electronic device may receive the instruction of shooting in advance sent by the camera application, and determine the current 3A state after receiving the instruction of shooting in advance, to determine, based on the current 3A state, whether a 3A algorithm converges or not.
- the current 3A state is a 3A lock state
- the camera HAL module has obtained an ideal shooting parameter and locked the ideal shooting parameter.
- the electronic device may continue to perform a subsequent step.
- the current 3A state is a 3A adjustment state
- the HAL module in the electronic device continues performing the 3A algorithm. After the 3A algorithm converges (that is, the 3A state changes to a 3A lock state), the electronic device continues to perform a subsequent step.
- a metadata entry for auto focus is AF_STATE_PASSIVE_SCAN
- a metadata entry set for auto exposure is AE_STATE_SEARCHING
- a metadata entry set for auto white balance is AWB_STATE_SEARCHING.
- the metadata entry set for the auto focus is AF_STATE_FOCUSED_LOCKED
- the metadata entry set for the auto exposure is AE_STATE_LOCKED
- the metadata entry set for the auto white balance is AWB_STATE_LOCKED.
- the camera HAL module in the electronic device obtains an image i from a buffered frame queue based on a time point at which the user triggers the shutter control.
- a time point at which the electronic device captures the image i by using a camera lens is the same as the time point at which the user triggers the shutter control.
- the image i is a RAW image.
- the buffered frame queue is used for storing a RAW image captured by the camera lens.
- the camera HAL module in the electronic device may obtain the image i from the buffered frame queue.
- the time point at which the electronic device captures the image i by using the camera lens is the same as the time point at which the user triggers the shutter.
- the image i is the RAW image.
- the buffered frame queue is used for storing the RAW image captured by the camera lens.
- the RAW image is original data obtained when a sensor (for example, a CMOS or CCD image sensor) converts a captured light source signal into a digital signal, and is also referred to an original image file.
- a sensor for example, a CMOS or CCD image sensor
- the electronic device may shoot an image with zero shutter lag (ZSL), reducing shooting lag and providing “shoot-as-you-see” shooting experience.
- ZSL zero shutter lag
- the camera application starts a preview process, and the electronic device may generate a previewed image and shot image by using the camera lens.
- the previewed image is an image displayed in a preview region of the electronic device for the user to view.
- the shot image is a RAW image corresponding to the previewed image. It may be understood that frame data of the previewed image is less than frame data of the shot image.
- the buffered frame queue stores the shot image, that is, the RAW image corresponding to the previewed image.
- a quantity of frames of images stored in the buffered frame queue may be set based on an actual demand, which is not limited in this application.
- the camera HAL module in the electronic device may obtain the image i from the buffered frame queue based on the time point at which the user triggers the shutter, a jitter amount and sharpness (an FV value) of the image in the buffered frame queue.
- the camera HAL module may determine the time point at which the user triggers the shutter based on the shutter lag, and sort images in the buffered frame queue in ascending order based on an absolute value of a difference between a time point at which an image is generated and the time point at which the user triggers the shutter, to obtain a new frame queue.
- the camera HAL module may successively determine sharpness of sorted images. If the FV value of an image is not greater than a preset FV value, sharpness of a next frame of image in the new frame queue is determined; or if the FV value of an image is greater than the preset FV value, a jitter amount of the image is determined.
- the camera HAL module obtains the image from the buffered frame queue, that is, the image is the image i; or if the jitter amount of the image is not less than the preset jitter amount, the camera HAL module may continue to determine the sharpness of a next frame of image in the new frame queue.
- the preset FV value may be decreased and/or the preset jitter amount may be increased.
- obtaining the image i is to be performed based on the absolute value of the difference between the time point at which an image is generated and the time point at which the user triggers the shutter, the FV value of the image, and the jitter amount.
- the camera HAL module in the electronic device may determine priorities of the three elements, and determine, based on the priorities, a sequence in which the three elements are determined.
- the camera HAL module in the electronic device may select one or more frames of images from the buffered frame queue, and fuse the one or more frames of images with a variable exposure image (that is, variable exposure frame), to obtain a shot image with diversified light and dark details, a greater image contrast, and higher definition.
- a variable exposure image that is, variable exposure frame
- the camera HAL module in the electronic device performs post processing on the image i, to obtain an image I.
- the image I is an image in a JPEG format.
- the camera HAL module in the electronic device may perform post processing on the image i after obtaining the image i from the buffered frame queue, to obtain the image I in the JPEG format. It may be understood that post processing includes operations such as format conversion and image fusion.
- JPEG Joint Photographic Experts Group
- JPEG Joint Photographic Experts Group
- the image I may alternatively be an image in another format, which is not limited in this application.
- the camera HAL module in the electronic device may upload, to the camera application, the image I obtained by post processing.
- the camera application in the electronic device stores the image I to a gallery application and displays a user interface B.
- the user interface B includes a gallery shortcut control.
- the gallery shortcut control displays a thumbnail of the image I.
- the camera application in the electronic device may store the image I in the gallery application (that is, the gallery application program) and display the user interface B.
- the user interface B may include the gallery shortcut control.
- the gallery shortcut control may display the thumbnail of the image I.
- the gallery shortcut control is configured to quickly go to the gallery application, so that the user views an image.
- the camera application in the electronic device generates a 3A unlock instruction, and sends shooting completion prompt information to the HAL layer.
- the camera application in the electronic device may generate the 3A unlock instruction and send the 3A unlock instruction to the HAL layer, so that the 3A unlock instruction is to be processed by the camera HAL module in the HAL layer.
- the camera HAL module in the electronic device may adjust the 3A state from the 3A lock state to the 3A adjustment state after receiving the 3A unlock instruction.
- the electronic device may continue to perform the following steps.
- the camera HAL module in the electronic device obtains N frames of images from the buffered frame queue.
- the N frames of images are images with relatively high definition in the buffered frame queue.
- N is a positive integer.
- the camera HAL module in the electronic device may determine definition of images in the buffered frame queue based on a time point at which the variable exposure frame is generated, and a jitter amount and sharpness of the images in the buffered frame queue, and obtain the N frames of images with relatively high definition. That is, the camera HAL module may obtain the N frames of images with top N definition in the buffered frame queue.
- N is a positive integer.
- the camera HAL module may obtain the N frames of images based on an absolute value of a difference between a time point at which the image in the buffered frame queue is generated and the time point at which the variable exposure frame is generated, and an FV value and the jitter amount of the image in the buffered frame queue.
- the camera HAL module determines the time point at which the variable exposure frame is generated refer to a related description that the user triggers a shutter in step S 305 .
- N >1.
- the camera HAL module may obtain the N frames of images based on the absolute value of the difference between the time point at which the image in the buffered frame queue is generated and the time point at which the variable exposure frame is generated, and the FV value and the jitter amount of the image in the buffered frame queue. The details are not described herein again.
- the shooting scene as a highly dynamic scene means that a shooting mode of the camera application is a high dynamic range imaging (HDRI or HDR) mode when the user taps the shutter control.
- HDRI high dynamic range imaging
- HDR high dynamic range imaging
- the high dynamic range imaging is a technology to achieve a larger exposure dynamic range (that is, a greater difference between light and dark) than that of an ordinary digital imaging technology:
- the user may enable or disable the HDR mode.
- the camera application in the electronic device may shoot an image in the HDR mode by default.
- N may be set based on an actual demand, which is not limited in this application.
- the camera HAL module in the electronic device sends a variable exposure shooting parameter to hardware modules such as a driver and the camera lens in advance.
- the camera HAL module in the electronic device continuously sends the shooting parameter to the hardware such as the driver and the camera lens, so that the camera lens may continuously generate images based on the obtained shooting parameter; on the other hand, the electronic device captures a previewed image and a shot image by using the hardware such as the camera lens, and transmits the previewed image and the shot image to the HAL layer. After the previewed image and the shot image are transmitted to the HAL layer, the shot image may be stored in the buffered frame queue, and the previewed image is continually transmitted to the camera application.
- the camera application in the electronic device sends the instruction of shooting in advance, that is, triggers a shooting process in advance (refer to step S 302 and step S 303 for details)
- the 3A algorithm converges, that is, the 3A state is the 3A lock state
- the camera HAL module in the electronic device receives the instruction of shooting in advance, it means that the camera HAL module has found an ideal shooting parameter and locked the ideal shooting parameter. It may be understood that, in the highly dynamic scene, the ideal shooting parameter locked by the camera HAL module is a variable exposure shooting parameter.
- the camera HAL module may continually perform frame selection and a post processing operation (refer to step S 305 and step S 306 for details) without informing the camera application of a current 3A state and waiting for the camera application to send a shooting request. That is, once the 3A algorithm converges, the camera HAL module automatically performs a subsequent shooting process.
- the camera HAL module automatically performs a subsequent shooting process.
- the camera HAL module continually sends the shooting parameter.
- the electronic device captures an image based on the shooting parameter by using the camera lens. This means that after obtaining the variable exposure shooting parameter, the camera HAL module is also to send a shooting parameter obtained before the variable exposure shooting parameter.
- the camera HAL module may send the variable exposure shooting parameter to the hardware modules such as the driver and the camera lens in advance, without waiting until the shooting parameter obtained before the variable exposure shooting parameter is sent, saving time.
- the time point at which the variable exposure frame is generated is changed to enable the variable exposure frame to be generated in advance, facilitating subsequent post processing.
- variable exposure shooting parameter may include a shooting parameter corresponding to a variable exposure frame.
- the camera lens in the electronic device may obtain a long exposure frame, a medium exposure frame, and a short exposure frame based on the variable exposure shooting parameter.
- the variable exposure shooting parameter may include an exposure parameter corresponding to the long exposure frame, an exposure parameter corresponding to the medium exposure frame, and an exposure parameter corresponding to the short exposure frame. It may be understood that an exposure time corresponding to the short exposure frame is relatively short, an exposure time corresponding to the long exposure frame is relatively long, and an exposure time corresponding to the medium exposure frame is between an exposure time corresponding to the short exposure frame and an exposure time corresponding to the long exposure frame.
- variable exposure frames may be set based on an actual demand, which is not limited in this application.
- an image P 1 to an image P 8 are images in a buffered frame queue.
- An image O 1 to an image O 3 are images that are being generated. That is, the image O 1 to the image O 3 are being processed in a hardware module (e.g., a sensor, an image signal processor) of an electronic device.
- An image Q 1 and an image Q 2 are images to be generated. That is, shooting parameters corresponding to the image Q 1 and image Q 2 are also located in a HAL layer.
- a camera HAL module After obtaining the shooting parameters corresponding to the image Q 1 and the image Q 2 , a camera HAL module obtains shooting parameters, that is, variable exposure shooting parameters, corresponding to three frames of images, that is, a variable exposure frame R 1 to a variable exposure frame R 3 .
- the camera HAL module may send the shooting parameters corresponding to the variable exposure frame R 1 to the variable exposure frame R 3 to hardware modules such as a driver and a camera lens in advance. In this case, time points at which the variable exposure frame R 1 to the variable exposure frame R 3 are generated are changed to enable the variable exposure frame R 1 to the variable exposure frame R 3 to be generated in advance. As shown in FIG.
- the electronic device immediately captures the variable exposure frame R 1 to the variable exposure frame R 3 after capturing the image O 3 by using the camera lens. After the variable exposure frame R 1 to the variable exposure frame R 3 are captured, the electronic device may capture the image Q 1 and the image Q 2 by using the camera lens.
- the electronic device Based on the variable exposure shooting parameter, the electronic device captures a variable exposure frame by using the camera lens and uploads the variable exposure frame to the HAL layer.
- the electronic device may capture the variable exposure frames by using the camera lens.
- the camera HAL module in the electronic device fuses the N frames of images obtained from the buffered frame queue with the variable exposure frame, to obtain an image K.
- the image K is an image in a JPEG format.
- the camera HAL module in the electronic device may fuse the N frames of images obtained from the buffered frame queue with the variable exposure frame.
- the N frames of image and the variable exposure image are both RAW images.
- the image K is an image in a JPEG format.
- the camera HAL module may further perform other post processing (for example, brightening, noise reduction) on the N frames of images and the variable exposure frame, which is not limited in this application.
- post processing for example, brightening, noise reduction
- the camera application in the electronic device stores the image K to a gallery application and displays a user interface C.
- the user interface C includes a gallery shortcut control.
- the gallery shortcut control displays a thumbnail of the image K.
- the camera application in the electronic device may store the image K into the gallery application (that is, the gallery application program) and display the user interface C.
- the user interface C may include the gallery shortcut control.
- the gallery shortcut control may display the thumbnail of the image K.
- the gallery shortcut control is configured to quickly go to the gallery application, so that the user views an image.
- step S 315 the electronic device may continue to perform step S 309 and step S 310 in the foregoing embodiment.
- step S 311 to step S 315 may be used in the shooting process shown in FIG. 1 .
- the camera HAL module in the electronic device may obtain an image from the buffered frame queue by using address information. Details are as follows.
- the camera HAL module in the electronic device may add address information to an image in the buffered frame queue.
- the address information is used for indicating a position of an image in the buffered frame queue. That is, the camera HAL module may find the corresponding image in the buffered frame queue by using the address information.
- the camera HAL module may record the address information of the image to be obtained in the buffered frame queue.
- the camera HAL module may obtain the corresponding image based on the recorded address information.
- a value corresponding to the reference count is a quantity of times for which the image is about to be invoked or being invoked. For example, when the reference count corresponding to the image is 0, it means that no module in the electronic device is to invoke the image. In this case, once the image is moved out of the buffered frame queue, the image is recycled and eliminated. For images with recorded address information, a reference count corresponding to these images is not 0. If these images are moved out of the buffered frame queue, these images are not recycled and eliminated, but are not recycled and eliminated until the reference count corresponding to these images becomes 0.
- the camera HAL module may subtract 1 from the reference count of the image.
- the camera HAL module may find an image i from the buffered frame queue based on a time point at which the user triggers the shutter control (refer to step S 305 for details) and record address information of the image i. In this case, if the image i is moved out of the buffered frame queue, the image i is not recycled and eliminated, but the image i is recycled and eliminated only after the camera HAL module obtains the image I (refer to step S 306 for details).
- the camera HAL module may obtain N frames of images (refer to step S 311 for details) from the buffered frame queue, and record address information of the N frames of images. In this case, if one or more frames of images of the N frames of images are moved out of the buffered frame queue, the one or more frames of images are not recycled and cleared, but are recycled and eliminated only after the camera HAL module obtains the image K (refer to step S 314 for details).
- an image P 1 to an image P 8 there are 8 frames of images, an image P 1 to an image P 8 , in a buffered frame queue.
- Address information of the image P 1 to the image P 8 is 100 , 101 , 102 , 103 , 104 , 105 , 106 and 107 , respectively.
- an electronic device captures the image P 8 through a camera lens. That is, a time point at which the user taps the shutter control is the same as a time point at which the image P 8 is generated.
- a camera HAL module in the electronic device may record address information 107 of the image P 8 .
- the camera HAL module may find the image P 8 through 107 , to perform post processing on the image P 8 .
- the camera HAL module in the electronic device determines that six frames of images from an image P 3 to the image P 8 have relatively high definition, and may record address information 102 , 103 , 104 , 105 , 106 , and 107 of the image P 3 to the image P 8 .
- the camera HAL module may find the image P 3 to the image P 8 by using 102 , 103 , 104 , 105 , 106 and 107 , respectively, fusing the image P 3 to the image P 8 and variable exposure frames.
- the electronic device may determine a jitter amount and sharpness of a whole frame of image based on a jitter amount and sharpness information of pixels in different rows of the whole frame of image. Details are as follows.
- Electronic devices such as a digital camera and mobile phone mainly use the rolling shutter, and the exposure manner of using the rolling shutter is exposure row by row.
- a sensor for example, a CMOS image sensor
- starts exposing a first row of pixels of a frame of image and starts exposing a second row of pixels after one row period.
- an N th row of pixels start to be exposed after one row period. That is, a time difference between a time point at which each row of pixels start to be exposed and a time point at which a next row of pixels of the row start to be exposed is one row period. Therefore, the time point at which each row of pixels start to be exposed is different.
- the row period may be determined by a capability of the sensor. Row periods of different sensors may be different. Therefore, row periods of different electronic devices may also be different. A value of the row period is not limited in this embodiment of this application.
- a camera HAL module in an electronic device may not only obtain jitter information from a gyro sensor, but also obtain sharpness information of an image.
- the jitter information may include gyro data (gyro data).
- the gyro means a gyroscope (gyroscope) That is, the jitter information is data obtained by the gyro sensor.
- the jitter information may include an angular velocity and/or jitter angle of the electronic device around three axes (that is, an X axis, a Y axis, and a Z axis) sent by the gyro sensor.
- the gyro data may reflect motion information of the electronic device.
- the camera HAL module in the electronic device may sample the whole frame of image, to obtain a sampled image row.
- the camera HAL module may determine, based on a sampling time of the gyro data and optical image stabilization (OIS) data of the whole frame of image during an exposure period, a position of the sampled image row reached by a rolling shutter, to obtain the gyro data and OIS data of the sampled image row during the exposure period of the row.
- the camera HAL module may obtain a displacement vector of the camera of the sampled image row during the exposure period of the row based on the gyro data and OIS data of the sampled image row during the exposure period of the row; and obtain an integral of the displacement vector, to obtain a corresponding integration curve.
- the camera HAL module may use a peak-to-peak value on the integration curve as a jitter amount of the sampled image row.
- the camera HAL module may statistically average jitter amount of all sampled image rows, to obtain a jitter amount of a whole frame of image during exposure.
- the camera HAL module in the electronic device may further obtain sharpness information of the sampled image rows, and statistically average sharpness information of the sampled image rows, to obtain sharpness of the whole frame of image.
- the camera HAL module determines that the image is clear.
- the sharpness can be determined more accurately in the foregoing manner.
- the camera HAL module may obtain corresponding gyro displacement information based on angular velocity information included in the gyro data.
- the OIS data may include OIS displacement.
- the camera HAL module may use a difference between a maximum gyro displacement and a minimum OIS displacement as the jitter amount of the sampled image row.
- the sampled image row is evenly distributed in the whole frame of image.
- the sharpness is an index reflecting definition of an image plane and sharpness of an image edge.
- a detail contrast on the image plane is also relatively high.
- FIG. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of this application.
- the electronic device may include a processor 110 , an external memory interface 120 , an internal memory 121 , a universal serial bus (USB) port 130 , a charging management module 140 , a power management module 141 , a battery 142 , an antenna 1 , an antenna 2 , a mobile communication module 150 , a wireless communication module 160 , an audio module 170 , a speaker 170 A, a receiver 170 B, a microphone 170 C, a headset jack 170 D, a sensor module 180 , a button 190 , a motor 191 , an indicator 192 , a camera lens 193 , a display 194 , a subscriber identification module (SIM) card interface 195 , and the like.
- SIM subscriber identification module
- the sensor module 180 may include a pressure sensor 180 A, a gyro sensor 180 B, a barometric pressure sensor 180 C, a magnetic sensor 180 D, an acceleration sensor 180 E, a range sensor 180 F, an optical proximity sensor 180 G, a fingerprint sensor 180 H, a temperature sensor 180 J, a touch sensor 180 K, an ambient optical sensor 180 L, a bone conduction sensor 180 M, and the like.
- the structure illustrated in this embodiment of the present invention does not constitute a specific limitation on the electronic device.
- the electronic device may include more or fewer components than those shown in the figure, or combine some components, or split some components, or have a different component arrangement.
- the components in the figure may be implemented by hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units.
- the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, a neural-network processing unit (NPU), and/or the like.
- AP application processor
- GPU graphics processing unit
- ISP image signal processor
- DSP digital signal processor
- NPU neural-network processing unit
- Different processing units may be separate devices or may be integrated into one or more processors.
- the controller may be a nerve center and a command center of the electronic device.
- the controller may generate an operation control signal based on instruction operation code and a time sequence signal, to complete control of instruction fetching and instruction execution.
- a memory may be further disposed in the processor 110 , and is configured to store instructions and data.
- the memory in the processor 110 is a cache.
- the memory may store instructions or data just used or cyclically used by the processor 110 . If the processor 110 needs to use the instructions or the data again, the processor 110 may directly invoke the instructions or the data from the memory. This avoids repeated access, reduces waiting time of the processor 110 , and improves system efficiency.
- an interface connection relationship between modules shown in this embodiment of the present invention is merely a schematic description, and does not limit a structure of the electronic device.
- an interface connection manner that is different from those in the foregoing embodiments or a combination of a plurality of interface connection manners may be alternatively used for the electronic device.
- the charging management module 140 is configured to receive a charging input from a charger.
- the power management module 141 is configured to connect to the battery 142 , the charging management module 140 , and the processor 110 .
- a wireless communication function of the electronic device may be implemented by using the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , the modem processor, the baseband processor, and the like.
- the antenna 1 and the antenna 2 are configured to transmit and receive an electromagnetic wave signal.
- Each antenna of the electronic device may be configured to cover one or more communication frequency bands. Different antennas may be further multiplexed, to improve antenna utilization.
- the mobile communication module 150 may provide a solution that includes wireless communication such as 2G/3G/4G/5G and that is applied to the electronic device.
- the wireless communication module 160 may provide a wireless communication solution that is applied to the electronic device and that includes a wireless local area network (WLAN) (for example, a wireless fidelity (Wi-Fi) network), Bluetooth (BT), a global navigation satellite system (GNSS), frequency modulation (FM), a near field communication (NFC) technology, an infrared (IR) technology, and the like.
- WLAN wireless local area network
- Wi-Fi wireless fidelity
- BT Bluetooth
- GNSS global navigation satellite system
- FM frequency modulation
- NFC near field communication
- IR infrared
- the electronic device implements a display function by using the GPU, the display 194 , the application processor, and the like.
- the GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor.
- the GPU is configured to: perform mathematical and geometric computation, and render an image.
- the processor 110 may include one or more GPUs and execute program instructions to generate or change display information.
- the display 194 is configured to display an image, a video, and the like.
- the display 194 includes a display panel.
- the display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini-LED, a micro-LED, a micro-OLED, a quantum dot light emitting diode (QLED), or the like.
- the electronic device may include one or N displays 194 , where N is a positive integer greater than 1.
- the electronic device may implement an obtaining function by using the ISP, the camera lens 193 , the video codec, the GPU, the display 194 , the application processor, and the like.
- the ISP is configured to process data fed back by the camera lens 193 .
- a shutter is enabled, light is transmitted to a camera lens photosensitive element through a lens, an optical signal is converted into an electrical signal, and the camera lens photosensitive element transmits the electrical signal to the ISP for processing, to convert the electrical signal into an image or a video visible to a naked eye.
- the ISP may further perform algorithm optimization on noise, brightness, and complexion of the image.
- the ISP may further optimize parameters such as exposure and a color temperature of a shooting scene.
- the ISP may be disposed in the camera lens 193 .
- the camera lens 193 is configured to capture a still image or a video.
- An optical image of an object is generated through a lens, and is projected onto a photosensitive element.
- the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts an optical signal into an electrical signal, and then transfers the electrical signal to the ISP.
- the ISP converts the electrical signal into a digital image or video signal.
- the ISP outputs the digital image or video signal to the DSP for processing.
- the DSP converts the digital image or video signal into an image or video signal in a standard format, for example, RGB or YUV.
- the electronic device may include one or N camera lenses 193 , where N is a positive integer greater than 1.
- the electronic device may obtain images with a plurality of exposure coefficients by using N camera lenses 193 , and then in post processing, the electronic device may synthesize, based on images with the plurality of exposure parameters, an HDR image by using an HDR technology:
- the digital signal processor is configured to process a digital signal. In addition to processing a digital image or video signal, the digital signal processor may further process another digital signal.
- the video codec is configured to compress or decompress a digital video.
- the electronic device may support one or more types of video codecs. In this way, the electronic device may play or record videos in a plurality of coding formats, for example, moving picture experts group (Moving Picture Experts Group, MPEG-1, MPEG-2, MPEG-3, and MPEG-4.
- moving picture experts group Moving Picture Experts Group
- MPEG-1 Moving Picture Experts Group
- MPEG-2 Motion Picture Experts Group
- MPEG-3 MPEG-4
- the external memory interface 120 may be configured to connect to an external storage card, for example, a micro-SD card, to extend a storage capability of the electronic device.
- the internal memory 121 may be configured to store computer-executable program code.
- the executable program code includes instructions.
- the processor 110 runs the instructions stored in the internal memory 121 , to perform various function applications and data processing of the electronic device.
- the electronic device may implement audio functions by using the audio module 170 , the speaker 170 A, the receiver 170 B, the microphone 170 C, the headset jack 170 D, the application processor, and the like, such as music playing and audio recording.
- the sensor module 180 may include one or more sensors, which may be of a same type or different types. It may be understood that the sensor module 180 shown in FIG. 7 is merely an example division manner, and there may be another division manner. This is not limited in this application.
- the pressure sensor 180 A is configured to sense a pressure signal, and may convert the pressure signal into an electrical signal.
- the pressure sensor 180 A may be disposed on the display 194 .
- the electronic device detects a strength of the touch operation by using the pressure sensor 180 A.
- the electronic device may also calculate a touch location based on a detection signal of the pressure sensor 180 A.
- touch operations that are performed at a same touch position but have different touch operation intensity may correspond to different operation instructions.
- the gyro sensor 180 B may be configured to determine a movement posture of the electronic device. In some embodiments, an angular velocity of the electronic device around three axes (namely; an x axis, a y axis, and a z axis) may be determined by using the gyro sensor 180 B.
- the gyro sensor 180 B may be configured to implement image stabilization during shooting.
- the touch sensor 180 K is also referred to as a “touch panel”.
- the touch sensor 180 K may be disposed on the display 194 , and the touch sensor 180 K and the display 194 constitute a touchscreen, which is also referred to as a “touch screen”.
- the touch sensor 180 K is configured to detect a touch operation performed on or near the touch sensor.
- the touch sensor may transfer the detected touch operation to the application processor, to determine a type of a touch event.
- a visual output related to the touch operation may be provided on the display 194 .
- the touch sensor 180 K may be alternatively disposed on a surface of the electronic device, which is different from the position of the display 194 .
- a software structure of the electronic device may use a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
- FIG. 8 is a schematic diagram of a software structure of an electronic device according to an embodiment of this application.
- a software framework of the electronic device involved in this application may include an application layer, an application framework layer (FWK), a system library; an Android runtime, a hardware abstraction layer, and a kernel layer.
- FWK application framework layer
- system library a software framework of the electronic device involved in this application
- Android runtime a hardware abstraction layer
- kernel layer a software framework of the electronic device involved in this application
- the application layer may include a series of application packages, such as a camera, a gallery, a calendar, a phone, WLAN, music, a video, and other application programs (also referred to as applications).
- the camera is configured to capture an image and a video.
- an application on the electronic device may be a native application (for example, an application installed in the electronic device when an operating system is installed before the electronic device is delivered from a factory), or may be a third-party application (for example, an application downloaded and installed by a user by using an AppGallery). This is not limited in this embodiment of this application.
- the application framework layer provides an application programming interface (Application Programming Interface, API) and a programming framework for an application on the application layer.
- API Application Programming Interface
- the application framework layer includes some predefined functions.
- the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
- the window manager is configured to manage a window program.
- the window manager may obtain a size of a display, determine whether there is a state bar, perform screen locking, take a screenshot, and the like.
- the content provider is configured to: store and obtain data, and enable the data to be accessed by an application.
- the data may include a video, an image, audio, calls that are made and answered, a browsing history and bookmarks, an address book, and the like.
- the view system includes visual controls such as a control for displaying a text and a control for displaying a picture.
- the view system may be configured to construct an application.
- a display user interface may include one or more views.
- a display user interface including a message notification icon may include a view for displaying text and a view for displaying pictures.
- the phone manager is configured to provide a communication function of the electronic device, for example, management of a call state (including answering, declining, or the like).
- the resource manager provides various resources such as a localized character string, an icon, a picture, a layout file, and a video file for an application.
- the notification manager enables an application to display notification information in a state bar, and may be configured to convey a notification message that may automatically disappear after a short pause without requiring user interaction.
- the notification manager is used for notifying download completion or as a message reminder.
- the notification manager may alternatively be a notification that appears on a top state bar of the system in a form of a graph or a scroll bar text, for example, a notification of an application running on the background, or may be a notification that appears on the screen in a form of a dialog user interface.
- text information is displayed in the state bar, a prompt tone is made, the electronic device vibrates, or the indicator light flashes.
- the runtime includes a core library and a virtual machine.
- the runtime is responsible for scheduling and management of the system.
- the core library includes two parts: a performance function that needs to be invoked by a programming language (for example, java language), and a system core library:
- the application layer and the application framework layer run on the virtual machine.
- the virtual machine executes programming files (for example, Java files) of the application layer and the application framework layer as binary files.
- the virtual machine is configured to implement functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
- the system library may include a plurality of functional modules, for example, a surface manager (Surface Manager), a media library (Media Libraries), a three-dimensional graphics processing library (for example, OpenGL ES), and a two-dimensional graphics engine (for example, SGL).
- a surface manager Silicon Manager
- Media Libraries Media Libraries
- Three-dimensional graphics processing library for example, OpenGL ES
- two-dimensional graphics engine for example, SGL
- the surface manager is configured to manage a display subsystem, and provide fusion of two dimensional (2-Dimensional, 2D) and three-dimensional (3-Dimensional, 3D) layers to a plurality of applications.
- the media library supports playback and recording in a plurality of commonly used audio and video formats, and static image files.
- the media libraries may support a variety of audio and video encoding formats, such as MPEG-4, H.264, MP3, AAC, AMR, JPG, and PNG.
- the three-dimensional graphics processing library is used for implementing 3D graphics drawing, image rendering, composition, layer processing, and the like.
- the 2D graphics engine is a drawing engine for 2D drawing.
- the hardware abstraction layer is an interface layer between an operating system kernel and an upper layer of software, and is intended to abstract hardware.
- the hardware abstraction layer is an abstraction interface driven by a device kernel, and is configured to provide an application programming interface for a higher-level Java API framework to access an underlying device.
- the HAL includes a plurality of library modules, such as a camera HAL module, a display, Bluetooth, and audio. Each library module implements one interface for a specific type of hardware component.
- the Android operating system loads the library module for the hardware component.
- the kernel layer is a foundation of the Android operating system, and a final function of the Android operating system is implemented by using the kernel layer.
- the kernel layer includes at least a display drive, a camera lens drive, an audio drive, a sensor drive, and a virtual card drive.
- FIG. 8 the schematic diagram of the software structure of the electronic device shown in FIG. 8 provided in this application is only an example, and does not limit specific module division in different layers of the Android operating system. For details, refer to the description of the software structure of the Android operating system in conventional technologies.
- the shooting method provided in this application may also be implemented based on another operating system, which is not listed one by one in this application.
- the following embodiment takes the software structure of the electronic device shown in FIG. 8 as an example, to specifically describe the technical solution provided in this embodiment of this application.
- FIG. 9 is a schematic diagram of a shooting method according to an embodiment of this application.
- an electronic device may include a camera application.
- a shooting user interface of the camera application includes a shutter control.
- the electronic device may detect that a user taps the shutter control.
- the camera application in the electronic device In response to the operation of tapping the shutter control, the camera application in the electronic device generates an instruction of shooting in advance, and sends the instruction of shooting in advance to a HAL layer through an interface X.
- the camera HAL module in the HAL layer in the electronic device may determine a current 3A state after receiving the instruction of shooting in advance. If the current 3A state is a 3A adjustment state, it indicates that a 3A algorithm does not converge. Once the 3A state is a 3A lock state, it indicates that the 3A algorithm has converged and the camera HAL module has obtained and locked an ideal shooting parameter.
- the camera HAL module may perform operations such as frame selection and post processing. It may be understood that an image obtained by post processing is an image obtained by shooting this time.
- the camera HAL module may upload the image to the camera application.
- the electronic device may store the image to the gallery application. Then the camera application in the electronic device may generate a 3A unlock instruction and send the 3A unlock instruction to the HAL layer. After receiving the 3A unlock instruction, the camera HAL module may adjust the 3A state to the 3A adjustment state.
- the camera application may send the instruction of shooting in advance to trigger a shooting process. This reduces a time between a time point at which the user taps the shutter control and a time point at which the user releases the shutter control, and reduces some of a time for which the camera application interacts with the camera HAL module. If the 3A state is the 3A lock state, the camera HAL module may send a variable exposure shooting parameter in advance. This reduces a time for which an image is obtained based on a shooting parameter to be sent before the variable exposure shooting parameter.
- a time point at which a variable exposure frame is generated is changed to enable the variable exposure frame to be generated in advance.
- a time difference between the time at which a variable exposure frame is generated and a time point at which N frames of images are selected from a buffered frame queue are shortened, better facilitating subsequent fusion, and obtaining an image with higher quality.
- the camera HAL module may select an image from the buffered frame queue based on address information, without copying the image. This reduces a copying time and computing resources.
- the camera HAL module may further determine definition of the image based on a jitter amount and sharpness information of each row of pixels of the image more accurately.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
Abstract
Description
Claims (20)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210190083.XA CN116723383B (en) | 2022-02-28 | 2022-02-28 | Shooting method and related equipment |
| CN202210190083.X | 2022-02-28 | ||
| PCT/CN2022/143188 WO2023160230A1 (en) | 2022-02-28 | 2022-12-29 | Photographing method and related device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20240397199A1 US20240397199A1 (en) | 2024-11-28 |
| US12556809B2 true US12556809B2 (en) | 2026-02-17 |
Family
ID=87764667
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US18/262,483 Active 2043-07-08 US12556809B2 (en) | 2022-02-28 | 2022-12-29 | Shooting method and related device |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US12556809B2 (en) |
| EP (1) | EP4262226B1 (en) |
| CN (1) | CN116723383B (en) |
| WO (1) | WO2023160230A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117479002B (en) * | 2023-09-15 | 2024-12-17 | 荣耀终端有限公司 | Image display method, electronic device and storage medium |
| CN120282034A (en) * | 2023-12-28 | 2025-07-08 | 荣耀终端股份有限公司 | Frame selection method and related device |
| CN120730187A (en) * | 2024-03-29 | 2025-09-30 | 华为技术有限公司 | Photo processing method, electronic device and computer-readable storage medium |
Citations (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW200408266A (en) | 2002-11-08 | 2004-05-16 | Nucam Corp | Compensating for delay inherent in digital still camera imaging |
| JP2006129065A (en) | 2004-10-28 | 2006-05-18 | Fuji Photo Film Co Ltd | Imaging apparatus and control method thereof |
| CN101112079A (en) | 2005-01-28 | 2008-01-23 | 卡西欧计算机株式会社 | Image photographing apparatus for auto-focusing and control method thereof |
| CN107302664A (en) | 2017-08-11 | 2017-10-27 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
| CN107509034A (en) | 2017-09-22 | 2017-12-22 | 维沃移动通信有限公司 | A shooting method and mobile terminal |
| CN108900779A (en) | 2018-06-28 | 2018-11-27 | 努比亚技术有限公司 | Initial automatic exposure convergence method, mobile terminal and computer readable storage medium |
| CN109496425A (en) | 2018-03-27 | 2019-03-19 | 华为技术有限公司 | Photographing method, photographing device and mobile terminal |
| CN109922322A (en) | 2019-04-10 | 2019-06-21 | Oppo广东移动通信有限公司 | Photographing method, image processor, photographing device and electronic equipment |
| CN110072061A (en) | 2019-05-31 | 2019-07-30 | 努比亚技术有限公司 | A kind of interactive mode image pickup method, mobile terminal and storage medium |
| CN110213502A (en) | 2019-06-28 | 2019-09-06 | Oppo广东移动通信有限公司 | Image processing method, image processing device, storage medium and electronic equipment |
| CN107613216B (en) * | 2017-10-31 | 2019-10-18 | Oppo广东移动通信有限公司 | Focusing method, focusing device, computer readable storage medium and electronic equipment |
| US20200267295A1 (en) * | 2017-09-01 | 2020-08-20 | Samsung Electronics Co., Ltd. | Method for controlling synchronization of plurality of image sensors and electronic device for implementing same |
| CN112532859A (en) | 2019-09-18 | 2021-03-19 | 华为技术有限公司 | Video acquisition method and electronic equipment |
| CN112672046A (en) | 2020-12-18 | 2021-04-16 | 闻泰通讯股份有限公司 | Storage method and device for continuous shooting image, electronic equipment and storage medium |
| CN113497879A (en) | 2020-03-18 | 2021-10-12 | Oppo广东移动通信有限公司 | Photographing light supplementing method and device, terminal and storage medium |
| CN113727018A (en) | 2021-06-24 | 2021-11-30 | 荣耀终端有限公司 | Shooting method and equipment |
| WO2023056795A1 (en) * | 2021-10-09 | 2023-04-13 | 华为技术有限公司 | Quick photographing method, electronic device, and computer readable storage medium |
-
2022
- 2022-02-28 CN CN202210190083.XA patent/CN116723383B/en active Active
- 2022-12-29 EP EP22917647.4A patent/EP4262226B1/en active Active
- 2022-12-29 US US18/262,483 patent/US12556809B2/en active Active
- 2022-12-29 WO PCT/CN2022/143188 patent/WO2023160230A1/en not_active Ceased
Patent Citations (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW200408266A (en) | 2002-11-08 | 2004-05-16 | Nucam Corp | Compensating for delay inherent in digital still camera imaging |
| JP2006129065A (en) | 2004-10-28 | 2006-05-18 | Fuji Photo Film Co Ltd | Imaging apparatus and control method thereof |
| CN101112079A (en) | 2005-01-28 | 2008-01-23 | 卡西欧计算机株式会社 | Image photographing apparatus for auto-focusing and control method thereof |
| US7515820B2 (en) | 2005-01-28 | 2009-04-07 | Casio Computer Co., Ltd. | Image capture device with automatic focusing function |
| CN107302664A (en) | 2017-08-11 | 2017-10-27 | 维沃移动通信有限公司 | A kind of image pickup method and mobile terminal |
| US20200267295A1 (en) * | 2017-09-01 | 2020-08-20 | Samsung Electronics Co., Ltd. | Method for controlling synchronization of plurality of image sensors and electronic device for implementing same |
| CN107509034A (en) | 2017-09-22 | 2017-12-22 | 维沃移动通信有限公司 | A shooting method and mobile terminal |
| CN107613216B (en) * | 2017-10-31 | 2019-10-18 | Oppo广东移动通信有限公司 | Focusing method, focusing device, computer readable storage medium and electronic equipment |
| US11070743B2 (en) | 2018-03-27 | 2021-07-20 | Huawei Technologies Co., Ltd. | Photographing using night shot mode processing and user interface |
| CN109496425A (en) | 2018-03-27 | 2019-03-19 | 华为技术有限公司 | Photographing method, photographing device and mobile terminal |
| CN108900779A (en) | 2018-06-28 | 2018-11-27 | 努比亚技术有限公司 | Initial automatic exposure convergence method, mobile terminal and computer readable storage medium |
| CN109922322A (en) | 2019-04-10 | 2019-06-21 | Oppo广东移动通信有限公司 | Photographing method, image processor, photographing device and electronic equipment |
| CN110072061A (en) | 2019-05-31 | 2019-07-30 | 努比亚技术有限公司 | A kind of interactive mode image pickup method, mobile terminal and storage medium |
| CN110213502A (en) | 2019-06-28 | 2019-09-06 | Oppo广东移动通信有限公司 | Image processing method, image processing device, storage medium and electronic equipment |
| CN112532859A (en) | 2019-09-18 | 2021-03-19 | 华为技术有限公司 | Video acquisition method and electronic equipment |
| CN113497879A (en) | 2020-03-18 | 2021-10-12 | Oppo广东移动通信有限公司 | Photographing light supplementing method and device, terminal and storage medium |
| CN112672046A (en) | 2020-12-18 | 2021-04-16 | 闻泰通讯股份有限公司 | Storage method and device for continuous shooting image, electronic equipment and storage medium |
| CN113727018A (en) | 2021-06-24 | 2021-11-30 | 荣耀终端有限公司 | Shooting method and equipment |
| WO2023056795A1 (en) * | 2021-10-09 | 2023-04-13 | 华为技术有限公司 | Quick photographing method, electronic device, and computer readable storage medium |
Non-Patent Citations (4)
| Title |
|---|
| English translation of CN-107613216-B, Li, 2019 (Year: 2019). * |
| English translation of WO-2023056795-A1, Sun, 2023 (Year: 2023). * |
| English translation of CN-107613216-B, Li, 2019 (Year: 2019). * |
| English translation of WO-2023056795-A1, Sun, 2023 (Year: 2023). * |
Also Published As
| Publication number | Publication date |
|---|---|
| US20240397199A1 (en) | 2024-11-28 |
| WO2023160230A1 (en) | 2023-08-31 |
| EP4262226A4 (en) | 2024-08-14 |
| CN116723383A (en) | 2023-09-08 |
| WO2023160230A9 (en) | 2023-10-26 |
| CN116723383B (en) | 2024-04-19 |
| EP4262226B1 (en) | 2025-10-29 |
| EP4262226A1 (en) | 2023-10-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11968447B2 (en) | Long-focus shooting method and electronic device | |
| US11949978B2 (en) | Image content removal method and related apparatus | |
| US12556809B2 (en) | Shooting method and related device | |
| US20230043815A1 (en) | Image Processing Method and Electronic Device | |
| EP4284009B1 (en) | Method for acquiring image, and electronic device | |
| US12563291B2 (en) | Camera switching method and electronic device | |
| US12526518B2 (en) | Shooting method and related device | |
| US12335600B2 (en) | Method for capturing image during video recording and electronic device | |
| CN113709355A (en) | Sliding zoom shooting method and electronic equipment | |
| CN116723382B (en) | Shooting method and related equipment | |
| WO2023035868A1 (en) | Photographing method and electronic device | |
| CN117560574B (en) | A shooting method, electronic device and readable storage medium | |
| CN115442509A (en) | Shooting method, user interface and electronic equipment | |
| CN117395496A (en) | Photography method and related equipment | |
| CN114125197A (en) | Mobile terminal and photographing method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| AS | Assignment |
Owner name: HONOR DEVICE CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:XU, JIRUN;REEL/FRAME:066308/0968 Effective date: 20240109 |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: FINAL REJECTION MAILED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: ADVISORY ACTION COUNTED, NOT YET MAILED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: ADVISORY ACTION MAILED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: ALLOWED -- NOTICE OF ALLOWANCE NOT YET MAILED Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT RECEIVED Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |