CN101799620B - Method for automatically shooting panorama images for digital camera device - Google Patents
Method for automatically shooting panorama images for digital camera device Download PDFInfo
- Publication number
- CN101799620B CN101799620B CN2009100062793A CN200910006279A CN101799620B CN 101799620 B CN101799620 B CN 101799620B CN 2009100062793 A CN2009100062793 A CN 2009100062793A CN 200910006279 A CN200910006279 A CN 200910006279A CN 101799620 B CN101799620 B CN 101799620B
- Authority
- CN
- China
- Prior art keywords
- image
- contraposition
- digital camera
- camera device
- motion
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000003384 imaging method Methods 0.000 claims description 25
- 238000006073 displacement reaction Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 4
- 238000009434 installation Methods 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000004091 panning Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Images
Landscapes
- Studio Devices (AREA)
Abstract
The invention discloses a method for automatically shooting panorama images for a digital camera device. The method continuously tracks and calculates a displacement vector value of a para-position image in a first image picked up by the digital camera device in a real-time image, and accumulates the displacement vector value, and when the displacement vector value reaches a preset threshold value, the digital camera device is driven automatically to pick up a second image which is used for combining with the first image so as to form a panorama image. The method can simplify operations for shooting the panorama images in an automatic image-picking mode.
Description
Technical field
The present invention relates to a kind of panorama photography method, particularly relate to a kind of method of control figure camera head automatic pick-up full-view image.
Background technology
Full-view image is in order to show the visual field of a broadness, simulate the landscape impression of about 160 degree of human eye finding, the image of stock size then is to cut a zone in landscape, general in comparison image relatively similarly is that zone that human eye is absorbed in, and full-view image can allow the audience experience the atmosphere of prevailing circumstances.The production method of full-view image is in Same Scene, and the image that captures a plurality of same sizes engages and forms, so the engaging zones that desire engages between the image is a big key of full-view image success or not.
The method of existing (panorama) image that pans has two kinds, a kind of person of being to use must the mat manual mode (free-hand or via foot rest), and the mobile digital camera is taken many images, again with captured image input computing machine, utilize image processing software to carry out map interlinking, to produce full-view image.This kind way has suitable difficulty for general user.On the one hand, need more professional shooting skill during shooting, otherwise difficulty improves or poor effect can cause follow-up map interlinking the time, on the other hand, needs the image software of complicated operation again, to carry out map interlinking.
Another kind of simple method then is to show auxiliary contraposition image on the display screen of digital camera, and auxiliary user makes full-view image.Yet, this kind method needs the user to do superimposed from being about to contraposition image and scene, this process will test the ability of user's contraposition, may cause capture might not be best contraposition position because of the being seen error of human eye, and the bit errors that is produced also can influence the result that follow-up panorama engages.Even if the user perfectly is superimposed together contraposition image and scene, but when taking pictures, still may rock digital camera because pressing the action of shutter, the contraposition in a flash that causes taking is failed, and makes the shooting of full-view image fail.
Summary of the invention
Existing use auxiliary contraposition image must the user oneself to be about to contraposition image and scene superimposed, when panning image for solution because of the error of hand shake or human eye, cause taking failure, the invention provides a kind of method for automatically shooting panorama images of digital camera device.
To achieve these goals, the invention provides a kind of method for automatically shooting panorama images of digital camera device, be applied to a digital camera device, it is characterized in that, the step of this method for automatically shooting panorama images comprises:
Absorb one first image;
In this first image, choose a zone and be made as a contraposition image;
Continue to follow the trail of and calculate the motion-vector value of this contraposition image in a real-time imaging, and this motion-vector value of accumulative total;
Judge whether this motion-vector value reaches a default threshold value;
If then this digital camera device is obtained one second image automatically; And
It is a full-view image that this first image is engaged with this second image.
The method for automatically shooting panorama images of described digital camera device wherein, is chosen the step that this zone is made as this contraposition image in this first image, comprising:
Obtain a maximum banner width of this first image;
Define a width of this contraposition image in this maximum banner width according to a predefined proportional numerical value;
In this first image, choose this contraposition image according to this width;
This contraposition image is divided into a plurality of zones;
Calculate the image standard difference that each should the zone, and compare with a default eigenwert; And
In this image standard difference this zone, get a unique point greater than this eigenwert.
The method for automatically shooting panorama images of described digital camera device wherein, continues to follow the trail of and calculate this contraposition image this motion-vector value in this real-time imaging, and the step of this motion-vector value of accumulative total, comprises repeating the following step:
Obtain the home position of this unique point in this real-time imaging;
Obtain the current location that this unique point moves in this real-time imaging; And
Calculate the relative distance between this home position and this current location and the direction that relatively moves, and accumulative total is a motion-vector value.
The method for automatically shooting panorama images of described digital camera device, wherein, the difference of this maximum banner width that this default threshold value is this first image and the banner width of this contraposition image.
The method for automatically shooting panorama images of described digital camera device, wherein, judge whether this motion-vector value reaches the step of this default threshold value after, comprising:
If not, then continue to follow the trail of and calculate this contraposition image this motion-vector value in this real-time imaging, and this motion-vector value of accumulative total.
The method for automatically shooting panorama images of digital camera device provided by the present invention, can simplify the mode of operation of the image that pans, by the mode of automatic shooting, the user does not need manually to press shutter, reduces the problem that causes the full-view image shooting failure because of the hand shake.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is the process flow diagram of method for automatically shooting panorama images of the digital camera device of the embodiment of the invention;
Fig. 2 is the synoptic diagram of first image of the embodiment of the invention;
Fig. 3 chooses the process flow diagram that a zone is made as the contraposition image for the embodiment of the invention in first image;
Fig. 4 chooses the synoptic diagram that a zone is made as the contraposition image for the embodiment of the invention in first image;
Fig. 5 divides the synoptic diagram in a plurality of zones for the contraposition image of the embodiment of the invention;
Fig. 6 is the unique point synoptic diagram of the contraposition image of the embodiment of the invention;
The process flow diagram that Fig. 7 puts the motion-vector value in real-time imaging and accumulates for the calculated characteristics of the embodiment of the invention;
Fig. 8 puts first synoptic diagram of the motion-vector value in real-time imaging for the calculated characteristics of the embodiment of the invention;
Fig. 9 puts second synoptic diagram of the motion-vector value in real-time imaging for the calculated characteristics of the embodiment of the invention;
Figure 10 is the synoptic diagram that first image of the embodiment of the invention engages with second image;
Figure 11 is the full-view image synoptic diagram of the embodiment of the invention;
Figure 12 is the synoptic diagram that the full-view image of the embodiment of the invention engages with the 3rd image.
Wherein, Reference numeral:
10 digital camera devices
11 display screens
13 full-view images
14 first images
15 contraposition images
16 real-time imagings
17 second images
18 unique points
19 engage image
20 zones
21 the 3rd images
Embodiment
Below in conjunction with the drawings and specific embodiments technical scheme of the present invention is made further more detailed description.
The method for automatically shooting panorama images of digital camera device of the present invention can be realized by the processor execution of electronic installation built-in software or firmware program collocation image acquisition function by being built in software or the firmware program in the storage device of electronic installation again.In this, electronic installation can be the computing machine (Computer) of tool image acquisition function, the mobile phone (Mobile Phone) of tool image acquisition function, personal digital assistant (the Personal Digital Assistant of tool image acquisition function, PDA) or digital camera device (Camera) etc., below in the detailed description of the present invention, will be with digital camera device as most preferred embodiment of the present invention, yet appended graphic reference and the explanation usefulness of only providing not is to be confined to above-mentioned electronic installation in order to restriction the present invention.
In present embodiment, continue to follow the trail of and calculate that the contraposition image moves apart from length in real-time imaging, and accumulative total is the motion-vector value, then, utilize the motion-vector value and default threshold value comparison obtain again, digital camera device absorbs second image and engage with first image and to be full-view image in order to judge whether to drive automatically.
Please refer to shown in Figure 1ly, the process flow diagram for the method for automatically shooting panorama images of the digital camera device of present embodiment comprises the following steps:
Step S110: one first image, 14 (see figure 2)s are taken and stored to digital camera device 10;
Step S120: in first image 14, choose a zone and be made as a contraposition image 15;
Step S130: obtain a real-time imaging 16, and be shown in the display screen 11, because digital camera device 10 these fashion do not move, therefore the scenery of the real-time imaging 16 on the display screen 11 is identical with first image 14, follow mobile digital camera head 10, make the contraposition image 15 in the real-time imaging 16 produce the variation of displacement along with the rotation of digital camera device 10, and when rotating, the continuous pursuitmeter of digital camera device 10 a beginnings motion-vector value and the accumulative total that an image 15 moves in real-time imaging 16 of getting it right;
Step S140: judge whether the motion-vector value totally reaches a default threshold value;
Step S150: when the motion-vector value reaches default threshold value, digital camera device 10 absorb immediately one second image 17; And
Step S160: it is a full-view image 13 that first image 14 is engaged with second image 17.
Wherein, the gap of the banner width of above-mentioned default threshold value maximum banner width that is first image and contraposition image.
The preferred approach embodiment of relevant abovementioned steps S120 please refer to step shown in Figure 3, also comprises:
Step S121: when digital camera device 10 is won image 14 in picked-up, obtain the maximum banner width of first image 14 in the lump;
Step S122: according to the width of a predefined proportional numerical value in the digital camera device 10 in maximum banner width definition contraposition image 15;
Step S123: the width according to contraposition image 15 is chosen contraposition image 15 (see figure 4)s in first image 14.
Step S124: with a plurality of regional 20 (see figure 5)s of being divided into of contraposition image 15 five equilibriums;
Step S125: calculate an image standard difference in each zone 20, and compare, wherein, have the feature existence in this zone if the image standard deviation in zone greater than default eigenwert, then can be considered with an eigenwert of presetting; And
Step S126: in the zone 20 of image standard difference, choose a unique point 18 greater than eigenwert.(see figure 6).
Wherein, the width of above-mentioned contraposition image, for example, the Pixel Dimensions of first image 14 is 800*600, and predefined proportional numerical value is 20%, the width of contraposition image 15 calculates with proportional numerical value 20% with the maximum banner width 800 of first image 14, therefore the banner width of contraposition image 15 is 160, the Pixel Dimensions of learning contraposition image 15 thus is 160*600, and preset ratio numerical value is when changing the size of first image 14 the user, for avoiding contraposition image 15 too small compared to the excessive full-view image scope that engaged of causing of first image 14, or contraposition image 15 is too small compared to first image 14, cause the situation that contraposition image 15 is difficult to follow the trail of in real-time imaging 16 to take place, thus the size of contraposition image 15 can be along with the change in size of first image 14 is done change.
Relevant abovementioned steps S130 please continue also to comprise with reference to step shown in Figure 7 to the preferred approach embodiment of step S140:
Step S131: obtain all unique points 18 and be made as a home position in the present position of real-time imaging 16;
Step S132: make real-time imaging 16 constantly change when digital camera device 10 begins to move, while digital camera device 10 is constantly obtained in real-time imaging 16 each picture all unique points 18 in a current location (seeing Fig. 8 and Fig. 9) of real-time imaging 16;
Step S133: current location and the relative distance between the home position and the direction that relatively moves of calculating all unique points 18;
Step S134: in all unique points 18, find out all unique points 18 that are up to the identical direction that relatively moves, and calculate the motion-vector value with statistical; And
Step S140: judge whether the motion-vector value totally reaches default threshold value, judge when the motion-vector value not reach default threshold value, then repeat above-mentioned steps S130 to step S140.
Wherein, above-mentioned statistical, be mode to add up and to get its mean value, will be up to the motion-vector of all unique points 18 of the identical direction that relatively moves add up, and get its mean value as with the motion-vector value of threshold value comparison, yet statistical is of a great variety, so the inventor does not give unnecessary details one by one at this, be familiar with this operator, can select alternate manner to calculate, not as limit.
It should be noted that when the direction that relatively moves when relatively move direction and the last image of unique point 18 is opposite, the relative distance of home position and current location be calculated as negative value so that the motion-vector value of accumulative total reduces.
Wherein, the above-mentioned relative distance straight line pixel quantity that is the unique point 18 of calculating contraposition image 15 between the current location of the home position of last image and a back image.
Please refer to Figure 10 and shown in Figure 11, Figure 10 is the synoptic diagram that first image of present embodiment engages with second image, and Figure 11 is the synoptic diagram of the full-view image of present embodiment.
Step S150: when motion-vector value accumulative total reached default threshold value, digital camera device 10 absorb immediately at this moment that display screen 11 shown real-time imagings 16 are second image 17; And
Step S160: take second image 17 in a side have the joint image 19 identical with contraposition image 15, digital camera device 10 with in the contraposition image 15 in first image 14 and second image 17 to engage image 19 superimposed, it is a full-view image 13 that first image 14 is engaged with second image 17.
As shown in figure 12, it should be noted that, the present invention is not limited to engage two images, after the user engages first image 14 and second image 17, desire continues to engage the 3rd image 21 or engages is that a visual angle is the full-view image of 360 degree, the image that only need repeat to engage is made as first image 14, and execution in step S120 can obtain the required image of user easily to step S160.
Compare with prior art, the method for automatically shooting panorama images of digital camera device provided by the present invention, can simplify the pan mode of operation of image of user, and increase contraposition precision, by the capture robotization, do not need the user to trip, reduce the problem that causes the full-view image shooting failure because of the hand shake.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.
Claims (3)
1. the method for automatically shooting panorama images of a digital camera device is applied to a digital camera device, it is characterized in that, the step of this method for automatically shooting panorama images comprises:
Absorb one first image;
In this first image, choose a zone and be made as a contraposition image;
Continue to follow the trail of and calculate the motion-vector value of this contraposition image in a real-time imaging, and this motion-vector value of accumulative total;
Judge whether this motion-vector value reaches a default threshold value, the difference of the maximum banner width that this default threshold value is this first image and the banner width of this contraposition image;
If then this digital camera device is obtained one second image automatically;
It is a full-view image that this first image is engaged with this second image; And
If not, then continue to follow the trail of and calculate this contraposition image this motion-vector value in this real-time imaging, and this motion-vector value of accumulative total.
2. the method for automatically shooting panorama images of digital camera device according to claim 1 is characterized in that, chooses the step that this zone is made as this contraposition image in this first image, comprising:
Obtain this maximum banner width of this first image;
Define a width of this contraposition image in this maximum banner width according to a predefined proportional numerical value;
In this first image, choose this contraposition image according to this width;
This contraposition image is divided into a plurality of zones;
Calculate the image standard difference that each should the zone, and compare with a default eigenwert; And
In this image standard difference this zone, get a unique point greater than this eigenwert.
3. the method for automatically shooting panorama images of digital camera device according to claim 2, it is characterized in that, continue to follow the trail of and calculate this contraposition image this motion-vector value in this real-time imaging, and the step of this motion-vector value of accumulative total, comprise repeating the following step:
Obtain the home position of this unique point in this real-time imaging;
Obtain the current location that this unique point moves in this real-time imaging; And
Calculate the relative distance between this home position and this current location and the direction that relatively moves, and accumulative total is a motion-vector value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100062793A CN101799620B (en) | 2009-02-10 | 2009-02-10 | Method for automatically shooting panorama images for digital camera device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100062793A CN101799620B (en) | 2009-02-10 | 2009-02-10 | Method for automatically shooting panorama images for digital camera device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101799620A CN101799620A (en) | 2010-08-11 |
CN101799620B true CN101799620B (en) | 2011-12-28 |
Family
ID=42595354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100062793A Expired - Fee Related CN101799620B (en) | 2009-02-10 | 2009-02-10 | Method for automatically shooting panorama images for digital camera device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101799620B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034042A (en) * | 2012-12-20 | 2013-04-10 | 广东欧珀移动通信有限公司 | Panoramic shooting method and device |
CN104378549A (en) * | 2014-10-30 | 2015-02-25 | 东莞宇龙通信科技有限公司 | Snapshot method and device and terminal |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2632725Y (en) * | 2003-07-02 | 2004-08-11 | 马堃 | Portable camera apparatus with panoramic camera function |
CN1589050A (en) * | 2004-09-23 | 2005-03-02 | 美博通信设备(北京)有限公司 | Method for shooting and browsing panoramic film using mobile terminal |
JP2006217478A (en) * | 2005-02-07 | 2006-08-17 | Sony Ericsson Mobilecommunications Japan Inc | Apparatus and method for photographing image |
CN1854887A (en) * | 2005-02-11 | 2006-11-01 | 创新科技有限公司 | Method and apparatus for forming a panoramic image |
CN101008779A (en) * | 2006-01-24 | 2007-08-01 | 普立尔科技股份有限公司 | Device for producing panorama image and method thereof |
CN101127820A (en) * | 2006-08-16 | 2008-02-20 | 三星电子株式会社 | Panorama photography method and apparatus capable of informing optimum photographing position |
CN101150669A (en) * | 2006-09-21 | 2008-03-26 | 三星电子株式会社 | Apparatus and method for photographing panoramic image |
CN101308323A (en) * | 2007-04-12 | 2008-11-19 | 三星电子株式会社 | Method for photographing panoramic image |
-
2009
- 2009-02-10 CN CN2009100062793A patent/CN101799620B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2632725Y (en) * | 2003-07-02 | 2004-08-11 | 马堃 | Portable camera apparatus with panoramic camera function |
CN1589050A (en) * | 2004-09-23 | 2005-03-02 | 美博通信设备(北京)有限公司 | Method for shooting and browsing panoramic film using mobile terminal |
JP2006217478A (en) * | 2005-02-07 | 2006-08-17 | Sony Ericsson Mobilecommunications Japan Inc | Apparatus and method for photographing image |
CN1854887A (en) * | 2005-02-11 | 2006-11-01 | 创新科技有限公司 | Method and apparatus for forming a panoramic image |
CN101008779A (en) * | 2006-01-24 | 2007-08-01 | 普立尔科技股份有限公司 | Device for producing panorama image and method thereof |
CN101127820A (en) * | 2006-08-16 | 2008-02-20 | 三星电子株式会社 | Panorama photography method and apparatus capable of informing optimum photographing position |
CN101150669A (en) * | 2006-09-21 | 2008-03-26 | 三星电子株式会社 | Apparatus and method for photographing panoramic image |
CN101308323A (en) * | 2007-04-12 | 2008-11-19 | 三星电子株式会社 | Method for photographing panoramic image |
Also Published As
Publication number | Publication date |
---|---|
CN101799620A (en) | 2010-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8279265B2 (en) | Automatic capturing method of a panoramic image for a digital camera | |
CN101046623B (en) | Apparatus and method for taking panoramic photograph | |
JP6205073B2 (en) | Imaging apparatus, imaging method, and program | |
US20170163881A1 (en) | Imaging control device, imaging control method, camera, camera system, and program | |
TWI444753B (en) | Image capturing device and adjusting method of exposure time thereof | |
US20200167961A1 (en) | Camera device, imaging system, control method, and program | |
US20100165075A1 (en) | Method for automatically shooting panoramic image by digital image pickup device | |
CN103795919B (en) | Image processing method and camera terminal | |
CN101794056B (en) | Photographing setting control method and photographing device | |
US20090206235A1 (en) | Method and device for adjusting flash intensity | |
GB2515797A (en) | A method, apparatus and system for image processing | |
CN109714524B (en) | Image pickup apparatus, system, control method of image pickup apparatus, and storage medium | |
KR20150119793A (en) | Imaging apparatus, camera unit, display unit, image-taking method, display method and computer readable recording medium recording program thereon | |
CN105574813A (en) | Image processing method and device | |
CN101799620B (en) | Method for automatically shooting panorama images for digital camera device | |
US10805584B2 (en) | Projection system and image projection method | |
US20120081510A1 (en) | Image processing apparatus, method, and storage medium capable of generating wide angle image | |
DE112013004759T5 (en) | Image pickup device and image processing method | |
US20170328976A1 (en) | Operation device, tracking system, operation method, and program | |
WO2018184408A1 (en) | Video recording method and device | |
CN106488128B (en) | Automatic photographing method and device | |
CN112492213B (en) | Image shooting method and device and electronic equipment | |
CN101778189A (en) | Panoramic image automatic shooting method for digital shooting device | |
CN103246742A (en) | Image retrieval trigger method and augmented reality method | |
TWI530747B (en) | Portable electronic devices and methods for image extraction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20111228 |
|
CF01 | Termination of patent right due to non-payment of annual fee |