CN106210556A - A kind of photographic method and terminal - Google Patents

A kind of photographic method and terminal Download PDF

Info

Publication number
CN106210556A
CN106210556A CN201610639850.5A CN201610639850A CN106210556A CN 106210556 A CN106210556 A CN 106210556A CN 201610639850 A CN201610639850 A CN 201610639850A CN 106210556 A CN106210556 A CN 106210556A
Authority
CN
China
Prior art keywords
color
image
lighting sources
supplementary lighting
terminal
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.)
Withdrawn
Application number
CN201610639850.5A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610639850.5A priority Critical patent/CN106210556A/en
Publication of CN106210556A publication Critical patent/CN106210556A/en
Withdrawn legal-status Critical Current

Links

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/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control

Abstract

Embodiments providing a kind of photographic method and terminal, the method includes: the distance between measuring terminals and subject;According to the distance between terminal and subject, gathered the color data of light source by color sensor;The color data using light source adjusts the color of supplementary lighting sources;Start the supplementary lighting sources after adjusting color and carry out light filling;By camera collection image.Implement the embodiment of the present invention, the shooting effect of image can be improved.

Description

A kind of photographic method and terminal
Technical field
The present invention relates to camera technique field, be specifically related to a kind of photographic method and terminal.
Background technology
Along with the development of electronic technology, photographic head has become in the terminal such as mobile phone, panel computer requisite group Becoming part, therefore, user can be by the dribs and drabs in the photographic head record life in terminal.Due to light source when user takes pictures Color is changeable, and the color of light source is different, and the effect of the image of shooting may be different, so that the image of shooting cannot be ensured Do not affected by light source colour, thus reduced the shooting effect of image.
Summary of the invention
The embodiment of the present invention provides a kind of photographic method and terminal, can improve the shooting effect of image.
Embodiment of the present invention first aspect provides a kind of photographic method, including:
Distance between measuring terminals and subject;
According to described distance, gathered the color data of light source by color sensor;
Described color data is used to adjust the color of supplementary lighting sources;
Open the described supplementary lighting sources after adjusting color and carry out light filling;
By camera collection image.
Embodiment of the present invention second aspect provides a kind of terminal, including:
Measuring unit, for measuring the distance between described terminal and subject;
First collecting unit, for the distance measured according to described measuring unit, gathers light source by color sensor Color data;
First adjustment unit, the color data for using described first collecting unit to gather adjusts the face of supplementary lighting sources Color;
Light filling unit, carries out light filling for opening the described supplementary lighting sources after described first adjustment unit adjusts color;
Second collecting unit, for by camera collection image.
In the embodiment of the present invention, the distance between measuring terminals and subject, according to terminal and subject it Between distance by color sensor gather light source color data, use color data adjust supplementary lighting sources color, open Adjust the supplementary lighting sources after color and carry out light filling, and by camera collection image.According to the face of light source during owing to gathering image Color has carried out light filling by supplementary lighting sources, such that it is able to improve the shooting effect of image.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment Accompanying drawing is briefly described, it should be apparent that, the accompanying drawing in describing below is some embodiments of the present invention, general for this area From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the distant schematic diagram between a kind of terminal and the subject that the embodiment of the present invention provides;
Fig. 2 is the schematic diagram close together between a kind of terminal and the subject that the embodiment of the present invention provides;
Fig. 3 is the schematic diagram of color sensor and the curve of spectrum;
Fig. 4 is the schematic flow sheet of a kind of photographic method that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of the embodiment of the present invention another terminal disclosed.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of photographic method and terminal, for improving the shooting effect of image.Enter individually below Row describes in detail.
In order to be more fully understood that a kind of photographic method and terminal that the embodiment of the present invention provides, the most first the present invention is implemented The application scenarios of example is described.Being provided with the terminal of photographic head, the color of the flash lamp when taking pictures is changeless, no The color of flash lamp can be changed along with the difference of environmental colors.Owing to always mending with fixing color during taking pictures Light, therefore, the light filling effect of flash lamp is not fine in some cases.Such as: gather under the black silk lamp source that brightness is faint During image, owing to ambient light is warm colour light source, but flash lamp still uses cool colour light to carry out light filling, so that the color of image gathered becomes Light.Visible, the shooting effect of image can be improved according to the color of the color adjustment flash lamp of environment light source, but in environment light source Some environment light source is relatively big on the impact of image acquisition, such as: be radiated at the light source in subject front, and some environment light source Impact on image acquisition is less, such as: be radiated at the light source at the subject back side.Therefore, it can right in environment light source The light source that the impact of image acquisition is bigger is referred to as principal light source, and the light source that will be radiated at subject front is referred to as main Want light source, environment light source can will be referred to as secondary light source to the light source that the impact of image acquisition is less, will be radiated at and be clapped The light source taking the photograph the object back side is referred to as secondary light source.Owing to principal light source is on bigger by the impact of image acquisition, it is seen then that can basis The color data of principal light source adjusts the color of flash lamp (i.e. supplementary lighting sources).But, photographic head place terminal and subject Distance between body is different, and the light source being radiated at subject front is different, and referring to Fig. 1, Fig. 1 is that the embodiment of the present invention carries A kind of distant schematic diagram between terminal and the subject of confession, as it is shown in figure 1, when terminal and subject it Between distant time, being radiated at the light source in subject front is to be in the light source of the same side with subject;Please join Read the schematic diagram close together between a kind of terminal and the subject that Fig. 2, Fig. 2 are embodiment of the present invention offers, such as Fig. 2 Shown in, during close together between photographic head and terminal, the light source being radiated at subject front is and subject It is in the light source of opposition side.
Terminal described by the embodiment of the present invention can include being provided with photographic head and color sensor smart mobile phone (as Android phone, iOS mobile phone, Windows Phone mobile phone etc.), panel computer, palm PC, notebook computer, mobile mutually Networked devices (MID, Mobile Internet Devices), Wearable or aircraft etc., above-mentioned terminal is only citing, And it is non exhaustive, including but not limited to above-mentioned terminal.
Color sensor is generally made up of the luminous point converting unit of tetra-passages of RGBW, and the spectral response characteristic of R, G, B divides Not close to three kinds of taper photoreceptor cell,photosensory cell L of human eye retina, the spectral response characteristic of S, M.The spectral response characteristic of W channel is close Human eye regards the spectral response characteristic of amphiblestroid rod photoreceptor cell.Referring to Fig. 3, Fig. 3 is color sensor and the curve of spectrum Schematic diagram.Light diffusing sheet shown in Fig. 3 is by means chemically or physically, utilizes light to be expert in track and runs into two foldings When penetrating the different medium of rate (density), reflect, reflect and the physical phenomenon of scattering, by lucite (polymethyl methacrylate, PMMA), shellproof glue (polycarbonates, PC), polystyrene The Substrate basis such as (polystryrene, PS), polypropylene (polypropylene, PP) adds inorganic or organic light diffusing agent, Or adjust light by the array of the micro-feature structure of substrate surface, make the refraction of light generation different directions, reflect and dissipate Penetrate, thus change the course of light, it is achieved incident illumination fully dissipates color and produces, with this, the effect that optics spreads.
In the embodiment of the present invention, light source can be different types of natural light, such as: different weather, different time, difference Season, different longitude and latitude just to sunlight with back to the light source of sunlight or moonlight.Light source can also be: different types of artificial light Source, such as: fluorescent lamp, electric filament lamp, candle light, high voltage mercury lamp, sodium vapor lamp, LED, TL84 lamp, A radiant, uviol lamp, D65 light source, Street lamp, pocket lamp etc..Light source can be also other light sources, such as: the light source of Lampyridea formation, the light source of luminescent powder formation, night Light source that jewel is formed etc..
Refer to the schematic flow sheet that Fig. 4, Fig. 4 are a kind of photographic methods that the embodiment of the present invention provides.Wherein, this is taken pictures Method is applicable to be provided with the terminal of photographic head and color sensor.As shown in Figure 4, this photographic method can include following step Suddenly.
401, the distance between measuring terminals and subject.
In the present embodiment, when user needs to shoot photo, video by the photographic head in terminal, user can pass through a little Hit preset icon, click on the operation such as predeterminable area, pressing programmable button to terminal input for the startup starting terminal camera Instruction, terminal detects this enabled instruction afterwards, will start photographic head.
In the present embodiment, after photographic head starts, or while photographic head startup, by measuring terminals and subject Between distance, can directly be measured by range sensor, such as laser range sensor etc..Can also be according to photographic head Focusing information determine, i.e. by camera collection preview image, the destination object that detection user is selected from preview image, right Destination object is focused, and adjusts the position of the built-in motor of photographic head, obtains motor destination object when diverse location corresponding Contrast, from the contrast obtained, choose the contrast of maximum, obtain the image distance that maximum contrast is corresponding, according to image distance Calculating the object distance between destination object and camera lens, image distance is the distance between camera lens and the sensor of photographic head.Can also pass through Camera collection the first image and the second image, the image gathered when the first image is flash lighting, the second image is flash of light The image gathered when lamp is closed, determines the first image and the luminance difference of the second image, determines terminal according to luminance difference and be taken Distance between object, distance is inversely proportional to luminance difference.Wherein it is determined that the first image and the luminance difference of the second image, Ke Yishi Calculate the mean flow rate of all pixels in the first image and the second image the most respectively, determine the first image and the second image afterwards The difference of mean flow rate;Can also be the luminance difference first calculating and being in same pixel coordinate point in the first image and the second image, Calculate the meansigma methods of the luminance difference of these pixels afterwards.Between shooting time and the shooting time of the second image of the first image Time difference less than the first preset value, the first image and the second image can be two images that photographic head is continuously shot, it is possible to Not to be two images being continuously shot.First image and the second image are two that photographic head gathers for same subject Open image.
402, according to the distance between terminal and subject, the color data of light source is gathered by color sensor.
In the present embodiment, during due to camera collection image, the color of the light source being radiated on subject is different, institute The effect gathering image is different, and the distance between terminal from subject is different, is radiated at subject front Light source is different.Therefore, after measuring the distance between terminal and subject, can be according to terminal and subject Between distance, select the color data of the light source that suitable color sensor collection is radiated on subject.
In the present embodiment, when being provided with at least two color sensor in terminal, if photographic head and subject Between distance meet first pre-conditioned, i.e. distance between photographic head and subject is preset more than or equal to second Value, then gather the number of colours of light source by the color sensor that acquisition range is least partially overlapped with the coverage of photographic head According to;If it is pre-conditioned, i.e. between photographic head and subject that the distance between photographic head and subject meets second Distance less than or equal to the second preset value, then sensed by the color that acquisition range is separate with the coverage of photographic head Device gathers the color data of light source.Such as: when using post-positioned pick-up head to gather image, if between terminal and subject Close together, then use be arranged on terminal front side (i.e. face, screen place) color sensor gather light source color data; If distant between terminal and subject, then use and be arranged on the terminal back side (i.e. face, post-positioned pick-up head place) Color sensor gathers the color data of light source.
In the present embodiment, when being only provided with one in terminal and can regulate the color sensor gathering direction, if taken the photograph As the distance between head and subject meets first pre-conditioned, i.e. distance between photographic head and subject is more than Or during equal to the second preset value, then adjust the collection direction of color sensor, make collection direction and the photographic head of color sensor Shooting direction identical, use afterwards to adjust and gather the color sensor behind direction and gather the color data of light source;If shooting Distance between head and subject meets second pre-conditioned, i.e. the distance between photographic head and subject less than or Equal to the second preset value, then adjust the collection direction of color sensor, make the bat gathering direction and photographic head of color sensor Take the photograph in opposite direction, use the color data adjusting the color sensor collection light source after gathering direction afterwards.Such as: after using When putting camera collection image, if close together between terminal and subject, then adjust the collection of color sensor Direction, the collection direction making color sensor is terminal front side (i.e. face, screen place) direction, place, i.e. with post-positioned pick-up head Gather in opposite direction;If distant between terminal and subject, then adjust the collection direction of color sensor, make The collection direction of color sensor is the terminal back side (i.e. face, post-positioned pick-up head place) direction, place, i.e. with the adopting of post-positioned pick-up head Collection direction is identical.
In the present embodiment, in order to be collected the color data of light source as much as possible by color sensor, can be in face Colour sensor surface covers diffusion material, in order to increases color sensor and gathers the angle of visual field (the Forward Observer of light source Vehicle, FOV) so that color sensor can collect the light that incident angle is bigger, and make each optoelectronic induction electricity Light intensity and spectrum that road senses are closer to.Additionally, due to diffusion, the intensity in the direction of measurement weakens, It is not readily susceptible in environment the impact of the bright-coloured object in local, it is possible to measure the color data of light source in environment more accurately.Additionally, In order to be collected the color data of light source as much as possible by color sensor, the FOV of color sensor is greater than photographic head FOV.
403, the color data using light source adjusts the color of supplementary lighting sources.
In the present embodiment, collected the color data of light source by color sensor after, it is possible to use the color of light source The color of data point reuse supplementary lighting sources, can be the color adjusting supplementary lighting sources, make color and the light of the supplementary lighting sources after adjustment Misalignment between the color that the color data in source is corresponding is less than the 3rd preset value.
In the present embodiment, misalignment can be the deviation value of color temperature value, it is also possible to for the Euclidean distance of chromaticity vector, go back It can be misalignment definition △ E (Ddelta-E) of view-based access control model neuropsychology model.Supplementary lighting sources is positioned at photographic head The same face of terminal, supplementary lighting sources can be the screen of flash lamp or terminal, when photographic head is post-positioned pick-up head, supplementary lighting sources Can be flash lamp, when photographic head is front-facing camera, supplementary lighting sources can be flash lamp, in order to reduce the number of supplementary lighting sources Amount, supplementary lighting sources can also be the screen of terminal.Wherein, △ E is in uniform color sense space, the survey of human eye sensation aberration Examination unit, as △ E=1, human eye can feel the conversion of color, and the accuracy of color rendition can be quantified as one by Δ E Individual numerical value, it can reflect exactly display performance color accuracy, therefore, its numerical value is the smaller the better, the highest theory of mark Light colour coloured silk gets over distortion.When Δ E value is between 1.6-3.2, human eye substantially can not be identified the difference of color;Δ E value is at 3.2- Between 6.5, the personage through professional training can distinguish that they are different, but ordinary people does not observes difference therein;Δ E value Time between 6.5-13, color difference can differentiate, but tone itself is the most identical;When Δ E value is between 13-25, can To determine the being performance of different tones, it is possible to pick out the subordinate of color;When Δ E value is more than 25, just represent is other one Plant color.
In the present embodiment, the color of supplementary lighting sources, Ke Yicong in terminal can be adjusted in advance for each color of light source The color of these supplementary lighting sources is chosen the color of the best supplementary lighting sources of the effect of the image making camera collection, and by light source Corresponding the storing of this color of this color and supplementary lighting sources, it is simple to subsequent calls.Therefore, color sensor is passed through After collecting the color data of light source, it is also possible to from the corresponding relation of the color of the light source prestored Yu the color of flash lamp In, obtain the color of object of the supplementary lighting sources corresponding to color data of light source, and the color of supplementary lighting sources is adjusted to target face Color.
404, open the supplementary lighting sources after adjusting color and carry out light filling.
In the present embodiment, after using the color data of light source to adjust the color of supplementary lighting sources, after unlatching is adjusted color Supplementary lighting sources be that photographic head carries out light filling.Wherein, open the supplementary lighting sources after adjusting color, can be according to the face after adjusting Color generates current parameters, for the electric current that supplementary lighting sources input current parameter is corresponding, makes supplementary lighting sources produce corresponding color.
405, by camera collection image.
In the present embodiment, terminal can be while supplementary lighting sources starts, by camera collection image;Can also be After supplementary lighting sources starts, by camera collection image;Supplementary lighting sources can also be to start to gather image at photographic head, but not Start before exposure, as long as supplementary lighting sources works when ensureing photographic head exposure.
In the photographic method described by Fig. 4, the distance between measuring terminals and subject, according to terminal with clapped Take the photograph the distance between object and gathered the color data of light source by color sensor, use color data to adjust the face of supplementary lighting sources Color, opens the supplementary lighting sources after adjusting color and carries out light filling, and by camera collection image.Due to gather image time according to light The color in source has carried out light filling by supplementary lighting sources, such that it is able to improve the shooting effect of image.
Refer to the structural representation that Fig. 5, Fig. 5 are a kind of terminals that the embodiment of the present invention provides.Wherein, this terminal is permissible For being provided with the mobile phone of photographic head and color sensor, panel computer etc..As it is shown in figure 5, this terminal may include that
Measuring unit 501, for the distance between measuring terminals and subject;
First collecting unit 502, the distance between terminal and the subject measured according to measuring unit 501, The color data of light source is gathered by color sensor;
First adjustment unit 503, the color data for using the first collecting unit 502 to gather adjusts the face of supplementary lighting sources Color;
Light filling unit 504, carries out light filling for opening the supplementary lighting sources after the first adjustment unit 503 adjusts color;
Second collecting unit 505, for by camera collection image.
Specifically, the second collecting unit 505, in the case of light filling unit 504 carries out light filling, adopted by photographic head Collection image.
In the terminal described by Fig. 5, the distance between measuring terminals and subject, according to terminal and subject Distance between body gathers the color data of light source by color sensor, uses color data to adjust the color of supplementary lighting sources, Open the supplementary lighting sources after adjusting color and carry out light filling, and by camera collection image.Due to gather image time according to light source Color carried out light filling by supplementary lighting sources, such that it is able to improve image shooting effect.
Referring to Fig. 6, Fig. 6 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.Wherein, this terminal can Think and be provided with the mobile phone of photographic head and color sensor, panel computer etc..Wherein, the terminal shown in Fig. 6 is as shown in Figure 5 Terminal optimized obtain, wherein:
First adjustment unit 503, specifically for adjusting the color of flash lamp, makes color and the light of the supplementary lighting sources after adjustment Misalignment between the color that the color data in source is corresponding is less than preset value, and misalignment can be deviation value or the color of color temperature value The Euclidean distance of product vector.
As a kind of possible embodiment, the first adjustment unit 503 may include that
Acquiring unit 5031, the corresponding relation of the color being used for the color from the light source prestored and supplementary lighting sources, Obtain the color of object of supplementary lighting sources corresponding to the color data of light source that the first collecting unit 502 gathers;
Second adjustment unit 5032, for being adjusted to the target face that acquiring unit 5031 obtains by the color of supplementary lighting sources Color.
As a kind of possible embodiment, measuring unit 501 may include that
3rd collecting unit 5011, for by camera collection the first image and the second image, the first image is light filling The image gathered during light source light filling, the second image is the image gathered during supplementary lighting sources closedown;
Determine unit 5012, for determining the first image and the luminance difference of the second image of the 3rd collecting unit 5011 collection Absolute value, to obtain differential image;
Determine unit 5012, be additionally operable to the distance determining between terminal and subject according to differential image, terminal with Distance between subject is inversely proportional to the brightness of differential image.
As a kind of possible embodiment, when being provided with at least two color sensor in terminal, first gathers list Unit 502 specifically for:
If it is pre-conditioned, then by the first color sensor collection that the distance between terminal and subject meets first The color data of light source, the acquisition range of the first color sensor is least partially overlapped with the coverage of photographic head;Or
If it is pre-conditioned, then by the second color sensor collection that the distance between terminal and subject meets second The color data of light source, the acquisition range of the second color sensor is separate with the coverage of photographic head.
As a kind of possible embodiment, when being only provided with a color sensing that can regulate collection direction in terminal During device, the first collecting unit 502 specifically for:
If it is pre-conditioned, then by the collection direction of color sensor that the distance between terminal and subject meets first It is adjusted to the shooting direction of photographic head, and gathers the color data of light source by adjusting the color sensor after gathering direction;Or Person
If it is pre-conditioned, then by the collection direction of color sensor that the distance between terminal and subject meets second It is adjusted to the direction contrary with the shooting direction of photographic head, and gathers light source by adjusting the color sensor after gathering direction Color data.
In the terminal described by Fig. 6, the distance between measuring terminals and subject, according to terminal and subject Distance between body gathers the color data of light source by color sensor, uses color data to adjust the color of supplementary lighting sources, Open the supplementary lighting sources after adjusting color and carry out light filling, and by camera collection image.Due to gather image time according to light source Color carried out light filling by supplementary lighting sources, such that it is able to improve image shooting effect.
Refer to the structural representation that Fig. 7, Fig. 7 are another terminals that the embodiment of the present invention provides.Wherein, this terminal can Think and be provided with the mobile phone of photographic head and color sensor, panel computer etc..As it is shown in fig. 7, this terminal may include that at least one Individual processor 701, such as CPU, memorizer 702, photographic head 703, color sensor 704, supplementary lighting sources 705 and at least one lead to Letter bus 706.Memorizer 702 can be high-speed RAM memorizer, it is also possible to be non-labile memorizer (non-volatile Memory), for example, at least one disk memory.Alternatively, memorizer 702 can also is that at least one is located remotely from aforementioned place The storage device of reason device 701.Wherein:
Communication bus 706, for realizing the connection communication between these assemblies;
In memorizer 702, storage has batch processing code, and processor 701 is for calling the program of storage in memorizer 702 Code operates below performing:
Start photographic head 703;
Distance between measuring terminals and subject;
Color sensor 704, for according to the distance between terminal and subject, gathering the color data of light source also It is sent to processor 701;
Processor 701 is additionally operable to call below the program code execution of storage in memorizer 702 and operates:
The color data using light source adjusts the color of supplementary lighting sources 705, and supplementary lighting sources 705 and photographic head 703 are positioned at end The same face of end;
Start the supplementary lighting sources 705 after adjusting color;
Supplementary lighting sources 705, for carrying out light filling to photographic head 703;
Photographic head 703, in the case of supplementary lighting sources 705 light filling, gathers image and is sent to processor 701.
As a kind of possible embodiment, processor 701 uses the color data of light source to adjust the face of supplementary lighting sources 705 The mode of color is:
Adjusting the color of supplementary lighting sources 705, the color making the supplementary lighting sources after adjustment 705 is corresponding with the color data of light source Color between misalignment less than preset value, misalignment is deviation value or the Euclidean distance of chromaticity vector of color temperature value.
As a kind of possible embodiment, processor 701 uses the color data of light source to adjust the face of supplementary lighting sources 705 The mode of color is:
From the color of the light source the prestored corresponding relation with the color of supplementary lighting sources 705, obtain the color of light source The color of object of the supplementary lighting sources 705 that data are corresponding;
The color of supplementary lighting sources 705 is adjusted to color of object.
As a kind of possible embodiment, supplementary lighting sources 705 can be the screen of flash lamp or terminal.
As a kind of possible embodiment, the angle of visual field of color sensor is more than the angle of visual field of photographic head.
As a kind of possible embodiment, color sensor surface is coated with diffusion material.
As a kind of possible embodiment, the distance between processor 701 measuring terminals and subject can be wrapped Include:
By camera collection the first image and the second image, the figure gathered when the first image is supplementary lighting sources 705 light filling Picture, the second image is the image that supplementary lighting sources 705 gathers when closing;
Determine the absolute value of the luminance difference of the first image and the second image, to obtain differential image;
The distance between terminal and subject is determined, the distance between terminal and subject according to differential image Brightness with differential image is inversely proportional to.
As a kind of possible embodiment, when being provided with at least two color sensor in terminal, color sensor 704 include according to the distance between terminal and subject, the color data gathering light source:
If the distance between terminal and subject meets first pre-conditioned, then the first color sensor gathers light source Color data, the acquisition range of the first color sensor is least partially overlapped with the coverage of photographic head;Or
If the distance between terminal and subject meets second pre-conditioned, then the second color sensor gathers light source Color data, the acquisition range of the second color sensor is separate with the coverage of photographic head.
As a kind of possible embodiment, when being only provided with a color sensing that can regulate collection direction in terminal During device, color sensor 704 includes according to the distance between terminal and subject, the color data gathering light source:
If the distance between terminal and subject meets first pre-conditioned, then processor 701 is by color sensor The direction that gathers be adjusted to the shooting direction of photographic head, adjust the color sensor after gathering direction and gather the number of colours of light source According to;Or
If the distance between terminal and subject meets second pre-conditioned, then processor 701 is by color sensor The direction that gathers be adjusted to the direction contrary with the shooting direction of photographic head, adjust the color sensor after gathering direction and gather light The color data in source.
Wherein, step 401,403 can perform with the processor 701 in terminal and memorizer 702, step 402 can be whole Color sensor 704 in end performs, and step 404 can perform with the supplementary lighting sources 705 in terminal, and step 405 can be whole Photographic head 703 in end performs.
Wherein, measuring unit 501 and the first adjustment unit 503 can be by the processor 701 in terminal and memorizeies 702 Realizing, the first collecting unit 502 can be realized by the color sensor 704 in terminal, and light filling unit 504 can be by terminal Supplementary lighting sources 705 realize, the second collecting unit 505 can be realized by the photographic head 703 in terminal.
Wherein, photographic head 703 can be front-facing camera, it is also possible to for post-positioned pick-up head, it is also possible to be arranged on terminal Other faces.
In the terminal described by Fig. 7, the distance between measuring terminals and subject, according to terminal and subject Distance between body gathers the color data of light source by color sensor, uses color data to adjust the color of supplementary lighting sources, Open the supplementary lighting sources after adjusting color and carry out light filling, and by camera collection image.Due to gather image time according to light source Color carried out light filling by supplementary lighting sources, such that it is able to improve image shooting effect.
Alternatively, terminal can be aircraft, and such as unmanned plane, the structure of aircraft can be identical with the structure shown in Fig. 7. Wherein, photographic head can be arranged on below aircraft, and color sensor can be arranged on above aircraft, it is also possible to arranges Side at aircraft.
The sequence of steps of the method for the embodiment of the present invention can be adjusted according to actual needs, merges or delete.This The unit of the terminal of bright embodiment can carry out integrating according to actual needs, Further Division or delete.
The unit of the embodiment of the present invention, can be with universal integrated circuit (such as central processor CPU), or with special integrated electricity (ASIC) realizes on road.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage Medium may include that flash disk, read only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
The photographic method and the terminal that there is provided the embodiment of the present invention above are described in detail, used herein specifically Principle and the embodiment of the present invention are set forth by individual example, and the explanation of above example is only intended to help and understands the present invention Method and core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, it is being embodied as All will change in mode and range of application, in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. a photographic method, it is characterised in that including:
Distance between measuring terminals and subject;
According to described distance, gathered the color data of light source by color sensor;
Described color data is used to adjust the color of supplementary lighting sources;
Open the described supplementary lighting sources after adjusting color and carry out light filling;
By camera collection image.
Method the most according to claim 1, it is characterised in that the described color data of described use adjusts the face of supplementary lighting sources Color includes:
Adjust the color of supplementary lighting sources, make between the color of the described supplementary lighting sources after the adjustment color corresponding with described color data Misalignment less than preset value, described misalignment is deviation value or the Euclidean distance of chromaticity vector of color temperature value.
Method the most according to claim 1, it is characterised in that the described color data of described use adjusts the face of supplementary lighting sources Color includes:
From the color of the light source the prestored corresponding relation with the color of supplementary lighting sources, obtain described color data corresponding The color of object of supplementary lighting sources;
The color of described supplementary lighting sources is adjusted to described color of object.
4. according to the method described in any one of claim 1-3, it is characterised in that between described measuring terminals and subject Distance include:
By camera collection the first image and the second image, the image of collection when described first image is supplementary lighting sources light filling, Described second image is the image gathered during the closedown of described supplementary lighting sources;
Determine the absolute value of the luminance difference of described first image and described second image, to obtain differential image;
Determining the distance between terminal and subject according to described differential image, described distance is bright with described differential image Degree is inversely proportional to.
5., according to the method described in any one of claim 1-4, it is characterised in that described according to described distance, passed by color Sensor gathers the color data of light source and includes:
If described distance meets first pre-conditioned, then gathered the color data of light source by the first color sensor, described the The acquisition range of one color sensor is least partially overlapped with the coverage of described photographic head;Or
If described distance meets second pre-conditioned, then gathered the color data of light source by the second color sensor, described the The acquisition range of second colors sensor is separate with the coverage of described photographic head.
6. a terminal, it is characterised in that including:
Measuring unit, for measuring the distance between described terminal and subject;
First collecting unit, for the distance measured according to described measuring unit, gathers the color of light source by color sensor Data;
First adjustment unit, the color data for using described first collecting unit to gather adjusts the color of supplementary lighting sources;
Light filling unit, carries out light filling for opening the described supplementary lighting sources after described first adjustment unit adjusts color;
Second collecting unit, for by camera collection image.
Terminal the most according to claim 6, it is characterised in that described first adjustment unit, specifically for adjusting light filling light The color in source, makes the misalignment between the color of the described supplementary lighting sources after the adjustment color corresponding with described color data be less than Preset value, described misalignment is deviation value or the Euclidean distance of chromaticity vector of color temperature value.
Terminal the most according to claim 6, it is characterised in that described first adjustment unit includes:
Acquiring unit, is used for from the color of the light source prestored with the corresponding relation of the color of supplementary lighting sources, obtains described The color of object of supplementary lighting sources corresponding to color data that the first collecting unit gathers;
Second adjustment unit, for being adjusted to the color of object that described acquiring unit obtains by the color of described supplementary lighting sources.
9. according to the terminal described in any one of claim 6-8, it is characterised in that described measuring unit includes:
3rd collecting unit, for by camera collection the first image and the second image, described first image is supplementary lighting sources The image gathered during light filling, described second image is the image gathered during the closedown of described supplementary lighting sources;
Determine unit, for determining the first image and luminance difference exhausted of described second image that described 3rd collecting unit gathers To value, to obtain differential image;
Described determine unit, be additionally operable to the distance determining between terminal and subject according to described differential image, described away from It is inversely proportional to from the brightness with described differential image.
10. according to the terminal described in any one of claim 6-9, it is characterised in that described first collecting unit specifically for:
If described distance meets first pre-conditioned, then gathered the color data of light source by the first color sensor, described the The acquisition range of one color sensor is least partially overlapped with the coverage of described photographic head;Or
If described distance meets second pre-conditioned, then gathered the color data of light source by the second color sensor, described the The acquisition range of second colors sensor is separate with the coverage of described photographic head.
CN201610639850.5A 2016-08-05 2016-08-05 A kind of photographic method and terminal Withdrawn CN106210556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610639850.5A CN106210556A (en) 2016-08-05 2016-08-05 A kind of photographic method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610639850.5A CN106210556A (en) 2016-08-05 2016-08-05 A kind of photographic method and terminal

Publications (1)

Publication Number Publication Date
CN106210556A true CN106210556A (en) 2016-12-07

Family

ID=57513926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610639850.5A Withdrawn CN106210556A (en) 2016-08-05 2016-08-05 A kind of photographic method and terminal

Country Status (1)

Country Link
CN (1) CN106210556A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108206904A (en) * 2017-12-04 2018-06-26 阿里巴巴集团控股有限公司 Image capture device, eyes image collecting device and method
CN110719875A (en) * 2018-06-29 2020-01-21 深圳市大疆创新科技有限公司 Night flight control method and device of aircraft, control device of aircraft and aircraft
CN111182233A (en) * 2020-01-03 2020-05-19 宁波方太厨具有限公司 Control method and system for automatic light supplement of shooting space
CN112911771A (en) * 2021-02-06 2021-06-04 北京优彩科技有限公司 Ultraviolet light supplement lamp brightness control method and mobile phone
CN112995439A (en) * 2019-12-02 2021-06-18 北京小米移动软件有限公司 Light assembly, control method and control device thereof and electronic equipment
CN114125241A (en) * 2021-11-30 2022-03-01 维沃移动通信有限公司 Shooting device, light supplementing method, light supplementing device and electronic equipment
CN116132781A (en) * 2023-04-18 2023-05-16 深圳市谨讯科技有限公司 Micro-distance light supplementing method, micro-distance light supplementing device, computer equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008151659A (en) * 2006-12-18 2008-07-03 Fuji Heavy Ind Ltd Object detector
CN101543046A (en) * 2006-09-22 2009-09-23 索尼爱立信移动通讯股份有限公司 Color adjustment for camera
CN104113688A (en) * 2014-06-26 2014-10-22 联想(北京)有限公司 Image processing method and electronic equipment
CN104603574A (en) * 2013-07-01 2015-05-06 松下电器(美国)知识产权公司 Motion sensor device having plurality of light sources
CN104755874A (en) * 2013-04-01 2015-07-01 松下知识产权经营株式会社 Motion-sensor device having multiple light sources
CN105657267A (en) * 2016-04-22 2016-06-08 上海斐讯数据通信技术有限公司 Light-supplementing device and method for self-photography
CN105744247A (en) * 2015-05-26 2016-07-06 维沃移动通信有限公司 Mobile device, method and device for carrying out white balance adjustment in mobile device
CN105827988A (en) * 2015-07-14 2016-08-03 广东维沃软件技术有限公司 Light control method and device in mobile terminal shooting

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101543046A (en) * 2006-09-22 2009-09-23 索尼爱立信移动通讯股份有限公司 Color adjustment for camera
JP2008151659A (en) * 2006-12-18 2008-07-03 Fuji Heavy Ind Ltd Object detector
CN104755874A (en) * 2013-04-01 2015-07-01 松下知识产权经营株式会社 Motion-sensor device having multiple light sources
CN104603574A (en) * 2013-07-01 2015-05-06 松下电器(美国)知识产权公司 Motion sensor device having plurality of light sources
CN104113688A (en) * 2014-06-26 2014-10-22 联想(北京)有限公司 Image processing method and electronic equipment
CN105744247A (en) * 2015-05-26 2016-07-06 维沃移动通信有限公司 Mobile device, method and device for carrying out white balance adjustment in mobile device
CN105827988A (en) * 2015-07-14 2016-08-03 广东维沃软件技术有限公司 Light control method and device in mobile terminal shooting
CN105657267A (en) * 2016-04-22 2016-06-08 上海斐讯数据通信技术有限公司 Light-supplementing device and method for self-photography

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108206904A (en) * 2017-12-04 2018-06-26 阿里巴巴集团控股有限公司 Image capture device, eyes image collecting device and method
CN108206904B (en) * 2017-12-04 2020-11-03 创新先进技术有限公司 Image acquisition device, eye image acquisition device and eye image acquisition method
CN110719875A (en) * 2018-06-29 2020-01-21 深圳市大疆创新科技有限公司 Night flight control method and device of aircraft, control device of aircraft and aircraft
CN112995439A (en) * 2019-12-02 2021-06-18 北京小米移动软件有限公司 Light assembly, control method and control device thereof and electronic equipment
CN111182233A (en) * 2020-01-03 2020-05-19 宁波方太厨具有限公司 Control method and system for automatic light supplement of shooting space
CN112911771A (en) * 2021-02-06 2021-06-04 北京优彩科技有限公司 Ultraviolet light supplement lamp brightness control method and mobile phone
CN114125241A (en) * 2021-11-30 2022-03-01 维沃移动通信有限公司 Shooting device, light supplementing method, light supplementing device and electronic equipment
CN116132781A (en) * 2023-04-18 2023-05-16 深圳市谨讯科技有限公司 Micro-distance light supplementing method, micro-distance light supplementing device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106210556A (en) A kind of photographic method and terminal
US7262798B2 (en) System and method for simulating fill flash in photography
CN104604215B (en) Photographic device and image capture method
CN104092953B (en) Dimming controlling method and device and equipment with camera function
CN107277388A (en) Mobile terminal and its light compensation method
CN105580348B (en) Photographic device and image capture method
Vasilescu et al. Color-accurate underwater imaging using perceptual adaptive illumination
CN104092955B (en) Flash control method and control device, image-pickup method and collecting device
CN104754203A (en) Photographing method, device and terminal
US20120154627A1 (en) Systems and methods for controlling color balance for a photographic illuminator
CN104113702B (en) Flash control method and control device, image-pickup method and harvester
CN105245863A (en) Image processing device that performs white balance control, method of controlling the same, and image pickup apparatus
TW201909619A (en) A mini thermography for enhance nir captures images
CN104092956B (en) Flash control method, flash of light control device and image capture device
Blitzer et al. Understanding forensic digital imaging
CN105577982A (en) Image processing method and terminal
CN106454290B (en) A kind of dual camera image processing system and method
CN106412416A (en) Image processing method, device and system
CN109729253A (en) A kind of algorithm and four color cameras based on the overlapping enhancing of colored and independent RGB optical imagery
CN105929957A (en) Control method, apparatus and device for intelligent glasses
CN106878607A (en) The method and electronic equipment of a kind of image generation based on electronic equipment
CN104240677B (en) A kind of electronic equipment and parameter regulation means
CN105898155A (en) Shooting method and terminal
CN206042074U (en) Terminal
CN106231193A (en) A kind of image processing method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20161207