CN107770438A - A kind of photographic method and mobile terminal - Google Patents

A kind of photographic method and mobile terminal Download PDF

Info

Publication number
CN107770438A
CN107770438A CN201710891593.9A CN201710891593A CN107770438A CN 107770438 A CN107770438 A CN 107770438A CN 201710891593 A CN201710891593 A CN 201710891593A CN 107770438 A CN107770438 A CN 107770438A
Authority
CN
China
Prior art keywords
image
area
brightness
exposure time
mobile 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.)
Granted
Application number
CN201710891593.9A
Other languages
Chinese (zh)
Other versions
CN107770438B (en
Inventor
王康康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710891593.9A priority Critical patent/CN107770438B/en
Publication of CN107770438A publication Critical patent/CN107770438A/en
Application granted granted Critical
Publication of CN107770438B publication Critical patent/CN107770438B/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/70Circuitry for compensating brightness variation in the scene
    • 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/76Circuitry for compensating brightness variation in the scene by influencing the image signals
    • 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)
  • Image Processing (AREA)

Abstract

The invention provides a kind of photographic method and mobile terminal.Wherein, the photographic method includes:When detecting photographing instruction, control camera is according to the first shooting image of parameter acquisition first;If present filming scene meets default dark situation shooting condition, the camera is controlled according to the second shooting image of parameter acquisition second;Described first image and second image are synthesized, generate target image.Above-mentioned technical proposal, both solved due to luminance shortage under dark situation, the problem of lacking image detail in image using the first shooting parameter acquiring, solve the problems, such as to take pictures under dark situation again to obtain more monochrome informations and adjust acquisition parameters but cause image to lose in terms of other, taken pictures so as to improve under dark situation due to luminance shortage and the problem of cause the photographic quality of shooting low.

Description

A kind of photographic method and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of photographic method and mobile terminal.
Background technology
It is more next in the people that dark situation is taken pictures using mobile terminal as the function of the camera on mobile terminal is stronger and stronger It is more, for example, night take pictures the liking of always many people.But taken pictures under dark situation, because environment is dark, face take pictures it is bright Spend the problem of insufficient.In order to obtain more monochrome informations, otherwise sensitivity is improved, but the method for heightening sensitivity can allow image quality Degradation;Improve the time for exposure, but it is again easily affected by jitter if the raising time for exposure, therefore under dark situation It is difficult to the photo for taking high quality.
The content of the invention
The embodiments of the invention provide a kind of photographic method and mobile terminal, to solve to clap under dark situation in the prior art According to when due to luminance shortage cause shooting photographic quality it is low the problem of.
In order to solve the above-mentioned technical problem, the present invention is realized in:
In a first aspect, the embodiments of the invention provide a kind of photographic method, including:
When detecting photographing instruction, control camera is according to the first shooting image of parameter acquisition first;
If present filming scene meets default dark situation shooting condition, the camera is controlled to join according to the second shooting Number the second image of collection;
Described first image and second image are synthesized, generate target image;
Wherein, the brightness of second image is more than the brightness of described first image.
Second aspect, the embodiments of the invention provide a kind of mobile terminal, including:
First acquisition module, for when detecting photographing instruction, control camera is according to the first shooting parameter acquisition the One image;
Second acquisition module, for when current scene meets default dark situation shooting condition, controlling the camera According to the second shooting image of parameter acquisition second;
Processing module, for the described first image that first acquisition module gathers and second acquisition module to be adopted Second image of collection is synthesized, and generates the 3rd image;
Wherein, the brightness of second image is more than the brightness of described first image.
The third aspect, the embodiments of the invention provide a kind of mobile terminal, including processor, memory and it is stored in described On memory and the computer program that can run on the processor, the computer program is by real during the computing device Now the step of photographic method as described above.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, it is characterised in that the calculating Computer program is stored on machine readable storage medium storing program for executing, realizes when the computer program is executed by processor and takes pictures as described above The step of method.
In embodiments of the present invention, the first acquisition parameters are first passed through one the first image of frame is gathered to current scene, if currently Scene meets default dark situation shooting condition, then further according to can improve the second acquisition parameters of shooting image brightness to current Photographed scene gathers second image of frame, is then synthesized the first image and the second image, and one frame shooting image of generation is (i.e. Target image) save, by such mode, both solved due to luminance shortage under dark situation, joined using the first shooting The problem of lacking image detail in the image that number obtains, solve and taken pictures under dark situation to obtain more monochrome informations again And adjust acquisition parameters but cause image other aspects the problem of losing, so as to improve taken pictures under dark situation due to Luminance shortage and cause shooting photographic quality it is low the problem of.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 represents the flow chart of photographic method provided in an embodiment of the present invention;
Fig. 2 represents one of block diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 3 represents the two of the block diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 4 represents the three of the block diagram of mobile terminal provided in an embodiment of the present invention.
Embodiment
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 Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
A kind of one side according to the embodiment of the present invention, there is provided photographic method.
As shown in figure 1, the photographic method includes:
Step 101, when detecting photographing instruction, control camera according to first shooting the image of parameter acquisition first.
In the embodiment of the present invention, when detecting photographing instruction, first control camera according to the first acquisition parameters to current Photographed scene gathers a two field picture (i.e. the first image).
Wherein, the first acquisition parameters be normal brightness environment under (i.e. photographed scene brightness is in a predetermined luminance range, In the predetermined luminance range, human eye will not perceived brightness it is too dark or too bright) used parameter of taking pictures, or be interpreted as logical Used acquisition parameters during the good indoor shot photo of photosensitiveness.
Although the first image brightness by the first shooting parameter acquisition is relatively low, the detailed information of image is less, first Image with according to can obtain the acquisition parameters of more monochrome informations and shoot come photo compared with, stability is more preferable.
If step 102, present filming scene meet default dark situation shooting condition, control camera is according to second count Take the photograph the image of parameter acquisition second.
In the embodiment of the present invention, when detecting photographing instruction, first control camera according to the first acquisition parameters to current Photographed scene gathers first image of frame, if current scene does not meet default dark situation shooting condition, directly by the first figure As being saved as shooting photo;If current scene meets default dark situation shooting condition, then control camera according to Second acquisition parameters gather second image of frame to present filming scene.Wherein, the first image and the second image are to same The image of photographed scene collection.
Wherein, the second acquisition parameters are acquisition parameters (such as exposure compensating parameter, the pixel that can obtain more monochrome informations Synthesize processing parameter etc.), therefore, the second acquisition parameters are compared with the first acquisition parameters, the figure that is gathered under the second acquisition parameters The brightness of picture is greater than the brightness of the image gathered under the first acquisition parameters, and therefore, the brightness of the second image is more than the first figure Monochrome information in the brightness of picture, i.e. the second image is more than the monochrome information in the first image.
Wherein, for exposure compensating parameter, when the time for exposure in the parameter will be longer than the exposure in the first acquisition parameters Between, brightness better image is obtained with this, and pixel synthesis processing parameter is then used to pass through adjacent pixel cell electric charge The method of physics is superimposed as a pixel output signal, can so increase photosensitive area, improves dark place to light sensation The sensitivity answered.
Step 103, the first image and the second image synthesized, generate target image.
, also can be more bright in acquisition although the monochrome information in the second image is more abundant for the first image While spending information, other all losses of aspect to image, such as in control camera according to exposure compensating parameter acquisition the During two images, because the time for exposure extends, easily shake, so that image thickens, influence the definition of image;Again Such as when controlling camera to gather the second image according to pixel synthesis mode, due to having carried out pixel synthesis, therefore image Resolution ratio can be lost, therefore the embodiment of the present invention is synthesized the first image and the second image, is learnt from other's strong points to offset one's weaknesses, generation one Higher than the image of the first image and the second image, (i.e. the brightness of target image, the wherein target image is higher than the first figure to frame quality The brightness of picture), the image of generation is saved as shooting image.
So both solved due to luminance shortage under dark situation, and lacked image in the image using the first shooting parameter acquiring The problem of details, solve again and taken pictures under dark situation to obtain more monochrome informations and adjust acquisition parameters but cause The problem of other aspects of image are lost, so as to improve the photograph taken pictures under dark situation and cause to shoot due to luminance shortage The problem of tablet quality is low.
Further, in the embodiment of the present invention, can be sentenced by the brightness of the image of the camera collection on mobile terminal Whether disconnected current scene meets default dark situation shooting condition, and the brightness of the preview image before photographing instruction is detected such as basis Or the brightness according to the first image obtained when detecting photographing instruction, judge whether present filming scene meets default Crape ring Border shooting condition, if the brightness of preview image or the brightness of the first image are less than or equal to the first predetermined luminance value, it is determined that when Preceding photographed scene meets default dark situation shooting condition.
Wherein, according to the brightness for detecting the preview image before photographing instruction, it is pre- to judge whether present filming scene meets If dark situation shooting bar, be specially:
After detecting that camera starts, the brightness of the preview image collected is detected in real time or regularly, is taken pictures when detecting During instruction, obtain distance when detecting photographing instruction at the time of preset duration when the brightness testing result of preview image that gathers, According to the testing result, judge whether present filming scene meets default dark situation shooting condition.
Wherein, the brightness testing result for image (above-mentioned preview image or the first image) can be the average bright of image Angle value;Can also be the distribution situation of monochrome information in image, such as brightness value is less than the sum of the pixel of predetermined luminance value With the percentage of the sum of all pixels of image etc..
When testing result is the average brightness value of image, if the average brightness value of image is default less than or equal to first bright During angle value, it is determined that present filming scene meets default dark situation shooting condition;If the average brightness value of image is more than first During predetermined luminance value, it is determined that present filming scene does not meet default dark situation shooting condition.
When testing result is the distribution situation of monochrome information in image, if brightness value is bright less than or equal to default in image The percentage of the sum and the sum of all pixels of image of the pixel of angle value is more than preset value, it is determined that present filming scene meets pre- If dark situation shooting condition;If brightness is more than second more than brightness more than the pixel of the second predetermined luminance value and preset in image During the pixel of brightness value, determine that present filming scene does not meet default dark situation shooting condition.
Wherein, the first predetermined luminance value and the second predetermined luminance value are the relatively low numerical value of brightness, and specific value can be according to reality Border demand selection, the embodiment of the present invention are not limited to this.
Wherein, the mode for calculating average brightness value is particularly suitable for use in the overall dark situation of image.Calculate monochrome information Distribution situation mode be particularly suitable for use in most of region image brightness it is relatively low (or higher), but have in less region Brightness of image higher (or relatively low) situation, as shooting image in have one just in the image of shinny light source.
Further,, can also be according to setting on mobile terminals when detecting photographing instruction in the embodiment of the present invention The ambient brightness that luminance sensor detects, judges whether present filming scene meets default dark situation shooting condition.Wherein, If the ambient brightness that the luminance sensor detects is less than or equal to the 3rd predetermined luminance value, it is determined that present filming scene meets Default dark situation shooting condition;If the ambient brightness that the luminance sensor detects is more than the 3rd predetermined luminance value, it is determined that Present filming scene does not meet default dark situation shooting condition.
Wherein, can also be simultaneously bright according to the brightness of image and environment that luminance sensor detects in the embodiment of the present invention Degree, to judge whether present filming scene meets default dark situation shooting condition, so as to improve the accuracy of judgement.
Further, in the embodiment of the present invention, the second acquisition parameters include:At exposure compensating parameter and/or pixel synthesis Manage parameter.
1) in one embodiment of the invention, the second acquisition parameters include exposure compensating parameter without being synthesized including pixel Processing parameter, i.e., exposal model is exposure compensating exposal model corresponding to the second acquisition parameters.
When taking pictures by prolonging exposure time, to make image possess more monochrome informations, therefore the first acquisition parameters In exposure time be less than exposure time in the second acquisition parameters.
When the second acquisition parameters include exposure compensating parameter without synthesizing processing parameter including pixel, the embodiment of the present invention The photographic method of offer is specially:
When start mobile terminal on camera after, if receive photographing instruction (such as user triggering shutter click on thing Part), then first control camera according to the first acquisition parameters to present filming scene gather the first image, if current scene meet it is pre- If dark situation shooting condition, then control camera to be clapped according to the second shooting parameter change camera time for exposure current again Take the photograph field and gather the second longer image of an exposed frame time.
Wherein, the time for exposure is specifically lengthened to how many, can be adjusted according to current environment dynamic, for example environment is darker, then Set the time for exposure longer.Wherein, the corresponding relation of ambient brightness and exposure time can be pre-set, so as to according to ambient brightness Determine exposure time.Ambient brightness described here can be the ambient brightness determined according to the brightness of preview image, can also It is the ambient brightness determined according to the brightness of the first image, can also be the ambient brightness detected according to luminance sensor.This Outside, due to increasing the time for exposure, gain (gain) value of this two field picture can be also set to a relatively low level, to control Noise, ensures the pure of picture, and wherein gain values and the corresponding relation of exposure time can also be pre-set.
Because the time for exposure of the second image is longer, so monochrome information is more abundant, with respect to the first figure of normal exposure Some can not obtain the region of details due to owing to expose as in, also there is more specifically detailed information, and due to the second image Gain is relatively low, and noise is less, and picture is also purer.
After the first image and the second image is collected, the first image and the second image are synthesized.In synthesis, It is primarily based on the information such as edge of image in picture two field pictures are alignd, may then based on the first image, for The relatively low region of brightness in one image, is synthesized with reference to the information in the second image, so as to properly increase the first image Brightness obtains more details.
Specifically, it can first determine that brightness in the first image is less than at least one first area of the 3rd predetermined luminance value, so The image of each first area is replaced with to the image of second area corresponding with each first area in the second image respectively afterwards, The 4th image is generated, the 4th image is finally defined as the target image that the first image synthesizes with the second image to obtain.
Wherein, second area corresponding with first area in the second image position with corresponding first area in the first figure Position as in is identical.
Wherein, the 3rd predetermined luminance value described here is a relatively low numerical value of brightness, and specific value can be according to reality Demand selects.
Further, in the embodiment of the present invention, the information in the second image is reference may also be made to, removes some in the 4th image Noise information, it is specially:
(the 3rd region is except replacing with the secondth area at least one 3rd region for determining in the 4th image of above-mentioned generation Outside image in domain and brightness is higher than the region of the 3rd predetermined luminance value), determine the mesh of noise information in the 3rd region be present Region is marked, and the image of target area is synthesized with four-range image in the second image, removes noise information, and will go Except the 4th image of noise information determines target image.If noise information is not present in the image in all 3rd regions, directly Connect the 4th image and be defined as the target image that the first image synthesizes to obtain with the second image.
Wherein, the 4th region is region corresponding with target area in the second image, and the 4th region is in second figure Position of the position with corresponding target area in the 4th image is identical as in.
Further, for time for exposure longer the second image, because the time for exposure is grown, it is affected by jitter can ratio Larger, image there may be the problem of fuzzy, be then disabled for fuzzy image, therefore by the first image and second When image is synthesized, the definition of the image of second area can be first judged, if definition is poor, can give up secondth area The image in domain, without synthesis, so as to which preferably two field pictures permeate the preferable image of frame results contrast, it is specially:
The definition of the image in each second area is detected whether higher than default definition, if detecting a second area The definition of image be higher than default definition values, then the image of first area is replaced with to the image of the second area, generation 4th image.
Specifically, for same scene, the definition of image is different, and its contrast is also different, therefore can pass through judgement The contrast of image, to determine definition situation.
2) in one embodiment of the invention, the second acquisition parameters include pixel synthesis processing parameter without including exposure Compensating parameter, i.e., exposal model is that pixel synthesizes exposal model corresponding to the second acquisition parameters.
It is used as a pixel by the way that adjacent pixel cell electric charge is superimposed by the method for physics when taking pictures Output signal, increase photosensitive area, improve sensitivity of the dark place to photoinduction, so as to improve the monochrome information of the second image, because This is more than the second image according to the second shooting parameter acquisition according to the sum of all pixels of the first image of the first shooting parameter acquisition Sum of all pixels.
When the second acquisition parameters, which include pixel, synthesizes processing parameter without including exposure compensating parameter, the embodiment of the present invention The photographic method of offer is specially:
When start mobile terminal on camera after, if receive photographing instruction (such as user triggering shutter click on thing Part), then first control camera according to the first acquisition parameters to present filming scene gather the first image, if current scene meet it is pre- If dark situation shooting condition, then control camera to gather a frame pixel to current shooting field according to the second acquisition parameters again Second image of negligible amounts.A pixel is synthesized as by how many individual pixel cells, can be selected according to the actual requirements, the present invention Four pixel cells are preferably synthesized into a pixel in embodiment.
Due to using pixel synthesis mode collection the second image sum of all pixels be it is lossy (such as before be 2000 Ten thousand pixel, may there was only 500 after synthesis ten thousand), therefore before the synthesis of the first image and the second image is carried out, can be by the Two images first carry out an interpolation amplification, make the sum of all pixels of the second image identical with the sum of all pixels of the first image, Ran Houzai Carry out the synthesis of the first image and the second image.
After the first image and the second image is collected, the first image and the second image are synthesized.In synthesis, It is primarily based on the information such as edge of image in picture two field pictures are alignd, may then based on the first image, for The relatively low region of brightness in one image, is synthesized with reference to the information in the second image, so as to properly increase the first image Brightness obtains more details.
Specifically, it can first determine that brightness in the first image is less than at least one first area of the 3rd predetermined luminance value, so The image of each first area is replaced with to the image of second area corresponding with each first area in the second image respectively afterwards, The 4th image is generated, the 4th image is finally defined as the target image that the first image synthesizes with the second image to obtain.
Wherein, second area corresponding with first area in the second image position with corresponding first area in the first figure Position as in is identical.
Wherein, the 3rd predetermined luminance value described here is a relatively low numerical value of brightness, and specific value can be according to reality Demand selects.
3) in one embodiment of the invention, the second acquisition parameters include:Exposure compensating parameter and pixel synthesis processing Parameter.
When taking pictures not only by exposure compensating parameter prolonging exposure time, to make image possess more monochrome informations, Also synthesize processing parameter by pixel and adjacent pixel cell electric charge is superimposed by the method for physics and be used as a picture Plain output signal, increase photosensitive area, improve sensitivity of the dark place to photoinduction, therefore the exposure time in the first acquisition parameters It is more than root less than the exposure time in the second acquisition parameters, and according to the sum of all pixels of the first image of the first shooting parameter acquisition According to the sum of all pixels of the second image of the second shooting parameter acquisition.
When dark situation is taken pictures, the appropriate increase time for exposure can make have more detailed information in image, but expose Light overlong time can then increase probability or the generation overexposure problem that shake occurs, and therefore, in the embodiment of the present invention, exposure is mended Repay parameter and pixel synthesis processing parameter be used in combination, also can be by pixel synthesis so while the time for exposure is reduced at Parameter is managed to obtain the higher image of brightness.
When the second acquisition parameters include:When exposure compensating parameter and pixel synthesis processing parameter, the embodiment of the present invention provides Photographic method be specially:
When start mobile terminal on camera after, if receive photographing instruction (such as user triggering shutter click on thing Part), then first control camera according to the first acquisition parameters to present filming scene gather the first image, if current scene meet it is pre- If dark situation shooting condition, then according to default ambient brightness and the corresponding relation of exposure time, it is determined that with current shooting field First exposure time corresponding to the brightness of scape, if the first exposure time is less than or equal to preset duration, with the first exposure compensating Parameter (wherein, the exposure time in the first exposure compensating parameter is the first exposure time) gathers the second image;If the first exposure Duration is more than preset duration, it is determined that gathers the second image with the second exposure compensating parameter and pixel synthesis processing parameter.
After it is determined that gathering the second image with the second exposure compensating parameter and pixel synthesis processing parameter, also need according to pixel Pixel cell number and the first exposure time needed for one pixel of synthesis in processing parameter are synthesized, determines the second exposure compensating It is used for the second exposure time for gathering the second image in parameter.
For example the first brightness of image is based on, judgement needs to obtain the exposed frame time again in the images of 200~500ms second When, the probability that the interior shake of this time for exposure occurs is smaller, then directly obtains the second image by prolonging exposure time, i.e., straight The exposure time for connecing to determine gathers the second image.Time for exposure if desired has exceeded 500ms, then cuts camera Pixel synthesis mode is changed to, if being combined into a pixel output using 4 pixel cells, is then improved equivalent to sensitivity 4 times, the just obtainable brightness of 500ms time for exposure itself is needed, 125ms is now only needed, the time for exposure can be shortened, come Reduce effect of jitter.Then on the basis of camera is pixel synthesis mode, further prolonging exposure time as needed, than Such as judge one time for exposure 2s of needs image, then after camera switches to the pixel synthesis mode of 4 conjunction 1, then set one 500ms time for exposure.
Due to increasing the time for exposure in the embodiment, gain (gain) value of this image of frame second can be also set to one Individual relatively low level, to control noise, ensure the pure of picture, wherein gain values also can be advance with the corresponding relation of exposure time Set.Because the time for exposure of the second image is longer, so monochrome information is more abundant, with respect in the first image of normal exposure Some can not obtain the region of details due to owing to expose, and also have more specifically detailed information, and due to the gain of the second image Relatively low, noise is less, and picture is also purer.
Due to using pixel synthesis mode collection the second image in sum of all pixels be it is lossy (such as before be 20000000 pixel, after synthesis only 500 ten thousand), therefore before the synthesis of the first image and the second image is carried out, can be by the Two images first carry out an interpolation amplification, make the sum of all pixels in the second image identical with the sum of all pixels in the first image, so Carry out the synthesis of the first image and the second image again afterwards.
After the first image and the second image is collected, the first image and the second image are synthesized.In synthesis, It is primarily based on the information such as edge of image in picture two field pictures are alignd, may then based on the first image, for The relatively low region of brightness in one image, is synthesized with reference to the information in the second image, so as to properly increase the first image Brightness obtains more details.
Specifically, it can first determine that brightness in the first image is less than at least one first area of the 3rd predetermined luminance value, so Image in each first area is replaced with to the figure of second area corresponding with each first area in the second image respectively afterwards Picture, the 4th image is generated, the 4th image is finally defined as the target image that the first image synthesizes with the second image to obtain.
Wherein, second area corresponding with first area in the second image position with corresponding first area in the first figure Position as in is identical.
Wherein, the 3rd predetermined luminance value described here is a relatively low numerical value of brightness, and specific value can be according to reality Demand selects.
Further, in the embodiment of the present invention, the information in the second image is reference may also be made to, removes some in the 4th image Noise information, it is specially:
(the 3rd region is except replacing with the secondth area at least one 3rd region for determining in the 4th image of above-mentioned generation Outside image in domain and brightness is higher than the region of the 3rd predetermined luminance value), determine the mesh of noise information in the 3rd region be present Region is marked, and the image of target area is synthesized with four-range image in the second image, removes noise information, and will go Except the 4th image of noise information determines target image.If noise information is not present in the image in all 3rd regions, directly Connect the 4th image and be defined as the target image that the first image synthesizes to obtain with the second image.
Wherein, the 4th region is region corresponding with target area in the second image, and the 4th region is in second figure Position of the position with corresponding target area in the 4th image is identical as in.
Further, for time for exposure longer the second image, because the time for exposure is grown, it is affected by jitter can ratio Larger, image there may be the problem of fuzzy, be then disabled for fuzzy image, therefore by the first image and second When image is synthesized, the definition of the image of second area can be first judged, if definition is poor, can give up secondth area The image in domain, without synthesis, so as to which preferably two field pictures permeate the preferable image of frame results contrast, it is specially:
The definition of the image in each second area is detected whether higher than default definition, if detecting a second area The definition of image be higher than default definition values, then the image of first area is replaced with to the image of the second area, generation 4th image.
Specifically, for same scene, the definition of image is different, and its contrast is also different, therefore can pass through judgement The contrast of image, to determine definition situation.
In summary, photographic method provided in an embodiment of the present invention, the first acquisition parameters are first passed through current scene is gathered One the first image of frame, if current scene meets default dark situation shooting condition, further according to shooting image brightness can be improved The second acquisition parameters to present filming scene gather second image of frame, then the first image and the second image are closed Into one frame shooting image (i.e. target image) of generation saves, and by such mode, has both solved due to bright under dark situation Degree deficiency, using first shooting parameter acquiring image in lack image detail the problem of, solve and taken pictures under dark situation again The problem of acquisition parameters being adjusted in order to obtain more monochrome informations but causing other aspects of image to lose, so as to change The problem of being apt to take pictures under dark situation due to luminance shortage and having caused the photographic quality of shooting low.
A kind of other side according to the embodiment of the present invention, there is provided mobile terminal.
As shown in Fig. 2 the mobile terminal 200 includes:
First acquisition module 201, for when detecting photographing instruction, control camera to be according to the first shooting parameter acquisition First image.
Second acquisition module 202, for when current scene meets default dark situation shooting condition, control camera to be pressed According to the second shooting image of parameter acquisition second.
Wherein, the brightness of the second image is more than the brightness of the first image.
Processing module 203, for the first image that the first acquisition module 201 gathers and the second acquisition module 202 to be gathered The second image synthesized, generate the 3rd image.
Further, as shown in figure 3, the mobile terminal 200 also includes:
First judge module 204, for according to the brightness for detecting the preview image before photographing instruction or according to detecting The brightness of the first image obtained during photographing instruction, judges whether present filming scene meets default dark situation shooting condition.
First determining module 205, for when the brightness of preview image or the brightness of the first image be less than or equal to it is first pre- If during brightness value, determine that present filming scene meets default dark situation shooting condition.
Further, as shown in figure 3, the mobile terminal 200 also includes:
Second judge module 206, for when detecting photographing instruction, according to the luminance sensor for being arranged on mobile terminal The ambient brightness detected, judges whether present filming scene meets default dark situation shooting condition.
Second determining module 207, it is default bright that the ambient brightness for being detected when luminance sensor is less than or equal to second During angle value, determine that present filming scene meets default dark situation shooting condition.
Further, second acquisition parameters include:Exposure compensating parameter and/or pixel synthesis processing parameter.
When the second acquisition parameters include exposure compensating parameter, the exposure time in the first acquisition parameters is less than the second shooting Exposure time in parameter.
When the second acquisition parameters include pixel synthesis processing parameter, the sum of all pixels of the first image is more than the second image Sum of all pixels.
When the second acquisition parameters include exposure compensating parameter and pixel synthesis processing parameter, the exposure in the first acquisition parameters Light time length is less than the exposure time in the second acquisition parameters, and the sum of all pixels of the first image is total more than the pixel of the second image Number.
Further, as shown in figure 3, the mobile terminal 200 also includes:
3rd determining module 208, for the corresponding relation according to default ambient brightness and exposure time, it is determined that with it is current First exposure time corresponding to the brightness of photographed scene.
4th determining module 209, for when the first exposure time is less than or equal to preset duration, it is determined that with the first exposure Compensating parameter gathers the second image.
Wherein, the exposure time in the first exposure compensating parameter is the first exposure time.
5th determining module 210, for when the first exposure time is more than preset duration, it is determined that being joined with the second exposure compensating Number and pixel synthesis processing parameter gather the second image.
Further, as shown in figure 3, the mobile terminal 200 also includes:
6th determining module 211, for when the first exposure time is more than preset duration, processing parameter to be synthesized according to pixel Pixel cell number and the first exposure time needed for one pixel of middle synthesis, determine to be used to gather in the second exposure compensating parameter Second exposure time of the second image.
Further, as shown in figure 3, the processing module 202 includes:
Determining unit 2021, for determining that brightness is less than at least one firstth area of the 3rd predetermined luminance value in the first image Domain.
Generation unit 2022, for the image of first area to be replaced with corresponding with first area second in the second image The image in region, generate the 4th image.
Wherein, the second area position of position with corresponding first area in the first image in the second image is identical.
Processing unit 2023, for the 4th image to be defined as into the target figure that the first image synthesizes with the second image to obtain Picture.
Further, as shown in figure 3, the processing unit 2023 includes:
First determination subelement 20231, for determining at least one 3rd region in the 4th image.
Wherein, the 3rd region is higher than the area of predetermined luminance value in addition to the image in second area is replaced with and brightness Domain.
Second determination subelement 20232, for the target area for determining to have noise information in the 3rd region.
First processing subelement 20233, for the image of target area and four-range image in the second image to be entered Row synthesis.
Wherein, the 4th region is region corresponding with target area in the second image, and the 4th region is in the second image Position of the position with corresponding target area in the 4th image is identical.
Second processing subelement 20234, for the 4th image for removing noise information to be defined as into target image.
Further, as shown in figure 3, the generation unit 2022 includes:
Detection sub-unit 20221, for detecting whether the definition of image of each second area is higher than default definition.
Subelement 20222 is generated, for when detecting that the definition of image of second area is higher than default definition values, The image of first area is replaced with to the image of second area, generates the 4th image.
In summary, mobile terminal provided in an embodiment of the present invention, when detecting photographing instruction, first by the first collection mould Block 201 control camera install the first acquisition parameters to present filming scene gather the first image, if current scene meet it is default Dark situation shooting condition, then camera is controlled according to can improve the of shooting image brightness by the second acquisition module 201 again Two acquisition parameters gather the second image to present filming scene, are then gathered the first acquisition module 201 by processing module 202 The second image that first image gathers with the second acquisition module 202 is synthesized, generation target image (i.e. shooting image).This Sample, both solved due to luminance shortage under dark situation, and lacked asking for image detail in the image using the first shooting parameter acquiring Topic, solve again taken pictures under dark situation to obtain more monochrome informations and adjust acquisition parameters but cause image other The problem of aspect is lost, taken pictures under dark situation due to luminance shortage so as to improve and cause the photographic quality of shooting low The problem of.
Fig. 4 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention.
The mobile terminal 400 includes but is not limited to:It is radio frequency unit 401, mixed-media network modules mixed-media 402, audio output unit 403, defeated Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor The part such as 410 and power supply 411.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 4 is not formed Restriction to mobile terminal, mobile terminal can be included than illustrating more or less parts, either combine some parts or Different part arrangements.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet personal computer, notebook computer, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 410, for when detecting photographing instruction, control camera to be according to the first shooting figure of parameter acquisition first Picture;If present filming scene meets default dark situation shooting condition, the camera is controlled to be adopted according to the second acquisition parameters Collect the second image;Described first image and second image are synthesized, generate target image;Wherein, second figure The brightness of picture is more than the brightness of described first image.
So, first pass through the first acquisition parameters to current scene gather first image of frame, if current scene meet it is default Dark situation shooting condition, then present filming scene is gathered further according to the second acquisition parameters of shooting image brightness can be improved One the second image of frame, is then synthesized the first image and the second image, and one frame shooting image (i.e. target image) of generation is protected Store away, by such mode, both solved due to luminance shortage under dark situation, using the image of the first shooting parameter acquiring In the problem of lacking image detail, solve again and taken pictures under dark situation to obtain more monochrome informations and adjust shooting ginseng Number but cause image other aspects the problem of losing, take pictures due to luminance shortage and lead under dark situation so as to improve The problem of causing the photographic quality of shooting low.
It should be understood that in the embodiment of the present invention, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 410;In addition, will be up Data are sent to base station.Generally, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided the user wireless broadband internet by mixed-media network modules mixed-media 402 and accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be receiving by radio frequency unit 401 or mixed-media network modules mixed-media 402 or in memory 409 It is sound that the voice data of storage, which is converted into audio signal and exported,.Moreover, audio output unit 403 can also be provided and moved The audio output for the specific function correlation that dynamic terminal 400 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input block 404 is used to receive audio or video signal.Input block 404 can include graphics processor (Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 406.Picture frame after the processing of graphics processor 4041 can be deposited Storage is transmitted in memory 409 (or other storage mediums) or via radio frequency unit 401 or mixed-media network modules mixed-media 402.Mike Wind 4042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 401 by being converted in the case of telephone calling model.
Mobile terminal 400 also includes at least one sensor 405, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 4061, and proximity transducer can close when mobile terminal 400 is moved in one's ear Display panel 4061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, will not be repeated here.
Display unit 406 is used for the information for showing the information inputted by user or being supplied to user.Display unit 406 can wrap Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 4061.
User input unit 407 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 407 include contact panel 4071 and Other input equipments 4072.Contact panel 4071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 4071 or in contact panel 4071 Neighbouring operation).Contact panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area Manage the order that device 410 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 4071.Except contact panel 4071, user input unit 407 can also include other input equipments 4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, action bars, will not be repeated here.
Further, contact panel 4071 can be covered on display panel 4061, when contact panel 4071 is detected at it On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touch The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, contact panel 4071 and display Panel 4061 is the part independent as two to realize the input of mobile terminal and output function, but in some embodiments In, can be integrated by contact panel 4071 and display panel 4061 and realize input and the output function of mobile terminal, it is specific this Place does not limit.
Interface unit 408 is the interface that external device (ED) is connected with mobile terminal 400.For example, external device (ED) can include Line or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 408 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 400 can be used in the He of mobile terminal 400 Data are transmitted between external device (ED).
Memory 409 can be used for storage software program and various data.Memory 409 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 409 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 409, and call and be stored in storage Data in device 409, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) to all parts power supply, it is preferred that power supply 411 Can be logically contiguous by power-supply management system and processor 410, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned functional modules, will not be repeated here.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, memory 409, is stored in On memory 409 and the computer program that can be run on the processor 410, the computer program are performed by processor 410 Each process of the above-mentioned photographic method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here no longer Repeat.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each process of above-mentioned photographic method embodiment when being executed by processor, and can reach Identical technique effect, to avoid repeating, repeat no more here.Wherein, described computer-readable recording medium, deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, belong within the protection of the present invention.

Claims (20)

  1. A kind of 1. photographic method, it is characterised in that including:
    When detecting photographing instruction, control camera is according to the first shooting image of parameter acquisition first;
    If present filming scene meets default dark situation shooting condition, the camera is controlled to be adopted according to the second acquisition parameters Collect the second image;
    Described first image and second image are synthesized, generate target image;
    Wherein, the brightness of second image is more than the brightness of described first image.
  2. 2. photographic method according to claim 1, it is characterised in that in the control camera according to the second acquisition parameters Before the step of gathering the second image, the photographic method also includes:
    According to the brightness for detecting the preview image before photographing instruction or according to described first obtained when detecting photographing instruction The brightness of image, judges whether present filming scene meets default dark situation shooting condition;
    If the brightness of the preview image or the brightness of described first image are less than or equal to the first predetermined luminance value, it is determined that when Preceding photographed scene meets default dark situation shooting condition.
  3. 3. photographic method according to claim 1, it is characterised in that in the control camera according to the second acquisition parameters Before the step of gathering the second image, the photographic method also includes:
    When detecting photographing instruction, the ambient brightness that is detected according to the luminance sensor for being arranged on mobile terminal, judge to work as Whether preceding photographed scene meets default dark situation shooting condition;
    If the ambient brightness that the luminance sensor detects is less than or equal to the second predetermined luminance value, it is determined that current shooting field Shadow definer closes default dark situation shooting condition.
  4. 4. photographic method according to claim 1, it is characterised in that second acquisition parameters include:Exposure compensating is joined Number and/or pixel synthesis processing parameter;
    When second acquisition parameters include exposure compensating parameter, the exposure time in first acquisition parameters is less than described Exposure time in second acquisition parameters;
    When second acquisition parameters include pixel synthesis processing parameter, the sum of all pixels of described first image is more than described the The sum of all pixels of two images;
    When second acquisition parameters include exposure compensating parameter and pixel synthesis processing parameter, in first acquisition parameters Exposure time be less than exposure time in second acquisition parameters, and the sum of all pixels of described first image is more than described the The sum of all pixels of two images.
  5. 5. photographic method according to claim 4, it is characterised in that the control camera is adopted according to the second acquisition parameters Before the step of collecting the second image, the photographic method also includes:
    According to default ambient brightness and the corresponding relation of exposure time, it is determined that corresponding with the brightness of present filming scene first Exposure time;
    If first exposure time is less than or equal to preset duration, it is determined that with second described in the first exposure compensating parameter acquisition Image;
    If first exposure time is more than the preset duration, it is determined that is synthesized with the second exposure compensating parameter and the pixel Processing parameter gathers second image;
    Wherein, the exposure time in the first exposure compensating parameter is first exposure time.
  6. 6. photographic method according to claim 5, it is characterised in that when first exposure time be more than it is described default when When long, before the control camera is according to the step of second shooting the second image of parameter acquisition, the photographic method also wraps Include:
    When first exposure time is more than preset duration, is synthesized according to the pixel and a pixel institute is synthesized in processing parameter The pixel cell number needed and first exposure time, determine to be used to gather described second in the second exposure compensating parameter Second exposure time of image.
  7. 7. photographic method according to claim 1, it is characterised in that described by described first image and second image Synthesized, generate target image the step of, including:
    Determine that brightness is less than at least one first area of the 3rd predetermined luminance value in described first image;
    The image of the first area is replaced with to the figure of second area corresponding with the first area in second image Picture, generate the 4th image;
    4th image is defined as the target image that described first image synthesizes with second image to obtain;
    Wherein, the second area in second image position with the corresponding first area in described first image Position it is identical.
  8. 8. photographic method according to claim 7, it is characterised in that described that 4th image is defined as described first The step of image synthesizes the obtained target image with second image, including:
    Determine at least one 3rd region in the 4th image;
    Determine the target area of noise information in the 3rd region be present;
    The image of the target area and four-range image in second image are synthesized;
    The 4th image for removing noise information is defined as the target image;
    Wherein, the 3rd region is higher than the 3rd predetermined luminance in addition to the image in the second area is replaced with and brightness The region of value;4th region is region corresponding with the target area in second image, and the 4th region Position of the position with the corresponding target area in the 4th image is identical in second image.
  9. 9. photographic method according to claim 7, it is characterised in that the image by the first area replaces with Image in second image in second area corresponding with the first area, generate four images the step of, including:
    Whether the definition of the image of each second area of detection is higher than default definition;
    If detecting, the definition of the image of the second area is higher than default definition values, by the image of the first area The image of the second area is replaced with, generates the 4th image.
  10. A kind of 10. mobile terminal, it is characterised in that including:
    First acquisition module, for when detecting photographing instruction, control camera to be according to the first shooting figure of parameter acquisition first Picture;
    Second acquisition module, for when current scene meets default dark situation shooting condition, control the camera according to The second shooting image of parameter acquisition second;
    Processing module, for described first image and second acquisition module collection for gathering first acquisition module Second image is synthesized, and generates target image;
    Wherein, the brightness of second image is more than the brightness of described first image.
  11. 11. mobile terminal according to claim 10, it is characterised in that the mobile terminal also includes:
    First judge module, for according to the brightness for detecting the preview image before photographing instruction or according to detecting photographing instruction When the brightness of the first image that obtains, judge whether present filming scene meets default dark situation shooting condition;
    First determining module, for when the brightness of the preview image or the brightness of described first image be less than or equal to it is first pre- If during brightness value, determine that present filming scene meets default dark situation shooting condition.
  12. 12. mobile terminal according to claim 10, it is characterised in that the mobile terminal also includes:
    Second judge module, for when detecting photographing instruction, being detected according to the luminance sensor for being arranged on mobile terminal Ambient brightness, judge whether present filming scene meets default dark situation shooting condition;
    Second determining module, the ambient brightness for being detected when the luminance sensor are less than or equal to the second predetermined luminance value When, determine that present filming scene meets default dark situation shooting condition.
  13. 13. mobile terminal according to claim 10, it is characterised in that second acquisition parameters include:Exposure compensating Parameter and/or pixel synthesis processing parameter;
    When second acquisition parameters include exposure compensating parameter, the exposure time in first acquisition parameters is less than described Exposure time in second acquisition parameters;
    When second acquisition parameters include pixel synthesis processing parameter, the sum of all pixels of described first image is more than described the The sum of all pixels of two images;
    When second acquisition parameters include exposure compensating parameter and pixel synthesis processing parameter, in first acquisition parameters Exposure time be less than exposure time in second acquisition parameters, and the sum of all pixels of described first image is more than described the The sum of all pixels of two images.
  14. 14. mobile terminal according to claim 13, it is characterised in that the mobile terminal also includes:
    3rd determining module, for the corresponding relation according to default ambient brightness and exposure time, it is determined that with current shooting field First exposure time corresponding to the brightness of scape;
    4th determining module, for when first exposure time is less than or equal to preset duration, being mended it is determined that being exposed with first Repay the second image described in parameter acquisition;
    5th determining module, for when first exposure time is more than the preset duration, it is determined that with the second exposure compensating Parameter and pixel synthesis processing parameter gather second image;
    Wherein, the exposure time in the first exposure compensating parameter is first exposure time.
  15. 15. mobile terminal according to claim 14, it is characterised in that the mobile terminal also includes:
    6th determining module, for when first exposure time is more than preset duration, processing ginseng to be synthesized according to the pixel Pixel cell number and first exposure time needed for a pixel are synthesized in number, determines the second exposure compensating parameter In be used to gather the second exposure time of second image.
  16. 16. mobile terminal according to claim 10, it is characterised in that the processing module includes:
    Determining unit, for determining that brightness is less than at least one first area of the 3rd predetermined luminance value in described first image;
    Generation unit, it is corresponding with the first area in second image for the image of the first area to be replaced with The image of second area, generate the 4th image;
    Processing unit, for the 4th image to be defined as described in described first image synthesizes with second image to obtain Target image;
    Wherein, the second area in second image position with the corresponding first area in described first image Position it is identical.
  17. 17. mobile terminal according to claim 16, it is characterised in that the processing unit includes:
    First determination subelement, for determining at least one 3rd region in the 4th image;
    Second determination subelement, for the target area for determining to have noise information in the 3rd region;
    First processing subelement, for four-range image in the image of the target area and second image to be carried out Synthesis;
    Second processing subelement, for the 4th image for removing noise information to be defined as into the target image;
    Wherein, the 3rd region is higher than the 3rd predetermined luminance in addition to the image in the second area is replaced with and brightness The region of value;4th region is region corresponding with the target area in second image, and the 4th region Position of the position with the corresponding target area in the 4th image is identical in second image.
  18. 18. mobile terminal according to claim 16, it is characterised in that the generation unit includes:
    Detection sub-unit, for detecting whether the definition of image of each second area is higher than default definition;
    Subelement is generated, for when detecting that the definition of image of the second area is higher than default definition values, by institute The image for stating first area replaces with the image of the second area, generates the 4th image.
  19. 19. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 9 during the computing device Any one of photographic method the step of.
  20. 20. a kind of computer-readable recording medium, it is characterised in that computer journey is stored on the computer-readable recording medium Sequence, the computer program realize the step of photographic method as claimed in any one of claims 1-9 wherein when being executed by processor Suddenly.
CN201710891593.9A 2017-09-27 2017-09-27 A kind of photographic method and mobile terminal Active CN107770438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710891593.9A CN107770438B (en) 2017-09-27 2017-09-27 A kind of photographic method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710891593.9A CN107770438B (en) 2017-09-27 2017-09-27 A kind of photographic method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107770438A true CN107770438A (en) 2018-03-06
CN107770438B CN107770438B (en) 2019-11-29

Family

ID=61266649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710891593.9A Active CN107770438B (en) 2017-09-27 2017-09-27 A kind of photographic method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107770438B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419023A (en) * 2018-03-26 2018-08-17 华为技术有限公司 A kind of method and relevant device generating high dynamic range images
CN109194882A (en) * 2018-08-22 2019-01-11 Oppo广东移动通信有限公司 Image processing method, device, electronic equipment and storage medium
CN109348089A (en) * 2018-11-22 2019-02-15 Oppo广东移动通信有限公司 Night scene image processing method, device, electronic equipment and storage medium
CN109389561A (en) * 2018-09-28 2019-02-26 维沃移动通信有限公司 A kind of imaging method and device
CN110134565A (en) * 2019-04-12 2019-08-16 重庆科芮智能科技有限公司 Environment light detection method and device
CN110166703A (en) * 2018-03-27 2019-08-23 华为技术有限公司 Photographic method, camera arrangement and mobile terminal
CN110300268A (en) * 2019-07-26 2019-10-01 上海龙旗科技股份有限公司 Camera switching method and equipment
CN110958363A (en) * 2019-12-04 2020-04-03 RealMe重庆移动通信有限公司 Image processing method and device, computer readable medium and electronic device
CN110971822A (en) * 2019-11-29 2020-04-07 Oppo广东移动通信有限公司 Picture processing method and device, terminal equipment and computer readable storage medium
CN110971834A (en) * 2019-12-09 2020-04-07 维沃移动通信有限公司 Flash lamp control method and electronic equipment
WO2020077513A1 (en) * 2018-10-15 2020-04-23 Huawei Technologies Co., Ltd. Method, apparatus, program and recording medium for processing image data
CN112118394A (en) * 2020-08-27 2020-12-22 厦门亿联网络技术股份有限公司 Dim light video optimization method and device based on image fusion technology
CN112135117A (en) * 2019-06-25 2020-12-25 北京小米移动软件有限公司 Test box, system, method and device of camera module and storage medium
CN113452969A (en) * 2020-03-26 2021-09-28 华为技术有限公司 Image processing method and device
CN113706495A (en) * 2021-08-23 2021-11-26 广东奥普特科技股份有限公司 Machine vision detection system for automatically detecting lithium battery parameters on conveyor belt
CN113763354A (en) * 2021-09-07 2021-12-07 联想(北京)有限公司 Image processing method and electronic equipment
CN115129159A (en) * 2022-07-15 2022-09-30 北京字跳网络技术有限公司 Display method and device, head-mounted equipment, electronic equipment and computer medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1655591A (en) * 2005-03-31 2005-08-17 北京中星微电子有限公司 Method and apparatus for lowering image noise under low illumination
US20080219585A1 (en) * 2007-03-09 2008-09-11 Masanori Kasai Image Processing Apparatus, Image Apparatus, Image Processing Method, and Computer Program
CN103020927A (en) * 2011-07-11 2013-04-03 佳能株式会社 Image processing apparatus and image processing method
CN103118229A (en) * 2013-02-06 2013-05-22 重庆金山科技(集团)有限公司 Imaging method and imaging system
CN103795920A (en) * 2014-01-21 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Photo processing method and device
CN105635569A (en) * 2015-12-26 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Photographing method and device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1655591A (en) * 2005-03-31 2005-08-17 北京中星微电子有限公司 Method and apparatus for lowering image noise under low illumination
US20080219585A1 (en) * 2007-03-09 2008-09-11 Masanori Kasai Image Processing Apparatus, Image Apparatus, Image Processing Method, and Computer Program
CN103020927A (en) * 2011-07-11 2013-04-03 佳能株式会社 Image processing apparatus and image processing method
CN103118229A (en) * 2013-02-06 2013-05-22 重庆金山科技(集团)有限公司 Imaging method and imaging system
CN103795920A (en) * 2014-01-21 2014-05-14 宇龙计算机通信科技(深圳)有限公司 Photo processing method and device
CN105635569A (en) * 2015-12-26 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Photographing method and device and terminal

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419023A (en) * 2018-03-26 2018-08-17 华为技术有限公司 A kind of method and relevant device generating high dynamic range images
CN108419023B (en) * 2018-03-26 2020-09-08 华为技术有限公司 Method for generating high dynamic range image and related equipment
CN111314603A (en) * 2018-03-27 2020-06-19 华为技术有限公司 Photographing method, photographing device and mobile terminal
US11330194B2 (en) 2018-03-27 2022-05-10 Huawei Technologies Co., Ltd. Photographing using night shot mode processing and user interface
US11838650B2 (en) 2018-03-27 2023-12-05 Huawei Technologies Co., Ltd. Photographing using night shot mode processing and user interface
US11070743B2 (en) 2018-03-27 2021-07-20 Huawei Technologies Co., Ltd. Photographing using night shot mode processing and user interface
CN110166703A (en) * 2018-03-27 2019-08-23 华为技术有限公司 Photographic method, camera arrangement and mobile terminal
US10943341B2 (en) 2018-08-22 2021-03-09 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for image processing, electronic device and computer readable storage medium
US11532076B2 (en) 2018-08-22 2022-12-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method, electronic device and storage medium
CN109194882A (en) * 2018-08-22 2019-01-11 Oppo广东移动通信有限公司 Image processing method, device, electronic equipment and storage medium
CN109194882B (en) * 2018-08-22 2020-07-31 Oppo广东移动通信有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN109389561B (en) * 2018-09-28 2020-09-18 维沃移动通信有限公司 Imaging method and device
CN109389561A (en) * 2018-09-28 2019-02-26 维沃移动通信有限公司 A kind of imaging method and device
WO2020077513A1 (en) * 2018-10-15 2020-04-23 Huawei Technologies Co., Ltd. Method, apparatus, program and recording medium for processing image data
CN112889264A (en) * 2018-10-15 2021-06-01 华为技术有限公司 Method, apparatus, program and recording medium for processing image data
CN109348089A (en) * 2018-11-22 2019-02-15 Oppo广东移动通信有限公司 Night scene image processing method, device, electronic equipment and storage medium
CN110134565A (en) * 2019-04-12 2019-08-16 重庆科芮智能科技有限公司 Environment light detection method and device
CN112135117B (en) * 2019-06-25 2023-11-07 北京小米移动软件有限公司 Test box body, system, method and device of camera module and storage medium
CN112135117A (en) * 2019-06-25 2020-12-25 北京小米移动软件有限公司 Test box, system, method and device of camera module and storage medium
CN110300268A (en) * 2019-07-26 2019-10-01 上海龙旗科技股份有限公司 Camera switching method and equipment
CN110971822A (en) * 2019-11-29 2020-04-07 Oppo广东移动通信有限公司 Picture processing method and device, terminal equipment and computer readable storage medium
CN110958363A (en) * 2019-12-04 2020-04-03 RealMe重庆移动通信有限公司 Image processing method and device, computer readable medium and electronic device
CN110958363B (en) * 2019-12-04 2022-04-15 RealMe重庆移动通信有限公司 Image processing method and device, computer readable medium and electronic device
CN110971834A (en) * 2019-12-09 2020-04-07 维沃移动通信有限公司 Flash lamp control method and electronic equipment
CN113452969A (en) * 2020-03-26 2021-09-28 华为技术有限公司 Image processing method and device
CN112118394B (en) * 2020-08-27 2022-02-11 厦门亿联网络技术股份有限公司 Dim light video optimization method and device based on image fusion technology
CN112118394A (en) * 2020-08-27 2020-12-22 厦门亿联网络技术股份有限公司 Dim light video optimization method and device based on image fusion technology
CN113706495A (en) * 2021-08-23 2021-11-26 广东奥普特科技股份有限公司 Machine vision detection system for automatically detecting lithium battery parameters on conveyor belt
CN113763354A (en) * 2021-09-07 2021-12-07 联想(北京)有限公司 Image processing method and electronic equipment
CN115129159A (en) * 2022-07-15 2022-09-30 北京字跳网络技术有限公司 Display method and device, head-mounted equipment, electronic equipment and computer medium

Also Published As

Publication number Publication date
CN107770438B (en) 2019-11-29

Similar Documents

Publication Publication Date Title
CN107770438B (en) A kind of photographic method and mobile terminal
CN107580184B (en) A kind of image pickup method and mobile terminal
CN107707827A (en) A kind of high-dynamics image image pickup method and mobile terminal
CN107566730B (en) A kind of panoramic picture image pickup method and mobile terminal
CN107566748A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107483836B (en) A kind of image pickup method and mobile terminal
CN107809599A (en) A kind of light compensation method and device and mobile terminal
CN107566739A (en) A kind of photographic method and mobile terminal
CN107592466A (en) A kind of photographic method and mobile terminal
CN108495029A (en) A kind of photographic method and mobile terminal
CN107621738A (en) The control method and mobile terminal of a kind of mobile terminal
CN108111754A (en) A kind of method and mobile terminal of definite image acquisition modality
CN108307109A (en) A kind of high dynamic range images method for previewing and terminal device
CN110365907A (en) A kind of photographic method, device and electronic equipment
CN107820022A (en) A kind of photographic method and mobile terminal
CN107566749A (en) Image pickup method and mobile terminal
CN107846537A (en) A kind of CCD camera assembly, image acquiring method and mobile terminal
CN107948505A (en) A kind of panorama shooting method and mobile terminal
CN107895352A (en) A kind of image processing method and mobile terminal
CN107707825A (en) A kind of panorama shooting method, mobile terminal and computer-readable recording medium
CN107948498A (en) One kind eliminates camera Morie fringe method and mobile terminal
CN109819171A (en) A kind of video capture method and terminal device
CN109474787A (en) A kind of photographic method, terminal device and storage medium
CN108449541A (en) A kind of panoramic picture image pickup method and mobile terminal
CN110213484A (en) A kind of photographic method, terminal device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant