CN105959559A - Night scene shooting method and mobile terminal - Google Patents

Night scene shooting method and mobile terminal Download PDF

Info

Publication number
CN105959559A
CN105959559A CN201610407492.5A CN201610407492A CN105959559A CN 105959559 A CN105959559 A CN 105959559A CN 201610407492 A CN201610407492 A CN 201610407492A CN 105959559 A CN105959559 A CN 105959559A
Authority
CN
China
Prior art keywords
image
pixel
registration
target
pixel value
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.)
Pending
Application number
CN201610407492.5A
Other languages
Chinese (zh)
Inventor
聂立超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201610407492.5A priority Critical patent/CN105959559A/en
Publication of CN105959559A publication Critical patent/CN105959559A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • 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/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

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

Abstract

The invention provides a night scene shooting method and a mobile terminal. The night scene shooting method is applied to the mobile terminal provided with a flashlight and a camera. The method comprises the following steps of receiving a shooting instruction of a user of the mobile terminal; controlling the camera to shoot multiple frames of images of one scene when the flashlight is in a closed state; opening the flashlight to fill the light and continuing to control the camera to shoot one frame of image of the scene to obtain a first image; and carrying out image synthesis on multiple frames of images and the first image to generate a target image. Through the night scene shooting method provided by the invention, a problem that details of the image are difficult to distinguish due to too dark scene can be solved, and the quality of the synthesized target image is improved, so that the high-quality night scene image is obtained.

Description

A kind of night scene image pickup method and mobile terminal
Technical field
The present invention relates to picture shooting technical field, particularly relate to a kind of night scene image pickup method and move eventually End.
Background technology
The words more beautiful when the night gets deeper is appropriate for the city at night, and the city of sleeplessness has Abundant color, bright-coloured light, thus night scene has shot a subject matter into photography.But night scene shoots Aspect of performance of taking pictures mobile terminal is a great challenge, at present, at night or light relatively Under conditions of An, shooting high-quality image is the problem that mobile terminal manufacturer urgently solves.
Mobile terminal is when carrying out night scene shooting at present, uses multiframe blending algorithm to shoot.The party Method is mainly the image being continuously shot multiframe Same Scene by photographic head, it is thus achieved that more image detail and Information;Then, carry out algorithm process based on the multiple image being continuously shot, image detail is merged Obtain brightness higher, the less high quality graphic of noise.
Existing this night scene photographic schemes, the quality of synthesized image depends on each frame being continuously shot The quality of image, but due to during shooting at night shooting environmental dark, captured by the image information that goes out due to environment The dark ratio lost itself is more serious, and in image, dark portion is difficult to extract details, therefore, uses multiframe figure The space that the picture quality that the image seriously lost as information finally synthesizes can promote is extremely limited, it is impossible to Shoot high-quality image.
Summary of the invention
The embodiment of the present invention provides a kind of night scene image pickup method and mobile terminal, to solve the bat of existing night scene The space that can promote because of picture quality that method of taking the photograph exists is extremely limited, and cannot shoot high-quality The problem of picture.
First aspect, embodiments provides a kind of night scene image pickup method, is applied to have flash lamp With the mobile terminal of photographic head, described night scene image pickup method includes: receive the finger of taking pictures of mobile phone users Order;Under flash lamp is closed, controls described photographic head and Same Scene is continuously shot multiframe figure Picture;Open described flash lamp and carry out light filling, continue to control described photographic head to described scene capture one frame figure Picture, obtains the first image;Described multiple image and the first image are carried out image synthesis, generates target figure Picture.
Second aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, and described mobile terminal has sudden strain of a muscle Light modulation and photographic head, described mobile terminal includes: command reception module, is used for receiving mobile phone users Photographing instruction;First taking module, under flash lamp is closed, controls described shooting Head is continuously shot multiple image to Same Scene;Second taking module, is used for opening described flash lamp and carries out Light filling, the continuation described photographic head of control, to described scene capture one two field picture, obtains the first image;Merge Module, for controlling the multiple image of photographic head shooting and described second shooting to described first taking module Module controls the first image of photographic head shooting and synthesizes, and generates target image.
So, the night scene image pickup method of embodiment of the present invention offer and mobile terminal, it is in pass at flash lamp Control photographic head under closed state and be continuously shot multiple image in Same Scene, carry out light filling opening flash lamp After continuing with this scene continue shooting one two field picture obtain the first image, by shooting whole two field pictures enter Row synthesis, generates target image.The night scene photographic schemes that the embodiment of the present invention provides, is carrying out image conjunction Add the first image during one-tenth and add flash lighting frame data, therefore, it is possible to improve owing to scene is the darkest The image detail caused is difficult to the problem differentiated, therefore can promote the quality of the target image of synthesis, thus To high-quality night scene image.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention Art means, and can being practiced according to the content of description, and in order to allow, the present invention's is above and other Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by the embodiment of the present invention In description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only It is only some embodiments of the present invention, for those of ordinary skill in the art, is not paying creativeness On the premise of laborious, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of night scene image pickup method of the embodiment of the present invention one;
Fig. 2 is the flow chart of a kind of night scene image pickup method of the embodiment of the present invention two;
Fig. 3 is the structured flowchart of a kind of mobile terminal of the embodiment of the present invention three;
Fig. 4 is the structured flowchart of the another kind of mobile terminal of the embodiment of the present invention three;
Fig. 5 is the structured flowchart of the Fusion Module of a kind of mobile terminal of embodiment three;
Fig. 6 is the structured flowchart of the first fusant module of a kind of mobile terminal of embodiment three;
Fig. 7 is the structured flowchart of the second fusant module of a kind of mobile terminal of embodiment three;
Fig. 8 is the structured flowchart that the target pixel points of a kind of mobile terminal of embodiment three determines unit;
Fig. 9 is the structured flowchart of the registration module of a kind of mobile terminal of embodiment three;
Figure 10 is the structured flowchart of the registration submodule of a kind of mobile terminal of embodiment three;
Figure 11 is the structured flowchart of a kind of mobile terminal of the embodiment of the present invention four;
Figure 12 is the structured flowchart of a kind of mobile terminal of the embodiment of the present invention five.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment be a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound The every other embodiment obtained under the property made work premise, broadly falls into the scope of protection of the invention.
Embodiment one
With reference to Fig. 1, it is shown that the flow chart of a kind of night scene image pickup method of the embodiment of the present invention one.
The night scene image pickup method of the embodiment of the present invention comprises the following steps:
Step 101: receive the photographing instruction of mobile phone users.
Owing to the present invention relates to flash lamp, need realizing equipped with on the mobile terminal of flash lamp.
When mobile phone users is taken pictures in advance, the camera transmission photographing instruction opening mobile terminal can refer to Show that mobile terminal controls photographic head and takes pictures.
Step 102: under flash lamp is closed, controls photographic head and is continuously shot Same Scene Multiple image.
Mobile terminal automatically controls photographic head and is continuously shot the image of some frames on backstage.Photographic head can Think front-facing camera, it is also possible to for post-positioned pick-up head, this is not specifically limited by the embodiment of the present invention.
The number of image frames being continuously shot can be configured according to the actual requirements by those skilled in the art, this This is not specifically limited by inventive embodiments.Such as: be arranged to 3 frames, 4 frames, 5 frames, 6 frames etc.. Owing to multiple image can shoot in moment, therefore, it can the multiple image of acquiescence shooting corresponding to same One scene.
Step 103: open flash lamp and carry out light filling, continues to control photographic head and shoots above-mentioned Same Scene One two field picture, obtains the first image.
Such as: step 102 is A scene is carried out image taking, then this step is opening flash of light When lamp carries out light filling, still control photographic head and A scene is carried out image taking, obtain the first image.
Open flash lamp and carry out light filling, it is possible to shoot the photo after a light filling highlights, synthesize at image Shi Zuowei light filling frame participates in image synthesis, generates high-quality target image.
Step 104: multiple image and the first image carry out image synthesis, generates target image.
More image detail and information compared in a two field picture can be obtained from multiple image, pass through Add the first image and can be effectively improved because scene crosses the problem that image detail that is dark and that cause is difficult to differentiate, Therefore, multiframe is closed by the embodiment of the present invention image of lower shooting, Yi Ji at flash lamp One image synthesizes, it is possible to obtain high-quality target image.
The night scene image pickup method that the embodiment of the present invention provides, is closed lower control at flash lamp and images Head is continuously shot multiple image in Same Scene, is opening after flash lamp carries out light filling continuing with this scene Continue shooting one two field picture and obtain the first image, whole two field pictures of shooting are synthesized, generates target Image.The night scene photographic schemes that the embodiment of the present invention provides, adds the first image when carrying out image synthesis I.e. add flash lighting frame data, therefore, it is possible to the image detail that improvement crosses dark cause due to scene is difficult to The problem differentiated, therefore the quality of the target image of synthesis can be promoted, thus obtain high-quality night scene figure Picture.
Embodiment two
With reference to Fig. 2, it is shown that the flow chart of a kind of night scene image pickup method of the embodiment of the present invention two.
The night scene image pickup method that the embodiment of the present invention provides specifically includes following steps:
Step 201: receive the photographing instruction of mobile phone users.
Owing to the present invention relates to flash lamp, need realizing equipped with on the mobile terminal of flash lamp.
When mobile phone users is taken pictures in advance, the camera transmission photographing instruction opening mobile terminal can refer to Show that mobile terminal controls photographic head and takes pictures.
Step 202: under flash lamp is closed, controls photographic head and is continuously shot Same Scene Multiple image.
Owing to multiple image can shoot in moment, the multiple image that therefore can give tacit consent to shooting corresponds to Same Scene.
The number of image frames being continuously shot can be configured according to the actual requirements by those skilled in the art, this This is not specifically limited by inventive embodiments.Preferably, in order to ensure target image that the later stage synthesizes Quality, control photographic head, under flash lamp is closed, is continuously shot 3 frames to 6 to Same Scene Two field picture, by photographed frame numerical control system between 3 to 6.If this is because, the frame number being continuously shot is too much By causing, bigger picture displacement is poor, the quality of the target image of impact synthesis;If the frame number being continuously shot Very few, by causing, the image detail that can collect and information are very few, corresponding synthesized target image Quality also can be impacted.
Step 203: open flash lamp and carry out light filling, continues to control photographic head and Same Scene shoots a frame Image, obtains the first image.
Flash after mobile terminal unlatching flash lamp light filling, controls photographic head and shoots for step 202 Time Same Scene, shoot the image after a current light filling highlights, as light filling frame, participate in later stage mesh The synthesis of logo image.
It should be noted that step 203 is not limited to perform after step 202, it is also possible in step Perform before rapid 202, namely first obtain the first image and turn off flash lamp, Same Scene is continuously shot Multiple image.
Step 204: multiple image and the first image are carried out image registration.
Owing to have taken multiple image, and mobile terminal inevitably has certain trembling when taking pictures Dynamic, shake and can produce certain translation or deflection, if directly will be many by causing between each two field picture shot Two field picture synthesizes, and will result in the smudgy Chu of the target image after synthesis.Therefore, image is being carried out Before synthesis, multiple image and the first image are carried out image registration, eliminate translation between each two field picture with Deflection, to guarantee that the later stage synthesizes target image clearly.
Image registration needs first to choose two field picture as benchmark image, is carried out with benchmark image by other images Relatively, obtain the relative displacement between each image and benchmark image, take the public of each image and benchmark image Part, is image registration.
Common method for registering images has edge contour matching type, intermediate value binarization method etc.;Due to this Using in the case of in bright, mainly at night, illumination is more weak, part details is difficult to differentiate between, and rim detection is calculated Method can be under some influence, and therefore, intermediate value binarization method is the method for registering images being more highly preferred to.
A kind of mode that multiple image and the first image preferably carry out image registration is as follows:
First, respectively multiple image and the first image are carried out binary conversion treatment, obtain multiframe black white image With the 3rd image.
Owing to each two field picture of shooting is corresponding to Same Scene, so for pixel a certain in image Speech, the pixel brighter than it and the pixel darker than it ratio on each two field picture are equal.So For every two field picture, intermediate value M can be determined according to the size of the pixel value of pixel each in this two field picture, By in this two field picture, the pixel value big pixel than M be designated as 1, the pixel less than M is designated as 0, Thus obtain the image after binaryzation.
Secondly, select a two field picture as benchmark image from multiframe black white image and the 3rd image.
Finally, on the basis of benchmark image, multiframe black white image and the 3rd image are carried out image registration.
On the basis of benchmark image, when multiframe black white image and the 3rd image are carried out image registration, excellent Select in the following way:
All images in addition to benchmark image in multiframe black white image and the 3rd image are defined as subject to registration Image;With benchmark image, all images subject to registration are carried out translation successively compare, determine with benchmark image The relative displacement of little difference;Relative displacement based on minimum difference, carries out coordinate translation by image subject to registration, Multiframe black white image after being registrated and the 3rd image.
It should be noted that step 204 is optional step, if being able to ensure that mobile terminal is not when shooting Shake, then each two field picture shooting out there will be no translation or deflection, it is therefore not necessary to perform figure As registration operation.
Step 205: multiple image is carried out image synthesis, generates the second image.
In this step will after registration, be closed the multiple image of lower shooting at flash lamp and close Become, generate the second image.When carrying out the synthesis of the second image, it is possible to use weighted mean method coordinates frame Between median filtering algorithm, obtain a details more, the noise few image of fall.
Multiple image is preferably carried out image synthesis by one, and the mode generating the second image is as follows:
For pixel each in multiple image, calculate the pixel of all same positions in multiple image The meansigma methods of pixel value;Meansigma methods is defined as the target pixel value of this pixel;Based on each pixel Target pixel value, synthesize the second image.
The image of the photographic head shooting noise that has in various degree produces, owing to noise randomly generates, Noise is incoherent for each pixel position, so for multiple image, identical bits After the pixel noise weighting put is average, its noise can trend towards 0.Therefore, will be each in this optimal way In two field picture, the pixel value of the pixel of same position stacks up, and then averages and i.e. can be shielded Pixel pixel value after noise.Second figure of pixel value synthesis based on each pixel after shielding noise As shielding influence of noise, therefore, image is apparent.
Step 206: the first image and the second image carry out image synthesis, generates target image.
In the embodiment of the present invention, when carrying out the synthesis of the first image and the second image, mainly with two figures In Xiang, the image parameter of each pixel is according to the target pixel value determining each pixel, finally according to each picture The target pixel value synthesis target image of vegetarian refreshments.Image parameter at least includes contrast, saturation and exposure One or more in luminosity.
Contrast is the ratio of picture B&W, namely the gradual change level from black to white.Contrast is relative Bigger image color performance degree is the best, and Comparatively speaking, it is inadequate that the image that contrast is less then shows Clearly, the display of image is had very great help by the feature of high-contrast.The details of image can be embodied in contrast On degree, two width images under different exposures, as because of the impact of under-exposure defect so that under-exposed Local image information contrast is big not as exposing sufficient image information contrast, therefore on details embodies, Contrast is a key factor carrying out needing to refer to during image synthesis.
Saturation is the purity of color, in primaries pattern, saturation can quantification, saturation pair The impact of picture quality is embodied on color, image color vividness be one of prominent image detail important Factor, therefore on details embodies, contrast is a key factor carrying out needing to refer to during image synthesis.
Exposure is to be introduced into according to human-eye visual characteristic and the spatial frequency characteristic of image.Exposure The distribution of its pixel of image of appropriateness is more average, and pixel span is distributed more widely, and at overexposure Light or under exposed in the case of, pixel can extreme point distribution more, should be avoided this in fused image The generation of class situation, accomplishes the average effect of pixel to greatest extent, and therefore, exposure is also one Carry out the key factor needed to refer to during image synthesis.
First image and the second image are preferably carried out image synthesis by one, generate the mode of target image As follows:
The first, the image parameter of each pixel in the first image and the second image is obtained.
Wherein, one or more during image parameter can include contrast, saturation and exposure.
The second, for the pixel of each same position in the first image and the second image, based on pixel Pixel value and image parameter, determine the target pixel value of pixel.
For the pixel of diverse location in the first image and the second image, then directly by variant position The pixel value of pixel is defined as target pixel value.
At the pixel for each same position in this optimal way, pixel value based on pixel and figure As parameter, determine that the concrete mode of the target pixel value of pixel is as follows:
First, based on the image parameter of the pixel of same position in the first image and the second image, determine First weight factor and the second weight factor.
Can be by by each image parameter of this pixel in the first image when determining the first weight factor It is multiplied, using gained product as the first weight factor.Certainly, however it is not limited to this, it is also possible to by this pixel Each image parameter of point is multiplied, using gained product as the first weight factor after giving certain weighted value.
In like manner, can be by by each image of this pixel in the second image when determining the second weight factor Parameter is multiplied, using gained product as the second weight factor.
Secondly, based on the first weight factor and the second weight factor, this pixel in the first image is calculated Second weighted value of this pixel in first weighted value, the second image.
First weighted value can be determined by equation below: the first weighted value=the first weight factor ÷ (the One weight factor the+the second weight factor).
Second weighted value can be determined by equation below: the second weighted value=the second weight factor ÷ (the One weight factor the+the second weight factor).
It is only to list one by the first weight factor, the second weight factor it should be noted that above-mentioned Determine the first weighted value, the method for the second weighted value, during implementing, however it is not limited to this, this It is true according to the first weight factor, the second weight factor that skilled person can arrange the most suitable formula Fixed first weighted value, the second weighted value.
Finally, based on pixel in the pixel value of pixel, the first weighted value, the second image in the first image The pixel value of point, the second weighted value, determine the target pixel value of pixel.
During the target pixel value of pixel, can be obtained by equation below:
Pixel value+the second weighted value of pixel in target pixel value=the first weighted value × the first image × The pixel value of pixel in second image.
Repeat the above-mentioned pixel for each same position, pixel value based on pixel and image Parameter, determines the flow process of the target pixel value of pixel, i.e. can determine that in the first image and the second image The target pixel value of whole pixels with same position.
3rd, target pixel value based on each pixel, synthesizes target image.
The night scene image pickup method that the embodiment of the present invention provides, is closed lower control at flash lamp and images Head is continuously shot multiple image in Same Scene, is opening after flash lamp carries out light filling continuing with this scene Continue shooting one two field picture and obtain the first image, whole two field pictures of shooting are synthesized, generates target Image.The night scene image pickup method that the embodiment of the present invention provides, adds the first image when carrying out image synthesis I.e. add flash lighting frame data, therefore, it is possible to the image detail that improvement crosses dark cause due to scene is difficult to The problem differentiated, therefore the quality of the target image of synthesis can be promoted, thus obtain high-quality night scene figure Picture.
Embodiment three
With reference to Fig. 3, it is shown that the structured flowchart of a kind of mobile terminal of the embodiment of the present invention three.
The mobile terminal 30 of the embodiment of the present invention has flash lamp and photographic head, and mobile terminal 30 includes: Command reception module 301, for receiving the photographing instruction of mobile phone users;First taking module 302, Under being closed at flash lamp, control described photographic head and Same Scene is continuously shot multiframe figure Picture;Second taking module 303, is used for opening described flash lamp and carries out light filling, continue to control described shooting Head, to described scene capture one two field picture, obtains the first image;Fusion Module 304, for described the One taking module controls the multiple image of photographic head shooting and described second taking module control photographic head bat The first image taken the photograph synthesizes, and generates target image.
With reference to Fig. 4, on the basis of Fig. 3, mobile terminal 30 also includes such as lower module:
Registration module 305, for described multiple image being carried out image synthesis at described Fusion Module 304, Before generating the second image, described multiple image and described first image are carried out image registration.
Preferably, the structured flowchart of Fusion Module 304 is as it is shown in figure 5, Fusion Module 304 includes as follows Submodule:
First fusant module 3041, for controlling the multiframe of photographic head shooting by described first taking module Image carries out image synthesis, generates the second image;Second fusant module 3042, for by described second Taking module controls the first image and second figure of described first fusant module generation of photographic head shooting As synthesis, generate described target image.
Preferably, as shown in Figure 6, first merges submodule to the structured flowchart of the first fusant module 3041 Block 3041 includes following subelement:
Computing unit 30411, for for pixel each in described multiple image, calculates described multiframe The meansigma methods of the pixel value of the pixel of all same positions in image;Determining unit 30412, being used for will The described calculated meansigma methods of computing unit 30411 is defined as the target pixel value of described pixel;Close Become unit 30413, for based on the described described target determining each pixel that unit 30412 determines Pixel value, synthesizes described second image.
Preferably, the structured flowchart of the second fusant module 3042 is as it is shown in fig. 7, second merges submodule Block 3042 includes such as lower unit:
Image parameter acquiring unit 30421, is used for obtaining each picture in described first image and the second image The image parameter of vegetarian refreshments;Target pixel points determines unit 30422, for for described first image and the The pixel of each same position in two images, pixel value based on described pixel and described image parameter The image parameter that acquiring unit obtains, determines the target pixel value of described pixel;Synthesis unit 30423, For determining the described object pixel of each pixel that unit 30422 determines based on described target pixel points Value, synthesizes described target image.
Preferably, target pixel points determines the structured flowchart of unit 30422 as shown in Figure 8, object pixel Point determines that unit 30422 includes following subelement:
Weight factor determines subelement 304221, for based on identical in described first image and the second image The image parameter of the described pixel of position, determines the first weight factor and the second weight factor;Weighted value Determine subelement 304222, for based on described first weight factor and the second weight factor, calculate described Second power of pixel described in the first weighted value of pixel described in the first image, described second image Weight values;Pixel value determines subelement 304223, for picture based on pixel described in described first image The pixel value of pixel, the second weighted value described in element value, the first weighted value, described second image, really The target pixel value of fixed described pixel.
Preferably, one during described image parameter at least includes contrast, saturation and exposure or Multiple.
Preferably, the structured flowchart of registration module 305 is as it is shown in figure 9, registration module 305 includes as follows Submodule:
Binary conversion treatment submodule 3051, for carrying out described multiple image and described first image respectively Binary conversion treatment, obtains multiframe black white image and the 3rd image;Benchmark image selects submodule 3052, uses One is selected in processing in the multiframe black white image after submodule processes and the 3rd image from described binaryzationization Two field picture is as benchmark image;Registration submodule 3053, for selecting submodule choosing with described benchmark image On the basis of the benchmark image selected, described multiframe black white image and the 3rd image are carried out image registration.
Preferably, the structured flowchart of registration submodule 3053 as shown in Figure 10, registrates submodule 3053 Including such as lower unit:
Image determination unit 30531 subject to registration, for removing in described multiframe black white image and the 3rd image All images outside described benchmark image are defined as image subject to registration;Relative displacement determines unit 30532, For image all subject to registration that described image determination unit subject to registration is registrated successively with described reference map Compare as carrying out translation, determine and the relative displacement of described benchmark image minimum difference;Translation unit 30533, have the relative displacement determining minimum difference that unit determines based on described relative displacement, by institute State image subject to registration and carry out coordinate translation, the described multiframe black white image after being registrated and the 3rd image.
The mobile terminal of the embodiment of the present invention is used for realizing corresponding night in previous embodiment one, embodiment two Scape image pickup method.
The mobile terminal of the embodiment of the present invention, when night scene shoots, is closed lower control at flash lamp Photographic head is continuously shot multiple image in Same Scene, is opening after flash lamp carries out light filling continuing with this Scene continues shooting one two field picture and obtains the first image, is synthesized by whole two field pictures of shooting, generates Target image.The mobile terminal that the embodiment of the present invention provides, adds the first image when carrying out image synthesis I.e. add flash lighting frame data, therefore, it is possible to the image detail that improvement crosses dark cause due to scene is difficult to The problem differentiated, therefore the quality of the target image of synthesis can be promoted, thus obtain high-quality night scene figure Picture.
Embodiment four
With reference to Figure 11, it is shown that the structured flowchart of the mobile terminal of the embodiment of the present invention four.
The mobile terminal 700 of the embodiment of the present invention includes: at least one processor 701, memorizer 702, At least one network interface 704 and user interface 703.Each assembly in mobile terminal 700 is by total Wire system 705 is coupled.It is understood that bus system 705 is for realizing the company between these assemblies Connect letter.Bus system 705 in addition to including data/address bus, also include power bus, control bus and Status signal bus in addition.But for the sake of understanding explanation, in fig. 11 various buses are all designated as bus System 705, described mobile terminal 700 also includes assembly 706 of taking pictures, described in assembly 706 of taking pictures include Photographic head and flash lamp.
Wherein, user interface 703 can include display, keyboard or pointing device (such as, mouse, Trace ball (trackball), touch-sensitive plate, touch screen, flash lamp, shooting are first-class.
The memorizer 702 being appreciated that in the embodiment of the present invention can be volatile memory or non-volatile Property memorizer, maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory Can be read only memory (Read-OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) or sudden strain of a muscle Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), It is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms can With, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links dynamic random access memory (SynchlinkDRAM, SLDRAM) and Directly rambus random access memory (DirectRambusRAM, DRRAM).The present invention implements The memorizer 702 of the system and method that example describes is intended to include but not limited to these and other applicable class any The memorizer of type.
In some embodiments, memorizer 702 stores following element, executable module or number According to structure, or their subset, or their superset: operating system 7021 and application program 7022。
Wherein, operating system 7021, comprise various system program, such as ccf layer, core library layer, drive Dynamic layers etc., are used for realizing various basic business and processing hardware based task.Application program 7022, Comprise various application program, such as media player (MediaPlayer), browser (Browser) etc., use In realizing various applied business.The program realizing embodiment of the present invention method may be embodied in application program In 7022.
It is in embodiments of the present invention, by calling program or the instruction of memorizer 702 storage, concrete, Can be program or the instruction of storage in application program 7022, processor 701 be used for receiving mobile terminal The photographing instruction of user;Under flash lamp is closed, control photographic head bat continuous to Same Scene Take the photograph multiple image;Open flash lamp and carry out light filling, continue to control photographic head to described scene capture one frame figure Picture, obtains the first image;Described multiple image and the first image are carried out image synthesis, generates target figure Picture.
The method that the invention described above embodiment discloses can apply in processor 701, or by processor 701 realize.Processor 701 is probably a kind of IC chip, has the disposal ability of signal.? During realization, each step of said method can be by the integration logic electricity of the hardware in processor 701 The instruction of road or software form completes.Above-mentioned processor 701 can be general processor, numeral letter Number processor (DigitalSignalProcessor, DSP), special IC (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or Person's transistor logic, discrete hardware components.Can realize or perform the public affairs in the embodiment of the present invention Each method, step and the logic diagram opened.General processor can be microprocessor or this processor also It can be the processor etc. of any routine.Step in conjunction with the method disclosed in the embodiment of the present invention can be straight Connect and be presented as that hardware decoding processor has performed, or by the hardware in decoding processor and software module Combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are able to programme The storage medium that this areas such as read only memory or electrically erasable programmable memorizer, depositor are ripe In.This storage medium is positioned at memorizer 702, and processor 701 reads the information in memorizer 702, knot Close its hardware and complete the step of said method.
It is understood that the present invention describe these embodiments can use hardware, software, firmware, in Between part, microcode or a combination thereof realize.Realizing for hardware, processing unit can be implemented in one or many Individual special IC (ApplicationSpecificIntegratedCircuits, ASIC), Digital Signal Processing Device (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), Programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, Microprocessor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can by perform function described in the embodiment of the present invention module (such as process, Function etc.) realize the technology described in the embodiment of the present invention.Software code is storable in memorizer also Performed by processor.Memorizer can within a processor or realize outside processor.
Alternatively, described multiple image and the first image are carried out image synthesis process by processor 701, raw Become target image time, have for: described multiple image is carried out image synthesis, generates the second image; Described first image and the second image are carried out image synthesis, generates described target image.
Alternatively, described multiple image is carried out image synthesis by processor 701, when generating the second image, Specifically for: for pixel each in described multiple image, calculate in described multiple image all identical The meansigma methods of the pixel value of the pixel of position;Described meansigma methods is defined as the target picture of described pixel Element value;Described target pixel value based on each pixel, synthesizes described second image.
Alternatively, described first image and the second image are carried out image synthesis by processor 701, generate institute When stating target image, specifically for: obtain the figure of each pixel in described first image and the second image As parameter;For the pixel of each same position in described first image and the second image, based on described The pixel value of pixel and described image parameter, determine the target pixel value of described pixel;Based on each The described target pixel value of pixel, synthesizes described target image.
Alternatively, processor 701 pixel value based on described pixel and described image parameter, determine institute When stating the target pixel value of pixel, specifically for: based on identical in described first image and the second image The image parameter of the described pixel of position, determines the first weight factor and the second weight factor;Based on institute State the first weight factor and the second weight factor, calculate the first power of pixel described in described first image Second weighted value of pixel described in weight values, described second image;Described in described first image The pixel value of pixel described in the pixel value of pixel, the first weighted value, described second image, second Weighted value, determines the target pixel value of described pixel.
Alternatively, one during described image parameter at least includes contrast, saturation and exposure or Multiple.
Alternatively, processor 701 is additionally operable to: described multiple image is carrying out image synthesis, generates the Before two images, described multiple image and described first image are carried out image registration.
Alternatively, when described multiple image and described first image are carried out image registration by processor 701, Specifically for: respectively described multiple image and described first image are carried out binary conversion treatment, obtain multiframe Black white image and the 3rd image;A two field picture conduct is selected from described multiframe black white image and the 3rd image Benchmark image;On the basis of described benchmark image, described multiframe black white image and the 3rd image are carried out figure As registration.
Alternatively, processor 701 is on the basis of described benchmark image, by described multiframe black white image and When three images carry out image registration, specifically for: described multiframe black white image and the 3rd image will remove institute The all images stated outside benchmark image are defined as image subject to registration;By all described images subject to registration successively with Described benchmark image carries out translation and compares, and determines and the relative displacement of described benchmark image minimum difference;Base In the relative displacement of described minimum difference, described image subject to registration is carried out coordinate translation, after being registrated Described multiframe black white image and the 3rd image.
Mobile terminal 700 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding Repeat, repeat no more here.
The mobile terminal of the embodiment of the present invention, when night scene shoots, is closed lower control at flash lamp Photographic head is continuously shot multiple image in Same Scene, is opening after flash lamp carries out light filling continuing with this Scene continues shooting one two field picture and obtains the first image, is synthesized by whole two field pictures of shooting, generates Target image.The mobile terminal that the embodiment of the present invention provides, adds the first image when carrying out image synthesis I.e. add flash lighting frame data, therefore, it is possible to the image detail that improvement crosses dark cause due to scene is difficult to The problem differentiated, therefore the quality of the target image of synthesis can be promoted, thus obtain high-quality night scene figure Picture.
Embodiment five
With reference to Figure 12, it is shown that the structured flowchart of the mobile terminal of the embodiment of the present invention five.
Mobile terminal in the embodiment of the present invention can be mobile phone, panel computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Figure 12 include radio frequency (RadioFrequency, RF) circuit 810, memorizer 820, Input block 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (WirelessFidelity) Module 880, power supply 890 and assembly 800 of taking pictures, assembly 800 of taking pictures includes photographic head and flash lamp.
Wherein, the photographic head taken pictures in assembly 800 carries out figure for the call instruction receiving processor 860 As shooting.Input block 830 can be used for receive user input numeral or character information, and produce with The user setup of mobile terminal and function control relevant signal input.Specifically, the embodiment of the present invention In, this input block 830 can include contact panel 8301.Contact panel 8301, also referred to as touches Screen, can collect user thereon or neighbouring touch operation (such as user uses finger, stylus etc. any The object being suitable for or adnexa operation on contact panel 8301), and drive according to formula set in advance Corresponding attachment means.Optionally, contact panel 8301 can include touch detecting apparatus and touch control Two parts of device.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives from touch detecting apparatus and touches Touch information, and be converted into contact coordinate, then give this processor 860, and processor 860 can be received The order sent also is performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray and surface The polytypes such as sound wave realize contact panel 8301.Except contact panel 8301, input block 830 is also Can include other input equipments 8302, other input equipments 8302 can include but not limited to secondary or physical bond In dish, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more.
Wherein, display unit 840 can be used for the information that display is inputted or the information being supplied to user by user And the various menu interfaces of mobile terminal.Display unit 840 can include display floater 8401, optionally, The shape such as LCD or Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be used Formula configures display floater 8401.
It should be noted that contact panel 8301 can cover display floater 8401, formed and touch display screen, when This touch display screen detects thereon or after neighbouring touch operation, sends processor 860 to determine The type of touch event, is touching offer on display screen with preprocessor 860 according to the type of touch event Corresponding visual output.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This application program circle The arrangement mode of viewing area, face and this conventional control viewing area does not limit, can be arranged above and below, left and right Arrangement etc. can distinguish the arrangement mode of two viewing areas.This Application Program Interface viewing area may be used for showing Show the interface of application program.Each interface can comprise at least one application program icon and/or The interface elements such as widget desktop control.This Application Program Interface viewing area can also be any interior for not comprising The empty interface held.This conventional control viewing area is for showing the control that utilization rate is higher, and such as, setting is pressed The application icons etc. such as button, interface numbering, scroll bar, phone directory icon.
Wherein processor 860 is the control centre of mobile terminal, utilizes various interface and connection whole The various piece of mobile phone, by run or perform the software program that is stored in first memory 8201 and/ Or module, and call the data being stored in second memory 8202, perform the various of mobile terminal Function and process data, thus mobile terminal is carried out integral monitoring.Optionally, processor 860 can wrap Include one or more processing unit.
In embodiments of the present invention, by call the software program stored in this first memory 8201 and/ Or the data in module and/or this second memory 8202, processor 860 is used for receiving used for mobile terminal The photographing instruction at family;Under flash lamp is closed, control to take pictures the photographic head pair in assembly 800 Same Scene is continuously shot multiple image;Open flash lamp and carry out light filling, continue control and take pictures assembly 800 In photographic head to described scene capture one two field picture, obtain the first image;By described multiple image and One image carries out image synthesis, generates target image.
Alternatively, described multiple image and the first image are carried out image synthesis process by processor 860, raw Become target image time, have for: described multiple image is carried out image synthesis, generates the second image; Described first image and the second image are carried out image synthesis, generates described target image.
Alternatively, described multiple image is carried out image synthesis by processor 860, when generating the second image, Specifically for: for pixel each in described multiple image, calculate in described multiple image all identical The meansigma methods of the pixel value of the pixel of position;Described meansigma methods is defined as the target picture of described pixel Element value;Described target pixel value based on each pixel, synthesizes described second image.
Alternatively, described first image and the second image are carried out image synthesis by processor 860, generate institute When stating target image, specifically for: obtain the figure of each pixel in described first image and the second image As parameter;For the pixel of each same position in described first image and the second image, based on described The pixel value of pixel and described image parameter, determine the target pixel value of described pixel;Based on each The described target pixel value of pixel, synthesizes described target image.
Alternatively, processor 860 pixel value based on described pixel and described image parameter, determine institute When stating the target pixel value of pixel, specifically for: based on identical in described first image and the second image The image parameter of the described pixel of position, determines the first weight factor and the second weight factor;Based on institute State the first weight factor and the second weight factor, calculate the first power of pixel described in described first image Second weighted value of pixel described in weight values, described second image;Described in described first image The pixel value of pixel described in the pixel value of pixel, the first weighted value, described second image, second Weighted value, determines the target pixel value of described pixel.
Alternatively, one during described image parameter at least includes contrast, saturation and exposure or Multiple.
Alternatively, processor 860 is additionally operable to: described multiple image is carrying out image synthesis, generates the Before two images, described multiple image and described first image are carried out image registration.
Alternatively, when described multiple image and described first image are carried out image registration by processor 860, Specifically for: respectively described multiple image and described first image are carried out binary conversion treatment, obtain multiframe Black white image and the 3rd image;A two field picture conduct is selected from described multiframe black white image and the 3rd image Benchmark image;On the basis of described benchmark image, described multiframe black white image and the 3rd image are carried out figure As registration.
Alternatively, processor 860 is on the basis of described benchmark image, by described multiframe black white image and When three images carry out image registration, specifically for: described multiframe black white image and the 3rd image will remove institute The all images stated outside benchmark image are defined as image subject to registration;By all described images subject to registration successively with Described benchmark image carries out translation and compares, and determines and the relative displacement of described benchmark image minimum difference;Base In the relative displacement of described minimum difference, described image subject to registration is carried out coordinate translation, after being registrated Described multiframe black white image and the 3rd image.
The mobile terminal of the embodiment of the present invention, when night scene shoots, is closed lower control at flash lamp Photographic head is continuously shot multiple image in Same Scene, is opening after flash lamp carries out light filling continuing with this Scene continues shooting one two field picture and obtains the first image, is synthesized by whole two field pictures of shooting, generates Target image.The mobile terminal that the embodiment of the present invention provides, adds the first image when carrying out image synthesis I.e. add flash lighting frame data, therefore, it is possible to the image detail that improvement crosses dark cause due to scene is difficult to The problem differentiated, therefore the quality of the target image of synthesis can be promoted, thus obtain high-quality night scene figure Picture.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described Simply, relevant part sees the part of embodiment of the method and illustrates.
Provided herein night scene photographic schemes not with any certain computer, virtual system or miscellaneous equipment Intrinsic relevant.Various general-purpose systems can also be used together with based on teaching in this.According to retouching above State, construct the structure required by the system with the present invention program and be apparent from.Additionally, the present invention Also any certain programmed language it is not for.It is understood that, it is possible to use various programming languages realize retouching at this The present disclosure stated, and the description above done language-specific is to disclose the present invention Good embodiment.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this Inventive embodiment can be put into practice in the case of not having these details.In some instances, not It is shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect one Or multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes It is grouped together in single embodiment, figure or descriptions thereof.But, should be by the disclosure Method be construed to reflect an intention that i.e. the present invention for required protection require ratio in each claim The middle more feature of feature be expressly recited.More precisely, as the following claims reflect, Inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows be embodied as Claims of mode are thus expressly incorporated in this detailed description of the invention, the most each claim itself All as the independent embodiment of the present invention.
It will appreciated by the skilled person that and the module in the equipment in embodiment can be carried out certainly Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or Outside at least some in unit excludes each other, can use any combination that (this specification is included companion With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion With claim, summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or phase Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include it Some feature included in its embodiment rather than further feature, but the group of the feature of different embodiment Close and mean to be within the scope of the present invention and formed different embodiments.Such as, in claim In book, one of arbitrarily can mode using in any combination of embodiment required for protection.
The all parts embodiment of the present invention can realize with hardware, or to process at one or more The software module run on device realizes, or realizes with combinations thereof.Those skilled in the art should Understand, microprocessor or digital signal processor (DSP) can be used in practice to realize basis The some or all functions of the some or all parts in the night scene photographic schemes of the embodiment of the present invention. The present invention is also implemented as part or all the equipment for performing method as described herein Or device program (such as, computer program and computer program).Such realize the present invention Program can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or Person provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, And those skilled in the art can design replacement without departing from the scope of the appended claims Embodiment.In the claims, any reference marks that should not will be located between bracket is configured to right The restriction required.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.Position Word "a" or "an" before element does not excludes the presence of multiple such element.The present invention can With by means of including the hardware of some different elements and realizing by means of properly programmed computer. If in the unit claim listing equipment for drying, several in these devices can be by same Individual hardware branch specifically embodies.Word first, second and third use do not indicate that any order. Can be title by these word explanations.
Those of ordinary skill in the art are it is to be appreciated that combine the disclosed embodiments in the embodiment of the present invention The unit of each example described and algorithm steps, it is possible to electronic hardware or computer software and electronics Being implemented in combination in of hardware.These functions perform with hardware or software mode actually, depend on technology The application-specific of scheme and design constraint.Each specifically should being used for can be made by professional and technical personnel Differently realize described function, but this realization is it is not considered that exceed the model of the present invention Enclose.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches The specific works process of system, device and the unit stated, is referred to the correspondence in preceding method embodiment Process, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, permissible Realize by another way.Such as, device embodiment described above is only schematically, example Such as, the division of described unit, be only a kind of logic function and divide, actual can have when realizing other Dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or one A little features can be ignored, or does not performs.Another point, shown or discussed coupling each other or straight Connect coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location, i.e. may be located at a place, Or can also be distributed on multiple NE.Can select according to the actual needs part therein or The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit In, it is also possible to it is that unit is individually physically present, it is also possible to two or more unit are integrated in one In individual unit.
If described function realizes using the form of SFU software functional unit and as independent production marketing or make Used time, can be stored in a computer read/write memory medium.Based on such understanding, the present invention The part that the most in other words prior art contributed of technical scheme or the portion of this technical scheme Dividing and can embody with the form of software product, this computer software product is stored in a storage medium In, including some instructions with so that computer equipment (can be personal computer, server, Or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And it is front The storage medium stated includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various The medium of program code can be stored.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to In this, any those familiar with the art, can be easily in the technical scope that the invention discloses Expect change or replace, all should contain within protection scope of the present invention.Therefore, the protection of the present invention Scope should be as the criterion with scope of the claims.

Claims (18)

1. a night scene image pickup method, is applied to the mobile terminal with flash lamp and photographic head, and it is special Levying and be, described method includes:
Receive the photographing instruction of mobile phone users;
Under flash lamp is closed, controls described photographic head and Same Scene is continuously shot multiframe figure Picture;
Open described flash lamp and carry out light filling, continue to control described photographic head to described scene capture one frame figure Picture, obtains the first image;
Described multiple image and the first image are carried out image synthesis, generates target image.
Method the most according to claim 1, it is characterised in that described by described multiple image and First image carries out image synthesis process, generates the step of target image, including:
Described multiple image is carried out image synthesis, generates the second image;
Described first image and the second image are carried out image synthesis, generates described target image.
Method the most according to claim 2, it is characterised in that described described multiple image is entered Row image synthesizes, and generates the step of the second image, including:
For pixel each in described multiple image, calculate all same positions in described multiple image The meansigma methods of the pixel value of pixel;
Described meansigma methods is defined as the target pixel value of described pixel;
Described target pixel value based on each pixel, synthesizes described second image.
Method the most according to claim 2, it is characterised in that described by described first image and Second image carries out image synthesis, generates the step of described target image, including:
Obtain the image parameter of each pixel in described first image and the second image;
For the pixel of each same position in described first image and the second image, based on described pixel The pixel value of point and described image parameter, determine the target pixel value of described pixel;
Described target pixel value based on each pixel, synthesizes described target image.
Method the most according to claim 4, it is characterised in that described based on described pixel Pixel value and described image parameter, determine the step of the target pixel value of described pixel, including:
Based on the image parameter of the described pixel of same position in described first image and the second image, really Fixed first weight factor and the second weight factor;
Based on described first weight factor and the second weight factor, calculate pixel described in described first image Second weighted value of pixel described in first weighted value of point, described second image;
Based on the pixel value of pixel described in described first image, the first weighted value, described second image Described in the pixel value of pixel, the second weighted value, determine the target pixel value of described pixel.
6. want the method described in 4 according to right, it is characterised in that it is right that described image parameter at least includes Than one or more in degree, saturation and exposure.
Method the most according to claim 2, it is characterised in that described described multiple image is entered Row image synthesizes, and before generating the step of the second image, described method also includes:
Described multiple image and described first image are carried out image registration.
Method the most according to claim 7, it is characterised in that described by described multiple image and Described first image carries out the step of image registration, including:
Respectively described multiple image and described first image are carried out binary conversion treatment, obtain multiframe artwork master Picture and the 3rd image;
Select a two field picture as benchmark image from described multiframe black white image and the 3rd image;
On the basis of described benchmark image, described multiframe black white image and the 3rd image are carried out image and joins Accurate.
Method the most according to claim 8, it is characterised in that described with described benchmark image be Benchmark, carries out the step of image registration by described multiframe black white image and the 3rd image, including:
All images in addition to described benchmark image in described multiframe black white image and the 3rd image are determined For image subject to registration;
With described benchmark image, all described images subject to registration are carried out translation successively compare, determine with described The relative displacement of benchmark image minimum difference;
Relative displacement based on described minimum difference, carries out coordinate translation by described image subject to registration, obtains Described multiframe black white image after registration and the 3rd image.
10. a mobile terminal, described mobile terminal has flash lamp and photographic head, it is characterised in that Described mobile terminal includes:
Command reception module, for receiving the photographing instruction of mobile phone users;
First taking module, under flash lamp is closed, controls described photographic head to same Scene is continuously shot multiple image;
Second taking module, is used for opening described flash lamp and carries out light filling, continue to control described photographic head pair Described scene capture one two field picture, obtains the first image;
Fusion Module, for controlling the multiple image and described of photographic head shooting to described first taking module Second taking module controls the first image of photographic head shooting and synthesizes, and generates target image.
11. mobile terminals according to claim 10, it is characterised in that described Fusion Module bag Include:
First fusant module, for controlling the multiple image of photographic head shooting by described first taking module Carry out image synthesis, generate the second image;
Second fusant module, for controlling the first image of photographic head shooting by described second taking module The the second image synthesis generated with described first fusant module, generates described target image.
12. mobile terminals according to claim 11, it is characterised in that described first fusant Module includes:
Computing unit, for for pixel each in described multiple image, calculates in described multiple image The meansigma methods of the pixel value of the pixel of all same positions;
Determine unit, for calculated for described computing unit meansigma methods is defined as described pixel Target pixel value;
Synthesis unit, for based on the described described object pixel determining each pixel that unit determines Value, synthesizes described second image.
13. mobile terminals according to claim 11, it is characterised in that described second fusant Module includes:
Image parameter acquiring unit, for obtaining each pixel in described first image and the second image Image parameter;
Target pixel points determines unit, for for each identical bits in described first image and the second image The image that the pixel put, pixel value based on described pixel and described image parameter acquiring unit obtain Parameter, determines the target pixel value of described pixel;
Synthesis unit, for determining described in each pixel that unit determines based on described target pixel points Target pixel value, synthesizes described target image.
14. mobile terminals according to claim 13, it is characterised in that described target pixel points Determine that unit includes:
Weight factor determines subelement, for based on same position in described first image and the second image The image parameter of described pixel, determines the first weight factor and the second weight factor;
Weighted value determines subelement, for based on described first weight factor and the second weight factor, calculates Of pixel described in first weighted value of pixel described in described first image, described second image Two weighted values;
Pixel value determines subelement, for pixel value based on pixel described in described first image, the The pixel value of pixel, the second weighted value described in one weighted value, described second image, determine described picture The target pixel value of vegetarian refreshments.
15. mobile terminals according to claim 13, it is characterised in that described image parameter is extremely Include one or more in contrast, saturation and exposure less.
16. mobile terminals according to claim 11, it is characterised in that described mobile terminal is also Including:
Registration module, for described multiple image being carried out image synthesis in described first fusant module, Before generating the second image, described multiple image and described first image are carried out image registration.
17. mobile terminals according to claim 16, it is characterised in that described registration module bag Include:
Binary conversion treatment submodule, for carrying out two-value to described multiple image and described first image respectively Change processes, and obtains multiframe black white image and the 3rd image;
Benchmark image selects submodule, black for processing the multiframe after submodule processes from described binaryzationization White image and the 3rd image select a two field picture as benchmark image;
Registration submodule, on the basis of the benchmark image selecting submodule selection by described benchmark image, Described multiframe black white image and the 3rd image are carried out image registration.
18. mobile terminals according to claim 17, it is characterised in that described registration submodule Including:
Image determination unit subject to registration, for removing described base in described multiframe black white image and the 3rd image All images outside quasi-image are defined as image subject to registration;
Relative displacement determines unit, all subject to registration for registrated by described image determination unit subject to registration Image carries out translation with described benchmark image successively and compares, and determines and the phase of described benchmark image minimum difference To displacement;
Translation unit, has the phase para-position determining minimum difference that unit determines based on described relative displacement Move, described image subject to registration is carried out coordinate translation, described multiframe black white image after being registrated and the Three images.
CN201610407492.5A 2016-06-08 2016-06-08 Night scene shooting method and mobile terminal Pending CN105959559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610407492.5A CN105959559A (en) 2016-06-08 2016-06-08 Night scene shooting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610407492.5A CN105959559A (en) 2016-06-08 2016-06-08 Night scene shooting method and mobile terminal

Publications (1)

Publication Number Publication Date
CN105959559A true CN105959559A (en) 2016-09-21

Family

ID=56908747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610407492.5A Pending CN105959559A (en) 2016-06-08 2016-06-08 Night scene shooting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105959559A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106447663A (en) * 2016-09-30 2017-02-22 深圳市莫廷影像技术有限公司 Ophthalmology OCT image high definition registering method and device for double image removing
CN106993139A (en) * 2017-04-28 2017-07-28 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107333056A (en) * 2017-06-13 2017-11-07 努比亚技术有限公司 Image processing method, device and the computer-readable recording medium of moving object
CN107820022A (en) * 2017-10-30 2018-03-20 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108616687A (en) * 2018-03-23 2018-10-02 维沃移动通信有限公司 A kind of photographic method, device and mobile terminal
CN109391751A (en) * 2017-08-11 2019-02-26 深圳富泰宏精密工业有限公司 Electronic device and camera shooting control method
CN109963086A (en) * 2018-07-30 2019-07-02 华为技术有限公司 Be time-multiplexed light filling imaging device and method
CN110264473A (en) * 2019-06-13 2019-09-20 Oppo广东移动通信有限公司 Image processing method, device and electronic equipment based on multiple image
CN110298870A (en) * 2019-07-02 2019-10-01 中国电子科技集团公司第十三研究所 Processing method, processing unit and the terminal of image
CN110958401A (en) * 2019-12-16 2020-04-03 北京迈格威科技有限公司 Super night scene image color correction method and device and electronic equipment
WO2020147698A1 (en) * 2019-01-15 2020-07-23 深圳看到科技有限公司 Picture optimization method and device, terminal and corresponding storage medium
CN111683195A (en) * 2020-05-27 2020-09-18 盛视科技股份有限公司 Camera device and control method thereof
CN112785535A (en) * 2020-12-30 2021-05-11 北京迈格威科技有限公司 Method and device for acquiring night scene light rail image and handheld terminal
CN114494080A (en) * 2022-03-28 2022-05-13 英特灵达信息技术(深圳)有限公司 Image generation method and device, electronic equipment and storage medium
CN115526786A (en) * 2022-01-25 2022-12-27 荣耀终端有限公司 Image processing method and related device
US11582400B2 (en) 2019-04-09 2023-02-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method of image processing based on plurality of frames of images, electronic device, and storage medium
CN116452475A (en) * 2022-01-10 2023-07-18 荣耀终端有限公司 Image processing method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005086488A (en) * 2003-09-09 2005-03-31 Nikon Corp Electronic still camera and image processing program
CN102377943A (en) * 2010-08-18 2012-03-14 卡西欧计算机株式会社 Image pickup apparatus, image pickup method, and storage medium storing program
CN103379281A (en) * 2012-04-20 2013-10-30 佳能株式会社 Image processing apparatus and image processing method for performing image synthesis
CN104618646A (en) * 2015-01-22 2015-05-13 深圳市金立通信设备有限公司 Shooting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005086488A (en) * 2003-09-09 2005-03-31 Nikon Corp Electronic still camera and image processing program
CN102377943A (en) * 2010-08-18 2012-03-14 卡西欧计算机株式会社 Image pickup apparatus, image pickup method, and storage medium storing program
CN103379281A (en) * 2012-04-20 2013-10-30 佳能株式会社 Image processing apparatus and image processing method for performing image synthesis
CN104618646A (en) * 2015-01-22 2015-05-13 深圳市金立通信设备有限公司 Shooting method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵瑞丹: "高动态范围图像的合成技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106447663A (en) * 2016-09-30 2017-02-22 深圳市莫廷影像技术有限公司 Ophthalmology OCT image high definition registering method and device for double image removing
CN106993139B (en) * 2017-04-28 2019-10-15 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN106993139A (en) * 2017-04-28 2017-07-28 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107333056A (en) * 2017-06-13 2017-11-07 努比亚技术有限公司 Image processing method, device and the computer-readable recording medium of moving object
CN109391751A (en) * 2017-08-11 2019-02-26 深圳富泰宏精密工业有限公司 Electronic device and camera shooting control method
CN109391751B (en) * 2017-08-11 2020-12-08 深圳富泰宏精密工业有限公司 Electronic device and image pickup control method
CN107820022A (en) * 2017-10-30 2018-03-20 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108616687A (en) * 2018-03-23 2018-10-02 维沃移动通信有限公司 A kind of photographic method, device and mobile terminal
US11470262B2 (en) 2018-07-30 2022-10-11 Huawei Technologies Co., Ltd. Time division multiplexing fill light imaging apparatus and method
CN109963086A (en) * 2018-07-30 2019-07-02 华为技术有限公司 Be time-multiplexed light filling imaging device and method
WO2020147698A1 (en) * 2019-01-15 2020-07-23 深圳看到科技有限公司 Picture optimization method and device, terminal and corresponding storage medium
US11582400B2 (en) 2019-04-09 2023-02-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method of image processing based on plurality of frames of images, electronic device, and storage medium
CN110264473B (en) * 2019-06-13 2022-01-04 Oppo广东移动通信有限公司 Image processing method and device based on multi-frame image and electronic equipment
CN110264473A (en) * 2019-06-13 2019-09-20 Oppo广东移动通信有限公司 Image processing method, device and electronic equipment based on multiple image
CN110298870A (en) * 2019-07-02 2019-10-01 中国电子科技集团公司第十三研究所 Processing method, processing unit and the terminal of image
CN110958401B (en) * 2019-12-16 2022-08-23 北京迈格威科技有限公司 Super night scene image color correction method and device and electronic equipment
CN110958401A (en) * 2019-12-16 2020-04-03 北京迈格威科技有限公司 Super night scene image color correction method and device and electronic equipment
CN111683195A (en) * 2020-05-27 2020-09-18 盛视科技股份有限公司 Camera device and control method thereof
CN112785535A (en) * 2020-12-30 2021-05-11 北京迈格威科技有限公司 Method and device for acquiring night scene light rail image and handheld terminal
CN116452475A (en) * 2022-01-10 2023-07-18 荣耀终端有限公司 Image processing method and related device
CN116452475B (en) * 2022-01-10 2024-05-31 荣耀终端有限公司 Image processing method and related device
CN115526786A (en) * 2022-01-25 2022-12-27 荣耀终端有限公司 Image processing method and related device
CN115526786B (en) * 2022-01-25 2023-10-20 荣耀终端有限公司 Image processing method and related device
CN117710265A (en) * 2022-01-25 2024-03-15 荣耀终端有限公司 Image processing method and related device
CN114494080A (en) * 2022-03-28 2022-05-13 英特灵达信息技术(深圳)有限公司 Image generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105959559A (en) Night scene shooting method and mobile terminal
CN106331510B (en) A kind of backlight photographic method and mobile terminal
CN107205120B (en) A kind of processing method and mobile terminal of image
CN105227858B (en) A kind of image processing method and mobile terminal
CN105827990B (en) A kind of automatic explosion method and mobile terminal
CN106161967A (en) A kind of backlight scene panorama shooting method and mobile terminal
CN106060419B (en) A kind of photographic method and mobile terminal
CN107231530B (en) A kind of photographic method and mobile terminal
CN107222680A (en) The image pickup method and mobile terminal of a kind of panoramic picture
CN105827754B (en) A kind of generation method and mobile terminal of high dynamic range images
CN107454330B (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN106170058B (en) A kind of exposure method and mobile terminal
CN106060406A (en) Photographing method and mobile terminal
CN106231187A (en) A kind of method shooting image and mobile terminal
CN106303250A (en) A kind of image processing method and mobile terminal
CN106131449A (en) A kind of photographic method and mobile terminal
CN105872148A (en) Method and mobile terminal for generating high dynamic range images
CN107395898A (en) A kind of image pickup method and mobile terminal
CN105827970B (en) A kind of image processing method and mobile terminal
CN106027907A (en) Method for automatically adjusting camera, and mobile terminal
CN106131398B (en) A kind of image browsing method and mobile terminal
CN105827964A (en) Image processing method and mobile terminal
CN106060386A (en) Preview image generation method and mobile terminal
CN106937055A (en) A kind of image processing method and mobile terminal
CN107659769A (en) A kind of image pickup method, first terminal and second terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160921

RJ01 Rejection of invention patent application after publication