CN101771829A - Method for generating panoramic image - Google Patents
Method for generating panoramic image Download PDFInfo
- Publication number
- CN101771829A CN101771829A CN200810192992A CN200810192992A CN101771829A CN 101771829 A CN101771829 A CN 101771829A CN 200810192992 A CN200810192992 A CN 200810192992A CN 200810192992 A CN200810192992 A CN 200810192992A CN 101771829 A CN101771829 A CN 101771829A
- Authority
- CN
- China
- Prior art keywords
- image
- topographies
- topography
- panoramic image
- low resolution
- 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
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The invention discloses a method for generating a panoramic image, which is suitable for shooting a panoramic image by using a digital shooting device. The method comprises the following steps of: firstly, shooting a plurality of local images of the panoramic image; secondly, zooming out each local image so as to generate a plurality of low-resolution local images; thirdly, performing a jointing process to joint the low-resolution local images into a panoramic image; fourthly, judging whether an amplification factor of the panoramic image exceeds a default value or not; and if so, jointing a local image which corresponds to the low-resolution local image in a currently browsed visual area by rapidly using a previous high-resolution image. Through the method, the details of images can be interactively expanded without spending too much time. When a user needs an image with a higher detail, the resolution of the original panoramic image is interactively increased by processing a small block (the visual area) in real time so as to save the time for displaying the panoramic image. In order to speed up, the previously transformed images are stored by a cache so as to save the time for transforming again.
Description
Technical field
The present invention relates to a kind of image producing method, refer to a kind of method for generating panoramic image especially.
Background technology
General digital filming device, as digital camera (following all illustrate with digital camera), the scene that can take particular range is so that the user recalls in the future.But there is a fixed range at the visual angle that digital camera is taken, can't will all take in same image around beautiful scenery all around, therefore often causes many sorry.
So, developing the camera that a kind of photo function that pans gradually, so-called distant view photograph is exactly that the scenery segmentation of broadness is taken to multiple pictures, is stitched together by related software then, becomes a coherent photo.Panoramic shooting (panorama) is a kind of absorbing photography classification, and it will be compressed on the width of cloth picture above the scene of 180 degree, and the content that represents can be held at ordinary times considerably beyond the human eye visual angle, so brings extremely strong visual impact to the people.
Present digital camera mostly is that the image of will be continuously taking stores individually earlier when carrying out pan-shot, when index map during as the stage, carries out the action that image dwindles again, with speed up processing, allows the user can see panoramic picture as soon as possible.Please refer to Fig. 1, this figure is the schematic diagram of a specific embodiment of known panoramic picture 1.As shown in Figure 1, the user engages in the rear end after target scene is taken continuously many topographies, and when display image, and the panoramic picture 1 after engaging is scaled to suitable size according to the viewing area 11 of screen, watches in order to the user.As shown in Figure 2, have two topographies 111,113 in the viewing area 11, when the user amplifies, just can change the purpose that reduce in scale reaches amplification gradually from the panoramic picture of being clapped 1.
Yet, in the process of index map picture, the image of taking is originally dwindled laggard edlin, do not keep high originally image of resolving.Watch the panoramic picture of being clapped 1 as the user, when interactively mobile or enlarged image is watched its interesting areas, general camera only is translation relatively and utilizes the existing panoramic picture that dwindles to amplify, when its enlargement ratio surpasses original resolution of panoramic picture, the result that it presented must be the image that blurs, please refer to Fig. 3, because enlarged partial image 111,113 is when surpassing its ultimate resolution, image wherein just produces fuzzy visual effect, therefore can't satisfy general user's demand.
In order to solve the shortcoming of low resolution, propose in addition to adopt the image of higher parsing to be bonded into panoramic picture, after joint finishes, again it is zoomed to suitable size and be shown in screen.Though so when enlarged image, can show that to show higher image detail, right this mode need expend a large amount of image engaging times from the capturing images data of higher parsing, the long stand-by period also can allow the user not feel well.
Summary of the invention
Browsing distortionless image for pursuit is target, there are problems such as image processing overlong time or cost be higher in this case inventor thoughts on prior art, so carry out pan-shot intact after, every topography and the image that dwindles thereof are all stored, mainly be to be bonded into panoramic picture, during as if lack of resolution, just use the topography of original size to engage with the image that dwindles, higher image joint efficiency is provided, and can interactively shows the panoramic picture of higher parsing.
The object of the invention is to provide a kind of method for generating panoramic image, and can solve the problem of known technology.
The invention provides a kind of method for generating panoramic image, be applicable to that a digital filming device takes a panorama, wherein this method for generating panoramic image may further comprise the steps:
To a plurality of topographies of this pan-shot;
Each this topography's resolution is reduced to produce a plurality of low resolution topography;
Carry out a splice program, these low resolution topographies are bonded into a panoramic picture;
The enlargement ratio of confirming this panoramic picture is greater than a default value; And
Engage the higher topography of pairing those relative resolutions of those low resolution topographies in the viewing area of browsing at present, to produce a converted image.
In other words, the present invention discloses a kind of method for generating panoramic image, is applicable to that a digital filming device takes a panorama, and wherein the execution in step of this method for generating panoramic image is as follows: at first, and to a plurality of topographies of pan-shot; Secondly, each topography is dwindled to produce a plurality of low resolution topography; Carry out a splice program, low resolution topography is bonded into a panoramic picture; Whether the enlargement ratio of judging panoramic picture surpasses a default value, and the enlargement ratio of confirming this panoramic picture is greater than this default value; Utilize high image of resolving to engage to browse at present the higher topography of pairing relative resolution of low resolution topography in one the viewing area, to produce a converted image with the coordinate conversion matrix of before estimating.
Disclosed method for generating panoramic image, the interactively details of expanded images and the time of need not costing a lot of money, when the user needs the image of higher details, interactively increase the resolution of original panoramic picture by the topography of real-time processing one fritter (viewing area), saved the time that shows panoramic picture.Again,, utilize the image after high-speed cache stores previous conversion, in order to saving the time that the image changed in the recent period must be changed again once more for pick up speed.
More than general introduction and ensuing detailed description and accompanying drawing all is to reach mode, means and the technique effect that predetermined purpose is taked in order to further specify the present invention.And relevant other purpose of the present invention and advantage will be set forth in follow-up explanation and accompanying drawing.
Description of drawings
Fig. 1 is the schematic diagram of a specific embodiment of known panoramic picture;
Fig. 2 is the schematic diagram of a specific embodiment of known topography;
Fig. 3 is the schematic diagram of a specific embodiment of known fuzzy topography;
Fig. 4 is the schematic diagram of a specific embodiment of disclosed panoramic picture; And
Fig. 5 is the schematic diagram of a specific embodiment of disclosed topography; And
Fig. 6 is the flow chart of steps of a specific embodiment of disclosed method for generating panoramic image.
[main element description of reference numerals]
Known:
1: panoramic picture
11: the viewing area
111,113: topography
The present invention:
2: panoramic picture
21: the viewing area
31,33: topography
S601~S633: each steps flow chart
Embodiment
Carry out pan-shot intact after, big city engages with the image of reduced size, to save the rearmounted processing time, when the user moves the amplification of image limit, the image that it presented can seem fuzzyyer because of the relation reduced, that resolution is lower, so that its details is lost fully.In view of this, many dissection process mode that the present invention proposes a kind of less expensive presents the details composition of image, and these panoramas of resolving engage more, both can keep original joint efficiency, and can interactively show the panoramic picture of higher parsing.
Major technique of the present invention is characterised in that the joint that utilizes the high-definition picture of taking originally to carry out part has on demand presented the details composition of image, below the necessary operation flow process is just only proposed, yet, those of ordinary skill in the art all knows, except following mentioned process step, the Digital Image Processing mode comprises other steps necessary certainly, therefore, should not exceed with present embodiment.
At first, please refer to Fig. 4, this figure is the schematic diagram of a specific embodiment of disclosed panoramic picture 2.As shown in Figure 4, after the user continuously takes many topographies by a digital filming device to target one panorama, the panoramic picture 2 that utilizes those topographies to dwindle to be combined into broad visual angle afterwards.Panoramic picture 2 behind the related software joint can be scaled to suitable size according to the viewing area 21 of screen, watches in order to the user.
The joint image mode that the present invention proposes is in the viewing area 21, adjust the angle of adjacent low resolution topography, to avoid during taking, taking the image of skew angle because of the hand shake, thereafter, part in the overlapping region of comparing low resolution topography is bonded into more seamless image with the foundation overlapping region with low resolution topography.
For the demand of enlarged image in the future, the topography of each shooting can be stored in the internal memory earlier, just dwindle individually in order to quick joint.Therefore, when the user amplifies the object in the viewing area 21, when its enlargement ratio surpasses the resolution of the topography that dwindles, just from internal memory, select the topography of original size in the present viewing area 21, and the part that is shown in the viewing area 21 at topography engages.In one specific embodiment, as shown in Figure 5, system is that the part that the topography 31,33 to original size shows in viewing area 21 is sewed up, and utilizes the fraction image handled and accelerates stitching speed.
At last, see also Fig. 6, this figure is the flow chart of steps of a specific embodiment of disclosed panoramic picture producing method.Wherein Xiang Guan topography asks simultaneously with reference to Fig. 4 and Fig. 5.As shown in Figure 6, this panoramic picture producing method may further comprise the steps:
At first, digital filming device is switched to a pan-shot pattern (step S601), and, again it is stored in (step S605) in the internal memory a plurality of topographies of target pan-shot (step S603); Then, each topography is dwindled into proper proportion and produce a plurality of low resolution topographies (step S607); In order to need to switch the topography that shows original size in the future, still need write down the conversion parameter (step S608) that low resolution topography converts topography to, wherein, this conversion parameter comprises information such as coordinate, angle, scaling.
Then, the user can browse arbitrarily, translation, zoom out or view and admire with furthering low resolution topography (step S609), in the process of browse graph picture, system can judge that whether the image that shows in the present viewing area 21 is across plural low resolution topography (step S611); If not, just continue the browse graph picture; If being judged as of step S611 is, just carry out a splice program, these low resolution topographies in viewing area 21 being bonded into panoramic picture 2 (step S613), wherein having comprised certainly the angle of adjusting adjacent low resolution topography, and the step of comparison overlapping region.
Come, judge whether the enlargement ratio of the image of browsing at present surpasses a default value (S615), wherein this default value is the due minimum default value of enlargement ratio of panoramic picture 2, then just continues the browse graph picture if not; If being judged as of step S615 is, expression has surpassed the ultimate resolution of the low resolution topography of browsing at present, then utilize the conversion parameters such as coordinate conversion matrix of higher topography of the previous relative resolution that stores and previous estimation, convert the pairing topography's part (step S617) in the viewing area 21 to.
And before converted image, whether the first converted image that judge that institute's desire shows of system's meeting has existed is got buffer unit (S619) soon; If then therefrom read and show and deposit in the converted image of getting soon in the buffer unit (S621); If not, then begin to carry out the action of converted image, then meaning promptly captures the part (S623) of these topographies 31,33 in viewing area 21, the topography that dwindles part is to meet present enlargement ratio (S625), angle, brightness (S627) that the previous conversion parameter that stores of foundation comes the topography 31,33 of adjustment member, the overlapping region (S629) of the topography 31,33 of comparison part, come the topography 31,33 of bonding part again according to the overlapping region, to increase the accuracy that engages.
At last, after part topography conversion finished, can fit in viewing area 21 immediately and show converted image, and it is stored in gets buffer unit (step S633) soon, consider that amplifier section is generally the part that the user is interested in the image, therefore the chance of viewing and admiring again again is higher, the image after the conversion can be temporary in to get soon, in order to the time of saving converted image in the future.
Describe in detail by above instantiation, when disclosed as can be known method for generating panoramic image be when carry out pan-shot intact after, by general procedure the topography of higher parsing is dwindled earlier and engage, and the topography of original higher parsing also is stored in memory card in the lump, wherein and engaging required Coordinate Conversion relevant parameter be stored in (in title) in the relative image, when the interactively mobile image of user and when amplifying, if the resolution after it amplifies is during less than the resolution of former panoramic picture, just reduce reduce in scale from former panoramic picture and reach the effect that image amplifies, the right enlargement ratio of working as surpasses a certain particular value, make system can't utilize existing panoramic picture to dwindle when reaching, just can utilize the topography of previous storage, capture the part of its relative viewing area, multiplying power by actual displayed is come downscaled images, and according to after previous stored topography's conversion of relevant coordinate transformation parameter with part, fit in the viewing area, our the interactively details of expanded images and time of need not costing a lot of money like this, when the user needs the image of higher details, interactively increase the resolution of original panoramic picture by the topography of real-time processing one fritter (viewing area), saved the time that shows panoramic picture.Again,, utilize the image after high-speed cache stores previous conversion, in order to saving the time that the image changed in the recent period must be changed again once more for pick up speed.
But, the above, only be the detailed description and the accompanying drawing of specific embodiments of the invention, be not in order to restriction the present invention, all scopes of the present invention should be as the criterion with claim, any those of ordinary skill in the art in field of the present invention, can think easily and variation or revise all can be encompassed within the claim scope that this case defines.
Claims (7)
1. method for generating panoramic image is characterized in that being applicable to that a digital filming device takes a panorama, and wherein this method for generating panoramic image may further comprise the steps:
To a plurality of topographies of this pan-shot;
Each this topography's resolution is reduced to produce a plurality of low resolution topography;
Carry out a splice program, these low resolution topographies are bonded into a panoramic picture;
The enlargement ratio of confirming this panoramic picture is greater than a default value; And
Engage the higher topography of pairing those relative resolutions of those low resolution topographies in the viewing area of browsing at present, to produce a converted image.
2. method for generating panoramic image as claimed in claim 1 is characterized in that reducing in the step of resolution of these topographies, more may further comprise the steps:
Store these topographies; And
Write down the conversion parameter that these low resolution topographies convert these topographies to.
3. method for generating panoramic image as claimed in claim 1 is characterized in that carrying out more may further comprise the steps before the step of this splice program:
In this viewing area, browse, translation, this low resolution topography of convergent-divergent; And
Judge and whether have plural this low resolution topography in this viewing area.
4. method for generating panoramic image as claimed in claim 3 is characterized in that carrying out more may further comprise the steps in the step of this splice program:
Adjust the angle of this adjacent in this viewing area low resolution topography;
Compare an overlapping region of these low resolution topographies; And
Engage these low resolution topographies according to this overlapping region.
5. method for generating panoramic image as claimed in claim 2 is characterized in that engaging in the step of those topographies, more may further comprise the steps:
Capture the part of these topographies in this viewing area;
Dwindle these topographies of part to meet present enlargement ratio;
Come the angle of this topography of adjustment member according to this conversion parameter;
One overlapping region of these topographies of comparison part; And
Come these topographies of bonding part according to this overlapping region.
6. method for generating panoramic image as claimed in claim 5 is characterized in that this digital filming device has one and gets buffer unit soon, after the step that produces this converted image, more may further comprise the steps:
Show this converted image; And
Store this converted image and get buffer unit soon in this.
7. method for generating panoramic image as claimed in claim 6 is characterized in that engaging in the step of those topographies, more may further comprise the steps:
Detect the storage location of this converted image; And
Show to detect and deposit in this and get this converted image in the buffer unit soon.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810192992A CN101771829A (en) | 2008-12-31 | 2008-12-31 | Method for generating panoramic image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810192992A CN101771829A (en) | 2008-12-31 | 2008-12-31 | Method for generating panoramic image |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101771829A true CN101771829A (en) | 2010-07-07 |
Family
ID=42504387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810192992A Pending CN101771829A (en) | 2008-12-31 | 2008-12-31 | Method for generating panoramic image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101771829A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103168315A (en) * | 2010-09-09 | 2013-06-19 | 数字光学欧洲有限公司 | Stereoscopic (3D) panorama creation on handheld device |
CN108156386A (en) * | 2018-01-11 | 2018-06-12 | 维沃移动通信有限公司 | A kind of panorama photographic method and mobile terminal |
CN116627372A (en) * | 2023-05-24 | 2023-08-22 | 上海感图网络科技有限公司 | PNL material alignment preview display method, device, equipment and storage medium |
-
2008
- 2008-12-31 CN CN200810192992A patent/CN101771829A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103168315A (en) * | 2010-09-09 | 2013-06-19 | 数字光学欧洲有限公司 | Stereoscopic (3D) panorama creation on handheld device |
CN103168315B (en) * | 2010-09-09 | 2016-01-20 | 快图有限公司 | Solid (3D) panorama sketch on portable equipment creates |
CN108156386A (en) * | 2018-01-11 | 2018-06-12 | 维沃移动通信有限公司 | A kind of panorama photographic method and mobile terminal |
CN116627372A (en) * | 2023-05-24 | 2023-08-22 | 上海感图网络科技有限公司 | PNL material alignment preview display method, device, equipment and storage medium |
CN116627372B (en) * | 2023-05-24 | 2024-03-12 | 上海感图网络科技有限公司 | PNL material alignment preview display method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111294517B (en) | Image processing method and mobile terminal | |
JP3695119B2 (en) | Image synthesizing apparatus and recording medium storing program for realizing image synthesizing method | |
JP4980779B2 (en) | Imaging apparatus, method and program | |
CN101601279B (en) | Imaging device, imaging method, and program | |
US20120092529A1 (en) | Method for processing an image and an image photographing apparatus applying the same | |
CN112995500B (en) | Shooting method, shooting device, electronic equipment and medium | |
US20110187879A1 (en) | Imaging device and image processing program | |
JP2004357257A (en) | Photographing device | |
JP3799861B2 (en) | Image synthesizing apparatus and recording medium on which program for executing image synthesizing method is recorded | |
JP2010268441A (en) | Image processor, imaging device, and image reproducing device | |
CN103428427A (en) | Image resizing method and image resizing apparatus | |
US20080136942A1 (en) | Image sensor equipped photographing apparatus and picture photographing method | |
JP5517219B2 (en) | Image photographing apparatus and image photographing method | |
US20040090548A1 (en) | Image capture systems and methods | |
WO2022161260A1 (en) | Focusing method and apparatus, electronic device, and medium | |
JP4760725B2 (en) | Image reproduction apparatus, image display method, and program | |
CN113794829A (en) | Shooting method and device and electronic equipment | |
CN111787224A (en) | Image acquisition method, terminal device and computer-readable storage medium | |
TWI390966B (en) | Panorama image generating method | |
CN114449174A (en) | Shooting method and device and electronic equipment | |
JP2017011504A (en) | Imaging device, image processing method and program | |
CN101771829A (en) | Method for generating panoramic image | |
CN113727001A (en) | Shooting method and device and electronic equipment | |
CN101543050B (en) | Imaging device, imaging method and integrated circuit | |
WO2023231869A1 (en) | Photographing method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20100707 |