CN109327691A - Image capturing method, device, storage medium and mobile terminal - Google Patents

Image capturing method, device, storage medium and mobile terminal Download PDF

Info

Publication number
CN109327691A
CN109327691A CN201811236736.3A CN201811236736A CN109327691A CN 109327691 A CN109327691 A CN 109327691A CN 201811236736 A CN201811236736 A CN 201811236736A CN 109327691 A CN109327691 A CN 109327691A
Authority
CN
China
Prior art keywords
color temperature
range
image
shooting
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811236736.3A
Other languages
Chinese (zh)
Other versions
CN109327691B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811236736.3A priority Critical patent/CN109327691B/en
Publication of CN109327691A publication Critical patent/CN109327691A/en
Application granted granted Critical
Publication of CN109327691B publication Critical patent/CN109327691B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

The embodiment of the present application discloses a kind of image capturing method, device, storage medium and terminal, this method comprises: if detecting that there are color temperature changes in preview screen, are continuously shot at least two picture frames;If the color temperature value of at least two picture frame belongs to different-colour section, it is determined that target range of color temperature;According to the target range of color temperature, at least two picture frame is handled, target is generated and shoots image.It can be avoided influence of the environment color temperature change to shooting color temp accuracy, improve shooting quality.

Description

Image capturing method, device, storage medium and mobile terminal
Technical field
The invention relates to technical field of mobile terminals more particularly to a kind of image capturing method, device, storage Jie Matter and mobile terminal.
Background technique
Currently, camera function has become the standard configuration of most mobile terminals, terminal user can pass through portable shifting Dynamic terminal quickly and easily realizes photographing operation.
When terminal user is taken pictures using mobile terminal, if environment colour temperature changes, the image shot will There is the problem of colour temperature inaccuracy, to influence the quality of shooting image, therefore, the image camera function of mobile terminal there is still a need for It improves.
Summary of the invention
The embodiment of the present application provides a kind of image capturing method, device, storage medium and mobile terminal, and bat can be improved Take the photograph quality.
In a first aspect, the embodiment of the present application provides a kind of image capturing method, comprising:
If detecting that there are color temperature changes in preview screen, are continuously shot at least two picture frames;
If the color temperature value of at least two picture frame belongs to different-colour section, it is determined that target range of color temperature;
According to the target range of color temperature, at least two picture frame is handled, target is generated and shoots image.
Second aspect, the embodiment of the present application provide a kind of image capturing device, comprising:
Image taking module is continuously shot at least two if there are color temperature changes in preview screen for detecting Picture frame;
Range of color temperature determining module, if the color at least two picture frames being continuously shot for described image shooting module Temperature value belongs to different-colour section, it is determined that target range of color temperature;
Image processing module, for according to the range of color temperature determining module determine target range of color temperature, to it is described extremely Few two picture frames are handled, and are generated target and are shot image.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the image capturing method as described in the embodiment of the present application when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of mobile terminal, including memory, processor and are stored in storage It can realize on device and when the computer program of processor operation, the processor execute the computer program as the application is real Apply image capturing method described in example.
The image taking scheme provided in the embodiment of the present application, firstly, if detecting that there are colour temperature changes in preview screen Change, is then continuously shot at least two picture frames;Secondly, if the color temperature value of at least two picture frame belongs to different-colour area Between, it is determined that target range of color temperature;Finally, at least two picture frame is handled according to the target range of color temperature, It generates target and shoots image.By using above-mentioned technical proposal, it is accurate to shooting color temp to can be avoided environment color temperature change The influence of degree improves shooting quality.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of image capturing method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another image capturing method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another image capturing method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another image capturing method provided by the embodiments of the present application;
Fig. 5 is a kind of structural block diagram of image capturing device provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
To further illustrate the technical scheme of the present invention below with reference to the accompanying drawings and specific embodiments.It is understood that It is that specific embodiment described herein is used only for explaining the present invention rather than limiting the invention.It further needs exist for illustrating , only the parts related to the present invention are shown for ease of description, in attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Currently, camera function has become the standard configuration of most mobile terminals, terminal user can pass through portable shifting Dynamic terminal quickly and easily realizes photographing operation.
When terminal user is taken pictures using mobile terminal, if environment colour temperature changes, the image shot will There is the problem of colour temperature inaccuracy, to influence the quality of shooting image, therefore, the image camera function of mobile terminal there is still a need for It improves.
The embodiment of the present application provides a kind of image capturing method, can connect in preview screen there are when color temperature change Continuous shooting multiple images frame determines target range of color temperature, to be carried out according to multiple images frame of the target range of color temperature to shooting Processing obtains target shooting image, and then avoids influence of the environment color temperature change to shooting color temp accuracy, improves and claps Take the photograph quality.Concrete scheme is as follows:
Fig. 1 is a kind of flow diagram of image capturing method provided by the embodiments of the present application, and this method is suitable for environment The case where being taken pictures when colour temperature changes.This method can be executed by the mobile terminal with camera function, the movement Terminal can for smart phone, tablet computer, wearable device (smartwatch or intelligent glasses) etc., this method specifically include as Lower step:
If step 101 detects that there are color temperature changes in preview screen, are continuously shot at least two picture frames.
Wherein, preview screen can be after starting shooting function, the picture of the display screen display of mobile terminal.The picture After face can be starting shooting function, camera acquires the image of display in real time.Colour temperature can be in light optics for defining One physical quantity of light source colour, each picture frame is corresponding with a color temperature value in preview screen.
Illustratively, in the embodiment of the present application, it detects to can be in preview screen with the presence or absence of color temperature change and fix eventually It holds the acquisition parameters (the shooting color temperature parameters including camera) of camera to acquire realtime graphic, obtains preview screen, work as preview When colour temperature in picture changes, explanation is not caused by the shooting color temperature change of camera, but environment colour temperature occurs Caused by variation.When whether there is color temperature change in judging preview screen, it can be each frame obtained in preview screen and draw Whether the colour temperature in face changes between the color temperature value of more each frame picture;It is also possible to not calculate the specific of each frame picture Color temperature value, but whether changed by the colour temperature between simply more each frame picture of presetting method.For example, colour temperature is not Together, the tone for influencing whether shooting image, in the case where acquisition parameters are constant, if the tone of the image in preview screen occurs Variation, then illustrate that environment colour temperature is changed.
Optionally, can be when the colour temperature in preview screen change obvious in order to improve image taking efficiency, then hold Image capturing method described in row the embodiment of the present application.If specifically, can be preview screen in detection preset time period The changing value of color temperature value is more than preset threshold, then there are color temperature changes in preview screen.Wherein, preset threshold can be according to people Eye is preset to the sensitivity of color temperature change, and size can be fixed, can also be according to photographed scene or shooting The change of mode and adjust therewith.Similar, the duration of preset time period can be pre-set fixed duration;It is also possible to Frequency real-time perfoming adjustment based on the variation of photographed scene neutral color temperature at that time, for example, when color temperature change frequency is very fast, when this is default Between section can be arranged it is relatively shorter;If color temperature change frequency is larger, which can be arranged opposite It is longer.It detects in preset time period, whether the variation of the color temperature value of preview screen is more than corresponding preset threshold at this time, if super Preset threshold is crossed, then illustrates to need to be continuously shot at least two picture frames there are color temperature change in preview screen.If being not above Preset threshold then illustrates preview interface there is no color temperature change or color temperature change is unobvious to ignore, at this time according to conventional bat The mode of taking the photograph is shot.
Optionally, detecting whether there is color temperature change in preview screen, can be the shooting function in starting mobile terminal After begin to detect in a preview screen in real time or every prefixed time interval (such as 1 second) with the presence or absence of color temperature change, and Real-time update testing result;It is also possible to trigger in terminal user's point and takes pictures (as clicked shooting button triggering, speech trigger, hand Gesture or expression triggering etc.) when, system starts to detect in preview screen with the presence or absence of color temperature change.
Illustratively, if detected in preview screen there are color temperature change, illustrate that environment colour temperature changes at this time, It can star multiframe burst mode, the multiple images frame being continuously shot under varying environment colour temperature within the time for exposure.Optionally, even Filming frequency when at least two picture frame of continuous shooting can be the sample frequency of the camera of mobile terminal configuration, be also possible to Color temperature change frequency, for example, if environment color temperature change be because road on neon light flashing caused by, can be according to neon light Flicker frequency collects the image under different-colour, and the image distribution obtained can be guaranteed in different environment colour temperatures;It can be with It is pre-set according to demand.To this application without limiting.
If the color temperature value of step 102, at least two picture frames belongs to different-colour section, it is determined that aim colour warm area Between.
Wherein, range of color temperature can be pre-set according to the corresponding effect of different-colour or function, for example, standard is clapped It can be divided according to the range of color temperature under mode are as follows: warm white class, color temperature value is within the scope of 2850K-3500K;Naturally white class, color Temperature value is within the scope of 3500K-4500K;Cool white class, color temperature value is within the scope of 4500K-10000K.Optionally, for colour temperature area Between division methods also can be adjusted according to the actual situation, can such as be arranged for different photographed scenes or screening-mode The different range of color temperature criteria for classifying.For example, daytime shoots, light source is mainly natural light (such as sunlight), at this time the criteria for classifying It can carefully be divided for the colour temperature of natural light, night scene shooting, light source is mainly artificial light (such as various light), is divided at this time Standard can carefully be divided for the colour temperature of artificial light.
Optionally, in the embodiment of the present application, judge whether the color temperature value of at least two picture frames belongs to different-colour area Between, it can be the corresponding color temperature value of each picture frame for first obtaining shooting, then judge that the color temperature value of each picture frame is corresponding again Range of color temperature, range of color temperature belonging to any two field pictures is different if it exists, then illustrates at least two picture frames obtained Color temperature value belongs to different range of color temperature.
Optionally, if divide in advance range of color temperature when, color temperature value has been carried out according to different division methods different Interval division has obtained a variety of different range of color temperature division results.Judging that the color temperature value of at least two picture frames is at this time It is no belong to different-colour section before, can be first selected and this photographed scene from a variety of different range of color temperature division results Or then a kind of corresponding range of color temperature division result of screening-mode carries out obtaining image again as the foundation of this judgement Color temperature value belongs to the judgement in which range of color temperature of the range of color temperature division result.For example, the mode of this shooting is conventional Screening-mode, can be from a variety of different range of color temperature results under selection criteria photographing mode in colour temperature division result (that is, will Colour temperature is divided into three warm white class, naturally white class and cool white class sections), then judge the color temperature value of each picture frame obtained Which section in these three range of color temperature belonged to.
Optionally, target range of color temperature can be the later period for the reference colour refer to when carrying out shooting image procossing Between warm area.In the embodiment of the present application, determine that the mode of target range of color temperature has very much, to this embodiment of the present application without limit It is fixed.It can be and select one from corresponding at least two range of color temperature of each picture frame, for example, it may be selecting corresponding shooting figure The picture more range of color temperature of color temperature value is as target range of color temperature, e.g., corresponding 6 color temperature values of warm white class range of color temperature, naturally white class Range of color temperature corresponds to 4 color temperature values, then using warm white class range of color temperature as target range of color temperature;It is also possible to each picture frame pair At least two range of color temperature answered are analyzed, and what is redefined goes out the suitable new range of color temperature of the shooting image;It can be with It is to combine photographed scene or screening-mode, the range of color temperature that the photographed scene or screening-mode are suitble to is as aim colour warm area Between.It can also be and combine photographed scene or screening-mode with corresponding at least two range of color temperature of each picture frame of acquisition, Determine target range of color temperature, for example, from corresponding at least two range of color temperature of each picture frame of acquisition, selection and current shooting Scene range of color temperature the most matched is as target range of color temperature.
Step 103, according to target range of color temperature, at least two picture frames are handled, generate target shoot image.
Wherein, target shooting image can be the shooting image shown to user ultimately generated.
Illustratively, according to target range of color temperature, at least two picture frames are handled, generate target shooting image Method has very much, and the embodiment of the present application is to this without limiting.It can be according to target range of color temperature, by at least two of shooting The colour temperature of picture frame is all adjusted to the target range of color temperature, is then carried out at fusion at least two picture frames after adjusting colour temperature Reason generates target and shoots image;It is also possible to filter out part from least two picture frame according to target range of color temperature The accurate image of color temperature value is handled, and is generated target and is shot image, while improving image processing efficiency, can also mention The high final accuracy for determining target shooting image color temperature value.Optionally, it can be and select from least two picture frames in mesh Mark the image of range of color temperature;The image in target range of color temperature selected is handled, target is generated and shoots image.
Specifically, can be the color temperature value of each picture frame at least two picture frames that will acquire respectively with target colour temperature Section is compared, and sees it whether in target range of color temperature, selects all shooting images in the target range of color temperature, Then the shooting image selected is further processed, determines accurate color temperature value, generated target and shoot image.It is optional , the quantity for the shooting image selected can be one, be also possible to multiple, can select different figures for different quantity As processing method, for example, when the amount of images for belonging to the target range of color temperature of acquisition is a width, can be to the image into After row processing after correlation (such as color-temperature regulating, denoising, sharpening) operation, generates target and shoot image;Belong to the mesh when acquisition When the amount of images for marking range of color temperature is several, it can be and image co-registration, the shooting generated are carried out to several shooting images Image optionally to it can also carry out processing after correlation operation to the image of generation after several shooting image co-registrations after, generates mesh Mark shooting image.
Optionally, it when being merged to multiple images frame, can be based on Pixel-level blending algorithm and/or feature-based fusion To treated, at least two picture frames carry out fusion treatment to algorithm, generate target and shoot image.Wherein, Pixel-level fusion is also referred to as Pixel-based fusion can be the mistake for directly image data of collected color temperature change being handled and being obtained blending image Journey.Specifically, Pixel-level blending algorithm may include spatial-domain algorithm and transform-domain algorithm etc., can wrap again in spatial-domain algorithm Include a variety of fusion rule methods, such as Logical filtering method, gray moment and comparison modulation method;It again can in transform-domain algorithm To include pyramid decomposition fusion method and Wavelet Transform etc..Being advantageous in that using Pixel-level blending algorithm can be as more as possible The detailed information gone back in original image, such as the extraction of edge, texture.It can be good at restoring content of shooting and colour temperature color The features such as coloured silk.Feature level Image Fusion can be to be extracted from colour temperature, the color character information collected in image, so These characteristic informations are analyzed, handled and are integrated afterwards to obtain fused characteristics of image.It is calculated using feature-based fusion Method is advantageous in that the accuracy of the colour temperature color of fused image greatly promotes, and feature-based fusion to image information into It has gone compression, then has been analyzed and handled with computer, consumed memory and time are relatively small, shoot the real-time of image procossing It will increase.
Image capturing method provided by the embodiments of the present application, firstly, if detected in preview screen there are color temperature change, Then it is continuously shot at least two picture frames;Secondly, if the color temperature value of at least two picture frames belongs to different-colour section, really Set the goal range of color temperature;Finally, handling according to target range of color temperature at least two picture frames, target shooting figure is generated Picture.Relative to the shooting when environment colour temperature changes in the related technology, the colour temperature error of image is big, second-rate, the application Embodiment can in preview screen there are when color temperature change, being continuously shot multiple images frame to determine target range of color temperature, so as to It is handled according to multiple images frame of the target range of color temperature to shooting, obtains target shooting image, and then avoid environment Influence of the color temperature change to shooting color temp accuracy, improves shooting quality.
Fig. 2 is the flow diagram of another image capturing method provided by the embodiments of the present application, as to above-mentioned implementation The further explanation of example, this method comprises the following steps:
If step 201 detects that there are color temperature changes in preview screen, determine color temperature change frequency.
Wherein, color temperature change frequency can be the number that the colour temperature in preview screen changes within the unit time, such as per second Variation is primary.
Illustratively, colour temperature of the present embodiment suitable for preview screen at regularity variation scene, if detection Into preview screen, there are color temperature changes, and color temperature change is regular, it is determined that the frequency of color temperature change.For example, if clapping The neon light that image is flashing is taken the photograph, the flashing of neon light is usually regularity, and the corresponding colour temperature of the neon light of different colours is not Equally, the colour temperature that the flashing of neon light will lead to preview screen changes, and the frequency of available neon light flashing is as color Warm change frequency.
Optionally, in the present embodiment, color temperature change frequency is determined and can be when obtaining preview screen with camera itself Sample frequency on the basis of estimate environment colour temperature change frequency.Specifically, can be, to judge that preview screen neutral color temperature is separated by several A picture frame variation is primary, it is known that sample frequency when camera obtains preview screen can estimate environment color temperature change frequency Rate.For example, caning be found that in preview screen that each 10 picture frame color temperature change is primary by detection, and the sampling of known camera Frequency is 10 picture frames of acquisition per second, then can determine that the change frequency of environment colour temperature is that variation per second is primary.
It should be noted that if preview screen neutral color temperature change frequency be it is unfixed, then can be by color temperature change process In, change maximum frequency as color temperature change frequency.As differ between the first colour temperature and the second colour temperature 1 second, the second colour temperature with It differs 3 seconds between third colour temperature, is differed 2 seconds between third colour temperature and the 4th colour temperature, then it is coloured in order to guarantee to take Color temperature change set of frequency can be that variation per second is primary by the corresponding image of temperature.It is also possible to obtain every two kinds of colour temperatures respectively Between sub- change frequency collection constitute color temperature change frequency set e.g. differed between the first colour temperature and the second colour temperature 1 second, the second color It differs 3 seconds, is differed 2 seconds between third colour temperature and the 4th colour temperature, then the color temperature change frequency set generated between mild third colour temperature It can be { 1,3,2 }.
Step 202, according to color temperature change frequency, be continuously shot at least two picture frames.
Illustratively, it according to color temperature change frequency, when being continuously shot at least two picture frames, can be terminal camera Sample frequency be set smaller than or be equal to color temperature change frequency, to guarantee to collect the corresponding image of each colour temperature. Optionally, when being continuously shot at least two picture frames, if shooting time is shorter, in fact it could happen that it is corresponding not shoot complete all colour temperatures Image the case where, if shooting time is longer, it is possible to the case where duplicating shooting, increasing system power dissipation.Therefore, if preview The color temperature change of picture can obtain the color temperature change period at cyclically-varying when step 201 determines color temperature change frequency, It, can be according to this filming frequency of color temperature change set of frequency, according to color temperature change week when being continuously shot at least two picture frames Phase is arranged this and is continuously shot the period, to guarantee the image got under various colour temperatures as complete as possible, and reduces repetition Shoot the number of identical colour temperature image.Wherein, the acquisition color temperature change period can be the figure of identical colour temperature in detection preview screen As the time that frame differs, as the color temperature change period.
It optionally, can be according to each in colour temperature frequency set if the color temperature change frequency that step 202 determines is frequency set Sub- change frequency is continuously shot at least two picture frames, for example, color temperature change frequency set is { 1,3,2 }, then camera shooting can be set After head is shot for the first time, the second frame is taken the photograph every 1 second beats, then take the photograph third frame every 3 second beats, finally take the photograph the 4th frame every 2 second beats again.
If the color temperature value of step 203, at least two picture frames belongs to different-colour section, it is determined that aim colour warm area Between.
Step 204, according to target range of color temperature, at least two picture frames are handled, generate target shoot image.
Image capturing method provided by the embodiments of the present application can be continuously shot at least according to the change frequency of environment colour temperature Two picture frames, and then determine target range of color temperature, the multiple images frame of shooting is handled, target shooting image is obtained, It can guarantee the various colour temperatures of at least two picture frames being continuously shot covering variation, and then improve the target shooting ultimately produced The accuracy of the colour temperature of image.
Fig. 3 is the flow diagram of another image capturing method provided by the embodiments of the present application, as to above-mentioned implementation The further explanation of example, this method comprises the following steps:
If step 301 detects that there are color temperature changes in preview screen, are continuously shot at least two picture frames.
Step 302 obtains the corresponding color temperature value of each picture frame.
Optionally, in the embodiment of the present application, the method for obtaining the corresponding color temperature value of each picture frame has very much, specifically, It can be and include: the curve simulation approximation method of black body locus, thermoisopleth intersection method and compare Furthest Neighbor etc..Optionally, in reality When border determines each picture frame corresponding color temperature value, for different types of light source, the calculating of above several calculation methods is used Precision is also different, meanwhile, in different measurement ranges, the calculating error of various algorithms is also not quite similar, and therefore, obtains each When the corresponding color temperature value of picture frame, can according under photographed scene light source type and its corresponding reference color temperature reasonably select Corresponding prediction technique is selected, the colour temperature prediction advantage of various algorithms is given full play to, to improve the colour temperature of each picture frame of acquisition The accuracy of value.
Optionally, when then calculating the color temperature value of image, if the color temperature value of different zones is different in image, for example, shooting It include LED lamplight and candle light in image, the color temperature value of two light sources is different, so as to cause LED lamplight region in image and candle light area Domain will appear different color temperature values.At this point it is possible to be also possible to using the color temperature value of large area as the color temperature value of the image The color temperature value of the image is obtained after calculating the color temperature value of different zones, for example, carrying out mean value calculation or weighted value meter It calculates, is such as that weighted value is arranged in each region by the area in each region, calculates the weight color temperature value of the image, the colour temperature as the image Value.
Illustratively, if step 301 has been continuously shot 10 picture frames, the corresponding color temperature value of 10 picture frames is calculated separately Are as follows: 2900K, 2980K, 3010K, 3011K, 3204K, 3489K, 3509K, 3653K, 3983K and 3883K.
Step 303 determines range of color temperature belonging to each color temperature value.
Illustratively, after step 302 obtains the color temperature value of each picture frame, determine that range of color temperature belonging to each color temperature value can It is that each color temperature value is compared with predetermined range of color temperature, determines each color temperature value in which predetermined colour temperature area In.For example, preset range of color temperature is divided into three classes: warm white class, color temperature value is within the scope of 2850K-3500K;Naturally white class, Its color temperature value is within the scope of 3500K-4500K;Cool white class, color temperature value is within the scope of 4500K-10000K.Respectively by step 302 Each color temperature value in the 10 of middle determination is compared with these three range of color temperature, determines the corresponding range of color temperature of each color temperature value, such as colour temperature Value 2900K, 2980K, 3010K, 3011K, 3204K and 3489K belong to warm white class range of color temperature, color temperature value 3509K, 3653K, 3983K and 3883K belongs to the white class range of color temperature of nature.
Step 304, if it is determined that range of color temperature number be at least two, then will at least two range of color temperature composition Candidate range of color temperature collection.
Wherein, candidate range of color temperature collection can be at least two range of color temperature belonging to each color temperature value and constitute.Specifically, Step 303 determines range of color temperature belonging to each color temperature value, it may be possible to an identical range of color temperature, it is also possible to be different colour temperature The corresponding different range of color temperature of each color temperature value is constituted candidate range of color temperature collection if being different range of color temperature by section.Example Such as, the range of color temperature that step 303 determines is divided into two kinds, warm white class range of color temperature and naturally white class range of color temperature, then candidate's colour temperature Just including warm white class range of color temperature and naturally white class range of color temperature in Interval Set, i.e., (2850K, 3500K), (3500K, 4500K)}。
If optional identical range of color temperature can be to true after the further subinterval division of range of color temperature progress Fixed candidate's range of color temperature collection;It is also possible to the degree for thinking that color temperature change does not reach transregional, each image that directly will acquire It is merged, generates target and shoot image, or ignore color temperature change at this time, shooting is selected from least two picture frames of acquisition The optimal image of quality shoots image as target.
Step 305, according to present filming scene, concentrated from candidate range of color temperature and determine target range of color temperature.
Optionally, it according to present filming scene, is concentrated from candidate range of color temperature and determines target range of color temperature, can be basis Present filming scene select one and photographed scene range of color temperature the most matched as target from candidate range of color temperature concentration Range of color temperature, such as the scene capture is the neon light flashed, it is generally the case that neon light belongs to warm tones, so waiting Range of color temperature concentration is selected to select warm white class range of color temperature as target range of color temperature.
Optionally, it according to present filming scene, is concentrated from candidate range of color temperature and determines target range of color temperature, it may also is that Determine the corresponding shooting atmosphere of present filming scene;According to shooting atmosphere, the corresponding reference color temperature section of shooting atmosphere is obtained;Point Each candidate range of color temperature that candidate range of color temperature is not concentrated is matched with reference color temperature section, selects the highest time of matching degree Select range of color temperature as target range of color temperature.
Wherein, shooting atmosphere can be rendered by colour temperature, and e.g., colour temperature has steady, warm gas in 3000K or less Atmosphere;Colour temperature is intermediate colour temperature between 3000K-5000K, there is frankness, easily atmosphere;Colour temperature in 5000K or more, have it is sombre, Sad atmosphere.Therefore, by determining the atmosphere of photographed scene, carry out selection target range of color temperature.
Optionally, it when determining the corresponding shooting atmosphere of present filming scene, can be the difference according to photographed scene, select Different modes determines the shooting atmosphere of the photographed scene, for example, if shooting personage, can analyze facial expression, To determine the shooting atmosphere of the photographed scene.If photographed, the type of photographed can be analyzed, to determine the bat Take the photograph the shooting atmosphere of scene.
Optionally, according to shooting atmosphere, the corresponding reference color temperature section of shooting atmosphere is obtained, it is common for can be in advance Its corresponding reference color temperature section is arranged in shooting atmosphere (such as cheerful and light-hearted, warm, sad, sombre, light).When this bat has been determined After taking the photograph atmosphere, the corresponding reference color temperature section of the shooting atmosphere is directly acquired.For example, can pre-establish common shooting atmosphere with Mapping relations between range of color temperature are stored in default storage unit, it is determined that after this shooting atmosphere, according to shooting atmosphere With the mapping relations of range of color temperature, this corresponding reference color temperature section of shooting atmosphere is obtained in default storage unit.
Optionally, each candidate range of color temperature respectively concentrated candidate range of color temperature is matched with reference color temperature section, Select the highest candidate range of color temperature of matching degree as target range of color temperature, specifically, can be the candidate range of color temperature collection of selection In the candidate range of color temperature closest with reference color temperature section as target range of color temperature, wherein candidate range of color temperature and ginseng The registration for examining range of color temperature is bigger, then matching degree is higher, for example, when candidate range of color temperature is contained in reference color temperature section, With degree highest.
Illustratively, photographed scene is the neon light of flashing, then it is warm atmosphere, warm atmosphere pair that it, which shoots atmosphere, The reference color temperature section answered is 3000K hereinafter, each range of color temperature for then concentrating candidate range of color temperature and reference color temperature section It is compared, with warm white class range of color temperature (2850K, 3500K) more closely, therefore, candidate range of color temperature is concentrated warm White class range of color temperature is as target range of color temperature.
Step 306 is handled at least two picture frames according to target range of color temperature, is generated target and is shot image.
Image capturing method provided by the embodiments of the present application, being capable of the colour temperature according to the multiple images frame being continuously shot Section and present filming scene determine target range of color temperature, handle the multiple images frame of shooting, obtain target shooting Image, can be improved target range of color temperature determine accuracy, and target range of color temperature be the key that shooting image at, Therefore, the raising of target range of color temperature accuracy also improves image taking quality.
The flow diagram of Fig. 4 another image capturing method provided by the embodiments of the present application, as to above-mentioned each implementation One preferred embodiment of example, this method are suitable for the case where shooting image light source is mixing light source.This method comprises the following steps:
If step 401 detects that there are color temperature changes in preview screen, are continuously shot at least two picture frames.
If the light source in step 402, shooting image is mixing light source, it is determined that the main light source in mixing light source.
Wherein, mixing light source can be refer to shooting the visual field in there are multiple different light sources, for example, the street at night, light Source includes: the mixing light source of moonlight, neon glow and car light etc. various light sources composition.
Since the corresponding color temperature value of different light sources is different, the color temperature value of different zones in judgement shooting image can be passed through Difference come judge shoot image in light source whether be mixing light source.For example, running over carry out a vapour at a distance during shooting Vehicle shoots the neon light including flashing in image at this time and head-on runs over the mixing light source of the car light composition of the automobile come, logical It crosses and each region colour temperature in image is analyzed it can be found that the color temperature value in most of region is in 2865K-2898K in image Between, there is the color temperature value in sub-fraction region in 4300K or more, then illustrates to shoot the light source in image for mixing light source.
Optionally, the method for determining the main light source in mixing light source has very much, and the embodiment of the present application is to this without limiting. It can be and the biggish light source of coverage area in image is determined as main light source, for example, the color temperature value in most of region exists in image Between 2865K-2898K, there is the color temperature value in sub-fraction region in 4300K or more, then can be color temperature value is 2865K- Light source between 2898K is as main light source.It can also be at least two picture frames by shooting, the color temperature regions always existed Corresponding light source is as main light source, for example, a vehicle is next from running at a distance, shooting during the neon light of shooting flashing At least two picture frames in just start just to occur later there is no the corresponding color temperature value in vehicle lamp light source region, at this point it is possible to will The corresponding neon light source of the color temperature regions always existed is as main light source.Can also be user according to self-demand, manually into The selection of row main light source, for example, it may be display shooting image, and frame selects the corresponding region of the different-colour in image, supplies User's selection, user click the region wanted as main light source, and terminal can be determined according to the user's choice in mixing light source Main light source.
Step 403, using the corresponding range of color temperature of main light source as target range of color temperature.
Wherein, different light sources has its corresponding range of color temperature, for example, the color temperature value of standard daytime running lights is on the left side 430OK Right, neon light color temperature value is in 2800K-2900K or so, the light color temperature value at cloudy day in 6800K-7000K or so etc..
Illustratively, first according to main light source using the corresponding range of color temperature of main light source as can be when target range of color temperature The color temperature value of region and pre-stored different light sources and its corresponding range of color temperature, determine the specific light of the main light source Source Type, then using the corresponding range of color temperature of the light source type as target range of color temperature, for example, most of region in image Color temperature value is between 2865K-2898K, and light source type of the color temperature value between 2800K-2900K is neon light, then obtains secondary rainbow The corresponding range of color temperature 2800K-2900K of rainbow light Source Type is as target range of color temperature.
Step 404, according to target range of color temperature, at least two picture frames are handled, generate target shoot image.
Image capturing method provided by the embodiments of the present application can determine key light when shooting image light source and being mixing light source Source is handled the multiple images frame of shooting using the range of color temperature of main light source as target range of color temperature, obtains target shooting Image can determine optimum target range of color temperature when photographic light sources are not unique, improve shooting quality.
Fig. 5 is a kind of structural block diagram of image capturing device provided by the embodiments of the present application, the device can by software and/or Hardware realization is typically integrated in the mobile terminal with camera function, can execute the bat of image described in the various embodiments described above Take the photograph method.As shown in figure 5, the device includes: image taking module 501, range of color temperature determining module 502 and image processing module 503。
Image taking module 501, if being continuously shot at least two for detecting in preview screen there are color temperature change A picture frame;
Range of color temperature determining module 502, if at least two picture frames being continuously shot for described image shooting module Color temperature value belong to different-colour section, it is determined that target range of color temperature;
Image processing module 503, the target range of color temperature for being determined according to the range of color temperature determining module, to described At least two picture frames are handled, and are generated target and are shot image.
Further, image taking module 501 is for detecting that there are color temperature changes in preview screen, comprising:
If the changing value for detecting the color temperature value of preview screen in preset time period is more than preset threshold, in preview screen There are color temperature changes.
Further, image taking module 501 is used for:
If detecting that there are color temperature changes in preview screen, determine color temperature change frequency;
According to the color temperature change frequency, it is continuously shot at least two picture frames.
Further, range of color temperature determining module 502 is used for:
Obtain the corresponding color temperature value of each picture frame;
Determine range of color temperature belonging to each color temperature value;
If it is determined that the range of color temperature number be at least two, then will at least two range of color temperature constitute candidate Range of color temperature collection;
According to present filming scene, is concentrated from the candidate range of color temperature and determine target range of color temperature.
Further, range of color temperature determining module 502 is used for according to present filming scene, from the candidate range of color temperature collection Middle determining target range of color temperature, comprising:
Determine the corresponding shooting atmosphere of present filming scene;
According to the shooting atmosphere, the corresponding reference color temperature section of the shooting atmosphere is obtained;
Each candidate range of color temperature that the candidate range of color temperature is concentrated respectively is matched with the reference color temperature section, Select the highest candidate range of color temperature of matching degree as target range of color temperature.
Further, range of color temperature determining module 502 is used for:
If shooting the light source in image is mixing light source, it is determined that the main light source in the mixing light source;
Using the corresponding range of color temperature of the main light source as target range of color temperature.
Further, image processing module 503 is used for:
The image in the target range of color temperature is selected from least two picture frame;
The image in the target range of color temperature selected is handled, target is generated and shoots image.
Image capturing device provided by the embodiments of the present application, if firstly, image taking module 501 detects preview screen In there are color temperature changes, then be continuously shot at least two picture frames;If secondly, range of color temperature determining module 502 at least two The color temperature value of picture frame belongs to different-colour section, it is determined that target range of color temperature;Finally, image processing module 503 is according to mesh Range of color temperature is marked, at least two picture frames are handled, target is generated and shoots image.Relative in the related technology in ambient color The colour temperature error of shooting when temperature changes, image is big, second-rate, and the embodiment of the present application can there are colors in preview screen Temperature variation when, be continuously shot multiple images frame and determine target range of color temperature, so as to according to the target range of color temperature to the more of shooting A picture frame is handled, and target shooting image is obtained, and then avoids environment color temperature change to shooting color temp accuracy Influence, improve shooting quality.
Method provided by the aforementioned all embodiments of the application can be performed in above-mentioned apparatus, and it is corresponding to have the execution above method Functional module and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the aforementioned all implementations of the application Method provided by example.
Fig. 6 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.As shown in fig. 6, the terminal can be with Include: shell (not shown), memory 601, central processing unit (Central Processing Unit, CPU) 602 (again Claim processor, hereinafter referred to as CPU), the computer program, the circuit that are stored on memory 601 and can be run on processor 602 Plate (not shown) and power circuit (not shown).The circuit board is placed in the space interior that the shell surrounds; The CPU602 and the memory 601 are arranged on the circuit board;The power circuit, for for each of the terminal Circuit or device power supply;The memory 601, for storing executable program code;The CPU602 described in reading by depositing The executable program code stored in reservoir 601 runs program corresponding with the executable program code.
The terminal further include: Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606, loudspeaker 611, power management chip 608, input/output (I/O) subsystem 609, touch screen 612, other input/controls Equipment 610 and outside port 604, these components are communicated by one or more communication bus or signal wire 607.
It should be understood that graphic terminal 600 is only an example of terminal, and terminal device 600 can be with With than shown in the drawings more or less component, two or more components can be combined, or can have Different component configurations.Various parts shown in the drawings can include one or more signal processings and/or dedicated integrated It is realized in the combination of hardware, software or hardware and software including circuit.
Just provided in this embodiment below to be described in detail for a kind of terminal device, the terminal device is with intelligent hand For machine.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 can It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603 Reservoir 601.
I/O subsystem 609, the I/O subsystem 609 can be by the input/output peripherals in equipment, such as touch screen 612 With other input/control devicess 610, it is connected to Peripheral Interface 603.I/O subsystem 609 may include 6091 He of display controller For controlling one or more input controllers 6092 of other input/control devicess 610.Wherein, one or more input controls Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610, Other input/control devicess 610 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.It is worth noting that input controller 6092 can with it is following any one connect: keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Wherein, according to the working principle of touch screen and transmission information medium classification, touch screen 612 can for resistance-type, Capacitor induction type, infrared-type or surface acoustic wave type.Classify according to mounting means, touch screen 612 can be with are as follows: external hanging type, built-in Formula or monoblock type.Classify according to technical principle, touch screen 612 can be with are as follows: vector pressure sensing technology touch screen, resistive technologies touching Touch screen, capacitance technology touch screen, infrared technology touch screen or surface acoustic wave technique touch screen.
Touch screen 612, the touch screen 612 are the input interface and output interface between user terminal and user, can It is shown to user depending on output, visual output may include figure, text, icon, video etc..Optionally, touch screen 612 is by user The electric signal (electric signal of such as contact surface) triggered on touch screen curtain, is sent to processor 602.
Display controller 6091 in I/O subsystem 609 receives electric signal from touch screen 612 or sends out to touch screen 612 Electric signals.Touch screen 612 detects the contact on touch screen, and the contact that display controller 6091 will test is converted to and is shown The interaction of user interface object on touch screen 612, i.e. realization human-computer interaction, the user interface being shown on touch screen 612 Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 605 is mainly used for establishing the communication of intelligent sound box Yu wireless network (i.e. network side), realizes intelligent sound box Data receiver and transmission with wireless network.Such as transmitting-receiving short message, Email etc..
Voicefrequency circuit 606 is mainly used for receiving audio data from Peripheral Interface 603, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611 is reduced to for intelligent sound box to be passed through RF circuit 605 from the received voice signal of wireless network Sound simultaneously plays the sound to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface are powered And power management.
In the present embodiment, central processing unit 602 is used for:
If detecting that there are color temperature changes in preview screen, are continuously shot at least two picture frames;
If the color temperature value of at least two picture frame belongs to different-colour section, it is determined that target range of color temperature;
According to the target range of color temperature, at least two picture frame is handled, target is generated and shoots image.
It is further, described to detect that there are color temperature changes in preview screen, comprising:
If the changing value for detecting the color temperature value of preview screen in preset time period is more than preset threshold, in preview screen There are color temperature changes.
Further, if described detect that there are color temperature changes in preview screen, are continuously shot at least two images Frame, comprising:
If detecting that there are color temperature changes in preview screen, determine color temperature change frequency;
According to the color temperature change frequency, it is continuously shot at least two picture frames.
Further, if the color temperature value of at least two picture frames belongs to different-colour section, it is determined that mesh Mark range of color temperature, comprising:
Obtain the corresponding color temperature value of each picture frame;
Determine range of color temperature belonging to each color temperature value;
If it is determined that the range of color temperature number be at least two, then will at least two range of color temperature constitute candidate Range of color temperature collection;
According to present filming scene, is concentrated from the candidate range of color temperature and determine target range of color temperature.
It is further, described to be concentrated from the candidate range of color temperature according to present filming scene and determine target range of color temperature, Include:
Determine the corresponding shooting atmosphere of present filming scene;
According to the shooting atmosphere, the corresponding reference color temperature section of the shooting atmosphere is obtained;
Each candidate range of color temperature that the candidate range of color temperature is concentrated respectively is matched with the reference color temperature section, Select the highest candidate range of color temperature of matching degree as target range of color temperature.
Further, if the color temperature value of at least two picture frame belongs to different-colour section, it is determined that aim colour Between warm area, comprising:
If shooting the light source in image is mixing light source, it is determined that the main light source in the mixing light source;
Using the corresponding range of color temperature of the main light source as target range of color temperature.
Further, described that at least two picture frame is handled according to the target range of color temperature, generate mesh Mark shooting image, comprising:
The image in the target range of color temperature is selected from least two picture frame;
The image in the target range of color temperature selected is handled, target is generated and shoots image.
The embodiment of the present application also provides a kind of storage medium comprising terminal device executable instruction, and the terminal device can It executes instruction when being executed by terminal device processor for executing a kind of image capturing method, this method comprises:
If detecting that there are color temperature changes in preview screen, are continuously shot at least two picture frames;
If the color temperature value of at least two picture frame belongs to different-colour section, it is determined that target range of color temperature;
According to the target range of color temperature, at least two picture frame is handled, target is generated and shoots image.
It is further, described to detect that there are color temperature changes in preview screen, comprising:
If the changing value for detecting the color temperature value of preview screen in preset time period is more than preset threshold, in preview screen There are color temperature changes.
Further, if described detect that there are color temperature changes in preview screen, are continuously shot at least two images Frame, comprising:
If detecting that there are color temperature changes in preview screen, determine color temperature change frequency;
According to the color temperature change frequency, it is continuously shot at least two picture frames.
Further, if the color temperature value of at least two picture frames belongs to different-colour section, it is determined that mesh Mark range of color temperature, comprising:
Obtain the corresponding color temperature value of each picture frame;
Determine range of color temperature belonging to each color temperature value;
If it is determined that the range of color temperature number be at least two, then will at least two range of color temperature constitute candidate Range of color temperature collection;
According to present filming scene, is concentrated from the candidate range of color temperature and determine target range of color temperature.
It is further, described to be concentrated from the candidate range of color temperature according to present filming scene and determine target range of color temperature, Include:
Determine the corresponding shooting atmosphere of present filming scene;
According to the shooting atmosphere, the corresponding reference color temperature section of the shooting atmosphere is obtained;
Each candidate range of color temperature that the candidate range of color temperature is concentrated respectively is matched with the reference color temperature section, Select the highest candidate range of color temperature of matching degree as target range of color temperature.
Further, if the color temperature value of at least two picture frame belongs to different-colour section, it is determined that aim colour Between warm area, comprising:
If shooting the light source in image is mixing light source, it is determined that the main light source in the mixing light source;
Using the corresponding range of color temperature of the main light source as target range of color temperature.
Further, described that at least two picture frame is handled according to the target range of color temperature, generate mesh Mark shooting image, comprising:
The image in the target range of color temperature is selected from least two picture frame;
The image in the target range of color temperature selected is handled, target is generated and shoots image.
The computer storage medium of the embodiment of the present application, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the application operation computer Program code, programming language include object oriented program language-such as Java, Smalltalk, C++, are also wrapped Include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete Ground executes on the user computer, partly executes on the user computer, executing as an independent software package, partially existing Part executes on the remote computer or executes on a remote computer or server completely on subscriber computer.It is being related to In the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or wide area Net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as utilize ISP To be connected by internet).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application Operation is recommended in the application that executable instruction is not limited to the described above, and image provided by the application any embodiment can also be performed Relevant operation in image pickup method.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation, The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. a kind of image capturing method characterized by comprising
If detecting that there are color temperature changes in preview screen, are continuously shot at least two picture frames;
If the color temperature value of at least two picture frame belongs to different-colour section, it is determined that target range of color temperature;
According to the target range of color temperature, at least two picture frame is handled, target is generated and shoots image.
2. the method according to claim 1, wherein described detect that there are color temperature change, packets in preview screen It includes:
If the changing value for detecting the color temperature value of preview screen in preset time period is more than preset threshold, exist in preview screen Color temperature change.
3. the method according to claim 1, wherein if described detect that there are colour temperature changes in preview screen Change, be then continuously shot at least two picture frames, comprising:
If detecting that there are color temperature changes in preview screen, determine color temperature change frequency;
According to the color temperature change frequency, it is continuously shot at least two picture frames.
4. if the method according to claim 1, wherein the color temperature value category of at least two picture frames In different-colour section, it is determined that target range of color temperature, comprising:
Obtain the corresponding color temperature value of each picture frame;
Determine range of color temperature belonging to each color temperature value;
If it is determined that the range of color temperature number be at least two, then will at least two range of color temperature constitute candidate colour temperature Interval Set;
According to present filming scene, is concentrated from the candidate range of color temperature and determine target range of color temperature.
5. according to the method described in claim 4, it is characterized in that, described according to present filming scene, from the candidate colour temperature Target range of color temperature is determined in Interval Set, comprising:
Determine the corresponding shooting atmosphere of present filming scene;
According to the shooting atmosphere, the corresponding reference color temperature section of the shooting atmosphere is obtained;
Each candidate range of color temperature that the candidate range of color temperature is concentrated respectively is matched with the reference color temperature section, is selected The highest candidate range of color temperature of matching degree is as target range of color temperature.
6. the method according to claim 1, wherein if the color temperature value of at least two picture frame belongs to not Same range of color temperature, it is determined that target range of color temperature, comprising:
If shooting the light source in image is mixing light source, it is determined that the main light source in the mixing light source;
Using the corresponding range of color temperature of the main light source as target range of color temperature.
7. the method according to claim 1, wherein described according to the target range of color temperature, to it is described at least Two picture frames are handled, and are generated target and are shot image, comprising:
The image in the target range of color temperature is selected from least two picture frame;
The image in the target range of color temperature selected is handled, target is generated and shoots image.
8. a kind of image capturing device characterized by comprising
Image taking module is continuously shot at least two images if there are color temperature changes in preview screen for detecting Frame;
Range of color temperature determining module, if the color temperature value at least two picture frames being continuously shot for described image shooting module Belong to different-colour section, it is determined that target range of color temperature;
Image processing module, the target range of color temperature for being determined according to the range of color temperature determining module, to described at least two A picture frame is handled, and is generated target and is shot image.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The image capturing method as described in any in claim 1-7 is realized when row.
10. a kind of mobile terminal, which is characterized in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, the processor realize figure as claimed in claim 1 when executing the computer program As image pickup method.
CN201811236736.3A 2018-10-23 2018-10-23 Image shooting method and device, storage medium and mobile terminal Active CN109327691B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811236736.3A CN109327691B (en) 2018-10-23 2018-10-23 Image shooting method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811236736.3A CN109327691B (en) 2018-10-23 2018-10-23 Image shooting method and device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN109327691A true CN109327691A (en) 2019-02-12
CN109327691B CN109327691B (en) 2021-05-04

Family

ID=65262449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811236736.3A Active CN109327691B (en) 2018-10-23 2018-10-23 Image shooting method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN109327691B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677635A (en) * 2019-10-07 2020-01-10 李明霞 Data parameter field setting system
CN112601063A (en) * 2020-12-07 2021-04-02 深圳市福日中诺电子科技有限公司 Mixed color temperature white balance method
CN112791396A (en) * 2020-12-31 2021-05-14 上海米哈游天命科技有限公司 Shot picture generation method and device, electronic equipment and storage medium
CN113029363A (en) * 2019-12-24 2021-06-25 Oppo广东移动通信有限公司 Detection method, device and equipment of mixed light source and storage medium
CN113542711A (en) * 2020-04-14 2021-10-22 青岛海信移动通信技术股份有限公司 Image display method and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338383A (en) * 2013-06-25 2013-10-02 深圳市中兴移动通信有限公司 White balance calibrating method and device
CN105208364A (en) * 2014-06-27 2015-12-30 联想(北京)有限公司 Image white balance control method, device and electronic apparatus
CN107682685A (en) * 2017-10-30 2018-02-09 广东欧珀移动通信有限公司 White balancing treatment method and device, electronic installation and computer-readable recording medium
CN107872663A (en) * 2017-12-25 2018-04-03 广东欧珀移动通信有限公司 Image processing method and device, computer-readable recording medium and computer equipment
CN107959851A (en) * 2017-12-25 2018-04-24 广东欧珀移动通信有限公司 Colour temperature detection method and device, computer-readable recording medium and computer equipment
CN108063934A (en) * 2017-12-25 2018-05-22 广东欧珀移动通信有限公司 Image processing method and device, computer readable storage medium and computer equipment
CN108111831A (en) * 2017-12-25 2018-06-01 广东欧珀移动通信有限公司 Image pickup method, imaging device, computer readable storage medium and computer equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338383A (en) * 2013-06-25 2013-10-02 深圳市中兴移动通信有限公司 White balance calibrating method and device
CN105208364A (en) * 2014-06-27 2015-12-30 联想(北京)有限公司 Image white balance control method, device and electronic apparatus
CN107682685A (en) * 2017-10-30 2018-02-09 广东欧珀移动通信有限公司 White balancing treatment method and device, electronic installation and computer-readable recording medium
CN107872663A (en) * 2017-12-25 2018-04-03 广东欧珀移动通信有限公司 Image processing method and device, computer-readable recording medium and computer equipment
CN107959851A (en) * 2017-12-25 2018-04-24 广东欧珀移动通信有限公司 Colour temperature detection method and device, computer-readable recording medium and computer equipment
CN108063934A (en) * 2017-12-25 2018-05-22 广东欧珀移动通信有限公司 Image processing method and device, computer readable storage medium and computer equipment
CN108111831A (en) * 2017-12-25 2018-06-01 广东欧珀移动通信有限公司 Image pickup method, imaging device, computer readable storage medium and computer equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677635A (en) * 2019-10-07 2020-01-10 李明霞 Data parameter field setting system
CN110677635B (en) * 2019-10-07 2020-10-30 董磊 Data parameter field setting system
CN113029363A (en) * 2019-12-24 2021-06-25 Oppo广东移动通信有限公司 Detection method, device and equipment of mixed light source and storage medium
CN113029363B (en) * 2019-12-24 2022-08-16 Oppo广东移动通信有限公司 Detection method, device and equipment of mixed light source and storage medium
CN113542711A (en) * 2020-04-14 2021-10-22 青岛海信移动通信技术股份有限公司 Image display method and terminal
CN112601063A (en) * 2020-12-07 2021-04-02 深圳市福日中诺电子科技有限公司 Mixed color temperature white balance method
CN112791396A (en) * 2020-12-31 2021-05-14 上海米哈游天命科技有限公司 Shot picture generation method and device, electronic equipment and storage medium
CN112791396B (en) * 2020-12-31 2023-05-30 上海米哈游天命科技有限公司 Shooting picture generation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109327691B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN109327691A (en) Image capturing method, device, storage medium and mobile terminal
CN108307125B (en) Image acquisition method, device and storage medium
CN105187810B (en) A kind of auto white balance method and electronic medium device based on face color character
CN109523485A (en) Image color correction method, device, storage medium and mobile terminal
CN109547701A (en) Image capturing method, device, storage medium and electronic equipment
CN109120863B (en) Shooting method, shooting device, storage medium and mobile terminal
CN108712606B (en) Reminding method, device, storage medium and mobile terminal
CN108566516A (en) Image processing method, device, storage medium and mobile terminal
CN109741279A (en) Image saturation method of adjustment, device, storage medium and terminal
CN108650457A (en) Automatic photographing method, device, storage medium and mobile terminal
CN114641982B (en) System for performing ambient light image correction
CN109729281A (en) Image processing method, device, storage medium and terminal
CN108668086A (en) Atomatic focusing method, device, storage medium and terminal
CN109167893A (en) Shoot processing method, device, storage medium and the mobile terminal of image
CN108881875A (en) Image white balancing treatment method, device, storage medium and terminal
CN111338726A (en) Display interface adjusting method and device and computer storage medium
CN109040524A (en) Artifact eliminating method, device, storage medium and terminal
CN109348206A (en) Image white balancing treatment method, device, storage medium and mobile terminal
CN109089043A (en) Shoot image pre-processing method, device, storage medium and mobile terminal
CN109218621A (en) Image processing method, device, storage medium and mobile terminal
CN108551552A (en) Image processing method, device, storage medium and mobile terminal
CN107333069A (en) A kind of proactive photographic method of bright screen light filling and mobile terminal
CN108986053A (en) Screen display method and device
CN108765380A (en) Image processing method, device, storage medium and mobile terminal
CN109120864A (en) Light filling processing method, device, storage medium 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