CN105578023A - Image quick photographing method and device - Google Patents

Image quick photographing method and device Download PDF

Info

Publication number
CN105578023A
CN105578023A CN201510280496.7A CN201510280496A CN105578023A CN 105578023 A CN105578023 A CN 105578023A CN 201510280496 A CN201510280496 A CN 201510280496A CN 105578023 A CN105578023 A CN 105578023A
Authority
CN
China
Prior art keywords
camera
source images
images
shooting
taken
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
CN201510280496.7A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201510280496.7A priority Critical patent/CN105578023A/en
Publication of CN105578023A publication Critical patent/CN105578023A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses an image quick photographing method. The method comprises the steps that first preset number of source images are photographed by a first camera, second preset number of source images are photographed by a second camera, the exposure parameters of all the source images are mutually different, and the first camera and the second camera are arranged at the same side of a terminal; image registering is performed on the source images according to image displacement difference vectors generated by the distance between the first camera and the second camera; and the exposure attribute values of the source images are obtained, and the source images after registering are synthesized into an HDR image according to the exposure attribute values. The invention also discloses an image quick photographing device. With application of the image quick photographing method and device, the HDR source images can be photographed simultaneously by utilizing double cameras so that image photographing time of an HDR mode can be shortened.

Description

A kind of photographic images method and device fast
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of photographic images method and device fast.
Background technology
Along with the development of electronic product and image processing techniques is more and more quicker, people to image to present effect requirements also more and more higher, no longer content just to the original image without image procossing.HDR (High-DynamicRange, high dynamic illumination is played up) image just can provide more multi-dynamic-range and image detail because of it by the image synthesizing different exposure, and is subject to pursuing of a lot of shutterbugs.Existing HDR image image pickup method mainly by controlling exposure, takes the image of multiple different exposures, and then using the Images uniting HDR image of multiple different exposures described as the image finally presented.Although the image taking multiple different exposures can obtain a details and retain better HDR image, but because existing HDR pattern shooting is all completed by single camera, that is the source images needing how many Zhang Butong to expose goes to synthesize HDR image, just need to take how many times, this just needs the longer time.Therefore, the speed of prior art shooting HDR image is comparatively slow, and Consumer's Experience is not fine.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, provides a kind of photographic images method and device fast, dual camera can be utilized simultaneously to take HDR source images, shorten the image capturing time of HDR pattern.
In order to solve the problems of the technologies described above, embodiments provide a kind of photographic images method fast, described method comprises:
Taken the source images of the first predetermined number by the first camera, taken the source images of the second predetermined number by second camera, the exposure parameter of each source images is different, and described first camera and described second camera are positioned at the same side of terminal;
According to the picture displacement difference vector that the spacing of the first camera and second camera produces, image registration is carried out to described source images;
Obtain the exposure property value of described source images, and according to described exposure property value by the source images synthesis HDR image after registration.
Correspondingly, the embodiment of the present invention additionally provides a kind of photographic images device fast, comprising:
First camera, for taking the source images of the first predetermined number by the first camera;
Second camera, for being taken the source images of the second predetermined number by second camera, the exposure parameter of each source images is different, and described first camera and described second camera are positioned at the same side of terminal;
Image registration module, for the picture displacement difference vector produced according to the spacing of the first camera and second camera, carries out image registration to described source images;
Image synthesis unit, for obtaining the exposure property value of described source images, and according to described exposure property value by the source images synthesis HDR image after registration.
The embodiment of the present invention takes the source images of the first predetermined number by the first camera, is taken the source images of the second predetermined number by second camera, and the exposure parameter of each source images is different; According to the picture displacement difference vector that the spacing of the first camera and second camera produces, image registration is carried out to described source images; Obtain the exposure property value of described source images, and according to described exposure property value by the source images synthesis HDR image after registration, shorten the image capturing time of HDR pattern.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of quick photographic images method in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of quick photographic images method in another embodiment of the present invention;
Fig. 3 is the composition structural representation of a kind of quick photographic images device in the embodiment of the present invention;
Fig. 4 is the image registration module composition structure chart of Fig. 3 in the embodiment of the present invention;
Fig. 5 is the vector determination unit composition structure chart of Fig. 4 in the embodiment of the present invention;
Fig. 6 is the schematic diagram of virtual borderlines in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the schematic flow sheet of a kind of quick photographic images method in the embodiment of the present invention, this method flow process can be implemented by quick photographic images device, described quick photographic images device can be user terminal or the software program operating in user terminal, and described user terminal can comprise mobile phone, notebook computer, panel computer, digital camera etc.Described method at least comprises as shown in the figure:
Step S101, the source images of the first predetermined number is taken by the first camera, taken the source images of the second predetermined number by second camera, the exposure parameter of each source images is different, and described first camera and described second camera are positioned at the same side of terminal.
Concrete, after the photographing instruction receiving user, first camera of described the same side and second camera will carry out finding a view taking pictures.In shooting process, the viewfinder range of the first camera and second camera, angle, to be all substantially consistent except all the other acquisition parameters etc. of exposure parameter or only to there is the difference without affecting imaging.Because the source images of HDR image by different exposure parameter synthesizes, therefore, when systemic presupposition exposure parameter, the exposure parameter of each source images needs different, that is, first camera and the exposure parameter of the source images that second camera is taken are not identical, and the exposure parameter between the different source images of each camera shooting is also not identical.Further, the shooting time point of the first camera and second camera and photographic images quantity can identical also can not be identical.Such as, when taking three Zhang Yuan's images, the first camera and second camera will carry out finding a view taking pictures at one time, obtain two Zhang Yuan's images, and afterwards, only again carrying out taking pictures with the first camera obtains the 3rd Zhang Yuan's image.When such as taking again four Zhang Yuan's images, the first camera and second camera will carry out finding a view taking pictures at the same time, obtain two Zhang Yuan's images, and afterwards, the first camera and second camera will carry out finding a view taking pictures at future time again simultaneously, then obtain two Zhang Yuan's images.
Step S102, according to the picture displacement difference vector that the spacing of the first camera and second camera produces, carries out image registration to described source images.
Concrete, owing to there is certain distance between the first camera and second camera, will being there is certain skew and cannot overlap completely in the source images of the first camera shooting and the source images of second camera shooting, therefore needs to carry out image registration to described source images.In concrete enforcement, the method of image registration passes through the similar features point of detection two images, extract at least one group of fixed reference feature point pair of the described source images of the first camera shooting and the source images of second camera shooting, again according to described fixed reference feature point to respectively first camera shooting source images and second camera shooting source images on reference coordinate, determine the virtual borderlines relation of the described source images of the first camera shooting and the source images of second camera shooting, then the picture displacement difference vector that the spacing calculating described first camera and second camera according to described mapping relations produces.After determining described displacement difference vector, system just can carry out translation compensation according to this vector to described source images, thus obtains the synthesis that multiple overlapping source images carry out HDR image.Further, the source images that can only take described second camera with the source images of described first camera shooting for reference to carrying out translation compensation, also a reference coordinate can be set, by the source images of the first camera shooting and the source images of second camera shooting with described reference coordinate for reference to carrying out translation compensation, because the former can reduce time and the difficulty of image procossing, therefore select the former as the method for translation compensation here.Such as, when taking five Zhang Yuan's images, three image coordinate location of the first camera shooting are consistent, two image coordinate location of second camera shooting are consistent, the two Zhang Yuan's images described second camera can taken carry out translation compensation with three Zhang Yuan's images of described first camera shooting for reference, can reduce the processing time of half nearly like this.
Step S103, obtains the exposure property value of described source images, and according to described exposure property value by the source images synthesis HDR image after registration.
Concrete, after the shooting completing described source images and registration, system will obtain the exposure property value of described source images in the module of synthesis process image, then according to multiple source images synthesis HDR image described in after the different exposure property value of multiple source images and registration.Described HDR image is because the source images that have employed multiple different exposures synthesizes, therefore the details of lifting image dark portion to a great extent and highlights is showed, make the effect at bright place vivid, and the more details of dark reservation, can differentiate profile and the degree of depth of object, instead of in the past one is black.
The embodiment of the present invention embodiment of the present invention takes the source images of the first predetermined number by the first camera, is taken the source images of the second predetermined number by second camera, and the exposure parameter of each source images is different; According to the picture displacement difference vector that the spacing of the first camera and second camera produces, image registration is carried out to described source images; Obtain the exposure property value of described source images, and according to described exposure property value, the source images after registration is synthesized a HDR image, achieve and utilize dual camera to take, shorten the image capturing time under HDR pattern.
Fig. 2 is the schematic flow sheet of quick photographic images method in another embodiment of the present invention, and described method at least comprises as shown in the figure:
S201, the HDR obtaining user's input takes instruction.
Concrete, system can detect the HDR screening-mode that user selects camera, then when user sends shooting instruction, carries out shooting and the synthesis step of HDR image.In concrete enforcement, have a lot of screening-mode preset in camera applications, system can detect that user clicks certain screening-mode in screening-mode and is switched to corresponding style of shooting and acquisition parameters.When user clicks HDR screening-mode, the exposure parameter that system will adjust different camera automatically, to the exposure parameter preset, after getting the shooting instruction that user sends, then performs corresponding HDR image shooting step.Further, shooting instruction can send with a lot of form, such as, click shooting icon or take button, Bluetooth transmission instruction, voice recognition shooting and smiling face to identify shooting etc.
S202, the first exposure parameter and the second exposure parameter is used to take the first source images and the second source images respectively by the first camera, use the 3rd exposure parameter shooting the 3rd source images by second camera, described first camera and described second camera are positioned at the same side of terminal.
Concrete, after the photographing instruction receiving user, first camera of described the same side and second camera will carry out finding a view taking pictures at one time, and first time only takes pictures with the first camera after having taken again.Here, the viewfinder range of the first camera and second camera in twice shooting process, angle, to be all substantially consistent except all the other acquisition parameters etc. of exposure or only to there is the difference without affecting imaging.In concrete enforcement, after user enters HDR exposal model, the exposure parameter of described first camera will be arranged to the first exposure parameter preset by system, the exposure parameter of described second camera is arranged to the 3rd exposure parameter preset, described first camera shooting obtains the first source images, and described second camera shooting simultaneously obtains the 3rd source images.After completing first time shooting, first source images of different exposure and the second source images are put into buffer memory by system, the second exposure parameter being arranged to by the exposure parameter of described first camera preset again is enabled the first camera shooting simultaneously and is obtained the second source images, and described second source images is put into buffer memory.It should be noted that, here shooting order can be by the first camera take the first source images simultaneously by second camera shooting the 3rd source images take the second source images by the first camera again, or first by the first camera take the second source images again by the first camera take the first source images simultaneously by second camera shooting the 3rd source images.
Further, described method also comprises:
S203, extracts at least one group of fixed reference feature point pair of described first source images and the 3rd source images.
Concrete, system needs at least one group of fixed reference feature point pair being extracted described first source images and the 3rd source images by similarity measurement, is used for certain mapping relations determining to exist between two Zhang Yuan's images.In concrete enforcement, first will carry out point other feature extraction to the first source images subject to registration and the 3rd source images, but the characteristics of image extracted is consistent.The characteristics of image of Chang Zuowei feature extraction has: characteristic point, straightway, edge, profile, center of gravity etc.Afterwards, system is mated to the feature extracted in described first source images and the 3rd source images by similarity measurement, to find out in described first source images and the 3rd source images the fixed reference feature point pair that characteristic point one to one obtains mating.
S204, according to described fixed reference feature point to the reference coordinate respectively on the first source images and the 3rd source images, determines the virtual borderlines relation of described first source images and the 3rd source images.
Concrete, determine the coordinate that the fixed reference feature point of coupling is right, just can according to the fixed reference feature point of described first source images and the 3rd source images to the coordinate figure of correspondence, obtain image space coordinate conversion parameter, the registration mapping relations between described first source images and the 3rd source images can be set up by this image space coordinate conversion parameter.In concrete enforcement, described first source images and the 3rd source images fixed reference feature point pair having extracted at least one group in step S203, each group fixed reference feature point is to there being one group of corresponding coordinate, all there is a kind of mathematics corresponding relation in this each group coordinate, the image space coordinate conversion parameter of described first source images and the 3rd source images paper can be determined by the corresponding relation of this kind of coordinate, thus set up corresponding virtual borderlines relation.Further, virtual borderlines relation here not only comprises population size, also comprises the isoparametric mapping relations such as angle, direction, spatial alternation.For the simplest example, as shown in Figure 6, in plane X-Y-coordinate system, one group of fixed reference feature point of described first source images and the 3rd source images is (1 to coordinate, 1) and (3,4), image space coordinate conversion parameter 2 is so obtained, 3, thus to obtain its mapping relations be X 3=X 1+ 2, Y 3=Y 1+ 3.
S205, according to the virtual borderlines relation of described first source images and the 3rd source images, the picture displacement difference vector that the spacing calculating described first camera and second camera produces.
Concrete, determine the virtual borderlines relation of described first source images and the 3rd source images, just the mapping equation of mathematics can be converted into corresponding displacement difference vector.This displacement difference vector have recorded the distance size and correspondence direction that described first source images and the 3rd source images spatially differ, important parameter when being translation compensation.Described displacement difference vector is owing to there is certain distance between the first camera and second camera, causes the first source images of the first camera shooting and the 3rd source images of second camera shooting to there is certain skew and causes.
Further, described method also comprises:
S206, according to displacement difference vector, carries out translation compensation to described first source images, the second source images and the 3rd source images.
Concrete, after determining described displacement difference vector, system just can according to the direction of this displacement difference vectors directed and distance size, translation compensation is carried out to described first source images, the second source images and the 3rd source images, thus obtains the synthesis that the first overlapping source images, the second source images and the 3rd source images carry out HDR image.In concrete enforcement, can only to described 3rd source images with described first source images or the second source images for reference to carrying out translation compensation, namely described first source images or the second source images keep motionless, and the 3rd source images described in a translation reaches the effect of three Zhang Yuan's image overlaps; Also a reference coordinate can be set, by the first source images, the second source images and the 3rd source images with described reference coordinate for reference to carrying out translation compensation, namely described first source images, the second source images and the 3rd source images all reach the effect of three Zhang Yuan's image overlaps to the position translation of reference coordinate.Because the former can reduce time and the difficulty of image procossing, therefore select the former as the method for translation compensation here.
S207, obtains the exposure property value of described first source images, the second source images and the 3rd source images, and according to described exposure property value by described first source images after registration, the second source images and the 3rd source images synthesis HDR image.
Concrete, after the shooting completing described source images and registration, system will obtain the exposure property value of described source images in the module of synthesis process image, then according to described first source images, the second source images and the 3rd source images synthesis HDR image after the different exposure property value of three Zhang Yuan's images and registration.Described HDR image is because the source images that have employed three different exposures synthesizes, therefore the details of lifting image dark portion to a great extent and highlights is showed, make the effect at bright place vivid, and the more details of dark reservation, can differentiate profile and the degree of depth of object, instead of in the past one is black.
The embodiment of the present invention uses the first exposure parameter and the second exposure parameter to take the first source images and the second source images respectively by the first camera, and second camera uses the 3rd exposure parameter shooting the 3rd source images; According to picture displacement difference vector, image registration is carried out to described first source images, the second source images and the 3rd source images; According to described exposure property value, described first source images after registration, the second source images and the 3rd source images are synthesized a HDR image, achieve and utilize dual camera to take, shorten the image capturing time under HDR pattern.
Fig. 3 is the composition structural representation of a kind of quick photographic images device in the embodiment of the present invention.Described quick photographic images device can be user terminal or the software program operating in user terminal, and described user terminal can comprise mobile phone, notebook computer, panel computer, digital camera etc.Described device at least comprises as shown in the figure:
First camera 310, for taking the source images of the first predetermined number by the first camera.
Second camera 320, for being taken the source images of the second predetermined number by second camera, the exposure parameter of each source images is different, and described first camera and described second camera are positioned at the same side of terminal.
Concrete, after the photographing instruction receiving user, first camera of described the same side and second camera will carry out finding a view taking pictures.In shooting process, the viewfinder range of the first camera 310 and second camera 320, angle, to be all substantially consistent except all the other acquisition parameters etc. of exposure parameter or only to there is the difference that nothing affects imaging.Because the source images of HDR image by different exposure parameter synthesizes, therefore, when systemic presupposition exposure parameter, the exposure parameter of each source images needs different, that is, first camera and the exposure parameter of the source images that second camera is taken are not identical, and the exposure parameter between the different source images of each camera shooting is also not identical.Further, the shooting time point of the first camera 310 and second camera 320 and photographic images quantity can identical also can not be identical.Such as, when taking three Zhang Yuan's images, the first camera 310 will carry out finding a view taking pictures with second camera 320 at one time, and obtain two Zhang Yuan's images, afterwards, only again carrying out taking pictures with the first camera 310 or second camera 320 obtains the 3rd Zhang Yuan's image.When such as taking again four Zhang Yuan's images, first camera 310 will carry out finding a view taking pictures with second camera 320 at the same time, obtain two Zhang Yuan's images, afterwards, first camera 310 will carry out finding a view taking pictures at future time again with second camera 320 simultaneously, then obtain two Zhang Yuan's images.
Further, in an alternative embodiment, described first camera 310 and second camera 320 for:
The first exposure parameter and the second exposure parameter is used to take the first source images and the second source images respectively by the first camera 310, use the 3rd exposure parameter shooting the 3rd source images by second camera 320, described first camera and described second camera are positioned at the same side of terminal.
Concrete, after the photographing instruction receiving user, first camera 310 of described the same side will carry out finding a view taking pictures with second camera 320 at one time, and first time only takes pictures with the first camera 310 after having taken again.In concrete enforcement, after user enters HDR exposal model, the exposure parameter of described first camera 310 will be arranged to the first exposure parameter preset by system, the exposure parameter of described second camera 320 is arranged to the 3rd exposure parameter preset, described first camera 310 shooting obtains the first source images, and described second camera 320 shooting simultaneously obtains the 3rd source images.After completing first time shooting, first source images of different exposure and the second source images are put into buffer memory, the second exposure parameter being arranged to by the exposure parameter of described first camera 310 preset again is enabled the first camera 310 shooting simultaneously and is obtained the second source images, and described second source images is put into buffer memory.It should be noted that, here shooting order can be take the first source images by the first camera 310 to take the 3rd source images by second camera 320 simultaneously and take the second source images by the first camera 310 again, or first takes the second source images by the first camera 310 and take the first source images by the first camera 310 again and take the 3rd source images by second camera 320 simultaneously.
Image registration module 330, for the picture displacement difference vector produced according to the spacing of the first camera 310 and second camera 320, carries out image registration to described source images.
Concrete, owing to there is certain distance between the first camera and second camera, will being there is certain skew and cannot overlap completely in the source images that the first camera 310 is taken and the source images that second camera 320 is taken, therefore needs to carry out image registration to described source images.In concrete enforcement, the method of image registration is mainly by the similar features point of detection two images, extract at least one group of fixed reference feature point pair of the described source images of the first camera 310 shooting and the source images of second camera 320 shooting, again according to described fixed reference feature point to respectively first camera 310 take source images and second camera 320 take source images on reference coordinate, determine the virtual borderlines relation of the source images that described first camera 310 is taken and the source images that second camera 320 is taken, then the picture displacement difference vector that the spacing calculating described first camera 310 and second camera 320 according to described mapping relations produces.After determining described displacement difference vector, system just can carry out translation compensation according to this vector to described source images, thus obtains the synthesis that multiple overlapping source images carry out HDR image.Further, the source images taken with described first camera 310 of the source images that can only take described second camera 320 is for reference to carrying out translation compensation, also a reference coordinate can be set, the source images taken of the source images that first camera 310 is taken and second camera 320 with described reference coordinate for reference to carrying out translation compensation, because the former can reduce time and the difficulty of image procossing, therefore select the former as the method for translation compensation here.
Further, described image registration module 330 comprises: vector determination unit 331 and translation compensating unit 332, as shown in Figure 4.
Vector determination unit 331, for determining the picture displacement difference vector that the spacing of the first camera and second camera produces, comprising feature extraction subelement 331a, mapping and determine subelement 331b and Vector operation subelement 331c, as shown in Figure 5.
Feature extraction subelement 331a, at least one group of fixed reference feature point pair of the source images that source images and second camera 320 for extracting described first camera 310 shooting are taken.
Concrete, system needs at least one group of fixed reference feature point pair being extracted source images that described first camera 310 takes and the source images that second camera 320 is taken by similarity measurement, is used for certain mapping relations determining to exist between two Zhang Yuan's images.In concrete enforcement, the source images that the source images first will taken the first camera 310 subject to registration and second camera 320 are taken carries out point other feature extraction, but the characteristics of image extracted is consistent.The characteristics of image of Chang Zuowei feature extraction has: characteristic point, straightway, edge, profile, center of gravity etc.Afterwards, the feature extracted in the source images that the source images taken described first camera 310 and second camera 320 are taken by system is mated by similarity measurement, find out described first camera 310 take source images and second camera 320 take source images in one to one characteristic point obtain mate fixed reference feature point pair.
Subelement 331b is determined in mapping, reference coordinate on the source images taken the source images taken at the first camera 310 respectively and second camera 320 according to described fixed reference feature point, determines the virtual borderlines relation of the source images that described first camera 310 is taken and the source images that second camera 320 is taken.
Concrete, determine the coordinate that the fixed reference feature point of coupling is right, the fixed reference feature point of the source images that the source images just can taken according to described first camera 310 and second camera 320 are taken is to the coordinate figure of correspondence, obtain image space coordinate conversion parameter, the registration mapping relations between the source images of described first camera 310 shooting and the source images of second camera 320 shooting can be set up by this image space coordinate conversion parameter.In concrete enforcement, the source images that described first camera 310 is taken and the source images that second camera 320 is taken have extracted the fixed reference feature point pair of at least one group at feature extraction subelement 331a, each group fixed reference feature point is to there being one group of corresponding coordinate, all there is a kind of mathematics corresponding relation in this each group coordinate, the image space coordinate conversion parameter can determining between the source images that described first camera 310 is taken and the source images that second camera 320 is taken by the corresponding relation of this kind of coordinate, thus sets up corresponding virtual borderlines relation.Further, virtual borderlines relation here not only comprises population size, also comprises the isoparametric mapping relations such as angle, direction, spatial alternation.For the simplest example, in plane coordinate system, one group of fixed reference feature point of the source images that described first camera 310 is taken and the source images that second camera 320 is taken is (1 to coordinate, 1) and (3,4), so obtain image space coordinate conversion parameter 2,3, thus to obtain its mapping relations be X 3=X 1+ 2, Y 3=Y 1+ 3.
Vector operation subelement 331c, for the virtual borderlines relation according to the described source images of the first camera 310 shooting and the source images of second camera 320 shooting, the picture displacement difference vector that the spacing calculating described first camera 310 and second camera 320 produces.
Concrete, map and determine that subelement 331b determines the virtual borderlines relation of the described source images of the first camera 310 shooting and the source images of second camera 320 shooting, just the mapping equation of mathematics can be converted into corresponding displacement difference vector.This displacement difference vector have recorded source images that described first camera 310 takes and the distance size that spatially differs of source images that second camera 320 is taken and correspondence direction, important parameter when being translation compensation.Described displacement difference vector is owing to there is certain distance between the first camera 310 and second camera 320, and the source images that the source images causing the first camera 310 to be taken and second camera 320 are taken exists certain skew to be caused.
Translation compensation unit 332, for according to displacement difference vector, carries out translation compensation to described source images.
Concrete, after determining described displacement difference vector, translation compensation unit 332 just according to the direction of this displacement difference vectors directed and distance size, carry out translation compensation, thus the source images that acquisition can be overlapping can carry out the synthesis of HDR image to described source images.In concrete enforcement, the source images that can only take described second camera 320 with the source images of described first camera shooting 310 for reference to carrying out translation compensation, namely the source images that described first camera 310 is taken keeps motionless, and the source images that second camera 320 described in a translation is taken reaches the effect of source images overlap; Also can set a reference coordinate, by source images with described reference coordinate for reference to carrying out translation compensation, namely described source images all reaches the effect of source images overlap to the position translation of reference coordinate.Because the former can reduce time and the difficulty of image procossing, therefore select the former as the method for translation compensation here.
Image synthesis unit 340, for obtaining the exposure property value of described source images, and according to described exposure property value by the source images synthesis HDR image after registration.
Concrete, after the shooting completing described source images and registration, image synthesis unit 340 will obtain the exposure property value of described source images in the module of synthesis process image, then according to multiple source images synthesis HDR image described in after the different exposure property value of multiple source images and registration.Described HDR image is because the source images that have employed multiple different exposures synthesizes, therefore the details of lifting image dark portion to a great extent and highlights is showed, make the effect at bright place vivid, and the more details of dark reservation, can differentiate profile and the degree of depth of object, instead of in the past one is black.
Shooting instruction acquisition module 350, takes instruction, to trigger the first camera 310 and second camera 320 for the HDR obtaining user's input.
Concrete, shooting instruction acquisition module 350 can detect the HDR screening-mode that user selects camera, then when user sends shooting instruction, carries out shooting and the synthesis step of HDR image.In concrete enforcement, have a lot of screening-mode preset in camera applications, shooting instruction acquisition module 350 can detect that user clicks certain screening-mode in screening-mode and is switched to corresponding style of shooting and acquisition parameters.When user clicks HDR screening-mode, the exposure parameter that shooting instruction acquisition module 350 will adjust different camera automatically, to the exposure parameter preset, after getting the shooting instruction that user sends, then performs corresponding HDR image shooting step.Further, shooting instruction can send with a lot of form, such as, click shooting icon or take button, Bluetooth transmission instruction, voice recognition shooting and smiling face to identify shooting etc.
The embodiment of the present invention embodiment of the present invention takes the source images of the first predetermined number by the first camera, is taken the source images of the second predetermined number by second camera, and the exposure parameter of each source images is different; According to the picture displacement difference vector that the spacing of the first camera and second camera produces, image registration is carried out to described source images; Obtain the exposure property value of described source images, and according to described exposure property value, the source images after registration is synthesized a HDR image, achieve and utilize dual camera to take, shorten the image capturing time under HDR pattern.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (14)

1. a quick photographic images method, is characterized in that, described method comprises:
Taken the source images of the first predetermined number by the first camera, taken the source images of the second predetermined number by second camera, the exposure parameter of each source images is different, and described first camera and described second camera are positioned at the same side of terminal;
According to the picture displacement difference vector that the spacing of the first camera and second camera produces, image registration is carried out to described source images;
Obtain the exposure property value of described source images, and according to described exposure property value by the source images synthesis HDR image after registration.
2. photographic images method fast as claimed in claim 1, it is characterized in that, the described source images being taken the first predetermined number by the first camera, is also comprised before being taken the source images of the second predetermined number by second camera:
The HDR obtaining user's input takes instruction.
3. photographic images method fast as claimed in claim 1, it is characterized in that, described image registration comprises:
Determine the picture displacement difference vector that the spacing of the first camera and second camera produces;
According to displacement difference vector, translation compensation is carried out to described source images.
4. photographic images method fast as claimed in claim 3, it is characterized in that, described translation compensation comprises:
The source images only described second camera taken with the source images of described first camera shooting for reference to carrying out translation compensation.
5. photographic images method fast as claimed in claim 3, is characterized in that, the described picture displacement difference vector determining that the spacing of the first camera and second camera produces comprises:
Extract at least one group of fixed reference feature point pair of the described source images of the first camera shooting and the source images of second camera shooting;
According to described fixed reference feature point to the reference coordinate respectively on the source images of the first camera shooting and the source images of second camera shooting, determine the virtual borderlines relation of the described source images of the first camera shooting and the source images of second camera shooting;
According to the virtual borderlines relation of the source images that source images and the second camera of described first camera shooting are taken, the picture displacement difference vector that the spacing calculating described first camera and second camera produces.
6. photographic images method fast as claimed in claim 1, it is characterized in that, the source images of described first predetermined number comprises the first source images and the second source images, and the source images of described second predetermined number comprises the 3rd source images;
The described source images being taken the first predetermined number by the first camera, the source images of the second predetermined number is taken by second camera, the exposure parameter of each source images is different, and the same side that described first camera and described second camera are positioned at terminal comprises:
The first exposure parameter and the second exposure parameter is used to take the first source images and the second source images respectively by the first camera, use the 3rd exposure parameter shooting the 3rd source images by second camera, described first camera and described second camera are positioned at the same side of terminal.
7. photographic images method fast as claimed in claim 6, it is characterized in that, describedly using the first exposure parameter and the second exposure parameter to take the first source images and the second source images respectively by the first camera, comprising by using the 3rd exposure parameter to take the 3rd source images with the second camera of described first camera homonymy:
The first source images is taken simultaneously by second camera shooting the 3rd source images by the first camera, the second source images is taken again by the first camera, or first take the second source images by the first camera, then take the first source images simultaneously by second camera shooting the 3rd source images by the first camera.
8. a quick photographic images device, is characterized in that, described device comprises:
First camera, for taking the source images of the first predetermined number by the first camera;
Second camera, for being taken the source images of the second predetermined number by second camera, the exposure parameter of each source images is different, and described first camera and described second camera are positioned at the same side of terminal;
Image registration module, for the picture displacement difference vector produced according to the spacing of the first camera and second camera, carries out image registration to described source images;
Image synthesis unit, for obtaining the exposure property value of described source images, and according to described exposure property value by the source images synthesis HDR image after registration.
9. photographic images device fast as claimed in claim 8, it is characterized in that, described device also comprises:
Shooting instruction acquisition module, takes instruction, to trigger the first camera and second camera for the HDR obtaining user's input.
10. photographic images device fast as claimed in claim 8, it is characterized in that, described image registration module comprises:
Vector determination unit, for determining the picture displacement difference vector that the spacing of the first camera and second camera produces;
Translation compensation unit, for according to displacement difference vector, carries out translation compensation to described source images.
11. photographic images devices fast as claimed in claim 10, it is characterized in that, described translation compensation unit is used for:
The source images only described second camera taken with the source images of described first camera shooting for reference to carrying out translation compensation.
12. photographic images devices fast as claimed in claim 10, it is characterized in that, described vector determination unit comprises:
Feature extraction subelement, for extracting at least one group of fixed reference feature point pair of the described source images of the first camera shooting and the source images of second camera shooting;
Subelement is determined in mapping, reference coordinate on the source images taken source images and the second camera respectively in the first camera shooting according to described fixed reference feature point, determines the virtual borderlines relation of the described source images of the first camera shooting and the source images of second camera shooting;
Vector operation subelement, for the virtual borderlines relation according to the described source images of the first camera shooting and the source images of second camera shooting, the picture displacement difference vector that the spacing calculating described first camera and second camera produces.
13. photographic images devices fast as claimed in claim 8, it is characterized in that, the source images of described first predetermined number comprises the first source images and the second source images, and the source images of described second predetermined number comprises the 3rd source images;
Described first camera and second camera are used for:
The first exposure parameter and the second exposure parameter is used to take the first source images and the second source images respectively by the first camera, use the 3rd exposure parameter shooting the 3rd source images by second camera, described first camera and described second camera are positioned at the same side of terminal.
14. photographic images devices fast as claimed in claim 13, it is characterized in that, described first camera and second camera take the first source images and the 3rd source images respectively simultaneously, trigger the first camera again and take the second source images, or first camera first take the second source images, then trigger the first camera and second camera takes the first source images and the 3rd source images respectively simultaneously.
CN201510280496.7A 2015-05-27 2015-05-27 Image quick photographing method and device Pending CN105578023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510280496.7A CN105578023A (en) 2015-05-27 2015-05-27 Image quick photographing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510280496.7A CN105578023A (en) 2015-05-27 2015-05-27 Image quick photographing method and device

Publications (1)

Publication Number Publication Date
CN105578023A true CN105578023A (en) 2016-05-11

Family

ID=55887635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510280496.7A Pending CN105578023A (en) 2015-05-27 2015-05-27 Image quick photographing method and device

Country Status (1)

Country Link
CN (1) CN105578023A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872148A (en) * 2016-06-21 2016-08-17 维沃移动通信有限公司 Method and mobile terminal for generating high dynamic range images
CN106331497A (en) * 2016-08-31 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Image processing method and terminal
CN106454131A (en) * 2016-11-29 2017-02-22 广东欧珀移动通信有限公司 Photographing method and device for terminal, and terminal
CN106791298A (en) * 2016-12-01 2017-05-31 广东虹勤通讯技术有限公司 A kind of terminal and photographic method with dual camera
CN107566748A (en) * 2017-09-22 2018-01-09 维沃移动通信有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium
CN108989700A (en) * 2018-08-13 2018-12-11 Oppo广东移动通信有限公司 Image formation control method, device, electronic equipment and computer readable storage medium
CN109922328A (en) * 2019-04-13 2019-06-21 杭州晶一智能科技有限公司 The wide dynamic imaging methods of grass-removing robot based on twin camera
CN110248094A (en) * 2019-06-25 2019-09-17 珠海格力电器股份有限公司 Image pickup method and camera terminal
CN111917950A (en) * 2020-06-30 2020-11-10 北京迈格威科技有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN112188082A (en) * 2020-08-28 2021-01-05 努比亚技术有限公司 High dynamic range image shooting method, shooting device, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100128108A1 (en) * 2008-11-27 2010-05-27 Samsung Electronics Co., Ltd. Apparatus and method for acquiring wide dynamic range image in an image processing apparatus
CN101997981A (en) * 2010-11-01 2011-03-30 惠州Tcl移动通信有限公司 Mobile phone camera-based latitude realization method and mobile phone
CN102129148A (en) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 Camera and photo shooting and processing method
CN102422124A (en) * 2010-05-31 2012-04-18 松下电器产业株式会社 Imaging device, imaging means and program
CN103973989A (en) * 2014-04-15 2014-08-06 北京理工大学 Method and system for obtaining high-dynamic images
CN103986875A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring device, method and terminal and video acquiring method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100128108A1 (en) * 2008-11-27 2010-05-27 Samsung Electronics Co., Ltd. Apparatus and method for acquiring wide dynamic range image in an image processing apparatus
CN102129148A (en) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 Camera and photo shooting and processing method
CN102422124A (en) * 2010-05-31 2012-04-18 松下电器产业株式会社 Imaging device, imaging means and program
CN101997981A (en) * 2010-11-01 2011-03-30 惠州Tcl移动通信有限公司 Mobile phone camera-based latitude realization method and mobile phone
CN103973989A (en) * 2014-04-15 2014-08-06 北京理工大学 Method and system for obtaining high-dynamic images
CN103986875A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring device, method and terminal and video acquiring method

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872148B (en) * 2016-06-21 2019-05-17 维沃移动通信有限公司 A kind of generation method and mobile terminal of high dynamic range images
CN105872148A (en) * 2016-06-21 2016-08-17 维沃移动通信有限公司 Method and mobile terminal for generating high dynamic range images
CN106331497A (en) * 2016-08-31 2017-01-11 宇龙计算机通信科技(深圳)有限公司 Image processing method and terminal
CN106331497B (en) * 2016-08-31 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of image processing method and terminal
CN106454131A (en) * 2016-11-29 2017-02-22 广东欧珀移动通信有限公司 Photographing method and device for terminal, and terminal
CN106791298A (en) * 2016-12-01 2017-05-31 广东虹勤通讯技术有限公司 A kind of terminal and photographic method with dual camera
CN107566748A (en) * 2017-09-22 2018-01-09 维沃移动通信有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium
CN108989700A (en) * 2018-08-13 2018-12-11 Oppo广东移动通信有限公司 Image formation control method, device, electronic equipment and computer readable storage medium
CN108989700B (en) * 2018-08-13 2020-05-15 Oppo广东移动通信有限公司 Imaging control method, imaging control device, electronic device, and computer-readable storage medium
US11228720B2 (en) 2018-08-13 2022-01-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for imaging controlling, electronic device, and non-transitory computer-readable storage medium
CN109922328A (en) * 2019-04-13 2019-06-21 杭州晶一智能科技有限公司 The wide dynamic imaging methods of grass-removing robot based on twin camera
CN110248094A (en) * 2019-06-25 2019-09-17 珠海格力电器股份有限公司 Image pickup method and camera terminal
CN110248094B (en) * 2019-06-25 2020-05-05 珠海格力电器股份有限公司 Shooting method and shooting terminal
CN111917950A (en) * 2020-06-30 2020-11-10 北京迈格威科技有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN112188082A (en) * 2020-08-28 2021-01-05 努比亚技术有限公司 High dynamic range image shooting method, shooting device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN105578023A (en) Image quick photographing method and device
US10681271B2 (en) Image processing apparatus, image capturing system, image processing method, and recording medium
JP6946188B2 (en) Methods and equipment for multi-technology depth map acquisition and fusion
US9692959B2 (en) Image processing apparatus and method
JP2017520050A (en) Local adaptive histogram flattening
US20190385285A1 (en) Image Processing Method and Device
CN110324532B (en) Image blurring method and device, storage medium and electronic equipment
CN104243819A (en) Photo acquiring method and device
CN104641624B (en) Image processing apparatus, camera device and image processing method
CN107787463B (en) The capture of optimization focusing storehouse
CN110636276B (en) Video shooting method and device, storage medium and electronic equipment
KR20200101741A (en) An electronic dievice applying bokeh effect to image and controlling method thereof
CN105227838A (en) A kind of image processing method and mobile terminal
US11563889B2 (en) Electronic device and method for controlling camera using external electronic device
KR102423295B1 (en) An apparatus for composing objects using depth map and a method thereof
CN112614057A (en) Image blurring processing method and electronic equipment
CN110213492B (en) Device imaging method and device, storage medium and electronic device
CN113810604B (en) Document shooting method, electronic device and storage medium
US11416974B2 (en) Image processing method and electronic device supporting the same
CN112749613A (en) Video data processing method and device, computer equipment and storage medium
CN112017137A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN110717452B (en) Image recognition method, device, terminal and computer readable storage medium
KR102574649B1 (en) Method for Processing Image and the Electronic Device supporting the same
CN112508959B (en) Video object segmentation method and device, electronic equipment and storage medium
CN110177216B (en) Image processing method, image processing device, mobile terminal and storage medium

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: 20160511

RJ01 Rejection of invention patent application after publication