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

A kind of photographic method and mobile terminal Download PDF

Info

Publication number
CN107770438B
CN107770438B CN201710891593.9A CN201710891593A CN107770438B CN 107770438 B CN107770438 B CN 107770438B CN 201710891593 A CN201710891593 A CN 201710891593A CN 107770438 B CN107770438 B CN 107770438B
Authority
CN
China
Prior art keywords
image
area
brightness
exposure time
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710891593.9A
Other languages
Chinese (zh)
Other versions
CN107770438A (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 present invention provides a kind of photographic method and mobile terminals.Wherein, which includes: when detecting photographing instruction, and control camera is according to first shooting the first image of parameter acquisition;If present filming scene meets preset dark situation shooting condition, the camera is controlled according to second shooting the second image of parameter acquisition;The first image and second image are synthesized, target image is generated.Above-mentioned technical proposal, both it had solved due to luminance shortage under dark situation, the problem of lacking image detail in the image obtained using the first acquisition parameters, it solves the problems, such as to take pictures under dark situation again to obtain more luminance informations and adjusts acquisition parameters but image is caused to lose in terms of other, so as to improve the problem for causing the photographic quality of shooting low due to luminance shortage of taking pictures under dark situation.

Description

A kind of photographic method and mobile terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of photographic methods and mobile terminal.
Background technique
As the function of the camera on mobile terminal is stronger and stronger, the people to be taken pictures using mobile terminal in dark situation is more next It is more, for example, night take pictures the liking of always many people.But take pictures under dark situation, since environment is darker, face take pictures it is bright Spend insufficient problem.In order to obtain more luminance informations or improve sensitivity, but the method that sensitivity is turned up can allow image quality Degradation;Improve the time for exposure, but be easy again if improving the time for exposure it is affected by jitter, therefore under dark situation It is difficult to take the photo of high quality.
Summary of the invention
The embodiment of the invention provides a kind of photographic method and mobile terminals, to solve to clap under dark situation in the prior art According to when the low problem of photographic quality of shooting led to due to luminance shortage.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of photographic methods, comprising:
When detecting photographing instruction, control camera is according to first shooting the first image of parameter acquisition;
If present filming scene meets preset dark situation shooting condition, controls the camera and join according to the second shooting Number the second image of acquisition;
The first image and second image are synthesized, target image is generated;
Wherein, the brightness of second image is greater than the brightness of the first image.
Second aspect, the embodiment of the invention provides a kind of mobile terminals, comprising:
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 controlling the camera when current scene meets preset dark situation shooting condition According to second shooting the second image of parameter acquisition;
Processing module, the first image for acquiring first acquisition module are adopted with second acquisition module Second image of collection is synthesized, and third image is generated;
Wherein, the brightness of second image is greater than the brightness of the first image.
The third aspect the embodiment of the invention provides a kind of mobile terminal, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor Now the step of photographic method as described above.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, which is characterized in that the calculating Computer program is stored on machine readable storage medium storing program for executing, is realized when the computer program is executed by processor and is taken 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 acquired to current scene, if currently Scene meets preset dark situation shooting condition, then further according to can be improved shooting brightness of image the second acquisition parameters to current Photographed scene acquires second image of frame, then synthesizes the first image and the second image, generates frame shooting image (i.e. Target image) it saves, in this way, 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, and solve and taken pictures under dark situation in order to obtain more luminance informations And adjust acquisition parameters but cause image other aspects the problem of losing, so as to improve take pictures under dark situation due to Luminance shortage and the low problem of photographic quality for leading to shooting.
Detailed description of the invention
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 Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 shows the flow charts of photographic method provided in an embodiment of the present invention;
Fig. 2 indicates one of the block diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 3 indicates the two of the block diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 4 indicates the three of the block diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
One aspect according to an embodiment of the present invention provides a kind of photographic method.
As shown in Figure 1, the photographic method includes:
Step 101, when detecting photographing instruction, control camera according to first shooting the first image of parameter acquisition.
In the embodiment of the present invention, when detecting photographing instruction, camera is first controlled according to the first acquisition parameters to current Photographed scene acquires a frame image (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 when the good indoor shot photo of photosensitiveness.
Although the first image brightness by the first shooting parameter acquisition is lower, the detailed information of image is less, first Image with shot according to the acquisition parameters that can obtain more luminance informations come photo compared with, stability is more preferable.
If step 102, present filming scene meet preset dark situation shooting condition, camera is controlled according to second count Take the photograph the second image of parameter acquisition.
In the embodiment of the present invention, when detecting photographing instruction, camera is first controlled according to the first acquisition parameters to current Photographed scene acquires first image of frame, if current scene does not meet preset dark situation shooting condition, directly by the first figure As being saved as shooting photo;If current scene meets preset dark situation shooting condition, then control camera according to Second acquisition parameters acquire second image of frame to present filming scene.Wherein, the first image and the second image are to same The image of photographed scene acquisition.
Wherein, the second acquisition parameters are acquisition parameters (such as the exposure compensating parameter, pixel that can obtain more luminance informations Synthesize processing parameter etc.), therefore, the second acquisition parameters are compared with the first acquisition parameters, the figure that acquires under the second acquisition parameters The brightness of picture is greater than the brightness of the image acquired under the first acquisition parameters, and therefore, the brightness of the second image is greater than the first figure The brightness of picture, i.e. luminance information in the second image is more than the luminance 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 unit charge The method of physics is superimposed as a pixel output signal, can increase photosensitive area in this way, improves dark place to light sensation The sensitivity answered.
Step 103 synthesizes the first image and the second image, generates target image.
It, also can be more bright in acquisition although the luminance 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 When two images, since the time for exposure extends, it is easy to happen shake, so that image be made to thicken, influences the clarity of image;Again Such as when controlling camera according to pixel synthesis mode the second image of acquisition, due to having carried out pixel synthesis, image Resolution ratio can lose, therefore the embodiment of the present invention synthesizes the first image and the second image, learns from other's strong points to offset one's weaknesses, and generate one Frame quality is higher than the image of the first image and the second image, and (i.e. target image, wherein the brightness of the target image is higher than the first figure The brightness of picture), it is saved the image of generation as shooting image.
It had both been solved in the image due to luminance shortage under dark situation, obtained using the first acquisition parameters in this way and has lacked image The problem of details, and solve and taken pictures under dark situation in order to obtain more luminance informations and adjust acquisition parameters but cause The problem of other aspects of image are lost, leads to the photograph shot so as to improve being taken pictures under dark situation due to luminance shortage The low problem of tablet quality.
Further, in the embodiment of the present invention, can be sentenced by the brightness of the image of the acquisition of the camera on mobile terminal Whether disconnected current scene meets preset dark situation shooting condition, 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 preset 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 preset 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 shoot item, specifically:
After detecting camera starting, the brightness of collected preview image is detected in real time or periodically, is taken pictures when detecting When instruction, the brightness testing result of the preview image acquired when at the time of obtaining preset duration when distance detects photographing instruction, According to the testing result, judge whether present filming scene meets preset dark situation shooting condition.
Wherein, the average bright of image can be for the brightness testing result of image (above-mentioned preview image or the first image) Angle value;It is also possible to the distribution situation of luminance 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 be image average brightness value when, if the average brightness value of image be less than or equal to first preset it is bright When angle value, it is determined that present filming scene meets preset dark situation shooting condition;If the average brightness value of image is greater than first When predetermined luminance value, it is determined that present filming scene does not meet preset dark situation shooting condition.
When testing result is the distribution situation of luminance information in image, if brightness value is bright less than or equal to presetting in image The sum of the pixel of angle value is greater than preset value with the percentage of the sum of all pixels of image, it is determined that present filming scene meets pre- If dark situation shooting condition;It is preset if the pixel that brightness is greater than the second predetermined luminance value in image is greater than second more than brightness When the pixel of brightness value, determine that present filming scene does not meet preset dark situation shooting condition.
Wherein, the first predetermined luminance value and the second predetermined luminance value are the lower numerical value of brightness, and specific value can be according to reality The selection of border demand, it is not limited by the embodiments of the present invention.
Wherein, the mode for calculating average brightness value is particularly suitable for the whole darker situation of image.Calculate luminance information Distribution situation the mode image that is particularly suitable for most of region brightness it is lower (or higher), but have in less region Brightness of image higher (or lower) the case where, as shooting image in have one just in the image of shinny light source.
It 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 preset dark situation shooting condition.Wherein, If the ambient brightness that the luminance sensor detects is less than or equal to third predetermined luminance value, it is determined that present filming scene meets Preset dark situation shooting condition;If the ambient brightness that the luminance sensor detects is greater than third predetermined luminance value, it is determined that Present filming scene does not meet preset dark situation shooting condition.
Wherein, in the embodiment of the present invention, the environment that can be also detected simultaneously according to the brightness of image and luminance sensor is bright Degree, to judge whether present filming scene meets preset dark situation shooting condition, 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 including that pixel synthesizes Processing parameter, the i.e. corresponding photographing mode of the second acquisition parameters are exposure compensating photographing mode.
When taking pictures by prolonging exposure time, to make image possess more luminance informations, therefore the first acquisition parameters In exposure time be less than the exposure time in the second acquisition parameters.
When the second acquisition parameters include exposure compensating parameter without including pixel synthesis processing parameter, the embodiment of the present invention The photographic method of offer specifically:
When start mobile terminal on camera after, if receive photographing instruction (such as user triggering shutter click thing Part), then first control camera according to the first acquisition parameters to present filming scene acquire the first image, if current scene meet it is pre- If dark situation shooting condition, then control camera again according to the second shooting parameter change camera time for exposure, clap current Take the photograph field acquisition one exposed frame time longer second image.
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 It is longer that time for exposure is set.Wherein, the corresponding relationship of ambient brightness and exposure time can be preset, thus 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 be with 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 frame image can be also arranged to a lower level, to control Noise guarantees the pure of picture, and wherein the corresponding relationship of gain value and exposure time also can be preset.
Since the time for exposure of the second image is longer, so luminance information is more abundant, the first figure of opposite normal exposure , also there is more specific detailed information in some regions that details is unable to get due to deficient expose, and due to the second image as in Gain is lower, and noise is less, and picture is also purer.
After collecting the first image and the second image, 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 to be aligned two field pictures, may then based on the first image, for The lower region of brightness in one image, is synthesized with reference to the information in the second image, to properly increase the first image Brightness obtains more details.
Specifically, it can first determine that brightness in the first image is lower than at least one first area of third 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 determined as the target image that the first image is synthesized with the second image.
Wherein, and the corresponding second area in first area in the second image position with corresponding first area in the first figure Position as in is identical.
Wherein, third predetermined luminance value described here is the lower numerical value of brightness, and specific value can be according to reality Demand selection.
Further, it in the embodiment of the present invention, reference may also be made to the information in the second image, remove some in the 4th image Noise information, specifically:
(the third region is except replacing with the secondth area at least one the third region for determining in the 4th image of above-mentioned generation Outside image in domain and brightness is higher than the region of third predetermined luminance value), determine that there are the mesh of noise information in third region Region is marked, and the image of target area and the image of the fourth region in the second image are synthesized, 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 third regions, directly It connects the 4th image and is determined as the target image that the first image is synthesized with the second image.
Wherein, the fourth region is region corresponding with target area in the second image, and the fourth region is in second figure Position is identical as position of the corresponding target area in the 4th image as in.
Further, the second image longer for the time for exposure, since the time for exposure is long, meeting ratio affected by jitter Larger, image is then disabled fuzzy image there may be fuzzy problem, therefore by the first image and second When image is synthesized, the clarity of the image of second area can be first judged, if clarity is poor, can give up secondth area The image in domain, without synthesis, so that preferably two field pictures permeate the more satisfactory image of frame result, specifically:
Whether the clarity for detecting the image in each second area is higher than default clarity, if detecting a second area The clarity of image be higher than default definition values, then the image of first area is replaced with to the image of the second area, is generated 4th image.
Specifically, for the same scene, the clarity of image is different, and contrast is also different, therefore can pass through judgement The contrast of image, to determine clarity situation.
2) in one embodiment of the invention, the second acquisition parameters include pixel synthesis processing parameter without including exposure Compensating parameter, the i.e. corresponding photographing mode of the second acquisition parameters are that pixel synthesizes photographing mode.
When taking pictures by being superimposed adjacent pixel unit charge by the method for physics as a pixel Output signal increases photosensitive area, improves sensitivity of the dark place to photoinduction, so that the luminance information of the second image is improved, because This is greater 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 include that pixel synthesizes processing parameter without including exposure compensating parameter, the embodiment of the present invention The photographic method of offer specifically:
When start mobile terminal on camera after, if receive photographing instruction (such as user triggering shutter click thing Part), then first control camera according to the first acquisition parameters to present filming scene acquire the first image, if current scene meet it is pre- If dark situation shooting condition, then control camera again according to the second acquisition parameters and one frame pixel acquired to current shooting field Second image of negligible amounts.A pixel is synthesized as by how many a pixel units, can be selected according to actual needs, the present invention Four pixel units are preferably synthesized into a pixel in embodiment.
It (is 2000 before such as since the sum of all pixels of the second image using pixel synthesis mode acquisition is lossy 500 ten thousand) ten thousand pixel may only have after synthesis, therefore before carrying out the synthesis of the first image and the second image, can be by the Two images first carry out an interpolation amplification, keep the sum of all pixels of the second image identical as the sum of all pixels of the first image, then again Carry out the synthesis of the first image and the second image.
After collecting the first image and the second image, 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 to be aligned two field pictures, may then based on the first image, for The lower region of brightness in one image, is synthesized with reference to the information in the second image, to properly increase the first image Brightness obtains more details.
Specifically, it can first determine that brightness in the first image is lower than at least one first area of third 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 determined as the target image that the first image is synthesized with the second image.
Wherein, and the corresponding second area in first area in the second image position with corresponding first area in the first figure Position as in is identical.
Wherein, third predetermined luminance value described here is the lower numerical value of brightness, and specific value can be according to reality Demand selection.
3) in one embodiment of the invention, the second acquisition parameters include: exposure compensating parameter and pixel synthesis processing Parameter.
Not only pass through exposure compensating parameter prolonging exposure time when taking pictures, to make image possess more luminance informations, It also synthesizes processing parameter by pixel adjacent pixel unit charge is superimposed by the method for physics as a picture Plain output signal increases photosensitive area, improves sensitivity of the dark place to photoinduction, therefore the exposure time in the first acquisition parameters It is greater 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 increase time for exposure appropriate can make have more detailed information in image, but expose Light overlong time then will increase the probability or lead to the problem of overexposure 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, so also can be by pixel synthesis while reducing the time for exposure at Parameter is managed to obtain the higher image of brightness.
When the second acquisition parameters include: exposure compensating parameter and pixel synthesis processing parameter, the embodiment of the present invention is provided Photographic method specifically:
When start mobile terminal on camera after, if receive photographing instruction (such as user triggering shutter click thing Part), then first control camera according to the first acquisition parameters to present filming scene acquire the first image, if current scene meet it is pre- If dark situation shooting condition, then it is determining with current shooting field according to the corresponding relationship of preset ambient brightness and exposure time Corresponding first exposure time of 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) second image of acquisition;If the first exposure Duration is greater than preset duration, it is determined that acquires the second image with the second exposure compensating parameter and pixel synthesis processing parameter.
After determining with the second exposure compensating parameter and pixel synthesis processing parameter the second image of acquisition, also need according to pixel Pixel unit number and the first exposure time needed for synthesizing a pixel in processing parameter are synthesized, determines the second exposure compensating For acquiring the second exposure time of the second image in parameter.
For example it is based on the first brightness of image, judgement needs to obtain the exposed frame time again in the second image of 200~500ms When, the probability that the interior shake of this time for exposure occurs is smaller, then the second image is directly obtained by prolonging exposure time, i.e., directly It connects and the second image is acquired with the exposure time determined.Time for exposure if necessary has been more than 500ms, then cuts camera It is changed to pixel synthesis mode, if being combined into a pixel output using 4 pixel units, then sensitivity is equivalent to and improves 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 The image for such as judging one time for exposure 2s of needs after then camera is switched to 4 conjunction, 1 pixel synthesis mode, is then arranged one The time for exposure of 500ms.
Due to increasing the time for exposure in the embodiment, gain (gain) value of this second image of frame can be also arranged to one A lower level guarantees the pure of picture to control noise, and wherein the corresponding relationship of gain value and exposure time can also be preparatory Setting.Since the time for exposure of the second image is longer, so luminance information is more abundant, in the first image of opposite normal exposure , also there is more specific detailed information in some regions that details is unable to get due to deficient expose, and due to the gain of the second image Lower, noise is less, and picture is also purer.
(it is before such as since the sum of all pixels in the second image using pixel synthesis mode acquisition is lossy 20000000 pixel after synthesis only 500 ten thousand), therefore before carrying out the synthesis of the first image and the second image can be by the Two images first carry out an interpolation amplification, keep the sum of all pixels in the second image identical as 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 collecting the first image and the second image, 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 to be aligned two field pictures, may then based on the first image, for The lower region of brightness in one image, is synthesized with reference to the information in the second image, to properly increase the first image Brightness obtains more details.
Specifically, it can first determine that brightness in the first image is lower than at least one first area of third 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 generates the 4th image, the 4th image is finally determined as the target image that the first image is synthesized with the second image.
Wherein, and the corresponding second area in first area in the second image position with corresponding first area in the first figure Position as in is identical.
Wherein, third predetermined luminance value described here is the lower numerical value of brightness, and specific value can be according to reality Demand selection.
Further, it in the embodiment of the present invention, reference may also be made to the information in the second image, remove some in the 4th image Noise information, specifically:
(the third region is except replacing with the secondth area at least one the third region for determining in the 4th image of above-mentioned generation Outside image in domain and brightness is higher than the region of third predetermined luminance value), determine that there are the mesh of noise information in third region Region is marked, and the image of target area and the image of the fourth region in the second image are synthesized, 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 third regions, directly It connects the 4th image and is determined as the target image that the first image is synthesized with the second image.
Wherein, the fourth region is region corresponding with target area in the second image, and the fourth region is in second figure Position is identical as position of the corresponding target area in the 4th image as in.
Further, the second image longer for the time for exposure, since the time for exposure is long, meeting ratio affected by jitter Larger, image is then disabled fuzzy image there may be fuzzy problem, therefore by the first image and second When image is synthesized, the clarity of the image of second area can be first judged, if clarity is poor, can give up secondth area The image in domain, without synthesis, so that preferably two field pictures permeate the more satisfactory image of frame result, specifically:
Whether the clarity for detecting the image in each second area is higher than default clarity, if detecting a second area The clarity of image be higher than default definition values, then the image of first area is replaced with to the image of the second area, is generated 4th image.
Specifically, for the same scene, the clarity of image is different, and contrast is also different, therefore can pass through judgement The contrast of image, to determine clarity situation.
In conclusion photographic method provided in an embodiment of the present invention, first passes through the first acquisition parameters and acquires to current scene One the first image of frame, if current scene meets preset dark situation shooting condition, further according to can be improved shooting brightness of image The second acquisition parameters to present filming scene acquire second image of frame, then the first image and the second image are closed At generation one frame shooting image (i.e. target image) saves, and in this way, has both solved due to bright under dark situation The problem of degree is insufficient, lacks image detail in the image obtained using the first acquisition parameters, and solve and take pictures under dark situation The problem of adjusting acquisition parameters to obtain more luminance informations but other aspects of image caused to lose, to change The problem be apt to take pictures under dark situation due to luminance shortage and caused the photographic quality of shooting low.
Other side according to an embodiment of the present invention provides a kind of 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 preset dark situation shooting condition, control camera to be pressed According to second shooting the second image of parameter acquisition.
Wherein, the brightness of the second image is greater than the brightness of the first image.
Processing module 203, the first image for acquiring the first acquisition module 201 are acquired with the second acquisition module 202 The second image synthesized, generate third image.
Further, as shown in figure 3, the mobile terminal 200 further include:
First judgment 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 when photographing instruction, judges whether present filming scene meets preset dark situation shooting condition.
First determining module 205, for being less than or equal to first in advance when the brightness of preview image or the brightness of the first image If when brightness value, determining that present filming scene meets preset dark situation shooting condition.
Further, as shown in figure 3, the mobile terminal 200 further include:
Second judgment module 206, for when detecting photographing instruction, according to the luminance sensor that mobile terminal is arranged in The ambient brightness detected, judges whether present filming scene meets preset dark situation shooting condition.
Second determining module 207, the ambient brightness for detecting when luminance sensor are preset bright less than or equal to second When angle value, determine that present filming scene meets preset dark situation shooting condition.
Further, which includes: 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 greater than the second image Sum of all pixels.
Exposure when the second acquisition parameters include exposure compensating parameter and pixel synthesis processing parameter, in the first acquisition parameters Light time is long less than the exposure time in the second acquisition parameters, and the sum of all pixels of the first image is total greater than the pixel of the second image Number.
Further, as shown in figure 3, the mobile terminal 200 further include:
Third determining module 208, it is determining and current for the corresponding relationship according to preset ambient brightness and exposure time Corresponding first exposure time of the brightness of photographed scene.
4th determining module 209, for determining with the first exposure when the first exposure time is less than or equal to preset duration Compensating parameter acquires the second image.
Wherein, the exposure time in the first exposure compensating parameter is the first exposure time.
5th determining module 210, for determining with the second exposure compensating ginseng when the first exposure time is greater than preset duration Several and pixel synthesis processing parameter acquires the second image.
Further, as shown in figure 3, the mobile terminal 200 further include:
6th determining module 211, for synthesizing processing parameter according to pixel when the first exposure time is greater than preset duration Pixel unit number and the first exposure time needed for one pixel of middle synthesis determine in the second exposure compensating parameter for acquiring Second exposure time of the second image.
Further, as shown in figure 3, the processing module 202 includes:
Determination unit 2021, for determining that brightness is lower than at least one firstth area of third predetermined luminance value in the first image Domain.
Generation unit 2022, for replacing with the image of first area corresponding with first area second in the second image The image in region generates the 4th image.
Wherein, second area position in the second image is identical as position of the corresponding first area in the first image.
Processing unit 2023, for the 4th image to be determined as the target figure that the first image is synthesized with the second image Picture.
Further, as shown in figure 3, the processing unit 2023 includes:
First determines subelement 20231, for determining at least one third region in the 4th image.
Wherein, third region is the area that in addition to replacing with the image in second area and brightness is higher than predetermined luminance value Domain.
Second determines subelement 20232, and for determining, there are the target areas of noise information in third region.
First processing subelement 20233, for by the image of the fourth region in the image of target area and the second image into Row synthesis.
Wherein, the fourth region is region corresponding with target area in the second image, and the fourth region is in the second image Position is identical as position of the corresponding target area in the 4th image.
Second processing subelement 20234, the 4th image for that will remove noise information are determined as target image.
Further, as shown in figure 3, the generation unit 2022 includes:
Detection sub-unit 20221, for detecting whether the clarity of image of each second area is higher than default clarity.
Subelement 20222 is generated, for when detecting that the clarity 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 conclusion mobile terminal provided in an embodiment of the present invention, when detecting photographing instruction, first by the first acquisition mould Block 201 control camera install the first acquisition parameters to present filming scene acquire the first image, if current scene meet it is default Dark situation shooting condition, then shoot the of brightness of image according to can be improved by the second acquisition module 201 control camera again Two acquisition parameters acquire the second image to present filming scene, are then acquired the first acquisition module 201 by processing module 202 The second image that first image is acquired with the second acquisition module 202 is synthesized, and target image (i.e. shooting image) is generated.This Sample had both been solved in the image due to luminance shortage under dark situation, obtained using the first acquisition parameters and has lacked asking for image detail Topic, but solve take pictures under dark situation in order to obtain more luminance informations and adjust acquisition parameters but cause image other The problem of aspect is lost causes the photographic quality of shooting low so as to improve being taken pictures under dark situation due to luminance shortage The problem of.
A kind of hardware structural diagram of Fig. 4 mobile terminal of each embodiment to realize the present invention.
The mobile terminal 400 includes but is not limited to: radio frequency unit 401, network module 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 components such as 410 and power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 410, for when detecting photographing instruction, control camera to be according to first shooting the first figure of parameter acquisition Picture;If present filming scene meets preset dark situation shooting condition, controls the camera and adopted according to the second acquisition parameters Collect the second image;The first image and second image are synthesized, target image is generated;Wherein, second figure The brightness of picture is greater than the brightness of the first image.
In this way, first pass through the first acquisition parameters to current scene acquire first image of frame, if current scene meet it is default Dark situation shooting condition, then further according to can be improved shooting brightness of image the second acquisition parameters to present filming scene acquire One the second image of frame, then synthesizes the first image and the second image, generates frame shooting image (i.e. target image) and protects It stores away, in this way, had both solved the image due to luminance shortage under dark situation, obtained using the first acquisition parameters In the problem of lacking image detail, and solve and taken pictures under dark situation in order to obtain more luminance informations and adjust shooting ginseng The problem of counting but other aspects of image is caused to lose, leads so as to improve taking pictures under dark situation due to luminance shortage The problem for causing the photographic quality of shooting low.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink Data are sent to base station.In general, 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 provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor (Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.
Mobile terminal 400 further 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 sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of 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) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071 Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, 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 It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 4071.In addition to touch 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, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch 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 touching The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display Panel 4061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it 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 entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless 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) powered to all parts, it is preferred that power supply 411 Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410 Each process of the above-mentioned photographic method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage 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 technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, 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 be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (14)

1. a kind of photographic method characterized by comprising
When detecting photographing instruction, control camera is according to first shooting the first image of parameter acquisition;
If present filming scene meets preset dark situation shooting condition, controls the camera and adopted according to the second acquisition parameters Collect the second image;
The first image and second image are synthesized, target image is generated;
Wherein, the brightness of second image is greater than the brightness of the first image;
Wherein, 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 the first image is greater 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 the exposure time in second acquisition parameters, and the sum of all pixels of the first image is greater than described the The sum of all pixels of two images;
Wherein, before the step of control camera shoots the second image of parameter acquisition according to second, the photographic method is also Include:
According to the corresponding relationship of preset ambient brightness and exposure time, corresponding with the brightness of present filming scene first is determined Exposure time;
If first exposure time is less than or equal to preset duration, it is determined that second described in the first exposure compensating parameter acquisition Image;Wherein, the exposure time in the first exposure compensating parameter is first exposure time;
If first exposure time is greater than the preset duration, it is determined that synthesized with the second exposure compensating parameter and the pixel Processing parameter acquires second image;
Wherein, the exposure time in the first exposure compensating parameter is first exposure time, second exposure compensating Exposure time in parameter is less than first exposure time;
When first exposure time is greater than the preset duration, in the control camera according to the second shooting parameter acquisition Before the step of second image, the photographic method further include:
When first exposure time is greater than preset duration, is synthesized according to the pixel and synthesize a pixel institute in processing parameter The pixel unit number needed and first exposure time determine in the second exposure compensating parameter for acquiring described second Second exposure time of image.
2. photographic method according to claim 1, which is characterized in that in the control camera according to the second acquisition parameters Before the step of acquiring the second image, the photographic method further include:
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 preset dark situation shooting condition;
If the brightness of the 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 preset dark situation shooting condition.
3. photographic method according to claim 1, which is characterized in that in the control camera according to the second acquisition parameters Before the step of acquiring the second image, the photographic method further include:
When detecting photographing instruction, according to the ambient brightness that the luminance sensor that mobile terminal is arranged in detects, judgement is worked as Whether preceding photographed scene meets preset 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 preset dark situation shooting condition.
4. photographic method according to claim 1, which is characterized in that described by the first image and second image The step of being synthesized, generating target image, comprising:
Determine that brightness is lower than at least one first area of third predetermined luminance value in the 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 generates the 4th image;
4th image is determined as the target image that the first image is synthesized with second image;
Wherein, the second area in second image position with the corresponding first area in the first image Position it is identical.
5. photographic method according to claim 4, which is characterized in that described that 4th image is determined as described first The step of target image that image is synthesized with second image, comprising:
Determine at least one third region in the 4th image;
Determine that there are the target areas of noise information in the third region;
The image of the target area and the image of the fourth region in second image are synthesized;
The 4th image for removing noise information is determined as the target image;
Wherein, the third region is that in addition to replacing with the image in the second area and brightness is higher than third predetermined luminance The region of value;The fourth region is region corresponding with the target area in second image, and the fourth region Position is identical as position of the corresponding target area in the 4th image in second image.
6. photographic method according to claim 4, which is characterized in that the image by the first area replaces with The step of image in second image in second area corresponding with the first area, four image of generation, comprising:
Whether the clarity for detecting the image of each second area is higher than default clarity;
If detecting, the clarity 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, the 4th image is generated.
7. a kind of mobile terminal characterized by comprising
First acquisition module, for when detecting photographing instruction, control camera to be according to first shooting the first figure of parameter acquisition Picture;
Second acquisition module, for when current scene meets preset dark situation shooting condition, control the camera according to Second shooting the second image of parameter acquisition;
Processing module, what the first image and second acquisition module for acquiring first acquisition module acquired Second image is synthesized, and target image is generated;
Wherein, the brightness of second image is greater than the brightness of the first image;
Wherein, 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 the first image is greater 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 the exposure time in second acquisition parameters, and the sum of all pixels of the first image is greater than described the The sum of all pixels of two images;
Wherein, the mobile terminal further include:
Third determining module, for the corresponding relationship according to preset ambient brightness and exposure time, determining and current shooting field Corresponding first exposure time of the brightness of scape;
4th determining module, for determining and being mended with the first exposure when first exposure time is less than or equal to preset duration Repay the second image described in parameter acquisition;
5th determining module, for determining with the second exposure compensating when first exposure time is greater than the preset duration Parameter and pixel synthesis processing parameter acquire second image;
Wherein, the exposure time in the first exposure compensating parameter is first exposure time, second exposure compensating Exposure time in parameter is less than first exposure time;
The mobile terminal further include:
6th determining module, for synthesizing processing ginseng according to the pixel when first exposure time is greater than preset duration Pixel unit number and first exposure time needed for synthesizing a pixel in number, determine the second exposure compensating parameter In for acquiring the second exposure time of second image.
8. mobile terminal according to claim 7, which is characterized in that the mobile terminal further include:
First judgment 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 preset dark situation shooting condition;
First determining module, for being less than or equal to first in advance when the brightness of the preview image or the brightness of the first image If when brightness value, determining that present filming scene meets preset dark situation shooting condition.
9. mobile terminal according to claim 7, which is characterized in that the mobile terminal further include:
Second judgment module, for being detected according to the luminance sensor that mobile terminal is arranged in when detecting photographing instruction Ambient brightness, judge whether present filming scene meets preset dark situation shooting condition;
Second determining module, the ambient brightness for detecting when the luminance sensor are less than or equal to the second predetermined luminance value When, determine that present filming scene meets preset dark situation shooting condition.
10. mobile terminal according to claim 7, which is characterized in that the processing module includes:
Determination unit, for determining that brightness is lower than at least one first area of third predetermined luminance value in the first image;
Generation unit, it is corresponding with the first area in second image for replacing with the image of the first area The image of second area generates the 4th image;
Processing unit, for the 4th image to be determined as described in the first image synthesizes with second image Target image;
Wherein, the second area in second image position with the corresponding first area in the first image Position it is identical.
11. mobile terminal according to claim 10, which is characterized in that the processing unit includes:
First determines subelement, for determining at least one third region in the 4th image;
Second determines subelement, and for determining, there are the target areas of noise information in the third region;
First processing subelement, for carrying out the image of the fourth region in the image of the target area and second image Synthesis;
Second processing subelement, the 4th image for that will remove noise information are determined as the target image;
Wherein, the third region is that in addition to replacing with the image in the second area and brightness is higher than third predetermined luminance The region of value;The fourth region is region corresponding with the target area in second image, and the fourth region Position is identical as position of the corresponding target area in the 4th image in second image.
12. mobile terminal according to claim 10, which is characterized in that the generation unit includes:
Detection sub-unit, for detecting whether the clarity of image of each second area is higher than default clarity;
Subelement is generated, for when detecting that the clarity 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.
13. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is executed by the processor Any one of described in photographic method the step of.
14. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes the step such as photographic method described in any one of claims 1 to 6 when the computer program is 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 CN107770438A (en) 2018-03-06
CN107770438B true 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)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419023B (en) * 2018-03-26 2020-09-08 华为技术有限公司 Method for generating high dynamic range image and related equipment
EP4246995A3 (en) 2018-03-27 2023-10-04 Huawei Technologies Co., Ltd. Photographic method, photographic apparatus, and mobile terminal
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
JP7334880B2 (en) * 2018-10-15 2023-08-29 ホアウェイ・テクノロジーズ・カンパニー・リミテッド METHOD, APPARATUS, PROGRAM, AND RECORDING MEDIUM FOR PROCESSING IMAGE DATA
CN109348089B (en) * 2018-11-22 2020-05-22 Oppo广东移动通信有限公司 Night scene image processing method and 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
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
CN110958363B (en) * 2019-12-04 2022-04-15 RealMe重庆移动通信有限公司 Image processing method and device, computer readable medium and electronic device
CN110971834B (en) * 2019-12-09 2021-09-10 维沃移动通信有限公司 Flash lamp control method and electronic equipment
CN113452969B (en) * 2020-03-26 2023-03-24 华为技术有限公司 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
CN113706495B (en) * 2021-08-23 2022-11-22 广东奥普特科技股份有限公司 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

Citations (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4905187B2 (en) * 2007-03-09 2012-03-28 ソニー株式会社 Image processing apparatus, imaging apparatus, image processing method, and computer program

Patent Citations (5)

* 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
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

Also Published As

Publication number Publication date
CN107770438A (en) 2018-03-06

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
CN107566730B (en) A kind of panoramic picture image pickup method and mobile terminal
CN108540724A (en) A kind of image pickup method and mobile terminal
CN109660719A (en) A kind of information cuing method and mobile terminal
CN110177221A (en) The image pickup method and device of high dynamic range images
CN107483836B (en) A kind of image pickup method and mobile terminal
CN107846537B (en) A kind of CCD camera assembly, image acquiring method and mobile terminal
CN110266930A (en) Light compensation method, mobile terminal and the light adjusting method of image taking
CN107707825B (en) A kind of panorama shooting method, mobile terminal and computer readable storage medium
CN108495029A (en) A kind of photographic method and mobile terminal
CN108307109A (en) A kind of high dynamic range images method for previewing and terminal device
CN109688322A (en) A kind of method, device and mobile terminal generating high dynamic range images
CN110365907A (en) A kind of photographic method, device and electronic equipment
CN109544486A (en) A kind of image processing method and terminal device
CN109218626A (en) A kind of photographic method and terminal
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
CN109474787A (en) A kind of photographic method, terminal device and storage medium
CN109462745A (en) A kind of white balancing treatment method and mobile terminal
CN109743506A (en) A kind of image capturing method and terminal device
CN108924412A (en) A kind of image pickup method and terminal device
CN108718388A (en) A kind of photographic method and mobile terminal
CN109819168A (en) A kind of the starting method and mobile terminal of camera
CN108174081B (en) A kind of image pickup method and mobile terminal

Legal Events

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