CN111045279B - Flash lamp light supplementing method and electronic equipment - Google Patents

Flash lamp light supplementing method and electronic equipment Download PDF

Info

Publication number
CN111045279B
CN111045279B CN201911389525.8A CN201911389525A CN111045279B CN 111045279 B CN111045279 B CN 111045279B CN 201911389525 A CN201911389525 A CN 201911389525A CN 111045279 B CN111045279 B CN 111045279B
Authority
CN
China
Prior art keywords
color temperature
temperature distribution
image
scene image
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911389525.8A
Other languages
Chinese (zh)
Other versions
CN111045279A (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 CN201911389525.8A priority Critical patent/CN111045279B/en
Publication of CN111045279A publication Critical patent/CN111045279A/en
Priority to PCT/CN2020/139441 priority patent/WO2021136091A1/en
Application granted granted Critical
Publication of CN111045279B publication Critical patent/CN111045279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • G03B15/06Special arrangements of screening, diffusing, or reflecting devices, e.g. in studio
    • GPHYSICS
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • G02F1/15Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour  based on an electrochromic effect
    • G02F1/163Operation of electrochromic cells, e.g. electrodeposition cells; Circuit arrangements therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means

Abstract

The embodiment of the invention discloses a flash lamp light supplementing method and electronic equipment, and aims to solve the problems that a light supplementing mode in the related art limits the shooting effect of a camera and is difficult to effectively improve the image quality. The method is applied to electronic equipment, the electronic equipment comprises a flash lamp and an electrochromic film, the electrochromic film is arranged in the light emergent direction of the flash lamp, the electrochromic film comprises a plurality of electrochromic units, and the method comprises the following steps: acquiring a scene image in a preview picture; determining a first color temperature distribution characteristic of a scene image; adjusting the driving voltages of the plurality of electrochromic units based on the first color temperature distribution characteristic; starting a flash lamp to supplement light for the scene image; and the second color temperature distribution characteristic of the light irradiated on the scene image is matched with the first color temperature distribution characteristic.

Description

Flash lamp light supplementing method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to a flash lamp light supplementing method and electronic equipment.
Background
With the rapid development of electronic device technology, the shooting function of electronic devices (such as mobile phones) is stronger, but the capability of the electronic devices as camera assistants, namely flash lamps, has not substantially improved. The service provided by the flash lamp is still to supplement light for the shot picture globally, and it is difficult to meet the increasing diversified demands of users.
For example, when the user shoots under the environment that dim light and light are complicated, the current flash lamp technique can carry out holistic light filling to the picture of shooing, and this kind of light filling mode has restricted the shooting effect of camera greatly, is difficult to effectively promote image quality to user experience has been influenced to a certain extent.
Disclosure of Invention
The embodiment of the invention provides a flash lamp light supplementing method and electronic equipment, and aims to solve the problems that a light supplementing mode in the related art limits the shooting effect of a camera and image quality is difficult to effectively improve.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a light supplement method for a flash lamp is provided, and is applied to an electronic device, where the electronic device includes a flash lamp and an electrochromic film, the electrochromic film is disposed in a light exit direction of the flash lamp, the electrochromic film includes a plurality of electrochromic units, and the method includes:
acquiring a scene image in a preview picture;
determining a first color temperature distribution characteristic of the scene image;
adjusting the driving voltages of the electrochromic units based on the first color temperature distribution characteristic;
starting the flash lamp to supplement light for the scene image; and the second color temperature distribution characteristic of the light irradiated on the scene image is matched with the first color temperature distribution characteristic.
In a second aspect, an electronic device is provided, where the electronic device includes a flash lamp and an electrochromic film, the electrochromic film is disposed in a light exit direction of the flash lamp, the electrochromic film includes a plurality of electrochromic units, and the electronic device further includes:
the image acquisition module is used for acquiring a scene image in the preview picture;
the color temperature determining module is used for determining a first color temperature distribution characteristic of the scene image;
the voltage adjusting module is used for adjusting the driving voltages of the electrochromic units based on the first color temperature distribution characteristics;
the light supplementing module is used for starting the flash lamp to supplement light for the scene image; and the second color temperature distribution characteristic of the light irradiated on the scene image is matched with the first color temperature distribution characteristic.
In a third aspect, an electronic device is provided, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when executed by the processor, the computer program implements the steps of the method for supplementing light for a flash lamp according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for supplementing light to a flash lamp according to the first aspect.
In the embodiment of the invention, the partition color temperature control of the flash lamp can be realized by controlling the driving voltages of the plurality of electrochromic units, and the color temperature distribution characteristics of light rays supplemented to the scene image are matched with the color temperature distribution characteristics of the scene image, so that the intelligent partition color temperature control of the scene image is realized, the shooting effect is improved, the image quality is convenient to improve, and better shooting experience is brought to users.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow chart of a light supplement method for a flash lamp according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a partial component of an electronic device, such as a flash lamp, according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a scene image being partitioned in a light supplement method for a flash according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a principle of a light supplement area in a light supplement method for a flash lamp according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating light supplement of a scene image in a light supplement method for a flash according to an embodiment of the present invention;
fig. 6 is a schematic flow chart illustrating a method for supplementing light to a flash lamp according to another embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments 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.
As shown in fig. 1, an embodiment of the present invention provides a method 100 for supplementing light to a flash, which may be performed by an electronic device, in other words, may be performed by software or hardware installed in the electronic device.
As shown in fig. 2, the electronic device mentioned in the embodiments of the present specification includes a flash lamp, an electrochromic film (or an electrochromic film array), and a control unit.
The electrochromic film is arranged in the light ray emitting direction of the flash lamp, is in a roughly circular film shape, and can be covered at the light ray emitting position of the flash lamp specifically, and the electrochromic film is roughly parallel to or overlapped with the back surface of the electronic equipment.
The electrochromic film comprises a plurality of electrochromic units, optionally, the electrochromic units can be square, and the electrochromic units are arranged in an array of rows and columns.
The control unit is electrically connected with the plurality of electrochromic units and is used for controlling the driving voltage of the plurality of electrochromic units, so that the color temperature of light penetrating through each electrochromic unit can be adjusted, the accurate adjustment of the color temperature of the image in a subarea mode is realized, and the specific implementation principle will be described in detail later.
As shown in fig. 1, this method embodiment 100 includes the steps of:
s102: and acquiring a scene image in the preview picture.
As shown in fig. 2, the back of the electronic device (specifically, a mobile phone) shown in fig. 2 includes three cameras, and the cameras are located near the left position of the flash, and this step may pre-shoot a shot scene through the cameras, that is, capture a scene image in a preview picture.
S104: a first color temperature distribution characteristic of a scene image is determined.
As shown in fig. 3, this step may be performed by the processor of the electronic device to partition the image of the scene, for example, into a plurality of image areas of equal area and size squares as shown in fig. 3; and then, judging the color temperature values of the image areas one by one, specifically, calculating an average value of the color temperature values of the image areas, and finally obtaining a first color temperature distribution characteristic of the scene image.
In a specific example, the step may specifically be to partition the scene image to obtain a plurality of image areas; generating a color temperature distribution matrix based on the color temperature value of each image area; and obtaining the first color temperature distribution characteristic based on the color temperature distribution matrix.
It should be noted that the color temperature distribution matrix is detailed data of color temperature distribution, which includes a color temperature value of each image region, and color temperature values of a plurality of adjacent image regions may be equal or close to each other; the first color temperature distribution characteristic may be a color temperature distribution map of the scene image obtained based on the color temperature distribution matrix. In a specific example, the first color temperature distribution characteristic may be obtained by performing a combination process on the color temperature values in the color temperature distribution matrix that are close to the image area, specifically, the first color temperature distribution characteristic shown in fig. 3 is obtained.
In the example shown in fig. 3, the first color temperature distribution characteristic of the scene image is represented by: the upper half part of the scene image is warm, and if the color temperature values are all lower than a certain threshold value; the lower half of the scene image is cold, and if the color temperature values are all higher than a certain threshold value.
S106: and adjusting the driving voltages of the plurality of electrochromic units based on the first color temperature distribution characteristic.
In one example, the step may obtain the driving voltages of the electrochromic cells by looking up a table or substituting the first color temperature distribution characteristic into a predetermined formula. Of course, before the embodiment is executed, a lookup table of (color temperature values in) the first color temperature distribution characteristics and the driving voltages of the plurality of electrochromic units may be established in advance; or a conversion formula for predetermining the first color temperature distribution characteristic and the driving voltages of the plurality of electrochromic cells.
S108: and starting the flash lamp to supplement light for the scene image.
And the second color temperature distribution characteristic of the light irradiated on the scene image is matched with the first color temperature distribution characteristic. The matching mentioned in this step may specifically be that the color temperature value of the second color temperature distribution characteristic is inversely related to the color temperature value of the first color temperature distribution characteristic.
Specifically, for example, in the example shown in fig. 3, the first color temperature distribution characteristic of the scene image is represented by: the upper half part of the scene image is warmer (the color temperature value is lower), and the lower half part of the scene image is colder (the color temperature value is higher); in this step, the driving voltages of the electrochromic units are adjusted by the control unit, and the second color temperature distribution characteristic of the light supplement on the scene image is represented as follows: supplementing cold light (with higher color temperature value) to the upper half part of the scene image; warm light (with a lower color temperature value) is supplemented to the lower half of the scene image, as shown in fig. 4 and 5, wherein the circular area in fig. 5 is the whole supplementary light range of the supplementary light, and the rectangular area in fig. 5 is the scene image area.
In this embodiment, when the control unit controls the driving voltage of the electrochromic unit to increase, the color temperature of the light passing through the electrochromic unit decreases (appears yellow); conversely, when the control unit controls the driving voltage of the electrochromic unit to decrease, the color temperature of the light passing through the electrochromic unit increases (blue light appears).
It should be noted that "adjusting" the driving voltages of the plurality of electrochromic units in S106 of this embodiment may be embodied as one or more combinations of the following three cases:
1) increasing the driving voltage of some (part or all) electrochromic units;
2) reducing the driving voltage of some (partial or all) electrochromic units;
3) the driving voltage of some (partial or all) electrochromic units is kept unchanged.
Optionally, after the flash is started to supplement light to the scene image, the scene image may be acquired, that is, the scene image is obtained through commonly understood shooting.
According to the light supplementing method of the flash lamp, the regional color temperature control of the flash lamp can be achieved by controlling the driving voltages of the electrochromic units, the color temperature distribution characteristics of light supplemented to the scene image are matched with the color temperature distribution characteristics of the scene image, the intelligent regional color temperature control of the scene image is achieved, the shooting effect is improved, the image quality is convenient to improve, and better shooting experience is brought to users.
Optionally, in S102 of the embodiment 100, when determining the first color temperature distribution characteristic of the scene image, the scene image is partitioned to obtain a plurality of image regions, and specifically, as shown in fig. 3, each image region may be square.
In a preferred embodiment, the shape and area of an image area is equal to the shape and area of the scene image illuminated by light passing through an electrochromic cell.
For example, the electrochromic unit may also be square, and the plurality of electrochromic units are arranged in an array of rows and columns, so that light emitted by the flash lamp passes through the electrochromic unit and then irradiates on the scene image (actually irradiates in a scene corresponding to the scene image) and may also be a light supplement area of a square. And the position and area of the light filling area are equal to those of the plurality of image areas.
Through the above arrangement, in practice, the one-to-one correspondence relationship between the plurality of image areas and the plurality of electrochromic units is established, so that the plurality of image areas of the scene image can be supplemented with light in a partitioned manner through the plurality of electrochromic units.
Optionally, the first color temperature distribution characteristic mentioned in embodiment 100 includes a first color temperature value of a first image region and a second color temperature value of a second image region, where the first color temperature value is greater than the second color temperature value, and specifically, for example, in fig. 3, the first image region is a lower half portion of a scene image, and a mean value of the color temperature values of the first image region is 6500K (first color temperature value); the second image area is the upper half of the scene image, and the average value of the color temperature values of the second image area is 3500K (second color temperature value).
The second color temperature distribution characteristic includes a third color temperature value of the light irradiated in the first image region and a fourth color temperature value of the light irradiated in the second image region, where the third color temperature value is smaller than the fourth color temperature value, specifically, for example, the third color temperature value is 3500K, and the fourth color temperature value is 6500K.
The embodiment can directionally raise the color temperature for the low-K value warm light area in the scene image; the color temperature is directionally reduced aiming at the high-K value cold light area in the scene, the color temperature is synchronously adjusted in a partition mode, and the image shooting effect is effectively improved.
Optionally, after the flash is started to fill light into the scene image in the foregoing embodiments, the following steps may be further included:
1) and pre-collecting a scene image. The method comprises the following steps of pre-collecting a scene image subjected to regional light supplement.
2) And adjusting the driving voltages of the plurality of electrochromic units through the control unit based on the color difference between the pre-acquired scene image and the target image so as to adjust the second color temperature distribution characteristic.
The target image is, for example, a face image with a standard skin color, and of course, the pre-captured scene image is also a face image.
In the embodiment, the second color temperature distribution characteristic is adjusted, so that the color difference between the acquired scene image and the target image is smaller and smaller, and the quality of the finally acquired image is improved.
It should be noted that, in S106, the driving voltages of the multiple electrochromic cells are adjusted, that is, the color temperature of the image of the scene is adjusted in a divisional manner, where the color temperature may also be referred to as coarse adjustment; while in this embodiment the adjustment of the color temperature based on the color difference may be referred to as a fine adjustment, the coarse and fine adjustments may be made towards the same color temperature (i.e. both increasing color temperature or both decreasing color temperature).
Specifically, for example, in the previous example, the coarse adjustment is performed to obtain a third color temperature value (a color temperature value with a smaller color temperature) of the light irradiated in the first image region and a fourth color temperature value (a color temperature value after increasing the color temperature) of the light irradiated in the second image region, where the third color temperature value is smaller than the fourth color temperature value.
To describe in detail the light supplement method for a flash lamp according to the above embodiment of the present invention, a specific embodiment is described below, where the embodiment is described by taking an electronic device as a mobile phone, where the mobile phone includes the flash lamp, the electrochromic film array, and the control unit described in the foregoing embodiment, as shown in fig. 6, the embodiment 600 includes the following steps:
s602: and acquiring a scene image in the preview picture.
The electronic device in this embodiment is specifically a mobile phone, and in this step, the mobile phone pre-captures a scene captured by a target to obtain a scene image.
S604: a first color temperature distribution characteristic of a scene image is determined.
Optionally, the mobile phone processor may partition the scene image to obtain a plurality of image areas, as shown in fig. 3; generating a color temperature distribution matrix based on the color temperature value of each image area; the first color temperature distribution characteristic is obtained based on the color temperature distribution matrix, which can be referred to in the description of the foregoing embodiments.
S606: and transmitting the first color temperature distribution characteristic data to the control unit.
S608: the driving voltages of the plurality of electrochromic cells are adjusted.
Specifically, the control unit adjusts the driving voltage of the electrochromic unit according to the first color temperature distribution characteristic, so as to realize corresponding color change control of each unit according to the color temperature partition of the shot picture.
S610: the flash lamp is started.
And if the shooting environment needs light supplement, starting the LED flash lamp according to the mobile phone control signal.
S612: and carrying out regional dimming on the scene image.
After the LED flash lamp is lightened, the second color temperature distribution characteristic of the light irradiated on the scene image is matched with the first color temperature distribution characteristic through the electrochromic film array.
In particular, the embodiment can directionally raise the color temperature for low-K warm light regions in the scene image; the color temperature is directionally reduced aiming at the high-K value cold light area in the scene, the color temperature is synchronously adjusted in a partition mode, and the image shooting effect is effectively improved.
According to the light supplementing method of the flash lamp, the regional color temperature control of the flash lamp can be achieved by controlling the driving voltages of the electrochromic units, the color temperature distribution characteristics of light supplemented to the scene image are matched with the color temperature distribution characteristics of the scene image, the intelligent regional color temperature control of the scene image is achieved, the shooting effect is improved, the image quality is convenient to improve, and better shooting experience is brought to users.
The method for supplementing light to a flash lamp according to an embodiment of the present invention is described in detail above with reference to fig. 1 to 6. An electronic device according to an embodiment of the present invention will be described in detail with reference to fig. 7, where fig. 7 is a schematic structural diagram of the electronic device according to the embodiment of the present invention, and the electronic device 700 includes a flash lamp and an electrochromic film disposed in a light outgoing direction of the flash lamp, and the electrochromic film includes a plurality of electrochromic cells. As shown in fig. 7, the electronic device 700 further includes:
an image acquisition module 702, configured to acquire a scene image in a preview image;
a color temperature determining module 704, configured to determine a first color temperature distribution characteristic of the scene image;
a voltage adjusting module 706, configured to adjust driving voltages of the electrochromic units based on the first color temperature distribution characteristic;
a fill-in module 708, which may be configured to start the flash to fill in the scene image; and the second color temperature distribution characteristic of the light irradiated on the scene image is matched with the first color temperature distribution characteristic.
According to the electronic equipment of the flash lamp, the partition color temperature control of the flash lamp can be realized by controlling the driving voltages of the plurality of electrochromic units, the color temperature distribution characteristics of light rays supplemented to the scene image are matched with the color temperature distribution characteristics of the scene image, the intelligent partition color temperature control of the scene image is realized, the shooting effect is improved, the image quality is improved conveniently, and better shooting experience is brought to users.
Optionally, as an embodiment, the color temperature determining module 702 may be specifically configured to
Partitioning the scene image to obtain a plurality of image areas;
generating a color temperature distribution matrix based on the color temperature value of each image area;
and obtaining the first color temperature distribution characteristic based on the color temperature distribution matrix.
Optionally, as an embodiment, the shape and area of one of the image regions is equal to the shape and area of the scene image irradiated by the light passing through one of the electrochromic cells.
Alternatively, the processor may, as an embodiment,
the first color temperature distribution characteristic comprises a first color temperature value of a first image area and a second color temperature value of a second image area, and the first color temperature value is greater than the second color temperature value;
the second color temperature distribution characteristic includes a third color temperature value of the light irradiated in the first image area and a fourth color temperature value of the light irradiated in the second image area, and the third color temperature value is smaller than the fourth color temperature value.
Alternatively, the processor may, as an embodiment,
the image acquisition module 702 may be further configured to perform pre-acquisition on the scene image;
the voltage adjusting module 706 may be further configured to adjust, by the control unit, driving voltages of the electrochromic units based on a color difference between a pre-captured scene image and a target image, so as to adjust the second color temperature distribution characteristic.
The electronic device according to the embodiment of the present invention may refer to a process corresponding to the flash light supplementary method according to the embodiment of the present invention, and each unit/module and the other operations and/or functions in the electronic device are respectively for implementing a corresponding process in the flash light supplementary method, and for brevity, no further description is provided here.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts in the embodiments are referred to each other. For the embodiment of the electronic device, since it is basically similar to the embodiment of the method, the description is simple, and for the relevant points, reference may be made to the partial description of the embodiment of the method.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, where 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 configuration shown in fig. 8 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.
The electronic device 800 further includes a flash lamp and an electrochromic film, the electrochromic film is disposed in a light emitting direction of the flash lamp, and the electrochromic film includes a plurality of electrochromic units.
The sensor 805 is used for acquiring a scene image in a preview picture;
a processor 810 for determining a first color temperature distribution characteristic of the scene image; adjusting the driving voltages of the plurality of electrochromic units based on the first color temperature distribution characteristic; starting a flash lamp to supplement light for the scene image; and the second color temperature distribution characteristic of the light irradiated on the scene image is matched with the first color temperature distribution characteristic.
According to the electronic equipment in the embodiment of the invention, the partition color temperature control of the flash lamp can be realized by controlling the driving voltages of the plurality of electrochromic units, and the color temperature distribution characteristics of light rays supplemented to the scene image are matched with the color temperature distribution characteristics of the scene image, so that the intelligent partition color temperature control of the scene image is realized, the shooting effect is improved, the image quality is convenient to improve, and better shooting experience is brought to users.
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 picture 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 8061 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 sensors 805 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 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.
Preferably, 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 above-mentioned embodiment of the light supplement method for a flash lamp, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
An 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 flash light supplementary 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 (8)

1. A light supplement method of a flash lamp is applied to electronic equipment, the electronic equipment comprises the flash lamp and an electrochromic film, the electrochromic film is arranged in the light emergent direction of the flash lamp and comprises a plurality of electrochromic units, and the method comprises the following steps:
acquiring a scene image in a preview picture;
determining a first color temperature distribution characteristic of the scene image;
adjusting the driving voltages of the electrochromic units based on the first color temperature distribution characteristic;
starting the flash lamp to supplement light for the scene image; the second color temperature distribution characteristic of the light irradiated on the scene image is matched with the first color temperature distribution characteristic;
wherein the determining the first color temperature distribution characteristic of the scene image comprises:
partitioning the scene image to obtain a plurality of image areas;
generating a color temperature distribution matrix based on the color temperature value of each image area;
obtaining the first color temperature distribution characteristic based on the color temperature distribution matrix;
the shape and the area of one image area are equal to the shape and the area of the scene image irradiated by the light rays passing through one electrochromic unit.
2. The method of claim 1,
the first color temperature distribution characteristic comprises a first color temperature value of a first image area and a second color temperature value of a second image area, and the first color temperature value is greater than the second color temperature value;
the second color temperature distribution characteristic includes a third color temperature value of the light irradiated in the first image area and a fourth color temperature value of the light irradiated in the second image area, and the third color temperature value is smaller than the fourth color temperature value.
3. The method of claim 1, wherein after the activating the flash to fill in the scene image, the method comprises:
pre-collecting the scene image;
and adjusting the driving voltages of the electrochromic units based on the color difference between the pre-acquired scene image and the target image so as to adjust the second color temperature distribution characteristic.
4. An electronic device, comprising a flash lamp and an electrochromic film, wherein the electrochromic film is disposed in a light exit direction of the flash lamp, the electrochromic film comprises a plurality of electrochromic cells, and the electronic device further comprises:
the image acquisition module is used for acquiring a scene image in the preview picture;
the color temperature determining module is used for determining a first color temperature distribution characteristic of the scene image;
the voltage adjusting module is used for adjusting the driving voltages of the electrochromic units based on the first color temperature distribution characteristics;
the light supplementing module is used for starting the flash lamp to supplement light for the scene image; the second color temperature distribution characteristic of the light irradiated on the scene image is matched with the first color temperature distribution characteristic;
wherein the color temperature determination module is configured to:
partitioning the scene image to obtain a plurality of image areas;
generating a color temperature distribution matrix based on the color temperature value of each image area;
obtaining the first color temperature distribution characteristic based on the color temperature distribution matrix;
the shape and the area of one image area are equal to the shape and the area of the scene image irradiated by the light rays passing through one electrochromic unit.
5. The electronic device of claim 4,
the first color temperature distribution characteristic comprises a first color temperature value of a first image area and a second color temperature value of a second image area, and the first color temperature value is greater than the second color temperature value;
the second color temperature distribution characteristic includes a third color temperature value of the light irradiated in the first image area and a fourth color temperature value of the light irradiated in the second image area, and the third color temperature value is smaller than the fourth color temperature value.
6. The electronic device of claim 4,
the image acquisition module is also used for pre-acquiring the scene image;
the voltage adjusting module is further configured to adjust driving voltages of the electrochromic units based on a color difference between a pre-acquired scene image and a target image, so as to adjust the second color temperature distribution characteristic.
7. An electronic device, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing a method of supplementing light for a flash as claimed in any one of claims 1 to 3.
8. A computer-readable storage medium, having a computer program stored thereon, which, when being executed by a processor, implements the method for supplementing light of a flash lamp according to any one of claims 1 to 3.
CN201911389525.8A 2019-12-30 2019-12-30 Flash lamp light supplementing method and electronic equipment Active CN111045279B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911389525.8A CN111045279B (en) 2019-12-30 2019-12-30 Flash lamp light supplementing method and electronic equipment
PCT/CN2020/139441 WO2021136091A1 (en) 2019-12-30 2020-12-25 Flash lamp light supplementation method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911389525.8A CN111045279B (en) 2019-12-30 2019-12-30 Flash lamp light supplementing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111045279A CN111045279A (en) 2020-04-21
CN111045279B true CN111045279B (en) 2022-02-01

Family

ID=70241298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911389525.8A Active CN111045279B (en) 2019-12-30 2019-12-30 Flash lamp light supplementing method and electronic equipment

Country Status (2)

Country Link
CN (1) CN111045279B (en)
WO (1) WO2021136091A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045279B (en) * 2019-12-30 2022-02-01 维沃移动通信有限公司 Flash lamp light supplementing method and electronic equipment
CN113075834B (en) * 2020-01-06 2022-02-01 深圳市万普拉斯科技有限公司 Flash lamp, flash lamp control method and mobile device
CN113949793A (en) * 2020-07-17 2022-01-18 深圳市万普拉斯科技有限公司 Flash lamp, light effect improving method thereof and electronic equipment
CN111787235B (en) * 2020-08-12 2022-07-12 努比亚技术有限公司 Shooting control method and device and computer readable storage medium
CN114076576B (en) * 2020-08-21 2023-11-21 深圳市万普拉斯科技有限公司 Light emitter, camera module, electronic equipment and image three-dimensional information acquisition method
CN114650349B (en) * 2020-12-21 2023-12-01 扬州比亚迪半导体有限公司 Camera module, camera module control method and monitoring system
CN115633250A (en) * 2021-07-31 2023-01-20 荣耀终端有限公司 Image processing method and electronic equipment
CN114355649B (en) * 2021-12-27 2024-01-12 绵阳惠科光电科技有限公司 Color temperature compensation device, backlight module and display device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104280979A (en) * 2013-07-10 2015-01-14 宏达国际电子股份有限公司 Camera device and flash light control method
CN107037659A (en) * 2017-04-27 2017-08-11 维沃移动通信有限公司 A kind of sheen lamp control method and mobile terminal
CN110176531A (en) * 2018-02-19 2019-08-27 欧司朗光电半导体有限公司 Photoelectron subassembly, photoelectronic device, flash lamp and searchlight

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6525603B2 (en) * 2015-01-27 2019-06-05 キヤノン株式会社 Imaging device
US9894257B2 (en) * 2015-05-13 2018-02-13 Apple Inc. Light source module with adjustable diffusion
CN107809599B (en) * 2017-11-16 2020-02-18 维沃移动通信有限公司 Light supplementing method and device and mobile terminal
CN111480233A (en) * 2017-12-21 2020-07-31 亮锐控股有限公司 Lighting device
CN109525783A (en) * 2018-12-25 2019-03-26 努比亚技术有限公司 A kind of exposure image pickup method, terminal and computer readable storage medium
CN111045279B (en) * 2019-12-30 2022-02-01 维沃移动通信有限公司 Flash lamp light supplementing method and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104280979A (en) * 2013-07-10 2015-01-14 宏达国际电子股份有限公司 Camera device and flash light control method
CN107037659A (en) * 2017-04-27 2017-08-11 维沃移动通信有限公司 A kind of sheen lamp control method and mobile terminal
CN110176531A (en) * 2018-02-19 2019-08-27 欧司朗光电半导体有限公司 Photoelectron subassembly, photoelectronic device, flash lamp and searchlight

Also Published As

Publication number Publication date
WO2021136091A1 (en) 2021-07-08
CN111045279A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN111045279B (en) Flash lamp light supplementing method and electronic equipment
CN107809599B (en) Light supplementing method and device and mobile terminal
CN110969981B (en) Screen display parameter adjusting method and electronic equipment
CN107038681B (en) Image blurring method and device, computer readable storage medium and computer device
CN109688322B (en) Method and device for generating high dynamic range image and mobile terminal
CN109361867B (en) Filter processing method and mobile terminal
CN108040209B (en) Shooting method and mobile terminal
CN110769151B (en) Image processing method, image processing apparatus, electronic device, and medium
CN109788174B (en) Light supplementing method and terminal
CN107846583B (en) Image shadow compensation method and mobile terminal
CN107240072B (en) Screen brightness adjusting method, terminal and computer readable storage medium
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN110266323B (en) Signal control circuit, terminal equipment and signal control method
CN109951582B (en) Mobile terminal and sound output control method
CN109257505B (en) Screen control method and mobile terminal
CN110290331B (en) Screen control method and terminal
CN108174109B (en) Photographing method and mobile terminal
CN110545387B (en) Shooting method and terminal equipment
CN109521937B (en) Screen display control method and mobile terminal
CN109343811B (en) Display adjustment method and terminal equipment
CN109859718B (en) Screen brightness adjusting method and terminal equipment
CN108879856B (en) Charging method and terminal
CN107943402B (en) Regional brightness control method, intelligent terminal and computer readable storage medium
CN108419283B (en) WIFI hotspot scanning method and mobile terminal
CN107729100B (en) Interface display control 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
GR01 Patent grant
GR01 Patent grant