CN111416948A - Image processing method and electronic equipment - Google Patents

Image processing method and electronic equipment Download PDF

Info

Publication number
CN111416948A
CN111416948A CN202010218084.1A CN202010218084A CN111416948A CN 111416948 A CN111416948 A CN 111416948A CN 202010218084 A CN202010218084 A CN 202010218084A CN 111416948 A CN111416948 A CN 111416948A
Authority
CN
China
Prior art keywords
lens
image
exposure time
electronic device
acquiring
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.)
Pending
Application number
CN202010218084.1A
Other languages
Chinese (zh)
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 CN202010218084.1A priority Critical patent/CN111416948A/en
Publication of CN111416948A publication Critical patent/CN111416948A/en
Pending legal-status Critical Current

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/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/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Abstract

The invention provides an image processing method and electronic equipment, wherein the method comprises the following steps: acquiring a first image through a first lens, and acquiring a second image through a second lens; synthesizing the first image and the second image into an HDR image; the first lens and the second lens have different f-numbers, and multi-frame images with different brightness can be obtained by switching lens assemblies with different f-numbers, and then an image with a wider dynamic range is synthesized, so that the limitation condition of a frame rate on multi-frame HDRs is reduced, and the dynamic range of the multi-frame synthesized is further improved.

Description

Image processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic devices, and in particular, to an image processing method and an electronic device.
Background
In recent years, photographing technologies are widely applied in various fields, and electronic devices such as mobile phones, tablets, computers and the like have been kept away from cameras.
Under the promotion of wider market prospect, in order to improve the quality of the photos, the improvement is respectively carried out on the aspects of high definition, high resolution, high dynamic, high signal noise and the like.
The current common methods for improving the dynamic range of an image include: for processing a single frame image, for example, tone printing, which is a computer graphics technique for approximately displaying a high dynamic range image on a limited dynamic range medium, is used. Or, a global tone printing method is adopted, but the method is to improve the gray value of specific brightness by sacrificing the gray value of partial input brightness, so that the image quality is poor, the other method is to adopt the same image sensor module to capture multiple frames of images with different exposures and perform HDR (High-Dynamic Range) synthesis, and the multi-frame synthesis is to synthesize one frame of image by two frames of images with different exposures, so that the Dynamic Range is limited by the settable exposure time. If the frame rate is fixed at a higher frame rate, the exposure settable range is reduced, and the amplitude of the dynamic range increase is relatively smaller, which finally results in poor image quality.
Disclosure of Invention
The embodiment of the invention provides an image processing method and electronic equipment, and aims to solve the problem of poor image quality when an image processing method in the prior art synthesizes images.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an image processing method, where the method includes: the electronic device comprises a first lens and a second lens, and the method comprises the following steps: acquiring a first image through the first lens, and acquiring a second image through the second lens; synthesizing the first image and the second image into an HDR image; wherein the first lens and the second lens have different f-numbers.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a first lens and a second lens, and the electronic device further includes: the acquisition module is used for acquiring a first image through the first lens and acquiring a second image through the second lens; a compositing module to composite the first image and the second image into an HDR image; wherein the first lens and the second lens have different f-numbers.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a housing, a first lens, a second lens, a first mirror, a second mirror, and an image sensor; the first lens and the second lens are arranged on the shell; an accommodating space is formed in the shell, and the first reflector and the second reflector are rotatably arranged in the accommodating space; the first reflector rotates to a first posture under the condition that the first lens is called, and light rays incident from the first lens are reflected by the first reflector and then enter the image sensor; and under the condition of calling the second lens, the second reflector rotates to a second posture, and light rays incident from the second lens are reflected by the second reflector and then enter the image sensor.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the image processing method.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the image processing method.
In the embodiment of the invention, a first image is acquired through a first lens, and a second image is acquired through a second lens; synthesizing the first image and the second image into an HDR image; the first lens and the second lens have different f-numbers, and multi-frame images with different brightness can be obtained by switching lens assemblies with different f-numbers, and then an image with a wider dynamic range is synthesized, so that the limitation condition of a frame rate on multi-frame HDRs is reduced, and the dynamic range of the multi-frame synthesized is further improved.
Drawings
FIG. 1 is a flowchart illustrating steps of an image processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of an image processing method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second step of an image processing method according to a first embodiment of the present invention;
fig. 4 is a block diagram of an electronic device according to a second embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention;
fig. 7 is a second schematic structural diagram of an electronic device according to a fourth embodiment of the invention;
fig. 8 is a third schematic structural diagram of an electronic device according to a fourth embodiment of the invention;
fig. 9 is a schematic diagram of a hardware structure of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of an image processing method according to a first embodiment of the present invention is shown.
The image processing method provided by the embodiment of the invention comprises the following steps:
the present embodiment is applied to an electronic apparatus having at least two lenses and an image sensor.
Step 101: the first image is acquired through the first lens, and the second image is acquired through the second lens.
The first image is acquired by the first lens and the image sensor; the second image is acquired by the second lens and the image sensor.
When the electronic equipment is provided with a first lens and a second lens, a first image is acquired through the first lens, and the acquisition mode of the first image is as follows: light enters from the first lens and is reflected on the image sensor, the image sensor collects signals and generates a first image, and the second image is acquired in the following mode: light enters the second lens and is reflected on the image sensor, and the image sensor acquires signals and generates a second image.
Optionally, as shown in fig. 2, step 101 comprises step 101 a.
Step 101 a: and under the condition that the exposure time parameter is the first exposure time, acquiring a first image through the first lens and acquiring a second image through the second lens.
The method can improve the frame rate to a certain extent, and if the kept exposure time is lower, the frame rate can be improved to a higher frame rate, but the dynamic range can be better. The frame rate is the frequency (rate) at which bitmap images appear continuously on the display in units of frames. The frame rate per second indicates the number of times per second the graphics processor can update while processing the field. A high frame rate may result in a smoother, more realistic animation.
Alternatively, as shown in fig. 3, the f-number of the first lens is higher than that of the second lens, and step 101 includes step 101b and step 101 c.
Step 101 b: and acquiring a first image through the first lens under the condition that the exposure time parameter is the first exposure time.
Step 101 c: and acquiring a second image through the second lens under the condition that the exposure time parameter is the second exposure time.
Wherein the first exposure time is greater than the second exposure time.
The diaphragm numbers of the first lens and the second lens are different, so that the brightness of a first image shot by the first lens is different from that of a second image shot by the second lens.
In the case where the first exposure time is longer than the second exposure time, since the greater the exposure time, the higher the brightness of the photographed image, it is preferable to photograph the first image using the first lens having the higher f-number at the first exposure time, and to photograph the second image using the second lens having the lower f-number at the second exposure time when the brightness of the first image and the second image will have a greater difference.
When the exposure time is different, the frame with higher exposure time is switched to the lens with higher light-entering amount, and the frame with lower exposure time is switched to the lens with lower light-entering amount.
Step 102: and synthesizing the first image and the second image into the HDR image.
The first image and the second image are subjected to HDR composition, and collectively referred to as a target image. The high dynamic range image can provide more dynamic range and image details than a common image, and the final HDR image is synthesized according to the low dynamic range images with different exposure times and the low dynamic range image with the optimal details corresponding to each exposure time. The visual effect in the real environment can be better reflected.
In the embodiment of the invention, a first image is acquired through a first lens, and a second image is acquired through a second lens; synthesizing the first image and the second image into an HDR image; the first lens and the second lens have different f-numbers, and multi-frame images with different brightness can be obtained by switching lens assemblies with different f-numbers, and then an image with a wider dynamic range is synthesized, so that the limitation condition of a frame rate on multi-frame HDRs is reduced, and the dynamic range of the multi-frame synthesized is further improved.
Example two
Referring to fig. 4, a block diagram of an electronic device according to a second embodiment of the present invention is shown.
The electronic device provided by the embodiment of the invention comprises a first lens and a second lens, and the electronic device further comprises: an obtaining module 201, configured to obtain a first image through the first lens, and obtain a second image through the second lens; a compositing module 202 for compositing the first image and the second image into an HDR image; wherein the first lens and the second lens have different f-numbers.
In the embodiment of the invention, a first image is acquired through a first lens, and a second image is acquired through a second lens; synthesizing the first image and the second image into an HDR image; the first lens and the second lens have different f-numbers, and multi-frame images with different brightness can be obtained by switching lens assemblies with different f-numbers, and then an image with a wider dynamic range is synthesized, so that the limitation condition of a frame rate on multi-frame HDRs is reduced, and the dynamic range of the multi-frame synthesized is further improved.
EXAMPLE III
Referring to fig. 5, a block diagram of an electronic device according to a third embodiment of the present invention is shown.
The electronic device provided by the embodiment of the invention comprises a first lens and a second lens, and the electronic device further comprises: an obtaining module 301, configured to obtain a first image through the first lens, and obtain a second image through the second lens; a compositing module 302 for compositing the first image and the second image into an HDR image; wherein the first lens and the second lens have different f-numbers.
Optionally, the obtaining module 301 includes: the first obtaining sub-module 3011 is configured to, when the exposure time parameter is a first exposure time, obtain a first image through the first lens, and obtain a second image through the second lens.
Optionally, the obtaining module 301 includes: the f-number of the first lens is higher than that of the second lens, and the second obtaining sub-module 3012 is configured to obtain a first image through the first lens when the exposure time parameter is the first exposure time; the third obtaining sub-module 3013, configured to obtain, when the exposure time parameter is a second exposure time, a second image through the second lens; wherein the first exposure time is greater than the second exposure time.
In the embodiment of the invention, a first image is acquired through a first lens, and a second image is acquired through a second lens; synthesizing the first image and the second image into an HDR image; the first lens and the second lens have different f-numbers, and multi-frame images with different brightness can be obtained by switching lens assemblies with different f-numbers, and then an image with a wider dynamic range is synthesized, so that the limitation condition of a frame rate on multi-frame HDRs is reduced, and the dynamic range of the multi-frame synthesized is further improved.
Example four
Referring to fig. 6, a block diagram of an electronic device according to a fourth embodiment of the present invention is shown.
The electronic equipment provided by the embodiment of the invention comprises: a housing 401, a first lens 402, a second lens 403, a first mirror 404, a second mirror 405, and an image sensor 406; the first lens 402 and the second lens 403 are arranged on the shell 401; an accommodating space is formed inside the housing 401, and the first reflector 404 and the second reflector 405 are rotatably arranged in the accommodating space; the f-numbers of the first lens 402 and the second lens 403 are different, and when the first lens 402 is called, the first reflector 404 rotates to a first posture, and light incident from the first lens 402 is reflected by the first reflector 402 and then enters the image sensor 406; when the second lens 403 is called, the second mirror 405 rotates to a second posture, and light incident from the second lens 403 is reflected by the second mirror 405 and then incident on the image sensor 406.
When the image is shot, the first lens is called to obtain the first image, and then the second lens is called to obtain the second image.
When the electronic device includes three lenses, three mirrors and an image sensor, i.e., a first mirror, a second mirror, and a third mirror, are further disposed in the electronic device. The first lens, the second lens and the third lens are arranged on a shell of the electronic equipment, and the first lens, the second lens and the third lens are arranged on the same side of the electronic equipment; the first reflector and the first lens are arranged in parallel; the second reflector is arranged in parallel with the second lens, and the third reflector is arranged in parallel with the third lens, wherein the first reflector reflects the light of the first lens to the image sensor, the second reflector reflects the light of the second lens to the image sensor, and the third reflector reflects the light of the third lens to the image sensor.
As in fig. 7, the electronic device further includes a polygon prism 407; when the first lens 402 is called, the first mirror 404 rotates to a first posture, and light incident from the first lens 402 is reflected by the first mirror 402 and the polygon mirror 407 and then enters the image sensor 406;
when the second lens 403 is called, the second mirror 405 rotates to a second posture, and light incident from the second lens 403 is reflected by the second mirror 405 and the polygon mirror 407 and then incident on the image sensor 406.
The multi-prism is set in the electronic equipment, wherein the multi-prism is divided into 2 shadow, 3 shadow, 4 shadow, 5 shadow, 7 shadow, etc., and is made by adopting optical glass cold working process.
It should be noted that, a plurality of lenses may be disposed in the electronic device, for example: three, four, five, etc., which are not particularly limited by embodiments of the present invention.
Fig. 8 is a schematic diagram of an electronic device with three rotatable mirrors.
In an embodiment of the present invention, an electronic device includes a housing, a first lens, a second lens, a third lens, a first reflector, a second reflector, a third reflector, and an image sensor; the first lens, the second lens and the third lens are arranged on the shell; an accommodating space is formed in the shell, and the first reflector, the second reflector and the third reflector are rotatably arranged in the accommodating space; the first lens, the second lens and the third lens are different in f-number, the first reflector rotates to a first posture under the condition that the first lens is called, and light rays incident from the first lens are reflected by the first reflector and then incident into the image sensor; under the condition of calling the second lens, the second reflecting mirror rotates to the second posture, light rays incident from the second lens are reflected by the second reflecting mirror and then incident into the image sensor, under the condition of calling the third lens, the third reflecting mirror rotates to the third posture, light rays incident from the third lens are reflected by the third reflecting mirror and then incident into the image sensor, and multi-frame images with different brightness can be obtained by switching lens assemblies with different f-numbers, then images with wider dynamic range of one frame are synthesized, so that the limitation condition of the frame rate on multi-frame HDRs is reduced, and the dynamic range of the multi-frame synthesized images is further improved.
EXAMPLE five
Referring to fig. 9, a hardware structure diagram of an electronic device for implementing various embodiments of the present invention is shown.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, a power supply 611, a first lens 612, a second lens 613, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, 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.
A processor 610, configured to obtain a first image through the first lens and obtain a second image through the second lens; synthesizing the first image and the second image into an HDR image; wherein the first lens and the second lens have different f-numbers.
Optionally, the processor 610 is further configured to acquire a first image through the first lens and acquire a second image through the second lens when the exposure time parameter is the first exposure time.
Optionally, the processor 610 is further configured to obtain a first image through the first lens when the exposure time parameter is a first exposure time, where the f-number of the first lens is higher than that of the second lens; and acquiring a second image through the second lens under the condition that the exposure time parameter is a second exposure time.
In the embodiment of the invention, a first image is acquired through a first lens, and a second image is acquired through a second lens; synthesizing the first image and the second image into an HDR image; the first lens and the second lens have different f-numbers, and multi-frame images with different brightness can be obtained by switching lens assemblies with different f-numbers, and then an image with a wider dynamic range is synthesized, so that the limitation condition of a frame rate on multi-frame HDRs is reduced, and the dynamic range of the multi-frame synthesized is further improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 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 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 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 601 may 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 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 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 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 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 sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 607 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 device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts 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 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 9 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. 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 608 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 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage 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 609 may include high speed random access memory, and may 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 610 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 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 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 the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the above-mentioned image processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the image processing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, 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.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An image processing method is applied to an electronic device, the electronic device comprises a first lens and a second lens, and the method is characterized by comprising the following steps:
acquiring a first image through the first lens, and acquiring a second image through the second lens;
synthesizing the first image and the second image into an HDR image;
wherein the first lens and the second lens have different f-numbers.
2. The method of claim 1, wherein the step of acquiring a first image through the first lens and a second image through the second lens comprises:
and under the condition that the exposure time parameter is the first exposure time, acquiring a first image through the first lens, and acquiring a second image through the second lens.
3. The method of claim 1, wherein the first lens has a higher f-number than the second lens, and wherein the step of acquiring the first image through the first lens and the second image through the second lens comprises:
under the condition that the exposure time parameter is first exposure time, acquiring a first image through the first lens;
under the condition that the exposure time parameter is the second exposure time, acquiring a second image through the second lens;
wherein the first exposure time is greater than the second exposure time.
4. An electronic device, comprising a first lens and a second lens, the electronic device further comprising:
the acquisition module is used for acquiring a first image through the first lens and acquiring a second image through the second lens;
a compositing module to composite the first image and the second image into an HDR image;
wherein the first lens and the second lens have different f-numbers.
5. The electronic device of claim 4, wherein the acquisition module comprises:
and the first acquisition submodule is used for acquiring a first image through the first lens and acquiring a second image through the second lens under the condition that the exposure time parameter is the first exposure time.
6. The electronic device of claim 4, wherein the acquisition module comprises:
the second acquisition submodule is used for acquiring a first image through the first lens under the condition that the exposure time parameter is first exposure time, wherein the f-number of the first lens is higher than that of the second lens;
the third obtaining submodule is used for obtaining a second image through the second lens under the condition that the exposure time parameter is the second exposure time; wherein the first exposure time is greater than the second exposure time.
7. An electronic device, comprising: the device comprises a shell, a first lens, a second lens, a first reflector, a second reflector and an image sensor;
the first lens and the second lens are arranged on the shell;
an accommodating space is formed in the shell, and the first reflector and the second reflector are rotatably arranged in the accommodating space;
the first reflector rotates to a first posture under the condition that the first lens is called, and light rays incident from the first lens are reflected by the first reflector and then enter the image sensor; and under the condition of calling the second lens, the second reflector rotates to a second posture, and light rays incident from the second lens are reflected by the second reflector and then enter the image sensor.
8. The electronic device of claim 7, further comprising a polygon mirror;
under the condition of calling the first lens, the first reflector rotates to a first posture, and light rays incident from the first lens are reflected by the first reflector and the polygon mirror and then incident into the image sensor;
and under the condition of calling the second lens, the second reflector rotates to a second posture, and light rays incident from the second lens are reflected by the second reflector and the polygon mirror and then enter the image sensor.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the image processing method according to any one of claims 1 to 3.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the image processing method according to any one of claims 1 to 3.
CN202010218084.1A 2020-03-25 2020-03-25 Image processing method and electronic equipment Pending CN111416948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010218084.1A CN111416948A (en) 2020-03-25 2020-03-25 Image processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010218084.1A CN111416948A (en) 2020-03-25 2020-03-25 Image processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111416948A true CN111416948A (en) 2020-07-14

Family

ID=71494525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010218084.1A Pending CN111416948A (en) 2020-03-25 2020-03-25 Image processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111416948A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367470A (en) * 2020-10-29 2021-02-12 维沃移动通信有限公司 Image processing method and device and electronic equipment
CN114071025A (en) * 2021-12-10 2022-02-18 维沃移动通信有限公司 Camera shooting assembly, electronic equipment and control method and device of electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10254055A (en) * 1997-03-10 1998-09-25 Minolta Co Ltd Multifocus camera
CN103200356A (en) * 2013-03-25 2013-07-10 广东欧珀移动通信有限公司 Camera structure and mobile phone provided with same
CN103813155A (en) * 2012-11-15 2014-05-21 展讯通信(上海)有限公司 Method and device for multi-viewpoint image acquisition and three-dimensional camera
CN103986875A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring device, method and terminal and video acquiring method
CN104823437A (en) * 2014-06-12 2015-08-05 深圳市大疆创新科技有限公司 Picture processing method and device
CN105872148A (en) * 2016-06-21 2016-08-17 维沃移动通信有限公司 Method and mobile terminal for generating high dynamic range images
US9733458B2 (en) * 2014-06-20 2017-08-15 Qualcomm Incorporated Multi-camera system using folded optics free from parallax artifacts
CN109862246A (en) * 2019-03-04 2019-06-07 上海卓易科技股份有限公司 A kind of camera, terminal, 4D image generating method and the medium for shooting 4D image
CN110213503A (en) * 2019-06-28 2019-09-06 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110533708A (en) * 2019-08-28 2019-12-03 维沃移动通信有限公司 A kind of electronic equipment and depth information acquisition method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10254055A (en) * 1997-03-10 1998-09-25 Minolta Co Ltd Multifocus camera
CN103813155A (en) * 2012-11-15 2014-05-21 展讯通信(上海)有限公司 Method and device for multi-viewpoint image acquisition and three-dimensional camera
CN103200356A (en) * 2013-03-25 2013-07-10 广东欧珀移动通信有限公司 Camera structure and mobile phone provided with same
CN103986875A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring device, method and terminal and video acquiring method
CN104823437A (en) * 2014-06-12 2015-08-05 深圳市大疆创新科技有限公司 Picture processing method and device
US9733458B2 (en) * 2014-06-20 2017-08-15 Qualcomm Incorporated Multi-camera system using folded optics free from parallax artifacts
CN105872148A (en) * 2016-06-21 2016-08-17 维沃移动通信有限公司 Method and mobile terminal for generating high dynamic range images
CN109862246A (en) * 2019-03-04 2019-06-07 上海卓易科技股份有限公司 A kind of camera, terminal, 4D image generating method and the medium for shooting 4D image
CN110213503A (en) * 2019-06-28 2019-09-06 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110533708A (en) * 2019-08-28 2019-12-03 维沃移动通信有限公司 A kind of electronic equipment and depth information acquisition method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367470A (en) * 2020-10-29 2021-02-12 维沃移动通信有限公司 Image processing method and device and electronic equipment
CN112367470B (en) * 2020-10-29 2022-03-08 维沃移动通信有限公司 Image processing method and device and electronic equipment
CN114071025A (en) * 2021-12-10 2022-02-18 维沃移动通信有限公司 Camera shooting assembly, electronic equipment and control method and device of electronic equipment

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN107566739B (en) photographing method and mobile terminal
CN108307109B (en) High dynamic range image preview method and terminal equipment
CN107592466B (en) Photographing method and mobile terminal
CN108833753B (en) Image acquisition and application method, terminal and computer readable storage medium
CN108881733B (en) Panoramic shooting method and mobile terminal
CN109688322B (en) Method and device for generating high dynamic range image and mobile terminal
CN107730460B (en) Image processing method and mobile terminal
CN108449541B (en) Panoramic image shooting method and mobile terminal
CN107623818B (en) Image exposure method and mobile terminal
CN107948505B (en) Panoramic shooting method and mobile terminal
CN110809115A (en) Shooting method and electronic equipment
CN110213484B (en) Photographing method, terminal equipment and computer readable storage medium
CN109905603B (en) Shooting processing method and mobile terminal
CN110213485B (en) Image processing method and terminal
CN111405199B (en) Image shooting method and electronic equipment
CN109819166B (en) Image processing method and electronic equipment
CN109005314B (en) Image processing method and terminal
CN110555815B (en) Image processing method and electronic equipment
CN109639981B (en) Image shooting method and mobile terminal
CN111416948A (en) Image processing method and electronic equipment
CN109167917B (en) Image processing method and terminal equipment
CN108156386B (en) Panoramic photographing method and mobile terminal
CN107734269B (en) Image processing method and mobile terminal
CN107798662B (en) Image processing method and mobile terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200714