CN106067947A - A kind of photographic method and terminal - Google Patents
A kind of photographic method and terminal Download PDFInfo
- Publication number
- CN106067947A CN106067947A CN201610592005.7A CN201610592005A CN106067947A CN 106067947 A CN106067947 A CN 106067947A CN 201610592005 A CN201610592005 A CN 201610592005A CN 106067947 A CN106067947 A CN 106067947A
- Authority
- CN
- China
- Prior art keywords
- image
- camera
- area
- region
- unit
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000015572 biosynthetic process Effects 0.000 claims description 13
- 238000003786 synthesis reaction Methods 0.000 claims description 13
- 238000005259 measurement Methods 0.000 claims description 10
- 230000000694 effects Effects 0.000 abstract description 16
- 230000009977 dual effect Effects 0.000 abstract description 15
- 230000002194 synthesizing effect Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
- H04N23/684—Vibration or motion blur correction performed by controlling the image sensor readout, e.g. by controlling the integration time
- H04N23/6845—Vibration or motion blur correction performed by controlling the image sensor readout, e.g. by controlling the integration time by combination of a plurality of images sequentially taken
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
Embodiments provide a kind of photographic method and terminal, the method includes: start the first camera and second camera, and pass through first camera collection the first image and second camera collection the second image, first camera and second camera are arranged on the same face of terminal, and the acquisition time of the first image and the second image is identical;By the first distance between laser range sensor measuring terminals and subject;If the first distance is more than or equal to preset value, then synthesize the first image and the second image, to obtain target image.Implement the embodiment of the present invention, the effect of dual camera shooting image can be improved.
Description
Technical field
The present invention relates to camera technique field, be specifically related to a kind of photographic method and terminal.
Background technology
With the development of electronic technology, camera has become in the terminal such as mobile phone, panel computer requisite group
Becoming part, therefore, user can be by the dribs and drabs in the camera record life in terminal.But, take the photograph with being provided with
As the continuous of terminal of head is popularized, user is more and more higher to the requirement of technique for taking, and user does not require nothing more than and can photograph quality
Preferable image, and disclosure satisfy that some particular/special requirements, such as large aperture etc..But, single camera technique for taking cannot be expired
Foot above-mentioned requirements, therefore, industry proposes to use dual camera to solve the problems referred to above.Due to two cameras in dual camera it
Between there is a certain distance, if the distance between terminal and subject is less, then cause two of two camera collections
Registration between image is less, so that the effect by the image of double photography is poor.
Content of the invention
The embodiment of the present invention provides a kind of photographic method and terminal, can improve the effect of dual camera shooting image.
Embodiment of the present invention first aspect provides a kind of photographic method, comprising:
Start the first camera and second camera, and pass through described first camera collection the first image and described second
Camera collection the second image, described first camera and described second camera be arranged on the same face of terminal, and described first
Image is identical with the acquisition time of described second image;
By the first distance between laser range sensor measuring terminals and subject;
If described first distance is more than or equal to preset value, then synthesize described first image and described second image, to obtain
Obtain target image.
Embodiment of the present invention second aspect provides a kind of terminal, comprising:
Start unit, for starting the first camera and second camera, described first camera and described second shooting
Head is arranged on the same face of terminal;
Collecting unit, for first camera collection the first image of being started by described start unit and described startup list
The second camera that unit starts gathers the second image, and described first image is identical with the acquisition time of described second image;
Measuring unit, for by laser range sensor measure between described terminal and subject first away from
From;
Synthesis unit, if for the first distance of described measuring unit measurement more than or equal to preset value, then synthesis is described
The second image that first image of collecting unit collection and described collecting unit gather, to obtain target image.
In the embodiment of the present invention, start the first camera and second camera, by first camera collection the first image
With second camera gather the second image, by first between laser range sensor measuring terminals and subject away from
From if the first distance is more than or equal to preset value, then synthesizing the first image and the second image obtain target image.Owing to working as terminal
And when the distance between subject is more than or equal to preset value, the registration between two images of two camera collections
Relatively big, therefore, the effect by synthesizing the image that the image of dual camera collection obtains is preferable, such that it is able to improve dual camera
The effect of shooting image.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment
Accompanying drawing is briefly described, it should be apparent that, the accompanying drawing in describing below is some embodiments of the present invention, general for this area
From the point of view of logical technical staff, on the premise of not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of photographic method that the embodiment of the present invention provides;
Fig. 2 is the structural representation of the another kind of photographic method that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the embodiment of the present invention another terminal disclosed;
Fig. 6 is the schematic diagram that a kind of dual camera that the embodiment of the present invention provides determines the degree of depth.
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 clear, complete
Describe, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments wholely.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work
Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of photographic method and terminal, can improve the effect of dual camera shooting image.With
It lower is described in detail respectively.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of photographic method that the embodiment of the present invention provides.Wherein, this is taken pictures
Method is from being provided with at least two camera, and the angle of the two of which camera terminal that is arranged on the same face describes
's.As it is shown in figure 1, this photographic method may comprise steps of.
101st, the first camera and second camera are started.
In the present embodiment, when user needs by two camera shooting photos, videos in terminal, to reach user's
During requirement, user can be used for terminal input by clicking on the operations such as preset icon, click predeterminable area, pressing programmable button
Start the enabled instruction of the first camera and second camera, terminal receive will start after enabled instruction the first camera and
Second camera.Wherein, the first camera and second camera are arranged on the same face of terminal, can be arranged on the front of terminal
(i.e. face, screen place), it is also possible to be arranged on the back side (i.e. with screen face in opposite directions) of terminal.
102nd, pass through first camera collection the first image and second camera gathers the second image.
In the present embodiment, after the first camera and second camera start, when user needs by two in terminal
When camera shooting photo, video, user can be by clicking on preset icon, clicking on the behaviour such as predeterminable area, pressing programmable button
Make to terminal input for gathering the acquisition instructions of image, after terminal receives acquisition instructions, will be adopted by the first camera
Collect the first image and second camera gathers the second image.In addition it is also possible to be to start at the first camera and second camera
Afterwards, pass through first camera collection the first image immediately and second camera gathers the second image, without user's input
Acquisition instructions.Wherein, the acquisition time of the first image and the second image is identical, and the i.e. first image and the second image are to pass through simultaneously
The image that two cameras gather for same subject.
103rd, by the first distance between laser range sensor measuring terminals and subject.
In the present embodiment, when the first camera being detected and second camera starts, or the first camera detected
After starting with second camera, laser range sensor will be started.Wherein, laser range sensor can be with the first camera
Being arranged on the same face with second camera, laser range sensor can be arranged between the first camera and second camera,
Also can be positioned close to the first camera and the position away from second camera, can also be arranged on and the first camera and
Other positions of two camera the same faces.
In the present embodiment, laser range sensor start after, will by laser range sensor measuring terminals with clapped
Take the photograph the first distance between object, will be after laser alignment subject to launch, measurement laser two-way time, by past
The time of returning is multiplied by the light velocity and i.e. can obtain the round distance between terminal and subject, such that it is able to obtain terminal and clapped
Take the photograph the first distance between object.Owing to laser has high directivity, high monochromaticity and high power etc., therefore, it can exactly
Measurement is to the first distance between terminal and subject.
If 104 first distances are more than or equal to preset value, then synthesize the first image and the second image, to obtain target figure
Picture.
In the present embodiment, after gathering the second image by first camera collection the first image and second camera, with
And by the first distance between laser range sensor measuring terminals and subject afterwards, whether will determine that the first distance
More than or equal to preset value, if the first distance is more than or equal to preset value, then show the weight between the first image and the second image
Right relatively big, the first image and the second image will be synthesized to obtain target image.
In the present embodiment, synthesize the first image and the second image to obtain target image, first area can be compared
The brightness of the image of image and second area obtains the image of high-brightness region, afterwards the image of high-brightness region is defined as mesh
The image in the corresponding region of pixel coordinate in logo image;Also can be the image of image and the second area comparing first area
Definition obtains the image in fine definition region, the image in fine definition region is defined as pixel coordinate in target image corresponding
The image in region.Wherein, first area is the region in the first image, and second area is the region in the second image, first
The pixel coordinate in region is identical with the pixel coordinate of second area.Wherein, pixel coordinate can be the seat of pixel in each image
Mark, if first area is the picture that the pixel, second area that in the first image, the 3rd row the 2nd arranges is the 3rd row the 2nd row in the second image
Element;Also can be relative coordinate, as two-dimensional coordinate is set up for initial point in the lower left corner with every image, the coordinate in each region be permissible
Coordinate representation with four summits in this region, it is also possible to otherwise represent, is not construed as limiting secondary.
Correspondingly, if the first distance is less than preset value, then from the first image and the second image, choose an image determine
For target image.If the first image is coloured image, the second image is black white image, then can be as required by the first image
(i.e. coloured image) or the second image (i.e. black white image) are as target image;If the first image and the second image are colour
Image, then can be using image big for definition in the first image and the second image as target image, it is also possible to by the first image
The image big with brightness in the second image, as target image, can also select image according to other standards.
In the photographic method described by Fig. 1, start the first camera and second camera, by the first camera collection
First image and second camera gather the second image, by between laser range sensor measuring terminals and subject
First distance, if the first distance is more than or equal to preset value, then synthesizes the first image and the second image obtains target image.Due to
When distance between terminal and subject is more than or equal to preset value, between two images of two camera collections
Registration is relatively big, and therefore, the effect by synthesizing the image that the image of dual camera collection obtains is preferable, such that it is able to improve double
The effect of camera shooting image.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of the another kind of photographic method that the embodiment of the present invention provides.Wherein, this bat
It is from being provided with at least two camera according to method, and the angle of the two of which camera terminal that is arranged on the same face describes
's.As in figure 2 it is shown, this photographic method may comprise steps of.
201st, obtain between the first projected centre point of the first camera and the second projected centre point of second camera
Second distance.
202nd, obtain focal length, determine preset value according to second distance and focal length.
In the present embodiment, obtain the focal length of the first camera and second camera, the first camera and second camera
Focal length is identical, determines preset value according to second distance and focal length afterwards.Subject can lead to the degree of depth of projected centre point
Crossing second distance and being multiplied by focal length again divided by parallax value, formula is as follows:
Wherein, Z represents that subject arrives the degree of depth of projected centre point, and f represents focal length, and T represents the throwing of two cameras
Distance between shadow central point, d represents the parallax value at two camera terminals for the subject.Referring to Fig. 6, Fig. 6 is this
A kind of dual camera that inventive embodiments provides determines the schematic diagram of the degree of depth.As shown in Figure 6, in dual camera, f and T is solid
Definite value, Z and d is inversely proportional to, and in other words, subject distance projected centre point is nearer, and parallax value will be bigger, subject
Distance projected centre point is more remote, and parallax value will be less, when parallax value is more than certain threshold value, it will cause by two shootings
The image that head gathers cannot be normally carried out synthesis.Therefore, it in order to ensure the normal synthesis of image, is this threshold value in parallax value
When, it is calculated preset value, when the distance between terminal and subject is less than preset value, show between two cameras
Parallax value relatively big, when the distance between terminal and subject is more than or equal to preset value, show two cameras it
Between parallax value less.
203rd, the first camera and second camera are started.
In the present embodiment, when user needs by two camera shooting photos, videos in terminal, to reach user's
During requirement, user can be used for terminal input by clicking on the operations such as preset icon, click predeterminable area, pressing programmable button
Start the enabled instruction of the first camera and second camera, terminal receive will start after enabled instruction the first camera and
Second camera.Wherein, the first camera and second camera are arranged on the same face of terminal, can be arranged on the front of terminal
(i.e. face, screen place), it is also possible to be arranged on the back side (i.e. with screen face in opposite directions) of terminal.
204th, pass through first camera collection the first image and second camera gathers the second image.
In the present embodiment, after the first camera and second camera start, when user needs by two in terminal
When camera shooting photo, video, user can be by clicking on preset icon, clicking on the behaviour such as predeterminable area, pressing programmable button
Make to terminal input for gathering the acquisition instructions of image, after terminal receives acquisition instructions, will be adopted by the first camera
Collect the first image and second camera gathers the second image.In addition it is also possible to be to start at the first camera and second camera
Afterwards, pass through first camera collection the first image immediately and second camera gathers the second image, without user's input
Acquisition instructions.Wherein, the acquisition time of the first image and the second image is identical, and the i.e. first image and the second image are to pass through simultaneously
The image that two cameras gather for same subject.
205th, laser range sensor is started.
In the present embodiment, when the first camera being detected and second camera starts, or the first camera detected
After starting with second camera, laser range sensor will be started.Wherein, step 204 can perform with step 205 simultaneously,
Also can successively perform.Wherein, laser range sensor can be arranged on the same face with the first camera and second camera, swashs
Ligh-ranging sensor can be arranged between the first camera and second camera, it is also possible to be positioned close to the first camera and
Away from the position of second camera, other positions with the first camera and second camera the same face can also be arranged on.
206th, by the first distance between laser range sensor measuring terminals and subject.
In the present embodiment, laser range sensor start after, will by laser range sensor measuring terminals with clapped
Take the photograph the first distance between object, will be after laser alignment subject to launch, measurement laser two-way time, by past
The time of returning is multiplied by the light velocity and i.e. can obtain the round distance between terminal and subject, such that it is able to obtain terminal and clapped
Take the photograph the first distance between object.Owing to laser has high directivity, high monochromaticity and high power etc., therefore, it can exactly
Measurement is to the first distance between terminal and subject.
If 207 first distances are more than or equal to preset value, then synthesize the first image and the second image, to obtain target figure
Picture.
In the present embodiment, after gathering the second image by first camera collection the first image and second camera, with
And by the first distance between laser range sensor measuring terminals and subject afterwards, whether will determine that the first distance
More than or equal to preset value, if the first distance is more than or equal to preset value, then show the weight between the first image and the second image
Right relatively big, the first image and the second image will be synthesized to obtain target image.
In the present embodiment, synthesize the first image and the second image to obtain target image, first area can be compared
The brightness of the image of image and second area obtains the image of high-brightness region, afterwards the image of high-brightness region is defined as mesh
The image in the corresponding region of pixel coordinate in logo image;Also can be the image of image and the second area comparing first area
Definition obtains the image in fine definition region, the image in fine definition region is defined as pixel coordinate in target image corresponding
The image in region.Wherein, first area is the region in the first image, and second area is the region in the second image, first
The pixel coordinate in region is identical with the pixel coordinate of second area.Wherein, pixel coordinate can be the seat of pixel in each image
Mark, if first area is the picture that the pixel, second area that in the first image, the 3rd row the 2nd arranges is the 3rd row the 2nd row in the second image
Element;Also can be relative coordinate, as two-dimensional coordinate is set up for initial point in the lower left corner with every image, the coordinate in each region be permissible
Coordinate representation with four summits in this region, it is also possible to otherwise represent, is not construed as limiting secondary.
If 208 first distances are less than preset value, then from the first image and the second image, choose an image be defined as mesh
Logo image.
In the present embodiment, if the first distance is less than preset value, then from the first image and the second image, choose an image
It is defined as target image.If the first image is coloured image, the second image is black white image, then can be as required by first
Image (i.e. coloured image) or the second image (i.e. black white image) are as target image;If the first image and the second image are
Coloured image, then can be using image big for definition in the first image and the second image as target image, it is also possible to by first
The image that in image and the second image, brightness is big, as target image, can also select image according to other standards.
In the photographic method described by Fig. 2, start the first camera and second camera, by the first camera collection
First image and second camera gather the second image, by between laser range sensor measuring terminals and subject
First distance, if the first distance is more than or equal to preset value, then synthesizes the first image and the second image obtains target image.Due to
When distance between terminal and subject is more than or equal to preset value, between two images of two camera collections
Registration is relatively big, and therefore, the effect by synthesizing the image that the image of dual camera collection obtains is preferable, such that it is able to improve double
The effect of camera shooting image.
Referring to Fig. 3, Fig. 3 is the structural representation of a kind of terminal that the embodiment of the present invention provides.As it is shown on figure 3, this is eventually
End may include that
Start unit 301, for starting the first camera and second camera, the first camera and second camera are arranged
The same face in terminal;
Collecting unit 302, for first camera collection the first image of being started by start unit 301 and start unit
301 second cameras starting gather the second image, and the acquisition time of the first image and the second image is identical;
Measuring unit 303, for by the first distance between laser range sensor measuring terminals and subject;
Synthesis unit 304, if for measuring unit 303 measurement the first distance more than or equal to preset value, then synthesis adopt
The second image that first image of collection unit 302 collection and collecting unit 302 gather, to obtain target image.
In the terminal described by Fig. 3, start the first camera and second camera, by the first camera collection first
Image and second camera gather the second image, by first between laser range sensor measuring terminals and subject
Distance, if the first distance is more than or equal to preset value, then synthesizes the first image and the second image obtains target image.Due to when eventually
When distance between end and subject is more than or equal to preset value, the coincidence between two images of two camera collections
Degree is relatively big, and therefore, the effect by synthesizing the image that the image of dual camera collection obtains is preferable, such that it is able to improve double shooting
The effect of head shooting image.
Referring to Fig. 4, Fig. 4 is the structural representation of the another kind of terminal that the embodiment of the present invention provides.Wherein, shown in Fig. 4
Terminal be that as shown in Figure 3 terminal optimized obtains, wherein, this terminal can also include:
Acquiring unit 305, the second projection of the first projected centre point with second camera for obtaining the first camera
Second distance between central point;
Acquiring unit 305, is additionally operable to obtain focal length, and focal length is the focal length of the first camera and second camera;
First determining unit 306, obtains for the second distance according to acquiring unit 305 acquisition and acquiring unit 305
Focal length calculates preset value.
Specifically, synthesis unit 304, if the first distance for measuring unit 303 measurement determines more than or equal to first
The preset value that unit 306 determines, then synthesize the first image of collecting unit 302 collection and the second figure of collecting unit 302 collection
Picture, to obtain target image.
As a kind of possible embodiment, synthesis unit 304 can include comparing unit 3041 and the second determining unit
3042, wherein:
Comparing unit 3041, is used for comparing the brightness of the image of the image of first area and second area, highlighted to obtain
The image in degree region, first area is the region in the first image, and second area is the region in the second image, first area
Pixel coordinate is identical with the pixel coordinate of second area;Second determining unit 3042, for the height obtaining comparing unit 3041
The image of luminance area is defined as the image in the corresponding region of pixel coordinate in target image;Or
Comparing unit 3041, is used for comparing the definition of the image of the image of first area and second area, to obtain height
The image in definition region, first area is the region in the first image, and second area is the region in the second image, the firstth district
The pixel coordinate in territory is identical with the pixel coordinate of second area;Second determining unit 3042, for obtaining comparing unit 3041
The image in fine definition region be defined as the image in the corresponding region of pixel coordinate in target image.
As a kind of possible embodiment, terminal can also include:
3rd determining unit 307, if the first distance for measuring unit 303 measurement is true less than the first determining unit 306
Fixed preset value, then gather choosing the first image of the first collection and the second image of collection the first collection from collecting unit 302
Take an image and be defined as target image.
In the terminal described by Fig. 4, start the first camera and second camera, by the first camera collection first
Image and second camera gather the second image, by first between laser range sensor measuring terminals and subject
Distance, if the first distance is more than or equal to preset value, then synthesizes the first image and the second image obtains target image.Due to when eventually
When distance between end and subject is more than or equal to preset value, the coincidence between two images of two camera collections
Degree is relatively big, and therefore, the effect by synthesizing the image that the image of dual camera collection obtains is preferable, such that it is able to improve double shooting
The effect of head shooting image.
Referring to Fig. 5, Fig. 5 is the structural representation of another terminal that the embodiment of the present invention provides.As it is shown in figure 5, should
Terminal may include that at least one processor 501, such as CPU, memory 502, and the 504th, the first camera the 503rd, second camera shields
Curtain 505 and at least one communication bus 506.Memory 502 can be high-speed RAM memory, it is also possible to be non-labile
Memory (non-volatile memory), for example, at least one magnetic disc store.Alternatively, memory 502 can also is that to
A few storage device being located remotely from aforementioned processor 501.Wherein:
Communication bus 506, for realizing the connection communication between these assemblies;
Be stored with in memory 502 batch processing code, and processor 501 is for calling the program of storage in memory 502
Code operates below performing:
Starting the first camera and second camera, the first camera and second camera are arranged on the same face of terminal;
First camera 503, for gathering the first image and being sent to processor 501;
Second camera 504, for gathering the second image be sent to processor 501, the first image and the second image
Acquisition time is identical;
Processor 501 is additionally operable to call below the program code execution of storage in memory 502 and operates:
By the first distance between laser range sensor measuring terminals and subject;
If the first distance is more than or equal to preset value, then synthesize the first image and the second image, to obtain target image;
Screen 505, is used for target image.
As a kind of possible embodiment, before processor 501 starts the first camera and second camera, processor
501 are additionally operable to call below the program code execution of storage in memory 502 operates:
Obtain second between the first projected centre point of the first camera and the second projected centre point of second camera
Distance;
Obtaining focal length, focal length is the focal length of the first camera and second camera;
Determine preset value according to second distance and focal length.
As a kind of possible embodiment, processor 501 synthesizes the first image and the second image, to obtain target image
Mode be:
Compare the image of first area and the brightness of the image of second area, to obtain the image of high-brightness region, first
Region is the region in the first image, and second area is the region in the second image, the pixel coordinate of first area and the secondth district
The pixel coordinate in territory is identical;
The image of high-brightness region is defined as the image in the corresponding region of pixel coordinate in target image.
As a kind of possible embodiment, processor 501 synthesizes the first image and the second image, to obtain target image
Mode be:
Compare the image of first area and the definition of the image of second area, to obtain the image in fine definition region,
First area is the region in the first image, and second area is the region in the second image, the pixel coordinate of first area and
The pixel coordinate in two regions is identical;
The image in fine definition region is defined as the image in the corresponding region of pixel coordinate in target image.
As a kind of possible embodiment, the program code that processor 501 is additionally operable to call storage in memory 502 is held
The following operation of row:
If the first distance is less than preset value, then from the first image and the second image, chooses an image be defined as target figure
Picture.
In the terminal described by Fig. 5, start the first camera and second camera, by the first camera collection first
Image and second camera gather the second image, by first between laser range sensor measuring terminals and subject
Distance, if the first distance is more than or equal to preset value, then synthesizes the first image and the second image obtains target image.Due to when eventually
When distance between end and subject is more than or equal to preset value, the coincidence between two images of two camera collections
Degree is relatively big, and therefore, the effect by synthesizing the image that the image of dual camera collection obtains is preferable, such that it is able to improve double shooting
The effect of head shooting image.
The unit of the embodiment of the present invention, can be with universal integrated circuit (such as central processor CPU), or with special integrated electricity
(ASIC) realizes on road.
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completing to instruct related hardware by program, this program can be stored in a computer-readable recording medium, storage
Medium may include that flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access
Memory, RAM), disk or CD etc..
The photographic method and the terminal that there is provided the embodiment of the present invention above are described in detail, used herein specifically
Principle and embodiment to the present invention for the individual example is set forth, and the explanation of above example is only intended to help and understands the present invention
Method and core concept;It simultaneously for one of ordinary skill in the art, according to the thought of the present invention, is being embodied as
All will change in mode and range of application, in sum, this specification content should not be construed as limitation of the present invention.
Claims (10)
1. a photographic method, it is characterised in that include:
Start the first camera and second camera, and pass through described first camera collection the first image and described second shooting
Head gathers the second image, and described first camera and described second camera are arranged on the same face of terminal, described first image
Identical with the acquisition time of described second image;
By the first distance between laser range sensor measuring terminals and subject;
If described first distance is more than or equal to preset value, then synthesize described first image and described second image, to obtain mesh
Logo image.
2. method according to claim 1, it is characterised in that before described startup the first camera and second camera,
Described method also includes:
Obtain the second distance between the first projected centre point of the first camera and the second projected centre point of second camera;
Obtaining focal length, described focal length is the focal length of described first camera and described second camera;
Determine described preset value according to described second distance and described focal length.
3. method according to claim 1 and 2, it is characterised in that described first image of described synthesis and described second figure
Picture, includes to obtain target image:
Compare the image of first area and the brightness of the image of second area, to obtain the image of high-brightness region, described first
Region is the region in described first image, and described second area is the region in described second image, described first area
Pixel coordinate is identical with the pixel coordinate of described second area;
The image of described high-brightness region is defined as the image in the corresponding region of pixel coordinate described in target image.
4. method according to claim 1 and 2, it is characterised in that described first image of described synthesis and described second figure
Picture, includes to obtain target image:
Compare the image of first area and the definition of the image of second area, to obtain the image in fine definition region, described
First area is the region in described first image, and described second area is the region in described second image, described firstth district
The pixel coordinate in territory is identical with the pixel coordinate of described second area;
The image in described fine definition region is defined as the image in the corresponding region of pixel coordinate described in target image.
5. the method according to any one of claim 1-4, it is characterised in that described method also includes:
If described first distance is less than described preset value, then from described first image and described second image, choose an image
It is defined as target image.
6. a terminal, it is characterised in that include:
Start unit, for starting the first camera and second camera, described first camera and described second camera set
Put the same face in terminal;
Collecting unit, is opened for first camera collection the first image and the described start unit being started by described start unit
Dynamic second camera gathers the second image, and described first image is identical with the acquisition time of described second image;
Measuring unit, for measuring the first distance between described terminal and subject by laser range sensor;
Synthesis unit, if for described measuring unit measurement the first distance more than or equal to preset value, then synthesize described collection
The second image that first image of unit collection and described collecting unit gather, to obtain target image.
7. terminal according to claim 6, it is characterised in that described terminal also includes:
Acquiring unit, for obtain the first camera the first projected centre point and second camera the second projected centre point it
Between second distance;
Described acquiring unit, is additionally operable to obtain focal length, and described focal length is Jiao of described first camera and described second camera
Away from;
First determining unit, the focometer obtaining for the second distance according to the acquisition of described acquiring unit and described acquiring unit
Calculate described preset value.
8. the terminal according to claim 6 or 7, it is characterised in that described synthesis unit includes:
First comparing unit, is used for comparing the brightness of the image of the image of first area and second area, to obtain high luminance area
The image in territory, described first area is the region in described first image, and described second area is the district in described second image
Territory, the pixel coordinate of described first area is identical with the pixel coordinate of described second area;
Second determining unit, the image of the high-brightness region for obtaining described first comparing unit is defined as in target image
The image in the corresponding region of described pixel coordinate.
9. the terminal according to claim 6 or 7, it is characterised in that described synthesis unit includes:
Second comparing unit, is used for comparing the definition of the image of the image of first area and second area, to obtain high-resolution
The image in degree region, described first area is the region in described first image, and described second area is in described second image
Region, the pixel coordinate of described first area is identical with the pixel coordinate of described second area;
3rd determining unit, the image in the fine definition region for obtaining described second comparing unit is defined as target image
Described in the image in the corresponding region of pixel coordinate.
10. the terminal according to any one of claim 6-9, it is characterised in that described terminal also includes:
4th determining unit, if for described measuring unit measurement the first distance less than described preset value, then from described collection
The second image that first the first image gathering and described collection first gather chooses an image and is defined as target image.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610592005.7A CN106067947A (en) | 2016-07-25 | 2016-07-25 | A kind of photographic method and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610592005.7A CN106067947A (en) | 2016-07-25 | 2016-07-25 | A kind of photographic method and terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106067947A true CN106067947A (en) | 2016-11-02 |
Family
ID=57206558
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610592005.7A Pending CN106067947A (en) | 2016-07-25 | 2016-07-25 | A kind of photographic method and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106067947A (en) |
Cited By (25)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106412460A (en) * | 2016-11-30 | 2017-02-15 | 努比亚技术有限公司 | Image processing method and device |
| CN106506967A (en) * | 2016-11-30 | 2017-03-15 | 努比亚技术有限公司 | A kind of image capturing method and device |
| CN106961554A (en) * | 2017-03-31 | 2017-07-18 | 努比亚技术有限公司 | A kind of camera arrangement and method, terminal |
| CN109547699A (en) * | 2018-12-24 | 2019-03-29 | 成都西纬科技有限公司 | A kind of method and device taken pictures |
| WO2020088296A1 (en) * | 2018-10-30 | 2020-05-07 | 华为技术有限公司 | Face recognition method and electronic device |
| CN111901479A (en) * | 2019-05-06 | 2020-11-06 | 苹果公司 | User interface for capturing and managing visual media |
| US11039074B1 (en) | 2020-06-01 | 2021-06-15 | Apple Inc. | User interfaces for managing media |
| US11102414B2 (en) | 2015-04-23 | 2021-08-24 | Apple Inc. | Digital viewfinder user interface for multiple cameras |
| US11112964B2 (en) | 2018-02-09 | 2021-09-07 | Apple Inc. | Media capture lock affordance for graphical user interface |
| US11128792B2 (en) | 2018-09-28 | 2021-09-21 | Apple Inc. | Capturing and displaying images with multiple focal planes |
| US11165949B2 (en) | 2016-06-12 | 2021-11-02 | Apple Inc. | User interface for capturing photos with different camera magnifications |
| US11178335B2 (en) | 2018-05-07 | 2021-11-16 | Apple Inc. | Creative camera |
| US11204692B2 (en) | 2017-06-04 | 2021-12-21 | Apple Inc. | User interface camera effects |
| US11212449B1 (en) | 2020-09-25 | 2021-12-28 | Apple Inc. | User interfaces for media capture and management |
| US11223771B2 (en) | 2019-05-06 | 2022-01-11 | Apple Inc. | User interfaces for capturing and managing visual media |
| US11321857B2 (en) | 2018-09-28 | 2022-05-03 | Apple Inc. | Displaying and editing images with depth information |
| US11350026B1 (en) | 2021-04-30 | 2022-05-31 | Apple Inc. | User interfaces for altering visual media |
| US11706521B2 (en) | 2019-05-06 | 2023-07-18 | Apple Inc. | User interfaces for capturing and managing visual media |
| US11722764B2 (en) | 2018-05-07 | 2023-08-08 | Apple Inc. | Creative camera |
| US11770601B2 (en) | 2019-05-06 | 2023-09-26 | Apple Inc. | User interfaces for capturing and managing visual media |
| US11778339B2 (en) | 2021-04-30 | 2023-10-03 | Apple Inc. | User interfaces for altering visual media |
| US12112024B2 (en) | 2021-06-01 | 2024-10-08 | Apple Inc. | User interfaces for managing media styles |
| US12154218B2 (en) | 2018-09-11 | 2024-11-26 | Apple Inc. | User interfaces simulated depth effects |
| US12401889B2 (en) | 2023-05-05 | 2025-08-26 | Apple Inc. | User interfaces for controlling media capture settings |
| US12506953B2 (en) | 2021-12-03 | 2025-12-23 | Apple Inc. | Device, methods, and graphical user interfaces for capturing and displaying media |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101930162A (en) * | 2009-06-22 | 2010-12-29 | 富士胶片株式会社 | Imaging device and control method thereof |
| US20160044252A1 (en) * | 2013-03-14 | 2016-02-11 | Pelican Imaging Corporation | Systems and Methods for Reducing Motion Blur in Images or Video in Ultra Low Light with Array Cameras |
| CN105425527A (en) * | 2014-09-03 | 2016-03-23 | 深圳富泰宏精密工业有限公司 | Multi-lens image photographing device |
| CN105635568A (en) * | 2015-12-25 | 2016-06-01 | 青岛海信移动通信技术股份有限公司 | Image processing method in mobile terminal and mobile terminal |
| CN106060404A (en) * | 2016-07-15 | 2016-10-26 | 深圳市金立通信设备有限公司 | Photographing mode selection method and terminal |
-
2016
- 2016-07-25 CN CN201610592005.7A patent/CN106067947A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101930162A (en) * | 2009-06-22 | 2010-12-29 | 富士胶片株式会社 | Imaging device and control method thereof |
| US20160044252A1 (en) * | 2013-03-14 | 2016-02-11 | Pelican Imaging Corporation | Systems and Methods for Reducing Motion Blur in Images or Video in Ultra Low Light with Array Cameras |
| CN105425527A (en) * | 2014-09-03 | 2016-03-23 | 深圳富泰宏精密工业有限公司 | Multi-lens image photographing device |
| CN105635568A (en) * | 2015-12-25 | 2016-06-01 | 青岛海信移动通信技术股份有限公司 | Image processing method in mobile terminal and mobile terminal |
| CN106060404A (en) * | 2016-07-15 | 2016-10-26 | 深圳市金立通信设备有限公司 | Photographing mode selection method and terminal |
Cited By (53)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12149831B2 (en) | 2015-04-23 | 2024-11-19 | Apple Inc. | Digital viewfinder user interface for multiple cameras |
| US11711614B2 (en) | 2015-04-23 | 2023-07-25 | Apple Inc. | Digital viewfinder user interface for multiple cameras |
| US11490017B2 (en) | 2015-04-23 | 2022-11-01 | Apple Inc. | Digital viewfinder user interface for multiple cameras |
| US11102414B2 (en) | 2015-04-23 | 2021-08-24 | Apple Inc. | Digital viewfinder user interface for multiple cameras |
| US11165949B2 (en) | 2016-06-12 | 2021-11-02 | Apple Inc. | User interface for capturing photos with different camera magnifications |
| US11641517B2 (en) | 2016-06-12 | 2023-05-02 | Apple Inc. | User interface for camera effects |
| US12132981B2 (en) | 2016-06-12 | 2024-10-29 | Apple Inc. | User interface for camera effects |
| US11962889B2 (en) | 2016-06-12 | 2024-04-16 | Apple Inc. | User interface for camera effects |
| US11245837B2 (en) | 2016-06-12 | 2022-02-08 | Apple Inc. | User interface for camera effects |
| CN106412460A (en) * | 2016-11-30 | 2017-02-15 | 努比亚技术有限公司 | Image processing method and device |
| CN106412460B (en) * | 2016-11-30 | 2019-08-30 | 深圳市中兴移动软件有限公司 | A kind of image processing method and equipment |
| CN106506967A (en) * | 2016-11-30 | 2017-03-15 | 努比亚技术有限公司 | A kind of image capturing method and device |
| CN106961554A (en) * | 2017-03-31 | 2017-07-18 | 努比亚技术有限公司 | A kind of camera arrangement and method, terminal |
| US12314553B2 (en) | 2017-06-04 | 2025-05-27 | Apple Inc. | User interface camera effects |
| US11687224B2 (en) | 2017-06-04 | 2023-06-27 | Apple Inc. | User interface camera effects |
| US11204692B2 (en) | 2017-06-04 | 2021-12-21 | Apple Inc. | User interface camera effects |
| US11112964B2 (en) | 2018-02-09 | 2021-09-07 | Apple Inc. | Media capture lock affordance for graphical user interface |
| US11977731B2 (en) | 2018-02-09 | 2024-05-07 | Apple Inc. | Media capture lock affordance for graphical user interface |
| US12530116B2 (en) | 2018-02-09 | 2026-01-20 | Apple Inc. | Media capture lock affordance for graphical user interface |
| US11722764B2 (en) | 2018-05-07 | 2023-08-08 | Apple Inc. | Creative camera |
| US11178335B2 (en) | 2018-05-07 | 2021-11-16 | Apple Inc. | Creative camera |
| US12170834B2 (en) | 2018-05-07 | 2024-12-17 | Apple Inc. | Creative camera |
| US12154218B2 (en) | 2018-09-11 | 2024-11-26 | Apple Inc. | User interfaces simulated depth effects |
| US11669985B2 (en) | 2018-09-28 | 2023-06-06 | Apple Inc. | Displaying and editing images with depth information |
| US11321857B2 (en) | 2018-09-28 | 2022-05-03 | Apple Inc. | Displaying and editing images with depth information |
| US12394077B2 (en) | 2018-09-28 | 2025-08-19 | Apple Inc. | Displaying and editing images with depth information |
| US11128792B2 (en) | 2018-09-28 | 2021-09-21 | Apple Inc. | Capturing and displaying images with multiple focal planes |
| US11895391B2 (en) | 2018-09-28 | 2024-02-06 | Apple Inc. | Capturing and displaying images with multiple focal planes |
| WO2020088296A1 (en) * | 2018-10-30 | 2020-05-07 | 华为技术有限公司 | Face recognition method and electronic device |
| US12154373B2 (en) | 2018-10-30 | 2024-11-26 | Honor Device Co., Ltd. | Facial recognition method and electronic device |
| CN109547699A (en) * | 2018-12-24 | 2019-03-29 | 成都西纬科技有限公司 | A kind of method and device taken pictures |
| CN111901479A (en) * | 2019-05-06 | 2020-11-06 | 苹果公司 | User interface for capturing and managing visual media |
| US11223771B2 (en) | 2019-05-06 | 2022-01-11 | Apple Inc. | User interfaces for capturing and managing visual media |
| US12192617B2 (en) | 2019-05-06 | 2025-01-07 | Apple Inc. | User interfaces for capturing and managing visual media |
| US11706521B2 (en) | 2019-05-06 | 2023-07-18 | Apple Inc. | User interfaces for capturing and managing visual media |
| US11770601B2 (en) | 2019-05-06 | 2023-09-26 | Apple Inc. | User interfaces for capturing and managing visual media |
| US11039074B1 (en) | 2020-06-01 | 2021-06-15 | Apple Inc. | User interfaces for managing media |
| US11617022B2 (en) | 2020-06-01 | 2023-03-28 | Apple Inc. | User interfaces for managing media |
| US11330184B2 (en) | 2020-06-01 | 2022-05-10 | Apple Inc. | User interfaces for managing media |
| US12081862B2 (en) | 2020-06-01 | 2024-09-03 | Apple Inc. | User interfaces for managing media |
| US11054973B1 (en) | 2020-06-01 | 2021-07-06 | Apple Inc. | User interfaces for managing media |
| US11212449B1 (en) | 2020-09-25 | 2021-12-28 | Apple Inc. | User interfaces for media capture and management |
| US12155925B2 (en) | 2020-09-25 | 2024-11-26 | Apple Inc. | User interfaces for media capture and management |
| US11350026B1 (en) | 2021-04-30 | 2022-05-31 | Apple Inc. | User interfaces for altering visual media |
| US11539876B2 (en) | 2021-04-30 | 2022-12-27 | Apple Inc. | User interfaces for altering visual media |
| US12101567B2 (en) | 2021-04-30 | 2024-09-24 | Apple Inc. | User interfaces for altering visual media |
| US11416134B1 (en) | 2021-04-30 | 2022-08-16 | Apple Inc. | User interfaces for altering visual media |
| US11418699B1 (en) | 2021-04-30 | 2022-08-16 | Apple Inc. | User interfaces for altering visual media |
| US11778339B2 (en) | 2021-04-30 | 2023-10-03 | Apple Inc. | User interfaces for altering visual media |
| US12112024B2 (en) | 2021-06-01 | 2024-10-08 | Apple Inc. | User interfaces for managing media styles |
| US12506953B2 (en) | 2021-12-03 | 2025-12-23 | Apple Inc. | Device, methods, and graphical user interfaces for capturing and displaying media |
| US12401889B2 (en) | 2023-05-05 | 2025-08-26 | Apple Inc. | User interfaces for controlling media capture settings |
| US12495204B2 (en) | 2023-05-05 | 2025-12-09 | Apple Inc. | User interfaces for controlling media capture settings |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106067947A (en) | A kind of photographic method and terminal | |
| CN105580348B (en) | Photographic device and image capture method | |
| CA2969482C (en) | Method and apparatus for multiple technology depth map acquisition and fusion | |
| CN104038690B (en) | Image processing device, image capturing device, and image processing method | |
| EP3525447B1 (en) | Photographing method for terminal, and terminal | |
| US9699367B2 (en) | Imaging device and method for displaying multiple objects of an imaging view | |
| CN105474626B (en) | Photographic device | |
| CN101959020A (en) | Imaging device and formation method | |
| CN104539844A (en) | Terminal | |
| US9332195B2 (en) | Image processing apparatus, imaging apparatus, and image processing method | |
| CN106716244B (en) | Photography control device, photography device, and photography control method | |
| CN102158648B (en) | Image capturing device and image processing method | |
| CN104519328A (en) | Image processing device, image capturing apparatus, and image processing method | |
| CN104539843A (en) | Terminal shooting method | |
| JP6000446B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and image processing program | |
| WO2021179225A1 (en) | Image acquisition method, control device and movable platform | |
| JP2011191568A (en) | Imaging device, display method and program | |
| CN103188434A (en) | Method and device of image collection | |
| CN105578023A (en) | Image quick photographing method and device | |
| WO2014106916A1 (en) | Image processing device, imaging device, program, and image processing method | |
| CN110519540A (en) | A kind of image processing method, device, equipment and storage medium | |
| CN103795927B (en) | Photographing method and system | |
| CN106060404A (en) | Photographing mode selection method and terminal | |
| CN106254790A (en) | Take pictures processing method and processing device | |
| CN112738399B (en) | Image processing method and device and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161102 |
|
| WD01 | Invention patent application deemed withdrawn after publication |