CN115802153B - Image shooting method, device, computer equipment and storage medium - Google Patents

Image shooting method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN115802153B
CN115802153B CN202111056062.0A CN202111056062A CN115802153B CN 115802153 B CN115802153 B CN 115802153B CN 202111056062 A CN202111056062 A CN 202111056062A CN 115802153 B CN115802153 B CN 115802153B
Authority
CN
China
Prior art keywords
image
shooting
acquisition device
image acquisition
capturing
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
Application number
CN202111056062.0A
Other languages
Chinese (zh)
Other versions
CN115802153A (en
Inventor
朱文波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zeku Technology Shanghai Corp Ltd
Original Assignee
Zeku Technology Shanghai Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zeku Technology Shanghai Corp Ltd filed Critical Zeku Technology Shanghai Corp Ltd
Priority to CN202111056062.0A priority Critical patent/CN115802153B/en
Priority to PCT/CN2022/118221 priority patent/WO2023036313A1/en
Publication of CN115802153A publication Critical patent/CN115802153A/en
Application granted granted Critical
Publication of CN115802153B publication Critical patent/CN115802153B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

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

Abstract

The application discloses an image shooting method, an image shooting device, computer equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: detecting an operation instruction to the first image acquisition device; in response to the operation instruction, capturing an image by the second image capturing device, and determining a target capturing parameter based on an image feature of the captured image; and shooting an image based on the target shooting parameters by the first image acquisition device. According to the method, the second image acquisition device is used for shooting the image, and shooting parameters are determined based on the image characteristics of the image, so that the first image acquisition device can be used for shooting the image directly based on the shooting parameters. Since the photographing parameters are determined based on the photographed image, the quality of the image photographed by the first image pickup device based on the photographing parameters is high, and thus, the photographing method ensures the quality of the image photographed by the first image pickup device.

Description

Image shooting method, device, computer equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to an image shooting method, an image shooting device, computer equipment and a storage medium.
Background
With the wide application of image sharing, the demand for image quality is increasing, and how to shoot higher quality images is becoming a current research hotspot. In the related art, an image capturing device typically captures an image based on a default capturing parameter, and the quality of the captured image cannot be guaranteed because the capturing parameter is fixed.
Disclosure of Invention
The embodiment of the application provides an image shooting method, an image shooting device, computer equipment and a storage medium, which can ensure the quality of shot images. The technical proposal is as follows:
According to an aspect of an embodiment of the present application, there is provided an image photographing method including:
detecting an operation instruction of the first image acquisition device, wherein the operation instruction is an opening instruction or a shooting mode switching instruction;
in response to the operation instruction, shooting an image through a second image acquisition device, and determining a target shooting parameter based on image characteristics of the shot image;
And shooting an image based on the target shooting parameters through the first image acquisition device.
According to another aspect of an embodiment of the present application, there is provided an image photographing apparatus including:
The instruction detection module is used for detecting an operation instruction of the first image acquisition device, wherein the operation instruction is an opening instruction or a shooting mode switching instruction;
a parameter determining module for capturing an image by the second image capturing device in response to the operation instruction, and determining a target capturing parameter based on an image feature of the captured image;
And the image shooting module is used for shooting an image based on the target shooting parameters through the first image acquisition device.
According to another aspect of an embodiment of the present application, there is provided a computer device including a processor and a memory; the memory stores at least one computer program for execution by the processor to implement the image capturing method as described in the above aspects.
According to another aspect of the embodiments of the present application, there is provided a computer-readable storage medium storing at least one computer program for execution by a processor to implement the image capturing method as described in the above aspect.
According to another aspect of embodiments of the present application, there is provided a computer program product storing at least one computer program loaded and executed by a processor to implement the image capturing method of the above aspect.
In the embodiment of the application, in response to an opening instruction of the first image acquisition device or a switching instruction of a shooting mode, an image is shot by the second image acquisition device, and shooting parameters are determined based on image features of the image, so that the first image acquisition device can shoot the image directly based on the shooting parameters. Since the photographing parameters are determined based on the photographed image, the quality of the image photographed by the first image pickup device based on the photographing parameters is high, and thus, the photographing method ensures the quality of the image photographed by the first image pickup device.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a block diagram of a computer device in accordance with an exemplary embodiment of the present application;
Fig. 2 is a flowchart illustrating an image photographing method according to an exemplary embodiment of the present application;
Fig. 3 is a flowchart illustrating an image photographing method according to an exemplary embodiment of the present application;
fig. 4 is a schematic diagram showing an image capturing process according to an exemplary embodiment of the present application;
fig. 5 is a block diagram showing the structure of an image pickup apparatus according to an exemplary embodiment of the present application;
Fig. 6 is a block diagram showing the construction of an image photographing device according to an exemplary embodiment of the present application;
FIG. 7 illustrates a block diagram of a computer device in accordance with an exemplary embodiment of the present application;
Fig. 8 is a block diagram showing a structure of a computer device according to an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
References herein to "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The terms "first," "second," "third," "fourth," and the like as used herein may be used to describe various concepts, but are not limited by these terms unless otherwise specified. These terms are only used to distinguish one concept from another. For example, a first target region may be referred to as a target region, and similarly, a second target region may be referred to as a first target region, without departing from the scope of the application.
The embodiment of the application provides an image shooting method, an execution subject is computer equipment 100, and the computer equipment 100 can shoot and obtain high-quality images by the method. In some embodiments, the computer device 100 is a terminal, for example, the terminal is a mobile phone, a video camera, a desktop computer, a notebook computer, a tablet computer, or the like.
In some embodiments, the first image acquisition device 101 and the second image acquisition device 102 are included in the computer apparatus 100. Alternatively, the first image pickup device 101 coincides with the photographing range of the second image pickup device 102. When the first image capturing device 101 is in the off state and the second image capturing device 102 is in the on state, if an on command to the first image capturing device 101 is detected, an image may be captured by the second image capturing device 102, and a capturing parameter may be determined based on the captured image, and after the first image capturing device 101 is turned on, the image may be captured by directly using the capturing parameter.
In some embodiments, the computer apparatus 100 further comprises other image acquisition means than the first image acquisition means 101 and the second image acquisition means 102. The computer apparatus 100 is capable of capturing images through any one or more of a plurality of image capturing devices, to which the embodiment of the present application is not limited.
The image shooting method provided by the embodiment of the application can be applied to a scene of starting the image acquisition device. For example, when the user triggers the first image capturing device 101 to be turned on, the terminal captures an image through the second image capturing device 102 by using the time when the first image capturing device 101 is turned on, determines a capturing parameter based on the image characteristics of the image, and then captures an image directly based on the capturing parameter through the first image capturing device 101 when the first image capturing device 101 is turned on. Since the photographing parameter is determined based on the currently photographed image, the photographing parameter has high suitability with the current photographing scene, and thus the quality of the image photographed by the first image pickup device 101 can be ensured.
The image capturing method provided by the embodiment of the application can also be applied to a scene of switching the capturing modes, for example, when the first image capturing device 101 is in an on state, a user triggers the switching of the capturing modes of the first image capturing device 101, the terminal uses the time of the mode switching of the first image capturing device 101 to capture an image through the second image capturing device 102, determines capturing parameters based on the image characteristics of the image, and then captures an image directly based on the capturing parameters through the first image capturing device 101 when the mode switching of the first image capturing device 101 is completed. Of course, the image capturing method provided by the embodiment of the present application can also be applied to other scenes, for example, a scene where a video is captured, which is not limited by the embodiment of the present application.
Fig. 2 shows a flowchart of an image capturing method according to an exemplary embodiment of the present application, and referring to fig. 2, the method includes:
201. the terminal detects an operation instruction of the first image acquisition device, wherein the operation instruction is an opening instruction or a shooting mode switching instruction.
The opening instruction is used for opening the first image acquisition device under the condition that the first image acquisition device is in an off state. The shooting mode switching instruction is used for switching the current switching mode of the first image acquisition device under the condition that the first image acquisition device is in an on state. Alternatively, the operation instruction may be other instructions, which the embodiment of the present application does not limit.
The first image capturing device has a plurality of capturing modes, such as a portrait mode, a landscape mode, a night view mode, a food mode, a photographing mode, a video mode, and the like. Optionally, the first image capturing device does not capture an image during the mode switching.
Optionally, the first image capturing device is any camera in the terminal, for example, a front camera, a rear camera, and the like, which is not limited in the embodiment of the present application.
202. The terminal captures an image by the second image capturing device in response to the operation instruction, and determines a target capturing parameter based on an image characteristic of the captured image.
Optionally, the second image capturing device is an image capturing device that coincides with the shooting range of the first image capturing device. For example, the second image capturing device and the first image capturing device are both front cameras or are both rear cameras. Optionally, the second image capturing device is in an on state, that is, the terminal responds to the operation instruction, without restarting the second image capturing device, and can directly capture an image through the second image capturing device.
Optionally, the image features include image content features and image quality features. Wherein the image content feature is a feature capable of reflecting the image content. For example, the image content features include the number of people in the image, the proportion of buildings to the image, the proportion of scenery to the image, whether the scene of the image is daytime or evening, and so on. The image quality features are features capable of reflecting image quality, for example, the image quality features include sharpness, brightness, color, and the like of an image. The high definition of the image, the brightness within the threshold range, the deviation of the color from the actual color of the object in the image within the threshold range, the high image quality of the image, the low definition of the image, the brightness not within the threshold range, the deviation of the color from the actual color of the object in the image, the low image quality of the image.
The photographing parameters can determine the quality of the photographed image. Optionally, the shooting parameters include any parameters, such as a focus parameter, an exposure parameter, a white balance parameter, and the like. The focusing parameter is used for indicating an object focused in a shot image, the exposure parameter is used for indicating the brightness of the shot image, and the white balance parameter is used for indicating the color of the image. Optionally, the exposure parameters include exposure time period, aperture value, and the like.
Optionally, the target shooting parameter determined by the terminal based on the image feature of the image is used to improve the image quality of the shot image, for example, the brightness of the image shot by the second image acquisition device is too low and is not within the brightness threshold range, and the determined target shooting parameter can improve the brightness of the shot image. For another example, if the image captured by the second image capturing device is not focused on the person, resulting in blurring of the image of the area where the person is located, the determined target capturing parameter indicates that the image capturing device is focused on the person, so as to improve the sharpness of the person in the captured image, and so on.
203. And the terminal shoots an image based on the target shooting parameters through the first image acquisition device.
Optionally, when the execution of the operation instruction by the first image capturing device is completed, the image is captured directly based on the target capturing parameter, and because the target capturing parameter is determined based on the image feature of the image captured by the second image capturing device, the target capturing parameter is more adapted to the current capturing scene than the default capturing parameter, so that the image quality of the image captured by the first image capturing device can be ensured.
In the embodiment of the application, in response to an opening instruction of the first image acquisition device or a shooting mode switching instruction, the first image acquisition device is used for shooting an image through the second image acquisition device at the opening time or the mode switching time of the first image acquisition device, and shooting parameters are determined based on the image characteristics of the image, so that the first image acquisition device can shoot the image directly based on the shooting parameters. Since the photographing parameters are determined based on the photographed image, the quality of the image photographed by the first image pickup device based on the photographing parameters is high, and thus, the photographing method ensures the quality of the image photographed by the first image pickup device.
Fig. 3 shows a flowchart of an image capturing method according to an exemplary embodiment of the present application, and referring to fig. 3, the method includes:
301. the terminal detects an operation instruction of the first image acquisition device, wherein the operation instruction is an opening instruction or a shooting mode switching instruction.
Optionally, the terminal displays an opening control of the first image acquisition device, and when the user triggers the opening control, the first image acquisition device can be opened, and accordingly, the terminal responds to the triggering operation of the opening control to determine that the opening instruction is detected. Optionally, when the first image acquisition device is in an on state, the terminal displays mode selection controls corresponding to multiple shooting modes, and the user triggers the mode selection control corresponding to any shooting mode, so that the shooting mode can be switched to the shooting mode corresponding to the mode selection control. Correspondingly, the terminal responds to the selection operation of any mode selection control, and determines that a switching instruction of the shooting mode is detected under the condition that the current shooting mode of the first image acquisition device is different from the shooting mode corresponding to the mode selection control.
302. And the terminal responds to the operation instruction, shoots an image through the second image acquisition device, and adjusts the current shooting parameters of the second image acquisition device based on the image characteristics of the image.
Optionally, the image captured by the second image capturing device is in any format, for example, a RAW (RAW) format, which is not limited in the embodiment of the present application.
In one possible implementation manner, the terminal captures an image through the second image capturing device in response to the operation instruction, including: the terminal responds to the operation instruction, selects a second image acquisition device which is consistent with the shooting range of the first image acquisition device from at least two image acquisition devices except the first image acquisition device, and shoots images through the second image acquisition device.
In the embodiment of the application, the second image acquisition device which is consistent with the shooting range of the first image acquisition device is selected from the plurality of image acquisition devices, so that the scene shot by the second image acquisition device is more consistent with the scene shot by the first image acquisition device, therefore, the shooting parameters determined based on the image characteristics of the image shot by the second image acquisition device are more adaptive to the scene shot by the first image acquisition device, and the quality of the image shot by the first image acquisition device is ensured.
Optionally, the terminal, in response to the operation instruction, selects a second image capturing device consistent with the shooting range of the first image capturing device from at least two image capturing devices other than the first image capturing device, including: the terminal responds to the operation instruction, and selects a second image acquisition device which is consistent with the shooting range of the first image acquisition device and is in an open state from at least two image acquisition devices except the first image acquisition device.
In the embodiment of the application, the second image acquisition device which is consistent with the shooting range of the first image acquisition device and is in the on state is selected from the plurality of image acquisition devices, so that the terminal can directly shoot images through the second image acquisition device, the time for starting the second image acquisition device is saved, the efficiency for determining the target shooting parameters can be improved, the first image acquisition device can shoot images based on the shooting parameters as soon as possible, and the drawing efficiency of the first image acquisition device is improved.
Optionally, the terminal captures an image through the second image capturing device in response to the operation instruction, adjusts a current capturing parameter of the second image capturing device based on an image feature of the image, and includes: the terminal responds to the operation instruction, shoots a frame of image through the second image acquisition device each time, and adjusts the current shooting parameters of the second image acquisition device based on the image characteristics of the image. Or the terminal responds to the operation instruction, shoots a plurality of frames of images through the second image acquisition device each time, selects one frame of image from the plurality of frames of images, and adjusts the current shooting parameters based on the image characteristics of the image.
In one possible implementation manner, the original shooting parameters of the second image acquisition device include at least one of an original shooting frame rate or an original resolution, and in the embodiment of the present application, before the terminal responds to the operation instruction to shoot the image through the second image acquisition device, the shooting parameters of the second image acquisition device are adjusted first, that is, the terminal responds to the operation instruction to increase at least one of the shooting frame rate or the resolution of the second image acquisition device, so as to obtain the adjusted shooting parameters; and shooting an image according to the adjusted shooting parameters by a second image acquisition device.
In the embodiment of the application, the shooting frame rate of the second image acquisition device is increased, so that the terminal can obtain enough images to determine the target shooting parameters in the process of executing the operation instruction by the first image acquisition device, and the accuracy of the target shooting parameters is ensured from the angle of the number of the images. And the resolution of the second image acquisition device is increased, so that the terminal can obtain an image with high resolution to determine the target shooting parameters in the process of executing the operation instruction by the first image acquisition device, and the accuracy of the determined target shooting parameters is ensured from the viewpoint of image quality. In addition, the terminal increases the shooting frame rate or resolution of the second image acquisition device only when the second image acquisition device is required to determine the target shooting parameters, so that the power consumption of the terminal can be reduced.
303. And the terminal determines the adjusted shooting parameters as target shooting parameters.
In the embodiment of the application, the terminal shoots the image through the second image acquisition device, adjusts the current shooting parameters based on the image characteristics of the shot image, and ensures the suitability of the shooting parameters and the current shooting scene, thereby ensuring the quality of the image shot by the first image acquisition device based on the shooting parameters.
In one possible implementation manner, the terminal determines the adjusted shooting parameter as the target shooting parameter, including: and the terminal determines the current shooting parameters of the second image acquisition device as target shooting parameters under the condition that the execution of the operation instructions by the first image acquisition device is completed. The first image acquisition device executes the operation instruction to complete the starting of the first image acquisition device or the switching of the shooting modes.
In the embodiment of the application, in the process of executing the operation instruction by the first image acquisition device, the terminal continuously shoots images by the second image acquisition device and continuously adjusts the current shooting parameters based on the shot images, thereby realizing the optimization of the shooting parameters and improving the suitability of the shooting parameters and shooting scenes. When the first image acquisition device executes the operation instruction, that is, when the first image acquisition device can shoot an image, the current shooting parameter of the second image acquisition device is determined as the target shooting parameter, and the suitability of the target shooting parameter and the current shooting scene is the highest, so that the quality of the image shot by the first image acquisition device is ensured.
304. And the terminal shoots an image based on the target shooting parameters through the first image acquisition device.
In one possible implementation, after the terminal captures an image based on the target capturing parameter by the first image capturing device, the capturing parameter is further adjusted based on the captured image. That is, the terminal adjusts the current photographing parameters of the first image capturing device based on the image characteristics of the image captured by the first image capturing device or the third image capturing device. The third image acquisition device is any image acquisition device consistent with the shooting range of the first image acquisition device.
Optionally, the terminal adjusts current shooting parameters of the first image acquisition device based on image features of an image shot by the first image acquisition device or the third image acquisition device, including: and when the terminal shoots one frame of image through the first image acquisition device or the third image acquisition device each time, the current shooting parameters of the first image acquisition device are adjusted based on the image characteristics of the image. Optionally, the third image capturing device is in a normally open state, that is, after the terminal is turned on, the third image capturing device is in an on state, and captures images according to the configured capturing frame rate and resolution.
In the embodiment of the application, the current shooting parameters of the first image acquisition device are adjusted based on the images shot by the first image acquisition device, and the current shooting parameters of the first image acquisition device are adjusted based on the images shot by the third image acquisition device, so that the adjustment efficiency of the shooting parameters of the first image acquisition device can be improved, and the process of adapting the shooting parameters of the first image acquisition device to the current shooting scene is quickened.
In one possible implementation, the terminal adjusts the shooting parameters of the second image acquisition device before shooting the image through the second image acquisition device in response to the operation instruction. Correspondingly, the terminal shoots an image through the second image acquisition device, and after determining the target shooting parameters based on the image characteristics of the shot image, the shooting parameters of the second image acquisition device are restored to the original shooting parameters. That is, the terminal also performs at least one of: the terminal restores the shooting frame rate of the second image acquisition device to the original shooting frame rate; and restoring the resolution of the second image acquisition device to the original resolution.
Optionally, the terminal restores the shooting frame rate of the second image acquisition device to the original shooting frame rate, including: the terminal restores the shooting frame rate to the original shooting frame rate after transmitting the target shooting parameters to the second image acquisition device through the second image acquisition device, or restores the shooting frame rate to the original shooting frame rate after transmitting the target shooting parameters to the second image acquisition device through the second image acquisition device under the condition that the second image acquisition device receives the parameter configuration completion notification sent by the first image acquisition device. The implementation manner of recovering the resolution of the second image acquisition device to the original resolution by the terminal and recovering the shooting frame rate of the second image acquisition device to the original shooting frame rate by the terminal are the same, and are not described herein.
In the embodiment of the application, the increase of the shooting frame rate and the resolution of the second image acquisition device is considered to increase the power consumption of the terminal, so that the second image acquisition device shoots an image, the shooting frame rate of the second image acquisition device is restored to the original shooting frame rate after the target shooting parameters are determined based on the image characteristics of the shot image, the resolution is restored to the original resolution, the power consumption of the terminal can be reduced, and the influence on the performance of the terminal is reduced.
Optionally, after the terminal shoots an image based on the target shooting parameters through the first image acquisition device, the image is displayed in a shooting interface of the terminal, so that after the user opens the first image acquisition device or switches the shooting mode of the first image acquisition device, the image which is presented at the beginning in the shooting interface is adaptive to the current shooting scene, the quality of the image is high, and the user experience is improved.
It should be noted that, in the case of capturing a video by the first image capturing device, since the capturing parameters adopted by the first image capturing device are determined based on the image captured by the second image capturing device, the capturing scene is adapted to the current capturing scene, so that the image quality of the first several frames of images in the video captured by the first image capturing device is better, and the quality of the captured video is improved.
Fig. 4 is a schematic view of an image capturing process, and referring to fig. 4, the second image capturing apparatus is in an on state, and a partial capturing parameter, for example, a debounce parameter or the like, is determined based on an image characteristic of a captured image. The first image acquisition device is in a closed state, the terminal continuously monitors a starting event of the first image acquisition device, and after the user triggers the first image acquisition device to be started, the terminal notifies the second image acquisition device of the monitored starting event. And after the second image acquisition device determines that the starting event of the first image acquisition device occurs, adjusting the shooting frame rate and the resolution, and shooting the image based on the adjusted shooting frame rate and resolution. Then, the second image pickup device determines a part of the photographing parameters, for example, an exposure parameter, a white balance parameter, a focus parameter, etc., based on the image characteristics of the photographed image, and transmits the determined whole photographing parameters to the first image pickup device. The first image acquisition device is configured according to the shooting parameters, and then images are shot according to the configured shooting parameters. After completing the configuration of the shooting parameters, the first image acquisition device sends a parameter configuration completion notification to the second image acquisition device, and the first image acquisition device restores the shooting frame rate and the resolution to the original shooting frame rate and the original resolution based on the notification.
Fig. 5 is a block diagram showing the structure of an image pickup apparatus. Referring to fig. 5, the left side is a block diagram of the structure of the second image pickup device, and the right side is a block diagram of the structure of the first image pickup device. As can be seen from fig. 5, the first image capturing device and the second image capturing device have overlapping portions, for example, the second image capturing device shares a part of the service interface with the first image capturing device, but most of the modules of the two image capturing devices operate independently, so that the target capturing parameters can be determined by the images captured by the second image capturing device for the first image capturing device to capture. And moreover, the whole structure of the second image acquisition device is more simplified, the communication efficiency is higher, and compared with the first image acquisition device, the image data can be acquired earlier, so that the timeliness of shooting parameters provided for the first image acquisition device is ensured. It should be noted that the structures of the first image capturing device and the second image capturing device are merely exemplary, and the embodiments of the present application are not limited thereto.
In the embodiment of the application, in response to an opening instruction of the first image acquisition device or a shooting mode switching instruction, the first image acquisition device is used for shooting an image through the second image acquisition device at the opening time or the mode switching time of the first image acquisition device, and shooting parameters are determined based on the image characteristics of the image, so that the first image acquisition device can shoot the image directly based on the shooting parameters. Since the photographing parameters are determined based on the photographed image, the quality of the image photographed by the first image pickup device based on the photographing parameters is high, and thus, the photographing method ensures the quality of the image photographed by the first image pickup device.
The following are device embodiments of the present application that can be used to perform method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
Referring to fig. 6, a block diagram illustrating a structure of an image photographing device according to an exemplary embodiment of the present application is shown. The image photographing device includes:
The instruction detection module 601 is configured to detect an operation instruction for the first image acquisition device, where the operation instruction is an opening instruction or a shooting mode switching instruction;
a parameter determining module 602, configured to capture an image by the second image capturing device in response to the operation instruction, and determine a target capturing parameter based on an image feature of the captured image;
The image capturing module 603 is configured to capture, by the first image capturing device, an image based on the target capturing parameter.
In one possible implementation, the parameter determination module 602 includes:
the parameter adjusting unit is used for responding to the operation instruction, shooting images through the second image acquisition device and adjusting the current shooting parameters of the second image acquisition device based on the image characteristics of the images;
and the parameter determining unit is used for determining the adjusted shooting parameter as a target shooting parameter.
In one possible implementation manner, the parameter determining unit is configured to determine, when the execution of the operation instruction by the first image capturing device is completed, a current capturing parameter of the second image capturing device as the target capturing parameter.
In one possible implementation, the parameter determining module 602 is configured to select, in response to the operation instruction, a second image capturing device that is consistent with the capturing range of the first image capturing device from at least two image capturing devices other than the first image capturing device, and capture an image by the second image capturing device.
In one possible implementation, the apparatus further includes:
the parameter adjusting module is used for adjusting the current shooting parameters of the first image acquisition device based on the image characteristics of the image shot by the first image acquisition device or the third image acquisition device; the third image acquisition device is any image acquisition device consistent with the shooting range of the first image acquisition device.
In one possible implementation, the original shooting parameters of the second image acquisition device include at least one of an original shooting frame rate or an original resolution;
a parameter determining module 602, configured to increase at least one of a shooting frame rate or a resolution of the second image capturing device, to obtain an adjusted shooting parameter; and shooting an image according to the adjusted shooting parameters by a second image acquisition device.
In one possible implementation, the parameter determination module 602 is further configured to perform at least one of:
restoring the shooting frame rate of the second image acquisition device to the original shooting frame rate;
And restoring the resolution of the second image acquisition device to the original resolution.
In the embodiment of the application, in response to an opening instruction of the first image acquisition device or a shooting mode switching instruction, the first image acquisition device is used for shooting an image through the second image acquisition device at the opening time or the mode switching time of the first image acquisition device, and shooting parameters are determined based on the image characteristics of the image, so that the first image acquisition device can shoot the image directly based on the shooting parameters. Since the photographing parameters are determined based on the photographed image, the quality of the image photographed by the first image pickup device based on the photographing parameters is high, and thus, the photographing method ensures the quality of the image photographed by the first image pickup device.
It should be noted that, in the apparatus provided in the foregoing embodiment, when implementing the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be implemented by different functional modules, that is, the internal structure of the computer device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
Referring to fig. 7, which illustrates a block diagram of a computer device according to an exemplary embodiment of the present application, the computer device 700 may be configured or perform relatively large differences, and may include one or more processors (Central Processing Units, CPU) 701 and one or more memories 702, where the memories 702 store at least one computer program that is loaded and executed by the processors 701 to implement the methods provided in the above-described method embodiments. Of course, the computer device may also have a wired or wireless network interface, a keyboard, an input/output interface, and other components for implementing the functions of the device, which are not described herein.
Referring to FIG. 8, a block diagram of a computer device according to an exemplary embodiment of the present application is shown. In some embodiments, the computer device 800 is a smart phone, tablet, wearable device, or the like, capable of accessing a wireless local area network as a wireless station. The computer device 800 of the present application includes at least one or more of the following: a processor 810, a memory 820, and at least two wireless links 830.
In some embodiments, processor 810 includes one or more processing cores. The processor 810 utilizes various interfaces and lines to connect various portions of the overall computer device 800, execute various functions of the computer device 800, and process data by executing or executing program code stored in the memory 820, and invoking data stored in the memory 820. In some embodiments, the processor 810 is implemented in hardware in at least one of digital signal Processing (DIGITAL SIGNAL Processing, DSP), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 810 can integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the NPU is used for realizing an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) function; the modem is used to handle wireless communications. It will be appreciated that the modem described above may not be integrated into the processor 810 and may be implemented solely by a single chip.
In some embodiments, the processor 810 is configured to control the operation of at least two wireless links 830, and accordingly, the processor 810 is a wireless fidelity (WIRELESS FIDELITY, wi-Fi) chip-integrated processor. The Wi-Fi chip is a chip with double Wi-Fi processing capability. For example, the Wi-Fi chip is a dual-frequency dual-transmit (Dual Band Dual Concurrent, DBDC) chip, or a dual-frequency synchronous (Dual Band Simultaneous, DBS) chip, or the like.
In some embodiments, memory 820 includes random access Memory (Random Access Memory, RAM), and in some embodiments, memory 820 includes Read-Only Memory (ROM). In some embodiments, the memory 820 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 820 may be used to store program codes. The memory 820 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc.; the storage data area may store data (e.g., audio data, phonebook) created according to the use of the computer device 800, etc.
In some embodiments, the memory 820 stores therein a reception scheme for the reception beacon frames of the different wireless links 830. And the identity of the access node to which the different wireless link 830 is connected, the identity of the wireless link 830, etc.
The at least two wireless links 830 are used to connect different Access Points (APs). And receiving downlink data issued by the AP. Wherein the different access nodes are access nodes in the same router or access nodes in different routers.
In some embodiments, a display screen is also included in computer device 800. The display screen is a display component for displaying a user interface. In some embodiments, the display screen is a display screen with a touch function by which a user can perform a touch operation on the display screen using any suitable object such as a finger, a stylus, or the like. In some embodiments, the display screen is typically disposed on the front panel of the computer device 800. In some embodiments, the display screen is designed as a full screen, a curved screen, a contoured screen, a double-sided screen, or a folded screen. In some embodiments, the display screen is further designed to be a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, and the like, which is not limited in this embodiment.
In addition, those skilled in the art will appreciate that the structure of the computer device 800 illustrated in the above-described figures does not constitute a limitation of the computer device 800, and that the computer device 800 includes more or less components than illustrated, or certain components may be combined, or a different arrangement of components. For example, the computer device 800 further includes a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, a bluetooth module, and the like, which are not described herein.
The present application also provides a computer-readable medium storing at least one computer program loaded and executed by the processor to implement the image photographing method as shown in the above embodiments.
The present application also provides a computer program product storing at least one computer program loaded and executed by the processor to implement the image photographing method as shown in the above embodiments.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps in the image photographing method implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read only memory, a magnetic disk or an optical disk, etc. The foregoing description of the preferred embodiments of the present application is not intended to limit the application, but rather, the application is to be construed as limited to the appended claims.

Claims (6)

1. An image capturing method, the method comprising:
detecting an operation instruction of the first image acquisition device, wherein the operation instruction is an opening instruction or a shooting mode switching instruction;
responding to the operation instruction, and increasing at least one of shooting frame rate or resolution of the second image acquisition device in the execution time of the operation instruction to obtain an adjusted first shooting parameter;
Shooting a frame of image according to the first shooting parameters by the second image acquisition device, adjusting the first shooting parameters based on the image characteristics of the frame of image to obtain adjusted second shooting parameters, and determining the second shooting parameters as target shooting parameters; and/or shooting a plurality of frames of images according to the first shooting parameters through the second image acquisition device, selecting one frame of image from the plurality of frames of images, adjusting the first shooting parameters based on the image characteristics of the one frame of image to obtain adjusted second shooting parameters, and determining the second shooting parameters as the target shooting parameters;
Under the condition that the execution of the operation instruction is completed, shooting an image based on the target shooting parameters through the first image acquisition device;
Wherein the original shooting parameters of the second image acquisition device include at least one of an original shooting frame rate or an original resolution, the method further comprising at least one of:
if the shooting frame rate of the second image acquisition device is increased in the execution time of the operation instruction, after the second shooting parameter is obtained, restoring the shooting frame rate of the second image acquisition device to the original shooting frame rate;
If the resolution of the second image acquisition device is increased in the execution time of the operation instruction, after the second shooting parameter is obtained, the resolution of the second image acquisition device is restored to the original resolution.
2. The method of claim 1, wherein capturing an image by the second image capturing device in response to the operation instruction comprises:
And responding to the operation instruction, selecting a second image acquisition device which is consistent with the shooting range of the first image acquisition device from at least two image acquisition devices except the first image acquisition device, and shooting images through the second image acquisition device.
3. The method of claim 1, wherein the capturing, by the first image capturing device, of an image based on the target capturing parameters further comprises:
adjusting current shooting parameters of the first image acquisition device based on image characteristics of images shot by the first image acquisition device or the third image acquisition device;
The third image acquisition device is any image acquisition device consistent with the shooting range of the first image acquisition device.
4. An image capturing apparatus, the apparatus comprising:
The instruction detection module is used for detecting an operation instruction of the first image acquisition device, wherein the operation instruction is an opening instruction or a shooting mode switching instruction;
The parameter determining module is used for responding to the operation instruction, and increasing at least one of shooting frame rate or resolution of the second image acquisition device in the execution time of the operation instruction to obtain an adjusted first shooting parameter;
The parameter determining module is further configured to, through the second image capturing device, capture a frame of image according to the first capturing parameter, adjust the first capturing parameter based on an image feature of the frame of image, obtain an adjusted second capturing parameter, and determine the second capturing parameter as a target capturing parameter; and/or shooting a plurality of frames of images according to the first shooting parameters through the second image acquisition device, selecting one frame of image from the plurality of frames of images, adjusting the first shooting parameters based on the image characteristics of the one frame of image to obtain adjusted second shooting parameters, and determining the second shooting parameters as the target shooting parameters;
the image shooting module is used for shooting an image based on the target shooting parameters through the first image acquisition device under the condition that the execution of the operation instruction is completed;
Wherein the original shooting parameters of the second image acquisition device comprise at least one of an original shooting frame rate or an original resolution;
the parameter determining module is further configured to restore the shooting frame rate of the second image acquisition device to the original shooting frame rate after the second shooting parameter is obtained if the shooting frame rate of the second image acquisition device is increased within the execution time of the operation instruction;
The parameter determining module is further configured to restore the resolution of the second image capturing device to the original resolution after obtaining the second shooting parameter if the resolution of the second image capturing device is increased within the execution time of the operation instruction.
5. A computer device, the computer device comprising a processor and a memory; the memory stores at least one computer program for execution by the processor to implement the image capturing method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that the storage medium stores at least one computer program for execution by a processor to implement the image capturing method according to any one of claims 1 to 3.
CN202111056062.0A 2021-09-09 2021-09-09 Image shooting method, device, computer equipment and storage medium Active CN115802153B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111056062.0A CN115802153B (en) 2021-09-09 2021-09-09 Image shooting method, device, computer equipment and storage medium
PCT/CN2022/118221 WO2023036313A1 (en) 2021-09-09 2022-09-09 Image photographing method and apparatus, and computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111056062.0A CN115802153B (en) 2021-09-09 2021-09-09 Image shooting method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115802153A CN115802153A (en) 2023-03-14
CN115802153B true CN115802153B (en) 2024-07-26

Family

ID=85416946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111056062.0A Active CN115802153B (en) 2021-09-09 2021-09-09 Image shooting method, device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN115802153B (en)
WO (1) WO2023036313A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141841A (en) * 2015-08-25 2015-12-09 上海兆芯集成电路有限公司 Camera equipment and method therefor
CN106254682A (en) * 2016-09-22 2016-12-21 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107147837A (en) * 2017-06-30 2017-09-08 维沃移动通信有限公司 The method to set up and mobile terminal of a kind of acquisition parameters
CN112352417A (en) * 2019-10-31 2021-02-09 深圳市大疆创新科技有限公司 Focusing method of shooting device, system and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107343190A (en) * 2017-07-25 2017-11-10 广东欧珀移动通信有限公司 White balance adjusting method, apparatus and terminal device
CN109413324A (en) * 2017-08-16 2019-03-01 中兴通讯股份有限公司 A kind of image pickup method and mobile terminal
CN108322650B (en) * 2018-02-08 2020-03-27 Oppo广东移动通信有限公司 Video shooting method and device, electronic equipment and computer readable storage medium
CN108924414B (en) * 2018-06-27 2019-12-10 维沃移动通信有限公司 Shooting method and terminal equipment
CN110213494B (en) * 2019-07-03 2021-05-11 Oppo广东移动通信有限公司 Photographing method and device, electronic equipment and computer readable storage medium
CN110913131B (en) * 2019-11-21 2021-05-11 维沃移动通信有限公司 Moon shooting method and electronic equipment
CN113129241B (en) * 2019-12-31 2023-02-07 RealMe重庆移动通信有限公司 Image processing method and device, computer readable medium and electronic equipment
CN112463430B (en) * 2020-12-03 2022-10-25 哲库科技(北京)有限公司 Crash information storage method and medium for multi-core system, and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141841A (en) * 2015-08-25 2015-12-09 上海兆芯集成电路有限公司 Camera equipment and method therefor
CN106254682A (en) * 2016-09-22 2016-12-21 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107147837A (en) * 2017-06-30 2017-09-08 维沃移动通信有限公司 The method to set up and mobile terminal of a kind of acquisition parameters
CN112352417A (en) * 2019-10-31 2021-02-09 深圳市大疆创新科技有限公司 Focusing method of shooting device, system and storage medium

Also Published As

Publication number Publication date
CN115802153A (en) 2023-03-14
WO2023036313A1 (en) 2023-03-16

Similar Documents

Publication Publication Date Title
CN111885294B (en) Shooting method, device and equipment
CN110223301B (en) Image clipping method and electronic equipment
CN108605097B (en) Optical imaging method and device
JP7266672B2 (en) Image processing method, image processing apparatus, and device
JP2021100249A (en) Shooting and user interface using night shooting mode processing
CN112425156B (en) Method for selecting images based on continuous shooting and electronic equipment
WO2018036164A1 (en) Screen flash photographing method, device and mobile terminal
CN106534667B (en) Distributed collaborative rendering method and terminal
CN108419008B (en) Shooting method, terminal and computer readable storage medium
CN109639996B (en) High dynamic scene imaging method, mobile terminal and computer readable storage medium
CN112153272B (en) Image shooting method and electronic equipment
CN113179374A (en) Image processing method, mobile terminal and storage medium
CN114025098B (en) Image display method, device, electronic equipment and computer readable storage medium
WO2021185374A1 (en) Image capturing method and electronic device
CN115225819A (en) Image shooting method, device, chip, terminal and storage medium
CN113472980A (en) Image processing method, device, equipment, medium and chip
CN117135257B (en) Image display method, electronic equipment and computer readable storage medium
CN115802153B (en) Image shooting method, device, computer equipment and storage medium
CN114143471B (en) Image processing method, system, mobile terminal and computer readable storage medium
CN117014720A (en) Image shooting method, device, terminal, storage medium and product
CN115942122A (en) Image brightness adjusting method, device, terminal and storage medium
CN112995565B (en) Camera adjustment method of display device, display device and storage medium
CN113452915A (en) Camera switching method and electronic equipment
CN111614901A (en) Image shooting method and device, storage medium and terminal
RU2794062C2 (en) Image processing device and method and equipment

Legal Events

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