CN111083389A - Method and device for shooting image - Google Patents

Method and device for shooting image Download PDF

Info

Publication number
CN111083389A
CN111083389A CN201911377099.6A CN201911377099A CN111083389A CN 111083389 A CN111083389 A CN 111083389A CN 201911377099 A CN201911377099 A CN 201911377099A CN 111083389 A CN111083389 A CN 111083389A
Authority
CN
China
Prior art keywords
image
target
value
images
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911377099.6A
Other languages
Chinese (zh)
Other versions
CN111083389B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911377099.6A priority Critical patent/CN111083389B/en
Publication of CN111083389A publication Critical patent/CN111083389A/en
Application granted granted Critical
Publication of CN111083389B publication Critical patent/CN111083389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/72Combination of two or more compensation controls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/743Bracketing, i.e. taking a series of images with varying exposure conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Abstract

The embodiment of the application provides a method and a device for shooting an image and electronic equipment, wherein the method comprises the following steps: receiving an exposure value EV adjusting rule set by a user; shooting a plurality of images according to the EV adjustment rule set by the user; synthesizing a target image of the plurality of images into a high dynamic range HDR image. The method, the device and the electronic equipment for shooting the HDR image can improve the quality and flexibility of shooting the HDR image.

Description

Method and device for shooting image
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method and an apparatus for capturing an image.
Background
Currently, when a user uses an electronic device to take a picture, a High-Dynamic Range (HDR) picture taking mode is usually used for a scene with a large Dynamic Range, so as to avoid an area with significant overexposure or excessive darkness on the taken picture.
Generally, in the HDR photographing mode, photographs of several fixed Exposure Values (EVs), for example, 3 EVs, which are respectively a normal brightness EV, an EV lower than the normal brightness (hereinafter referred to as "EV"), and an EV higher than the normal brightness (hereinafter referred to as "EV") are captured. The method comprises the steps of using an image captured by an EV in a bright area of a shot image, using an image captured by the EV in a dark area, finally combining three images with normal brightness EV, the normal brightness EV and the normal brightness EV into one HDR image, shooting and combining the HDR image based on the preset EV, wherein the EV cannot be dynamically adjusted, and the shooting quality is influenced due to poor flexibility.
Disclosure of Invention
The embodiment of the application aims to provide a method, a device and an electronic device for shooting images, which can improve the shooting quality and flexibility of high-dynamic-range images.
To solve the above technical problem, embodiments of the present application are achieved by the following aspects.
In a first aspect, an embodiment of the present application provides a method for capturing an image, which is applied to an electronic device, and includes: shooting at least three images with different exposure values according to a preset exposure value adjusting rule; receiving first selection operation of a user on at least two target images in the at least three images; responding to the first selection operation, synthesizing the at least two target images and outputting a high dynamic range image; and different target brightness areas in the high dynamic range image respectively correspond to different target images.
In a second aspect, an embodiment of the present application provides an apparatus for capturing an image, including: the shooting module is used for shooting at least three images with different exposure values according to a preset exposure value adjusting rule; the selection module is used for receiving first selection operation of a user on at least two target images in the at least three images; the synthesis module is used for responding to the first selection operation, synthesizing the at least two target images and outputting a high dynamic range image; and different target brightness areas in the high dynamic range image respectively correspond to different target images.
In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor and computer executable instructions stored on the memory and executable on the processor, which when executed by the processor implement the steps of the method as described in the first aspect above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium for storing computer-executable instructions that, when executed by a processor, implement the steps of the method according to the first aspect.
In the embodiment of the application, at least three images with different exposure values are shot according to a preset exposure value adjusting rule; receiving first selection operation of a user on at least two target images in the at least three images; responding to the first selection operation, synthesizing the at least two target images and outputting a high dynamic range image; different target brightness areas in the high dynamic range image respectively correspond to different target images, and the quality and flexibility of shooting HDR images are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flow chart illustrating a method for capturing an image according to an embodiment of the present disclosure;
FIG. 2 shows a schematic diagram of an HDR photography scenario;
fig. 3 is a schematic flow chart of a method for capturing an image according to an embodiment of the present disclosure;
FIG. 4a shows a schematic diagram of receiving user set EV adjustment rules;
FIG. 4b shows a schematic view of a preview image;
FIG. 4c shows a schematic diagram of determining a target image;
fig. 5 is a schematic flow chart of a method for capturing an image according to an embodiment of the present disclosure;
FIG. 6a shows a schematic view divided into a plurality of sub-regions;
FIG. 6b shows a schematic diagram of setting the correspondence;
fig. 7 is a schematic structural diagram illustrating an apparatus for capturing an image according to an embodiment of the present disclosure;
fig. 8 illustrates a hardware configuration diagram of an electronic device that executes a method for capturing an image according to an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 shows a flowchart of a method for capturing an image according to an embodiment of the present application, which may be performed by an electronic device, such as a terminal device. In other words, the method may be performed by software or hardware installed in the terminal device. As shown, the method may include the following steps.
S110: and shooting at least three images with different exposure values according to a preset exposure value adjusting rule.
When a user uses the electronic device to take a picture, the HDR picture taking mode may be adopted for a scene with a large dynamic range. In this step, at least three images with different exposure values can be shot according to the preset exposure value adjustment rule. Optionally, the preset exposure value may be automatically set by an electronic device, or may be manually set by a user, which is not specifically limited in this embodiment of the present invention.
Where the present embodiment is directed to capturing images according to EV adjustment rules set by a user and synthesizing HDR images in subsequent steps based thereon, various EV adjustment rules that can be easily conceived by those skilled in the art can be applied to the present embodiment.
S120: and receiving first selection operation of the user on at least two target images in the at least three images.
In this step, a first selection operation by the user is received to determine a target image from among the plurality of captured images.
S130: responding to the first selection operation, synthesizing the at least two target images and outputting a high dynamic range image; and different target brightness areas in the high dynamic range image respectively correspond to different target images.
For scenes with a large dynamic range, the image may be pre-divided into different target luminance regions: 1. normal sub-region, 2, over-bright sub-region and/or over-dark sub-region. Responding to the first selection operation, synthesizing the at least two target images and outputting a high dynamic range image; and different target brightness areas in the high dynamic range image respectively correspond to different target images. Optionally, the image division may be automatically completed by an electronic device, or may be manually divided by a user, which is not specifically limited in this embodiment of the present invention.
Fig. 2 shows a schematic diagram of an HDR photographic scene, as shown, the image is pre-divided into 3 target luminance regions: the normal sub-region, the over-bright sub-region and the over-dark sub-region are exemplified for explanation. The brighter sun in the preview image can be used as an over-bright subregion, the long-range trees with normal brightness can be used as a normal subregion, and the darker backlit characters can be used as an over-dark subregion and the like.
In one implementation, a first selection operation of a user is received in the last step to determine a target image from among a plurality of captured images. For example, it may be determined that the three target images correspond to an over-bright sub-area, an over-dark sub-area, and a normal sub-area, respectively.
In this step, in response to the first selection operation of the previous step, the target images are synthesized into an HDR image according to the correspondence between different target luminance regions and different target images in the high dynamic range image, and the HDR image is output. In particular, a first target image is used in the too bright sub-area, a second target image is used in the too dark sub-area, and a third target image is used in the normal sub-area, whereby three target images are combined into one high dynamic range HDR image, which outputting the HDR image may include saving or displaying the HDR image.
Therefore, according to the method for shooting the image, at least three images with different exposure values are shot according to the preset exposure value adjusting rule; receiving first selection operation of a user on at least two target images in the at least three images; responding to the first selection operation, synthesizing the at least two target images and outputting a high dynamic range image; different target brightness areas in the high dynamic range image correspond to different target images respectively, a user can flexibly select a target image to be synthesized, and the quality and flexibility of shooting HDR images are improved.
In one possible implementation, before the outputting the high dynamic range image, the method further includes: and determining a target brightness area corresponding to each target image according to the exposure value of each target image, wherein the exposure value of the target image is positively correlated with the average brightness value of the target brightness area corresponding to the target image. Specifically, if the exposure value of the target image is low, the average luminance value of the target luminance region corresponding thereto is low; if the exposure value of the target image is high, the average brightness value of the corresponding target brightness region is high.
Therefore, according to the method for shooting the image, the target brightness area corresponding to each target image can be automatically determined based on the target image selected by the user, and the composite HDR image can be automatically generated.
In a possible implementation manner, after the outputting of the high dynamic range image, a second selection operation of the user on a first image, except for the target image, of the at least three images may be further received; and synthesizing the high dynamic range image and the first image in response to the second selection operation, and outputting a second high dynamic range image.
Alternatively, after receiving the second selection operation, the target image selected by the first selection operation and the target image selected by the second selection operation may be combined and the HDR image may be output, a part of the target image selected by the first selection operation may be retained, and another part of the target image may be discarded, and the retained part of the target image selected by the second selection operation and the target image selected by the first selection operation may be combined and the HDR image may be output, or all the target images selected by the first selection operation may be discarded, and only the target image selected by the second selection operation may be combined and the HDR image may be output.
Therefore, the method for shooting the image, provided by the embodiment of the application, can enable a user to conveniently and quickly adjust or modify the selected target image after the first selection, and further ensure the quality of the synthesized image and the flexibility of operation.
Fig. 3 is a flowchart illustrating a method for capturing an image according to an embodiment of the present disclosure, which may be performed by an electronic device, such as a terminal device. In other words, the method may be performed by software or hardware installed in the terminal device. As shown, the method may include the following steps.
S311: and receiving the maximum EV value, the minimum EV value and the EV value interval set by the user.
Alternatively, a reception shooting mode switching operation may be included before this step. Specifically, when it is not monitored that the user clicks a key of the user-defined HDR, normal shooting is performed. Upon receiving an operation of switching the photographing mode, the following steps are performed.
When a user uses the electronic device to take a picture, the HDR picture taking mode may be adopted for a scene with a large dynamic range. In this step, an EV adjustment rule set by the user may be received.
Fig. 4a shows a schematic diagram of EV adjustment rules set by a receiving user, and as shown in the figure, in one implementation, the step may include: and receiving the maximum EV value, the minimum EV value and the EV value interval set by the user.
In the figure, there are 3 sliders in the preview image, corresponding to the "maximum EV value", the "minimum EV value", and the "EV value interval", respectively. The default range of the maximum EV value is-20 EV- + 20EV, and the user can set the maximum EV value for taking a picture to be +2EV by sliding; similarly, the minimum EV value may be set to-3 EV and the EV value interval may be set to 1 EV.
In one implementation, after the step, it may also be monitored in real time whether the user has triggered an operation to complete the step, for example, clicking a "complete set" button.
Shooting at least three images with different exposure values according to a preset exposure value adjusting rule S312: from the minimum EV value, one image is taken every 1EV value interval until the EV value reaches or exceeds the maximum EV value.
In the example shown in FIG. 4a, the electronic device will take 6 images in the order of-3 EV, -2EV, -1EV, -0EV, +1EV, +2 EV.
It should be noted that the present embodiment is described by taking an image every 1EV value interval from the minimum EV value until the EV value reaches or exceeds the maximum EV value, but the present embodiment is intended to take an image according to the EV adjustment rule set by the user and synthesize an HDR image based on the image, and various EV adjustment rules that can be easily conceived by those skilled in the art can be applied to the present embodiment. For example, in some implementations, the EV value interval may be a variable rather than a fixed value, or the EV value interval and the number of shots may be set without setting the maximum (small) EV value.
S320: and receiving first selection operation of the user on at least two target images in the at least three images.
S330: responding to the first selection operation, synthesizing the at least two target images and outputting a high dynamic range image; and different target brightness areas in the high dynamic range image respectively correspond to different target images.
In this step, the plurality of photographed images may be displayed in the preview image as shown in fig. 4 b. Each image is a complete image containing all sub-areas, i.e. each image contains e.g. the sun, people, trees as shown in fig. 6 a.
And, as shown in fig. 4c, an image first selection operation of the user is received in the last step to determine a target image from among the plurality of captured images. In the figure, the circle of the bold frame is a target image, and the three target images respectively correspond to an over-bright sub-area, an over-dark sub-area and a normal sub-area preset in the image.
Also, in the present step, in response to the first selection operation, the target images are synthesized into an HDR image according to a correspondence between different target luminance regions and different target images in the high dynamic range image.
Specifically, an overly bright sub-region in the synthesized HDR image, such as the region of the sun in the illustration, may use an overly bright region (sun region) in the-3 EV image; normal sub-regions in the composite HDR image, such as the distant view trees in the illustration, may use normal sub-regions in the 0EV image (distant view tree regions); an excessively dark sub-region in the synthesized HDR image, such as a backlit person in the illustration, may use an excessively dark sub-region in +2EV (backlit person region). Thereby, the three target images are combined into one high dynamic range HDR image.
Therefore, according to the method for shooting the image, at least three images with different exposure values are shot according to the preset exposure value adjusting rule; receiving first selection operation of a user on at least two target images in the at least three images; responding to the first selection operation, synthesizing the at least two target images and outputting a high dynamic range image; different target brightness areas in the high dynamic range image correspond to different target images respectively, a user can flexibly select a target image to be synthesized, and the quality and flexibility of shooting HDR images are improved.
Receiving a maximum EV value, a minimum EV value and an EV value interval set by a user; and shooting an image at intervals of 1EV value from the minimum EV value until the EV value reaches or exceeds the maximum EV value, flexibly setting an EV regulation rule by a user, shooting the image according to the EV regulation rule set by the user and synthesizing the image into an HDR image, and realizing the effect of customizing the HDR through the selection of the user. Meanwhile, the user participation degree is higher, and the shooting interest is increased.
Fig. 5 is a flowchart illustrating a method for capturing an image according to an embodiment of the present disclosure, which may be performed by an electronic device, such as a terminal device. In other words, the method may be performed by software or hardware installed in the terminal device. As shown, the method may include the following steps.
S510 to S520 have the same or similar implementation as S110 to S120 in the embodiment of fig. 1 or S311 to S320 in the embodiment of fig. 3, and are not described herein again for brevity of the description.
S531: and dividing a preview image of the electronic equipment into a plurality of target brightness areas.
Fig. 6a is a schematic diagram showing a division into a plurality of luminance areas, and as shown in the figure, a user can customize a plurality of target luminance areas, including: luminance region 1, luminance region 2, luminance region 3, etc., and may be displayed by different colors. Specifically, the user first clicks the "brightness area 1" button, then circles the target area in the preview image, such as selecting the sun and the area nearby in the figure, and clicks "complete selection" after selection, which indicates that "brightness area 1" is complete. Correspondingly, the user can continue to select "brightness region 2" to "brightness region N" to divide the preview screen into any desired regions, and different regions can have different colors as distinctions.
In one implementation, after this step, it may also be detected whether the region setting is complete. And the division of the target luminance region may be changed based on a similar operation after the change operation button is triggered.
S532: and receiving the one-to-one corresponding relation between the target brightness area and the target image set by the user.
Fig. 6b shows a schematic diagram of setting the corresponding relationship, as shown, this step may include: receiving an operation of selecting a target brightness region by a user, for example, receiving an operation of selecting brightness region 1 by the user; receiving an operation of selecting a target image from a plurality of captured images by a user, for example, an operation of selecting a-3 EV photograph; a one-to-one correspondence between the user-selected brightness region and the user-selected target image is set, for example, a one-to-one correspondence between the brightness region 1 and the-3 EV photograph is set.
Likewise, a one-to-one correspondence between the luminance region 2 and the 0EV photograph may be set; the one-to-one correspondence between the luminance regions 3 and the +2EV photos is sequentially executed until the setting of all the regions is completed.
Also, in one implementation, the luminance area 2 having a correspondence relationship with the 0EV photograph or the like (not shown in the figure) may be marked in the same color by specifying the luminance area having a correspondence relationship with the identification mark and the target image.
S533: and synthesizing the target images into HDR images according to the corresponding relation between the target brightness areas and the target images.
Specifically, luminance region 1 in the synthesized HDR image, such as the region of the sun in the illustration, may use luminance region 1 (sun region) in the-3 EV image; luminance region 2 in the composite HDR image, such as the distant view tree in the illustration, may use luminance region 2 in the 0EV image (distant view tree region); the luminance region 3 in the synthesized HDR image, for example, the backlit person in the drawing, may use the luminance region 3 in +2EV (backlit person region). Thereby, the three target images are combined into one high dynamic range HDR image.
Therefore, according to the method for shooting the image, at least three images with different exposure values are shot according to the preset exposure value adjusting rule; receiving first selection operation of a user on at least two target images in the at least three images; responding to the first selection operation, synthesizing the at least two target images and outputting a high dynamic range image; different target brightness areas in the high dynamic range image correspond to different target images respectively, a user can flexibly select a target image to be synthesized, and the quality and flexibility of shooting HDR images are improved.
Receiving a maximum EV value, a minimum EV value and an EV value interval set by a user; and shooting an image at intervals of 1EV value from the minimum EV value until the EV value reaches or exceeds the maximum EV value, flexibly setting an EV regulation rule by a user, shooting the image according to the EV regulation rule set by the user and synthesizing the image into an HDR image, and realizing the effect of customizing the HDR through the selection of the user. Meanwhile, the user participation degree is higher, and the shooting interest is increased.
Dividing a preview image of the electronic equipment into a plurality of target brightness areas; receiving the one-to-one corresponding relation between the target brightness area and the target image set by the user, and adopting short interactive operation, so that the user can self-define the segmentation of the image and select the target brightness effect of the corresponding area, thereby further improving the quality of the shot image and further increasing the flexibility and diversity of shooting. Meanwhile, the user participation degree is higher, and the shooting interest is increased.
Fig. 7 is a schematic structural diagram illustrating an apparatus for capturing an image according to an embodiment of the present application, where the apparatus 700 includes: a photographing module 710, a selecting module 720, and a synthesizing module 730.
The shooting module 710 is configured to shoot at least three images with different exposure values according to a preset exposure value adjustment rule. The selection module 720 is configured to receive a first selection operation of the user on at least two target images of the at least three images. The synthesis module 730 is configured to synthesize the at least two target images in response to the first selection operation, and output a high dynamic range image; and different target brightness areas in the high dynamic range image respectively correspond to different target images.
In one possible implementation, the selecting module 720 is further configured to: before the high dynamic range image is output, determining a target brightness area corresponding to each target image according to an exposure value of each target image, wherein the exposure value of the target image is positively correlated with an average brightness value of the target brightness area corresponding to the target image.
In one possible implementation, the selecting module 720 is further configured to: after the high dynamic range image is output, receiving a second selection operation of a user on a first image except the target image in the at least three images; and synthesizing the high dynamic range image and the first image in response to the second selection operation, and outputting a second high dynamic range image.
In one possible implementation manner, the shooting module 710 is configured to: receiving a maximum EV value, a minimum EV value and an EV value interval set by a user; and shooting one image at every 1EV value interval from the minimum EV value until the EV value reaches the maximum EV value.
In a possible implementation manner, the shooting module 710 is further configured to: dividing a preview image of the electronic device into a plurality of target luminance regions before synthesizing the target images into an HDR image; and receiving the one-to-one corresponding relation between the target brightness area and the target image set by the user.
The apparatus 700 provided in this embodiment of the application can perform the methods described in the foregoing method embodiments, and implement the functions and advantages of the methods described in the foregoing method embodiments, which are not described herein again.
Fig. 8 illustrates a hardware configuration diagram of an electronic device that executes a method for capturing an image according to an embodiment of the present disclosure. As shown, the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device structures shown in the figures do not constitute limitations on electronic devices, which may include more or fewer components than shown, or some components in combination, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to capture at least three images with different exposure values according to a preset exposure value adjustment rule; the user input unit 807 is used for receiving a first selection operation of a user on at least two target images in the at least three images; the processor 810 is further configured to synthesize the at least two target images in response to the first selection operation, and output a high dynamic range image; and different target brightness areas in the high dynamic range image respectively correspond to different target images.
In one implementation, the processor 810 is configured to determine a target brightness region corresponding to each target image according to an exposure value of each target image, where the exposure value of the target image is positively correlated to an average brightness value of the target brightness region corresponding to the target image.
In one implementation, the user input unit 807 is further configured to receive a second selection operation of the user on a first image, except the target image, of the at least three images after the outputting of the high dynamic range image; a processor 810 for synthesizing the high dynamic range image and the first image and outputting a second high dynamic range image in response to the second selection operation.
In one implementation, a user input unit 807 for receiving a maximum EV value, a minimum EV value, and an EV value interval set by a user; and shooting one image at every 1EV value interval from the minimum EV value until the EV value reaches or exceeds the maximum EV value.
In one implementation, the processor 810 is further configured to divide a preview image of the electronic device into a plurality of target luminance regions before synthesizing the target images into HDR images; the user input unit 807 is further configured to receive a one-to-one correspondence relationship between the target brightness region and the target image set by the user.
The electronic device provided in the embodiment of the present application, which executes the methods described in the foregoing method embodiments, implements the functions and advantages of the methods described in the foregoing method embodiments, and is not described herein again.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still image or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 7061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensor 805 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., wherein the infrared sensor is capable of measuring a distance between an object and an electronic device by emitting and receiving infrared light, which will not be described herein. The pressure sensors may include 2 pressure sensors respectively disposed on the front screen and the back screen of the terminal to respectively detect touch operations from the front screen and the back screen of the terminal.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 800 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the foregoing method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs, when executed by a terminal including multiple application programs, implement the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
Further, an embodiment of the present application further provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the processes of the method embodiments are implemented, and the same technical effects can be achieved, and are not described herein again to avoid repetition.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present invention, and is not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. A method for shooting images is applied to electronic equipment, and is characterized by comprising the following steps:
shooting at least three images with different exposure values according to a preset exposure value adjusting rule;
receiving first selection operation of a user on at least two target images in the at least three images;
responding to the first selection operation, synthesizing the at least two target images and outputting a high dynamic range image; and different target brightness areas in the high dynamic range image respectively correspond to different target images.
2. The method of claim 1, wherein prior to said outputting a high dynamic range image, the method further comprises:
and determining a target brightness area corresponding to each target image according to the exposure value of each target image, wherein the exposure value of the target image is positively correlated with the average brightness value of the target brightness area corresponding to the target image.
3. The method of claim 1, further comprising, after said outputting a high dynamic range image:
receiving a second selection operation of a user on a first image except the target image in the at least three images;
and synthesizing the high dynamic range image and the first image in response to the second selection operation, and outputting a second high dynamic range image.
4. The method as claimed in claim 1, wherein the capturing at least three images with different exposure values according to the preset exposure value adjusting rule comprises:
receiving a maximum EV value, a minimum EV value and an EV value interval set by a user;
and shooting one image at every 1EV value interval from the minimum EV value until the EV value reaches or exceeds the maximum EV value.
5. The method of claim 1, prior to compositing the target image into an HDR image, further comprising:
dividing a preview image of the electronic device into a plurality of target brightness areas;
and receiving the one-to-one corresponding relation between the target brightness area and the target image set by the user.
6. An apparatus for capturing an image, comprising:
the shooting module is used for shooting at least three images with different exposure values according to a preset exposure value adjusting rule;
the selection module is used for receiving first selection operation of a user on at least two target images in the at least three images;
the synthesis module is used for responding to the first selection operation, synthesizing the at least two target images and outputting a high dynamic range image; and different target brightness areas in the high dynamic range image respectively correspond to different target images.
7. The apparatus of claim 6, wherein the selection module is further configured to:
before the high dynamic range image is output, determining a target brightness area corresponding to each target image according to an exposure value of each target image, wherein the exposure value of the target image is positively correlated with an average brightness value of the target brightness area corresponding to the target image.
8. The apparatus of claim 6, wherein the selection module is further configured to:
after the high dynamic range image is output, receiving a second selection operation of a user on a first image except the target image in the at least three images;
and synthesizing the high dynamic range image and the first image in response to the second selection operation, and outputting a second high dynamic range image.
9. The apparatus of claim 6, wherein the capture module is configured to:
receiving a maximum EV value, a minimum EV value and an EV value interval set by a user;
and shooting one image at every 1EV value interval from the minimum EV value until the EV value reaches the maximum EV value.
10. The apparatus of claim 6, wherein the capture module is further configured to: dividing a preview image of the electronic device into a plurality of target luminance regions before synthesizing the target images into an HDR image; and receiving the one-to-one corresponding relation between the target brightness area and the target image set by the user.
CN201911377099.6A 2019-12-27 2019-12-27 Method and device for shooting image Active CN111083389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911377099.6A CN111083389B (en) 2019-12-27 2019-12-27 Method and device for shooting image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911377099.6A CN111083389B (en) 2019-12-27 2019-12-27 Method and device for shooting image

Publications (2)

Publication Number Publication Date
CN111083389A true CN111083389A (en) 2020-04-28
CN111083389B CN111083389B (en) 2021-11-16

Family

ID=70318534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911377099.6A Active CN111083389B (en) 2019-12-27 2019-12-27 Method and device for shooting image

Country Status (1)

Country Link
CN (1) CN111083389B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222075A (en) * 2022-01-28 2022-03-22 广州华多网络科技有限公司 Mobile terminal image processing method and device, equipment, medium and product thereof

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10150620A (en) * 1996-11-15 1998-06-02 Casio Comput Co Ltd Image input device, camera device, image input system and recording medium for them
CN102129148A (en) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 Camera and photo shooting and processing method
CN104065863A (en) * 2013-03-19 2014-09-24 腾讯科技(深圳)有限公司 Image processing method and processing device
CN104104880A (en) * 2014-07-28 2014-10-15 深圳市中兴移动通信有限公司 Mobile terminal and shooting method thereof
CN105049726A (en) * 2015-08-05 2015-11-11 广东欧珀移动通信有限公司 Mobile terminal shooting method and mobile terminal
CN105453134A (en) * 2013-08-12 2016-03-30 三星电子株式会社 A method and apparatus for dynamic range enhancement of an image
CN105872393A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 High dynamic range image generation method and device
CN106131450A (en) * 2016-07-29 2016-11-16 努比亚技术有限公司 A kind of method of image procossing, device and terminal
US20170214847A1 (en) * 2016-01-22 2017-07-27 Top Victory Investments Ltd. Method for Setting Shooting Parameters of HDR mode and Electronic Device Using the Same
CN107197169A (en) * 2017-06-22 2017-09-22 维沃移动通信有限公司 A kind of high dynamic range images image pickup method and mobile terminal
CN107592471A (en) * 2017-10-13 2018-01-16 维沃移动通信有限公司 A kind of high dynamic range images image pickup method and mobile terminal
CN107623818A (en) * 2017-10-30 2018-01-23 维沃移动通信有限公司 A kind of image exposure method and mobile terminal
CN108564558A (en) * 2018-01-05 2018-09-21 广州广电运通金融电子股份有限公司 Wide dynamic images processing method, device, equipment and storage medium
CN109104578A (en) * 2018-09-21 2018-12-28 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN109120862A (en) * 2018-10-15 2019-01-01 Oppo广东移动通信有限公司 High-dynamic-range image acquisition method, device and mobile terminal
CN109729279A (en) * 2018-12-20 2019-05-07 华为技术有限公司 A kind of image capturing method and terminal device
CN110035237A (en) * 2019-04-09 2019-07-19 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110493538A (en) * 2019-08-16 2019-11-22 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110971841A (en) * 2019-12-09 2020-04-07 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10150620A (en) * 1996-11-15 1998-06-02 Casio Comput Co Ltd Image input device, camera device, image input system and recording medium for them
CN102129148A (en) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 Camera and photo shooting and processing method
CN104065863A (en) * 2013-03-19 2014-09-24 腾讯科技(深圳)有限公司 Image processing method and processing device
CN105453134A (en) * 2013-08-12 2016-03-30 三星电子株式会社 A method and apparatus for dynamic range enhancement of an image
CN104104880A (en) * 2014-07-28 2014-10-15 深圳市中兴移动通信有限公司 Mobile terminal and shooting method thereof
CN105049726A (en) * 2015-08-05 2015-11-11 广东欧珀移动通信有限公司 Mobile terminal shooting method and mobile terminal
CN105872393A (en) * 2015-12-08 2016-08-17 乐视移动智能信息技术(北京)有限公司 High dynamic range image generation method and device
US20170214847A1 (en) * 2016-01-22 2017-07-27 Top Victory Investments Ltd. Method for Setting Shooting Parameters of HDR mode and Electronic Device Using the Same
CN106131450A (en) * 2016-07-29 2016-11-16 努比亚技术有限公司 A kind of method of image procossing, device and terminal
CN107197169A (en) * 2017-06-22 2017-09-22 维沃移动通信有限公司 A kind of high dynamic range images image pickup method and mobile terminal
CN107592471A (en) * 2017-10-13 2018-01-16 维沃移动通信有限公司 A kind of high dynamic range images image pickup method and mobile terminal
CN107623818A (en) * 2017-10-30 2018-01-23 维沃移动通信有限公司 A kind of image exposure method and mobile terminal
CN108564558A (en) * 2018-01-05 2018-09-21 广州广电运通金融电子股份有限公司 Wide dynamic images processing method, device, equipment and storage medium
CN109104578A (en) * 2018-09-21 2018-12-28 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN109120862A (en) * 2018-10-15 2019-01-01 Oppo广东移动通信有限公司 High-dynamic-range image acquisition method, device and mobile terminal
CN109729279A (en) * 2018-12-20 2019-05-07 华为技术有限公司 A kind of image capturing method and terminal device
CN110035237A (en) * 2019-04-09 2019-07-19 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110493538A (en) * 2019-08-16 2019-11-22 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110971841A (en) * 2019-12-09 2020-04-07 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222075A (en) * 2022-01-28 2022-03-22 广州华多网络科技有限公司 Mobile terminal image processing method and device, equipment, medium and product thereof

Also Published As

Publication number Publication date
CN111083389B (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN109639970B (en) Shooting method and terminal equipment
CN107707827B (en) High-dynamic image shooting method and mobile terminal
CN107592466B (en) Photographing method and mobile terminal
CN107302663B (en) Image brightness adjusting method, terminal and computer readable storage medium
CN109688322B (en) Method and device for generating high dynamic range image and mobile terminal
AU2018415738A1 (en) Photographing Mobile Terminal
CN108307109B (en) High dynamic range image preview method and terminal equipment
CN110365907B (en) Photographing method and device and electronic equipment
CN109218626B (en) Photographing method and terminal
CN109361867B (en) Filter processing method and mobile terminal
CN110930335B (en) Image processing method and electronic equipment
CN107623818B (en) Image exposure method and mobile terminal
CN108513067B (en) Shooting control method and mobile terminal
CN109474787B (en) Photographing method, terminal device and storage medium
CN110213484B (en) Photographing method, terminal equipment and computer readable storage medium
CN108848313B (en) Multi-person photographing method, terminal and storage medium
CN108718388B (en) Photographing method and mobile terminal
CN111246102A (en) Shooting method, shooting device, electronic equipment and storage medium
CN109348137B (en) Mobile terminal photographing control method and device, mobile terminal and storage medium
CN110798621A (en) Image processing method and electronic equipment
CN108924422B (en) Panoramic photographing method and mobile terminal
CN108616687B (en) Photographing method and device and mobile terminal
CN108200352B (en) Method, terminal and storage medium for adjusting picture brightness
CN110855901A (en) Camera exposure time control method and electronic equipment
CN110708475B (en) Exposure parameter determination method, electronic equipment and storage medium

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