CN104349025A - Panoramic picture generation method and device as well as electronic equipment - Google Patents

Panoramic picture generation method and device as well as electronic equipment Download PDF

Info

Publication number
CN104349025A
CN104349025A CN201310352791.XA CN201310352791A CN104349025A CN 104349025 A CN104349025 A CN 104349025A CN 201310352791 A CN201310352791 A CN 201310352791A CN 104349025 A CN104349025 A CN 104349025A
Authority
CN
China
Prior art keywords
image
electronic equipment
reference object
multiple images
acquisition units
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.)
Granted
Application number
CN201310352791.XA
Other languages
Chinese (zh)
Other versions
CN104349025B (en
Inventor
陆林轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310352791.XA priority Critical patent/CN104349025B/en
Publication of CN104349025A publication Critical patent/CN104349025A/en
Application granted granted Critical
Publication of CN104349025B publication Critical patent/CN104349025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Stereoscopic And Panoramic Photography (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a panoramic picture generation method and device as well as electronic equipment. The method is applied to the electronic equipment. The electronic equipment is provided with an image acquisition unit. The method comprises the following steps: photographing a plurality of pictures of a photographing object from different angles by using the image acquisition unit; combining the plurality of photographed pictures to form a first picture according to a preset rule; converting the first picture to a second picture according to a second preset rule, wherein the second picture is a dynamic picture. According to the panoramic picture generation method, the picture for showing the panorama of the photographing object can be generated.

Description

A kind of panorama image generation method, device and electronic equipment
Technical field
The present invention relates to image processing techniques, particularly relate to a kind of panorama image generation method, device and electronic equipment.
Background technology
At present, use and have the electronic equipment of image acquisition units, as camera, an image of shooting can only record the one side of object, is the outward appearance of complete documentation object (as showpiece, sculpture etc.) more, needs for same object takes multiple images.But each image still can only represent the one side of object, the overall picture of object cannot be represented on an image.Although video camera can be used around the outward appearance of taking complete documentation object, the video flowing that obtains taken by video camera, and not only data volume is huge but also need specific player to play, and causes applicability very poor.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of panorama image generation method, device and electronic equipment, can generate the image representing reference object overall picture.
For achieving the above object, the technical scheme of the embodiment of the present invention is achieved in that
A kind of panorama image generation method that the embodiment of the present invention provides, be applied in electronic equipment, described electronic equipment has image acquisition units, and described method comprises:
Utilize described image acquisition units, with different angles, multiple images are taken to reference object;
According to the first preset rules, multiple Image Mosaics photographed are become the first image;
According to the second preset rules, convert described first image to second image, described second image is dynamic image.
Preferably, described second image moves horizontally or is rotated around around a central shaft in same level.
Preferably, before described split, described method also comprises:
According to a pre-defined algorithm, remove the background image in image.
Preferably, describedly with different angles, multiple images taken to reference object be:
Multiple images are taken around reference object with the speed ring reaching scheduled rate threshold value.
Preferably, before the background image in described removal image, described method also comprises:
The background image in image is identified according to color and brightness.
A kind of panoramic picture generating apparatus that the embodiment of the present invention provides, be applied in electronic equipment, described electronic equipment has image acquisition units, and described device comprises:
Shooting unit, for utilizing described image acquisition units, takes multiple images to reference object with different angles;
Multiple Image Mosaics photographed, for according to the first preset rules, are become the first image by split unit;
Converting unit, for according to the second preset rules, convert described first image to second image, described second image is dynamic image.
Preferably, described second image moves horizontally or is rotated around around a central shaft in same level.
Preferably, described device also comprises background image removal unit, for according to a pre-defined algorithm, removes the background image in image.
Preferably, described shooting unit, specifically for taking multiple images with the speed ring reaching scheduled rate threshold value around reference object.
Preferably, described device also comprises recognition unit, for identifying the background image in image according to color and brightness.
A kind of electronic equipment that the embodiment of the present invention provides, described electronic equipment has image acquisition units, and described electronic equipment comprises any one panoramic picture generating apparatus above-mentioned.
As from the foregoing, the technical scheme of the embodiment of the present invention comprises: utilize described image acquisition units, takes multiple images to reference object with different angles; According to the first preset rules, multiple Image Mosaics photographed are become the first image; According to the second preset rules, convert described first image to second image, described second image is dynamic image.Thus, carry out process by multiple images different angles taken and obtain dynamic image, the embodiment of the present invention can generate the image representing reference object overall picture.
Accompanying drawing explanation
Fig. 1 is the realization flow schematic diagram of the first embodiment of panorama image generation method of the present invention;
Fig. 2 is the realization flow schematic diagram of the second embodiment of panorama image generation method of the present invention;
Fig. 3 is the realization flow schematic diagram of the 3rd embodiment of panorama image generation method of the present invention;
Fig. 4 is the realization flow schematic diagram of the 4th embodiment of panorama image generation method of the present invention;
Fig. 5 is the realization flow schematic diagram of the 5th embodiment of panorama image generation method of the present invention;
Fig. 6 is the structural representation of the first embodiment of panoramic picture generating apparatus of the present invention;
Fig. 7 is the structural representation of the 4th embodiment of panoramic picture generating apparatus of the present invention;
Fig. 8 is the structural representation of the 5th embodiment of panoramic picture generating apparatus of the present invention.
Embodiment
First embodiment of panorama image generation method provided by the invention, is applied in electronic equipment, and described electronic equipment has image acquisition units, and as shown in Figure 1, described method comprises:
Step 101, utilize described image acquisition units, with different angles, multiple images are taken to reference object.
Step 102, according to the first preset rules, multiple Image Mosaics photographed are become the first image;
Here, the first image can be pieced together taking multiple images obtained according to the time order and function order of shooting.
Step 103, according to the second preset rules, convert described first image to second image, described second image is dynamic image;
Here, the second image can be the dynamic image of graphic interchange format (Graphics Interchange Format, GIF).
Thus, carry out process by multiple images different angles taken and obtain dynamic image, the embodiment of the present invention can generate the image representing reference object overall picture.
Second embodiment of panorama image generation method provided by the invention, is applied in electronic equipment, and described electronic equipment has image acquisition units, and as shown in Figure 2, described method comprises:
Step 201, utilize described image acquisition units, with different angles, multiple images are taken to reference object.
Step 202, according to the first preset rules, multiple Image Mosaics photographed are become the first image;
Here, the first image can be pieced together taking multiple images obtained according to the time order and function order of shooting.
Step 203, according to the second preset rules, convert described first image to second image, described second image is dynamic image, and described second image moves horizontally or is rotated around around a central shaft in same level;
Here, the second image can be the dynamic image of GIF form or extended formatting.
Thus, undertaken processing the dynamic image being moved left and right or be rotated around by multiple images different angles taken, the embodiment of the present invention can generate the image representing reference object overall picture more comprehensively.
3rd embodiment of panorama image generation method provided by the invention, be applied in electronic equipment, described electronic equipment has image acquisition units, and as shown in Figure 3, described method comprises:
Step 301, utilize described image acquisition units, take multiple images with the speed ring reaching scheduled rate threshold value around reference object;
Here, described scheduled rate threshold value can be 24 per second.
Step 302, according to the first preset rules, multiple Image Mosaics photographed are become the first image;
Step 303, according to the second preset rules, convert described first image to second image, described second image is dynamic image;
Here, the second image can be the dynamic image of GIF form or extended formatting.
Thus, by obtaining dynamic image by carrying out process with the speed ring reaching scheduled rate threshold value around multiple images that reference object is taken, the embodiment of the present invention can generate the image representing reference object overall picture more comprehensively.
4th embodiment of panorama image generation method provided by the invention, be applied in electronic equipment, described electronic equipment has image acquisition units, and as shown in Figure 4, described method comprises:
Step 401, utilize described image acquisition units, with different angles, multiple images are taken to reference object.
Step 402, according to a pre-defined algorithm, remove the background image in image.
Step 403, according to the first preset rules, become the first image by removing multiple Image Mosaics of background image;
Here, the first image can be pieced together taking multiple images obtained according to the time order and function order of shooting.
Step 404, according to the second preset rules, convert described first image to second image, described second image is dynamic image;
Here, the second image can be the dynamic image of GIF form or extended formatting.
Thus, by removing the background image in image, reference object can be made more outstanding, thus make dynamic image more outstanding, the embodiment of the present invention can generate the more outstanding image representing reference object overall picture.
5th embodiment of panorama image generation method provided by the invention, be applied in electronic equipment, described electronic equipment has image acquisition units, and as shown in Figure 5, described method comprises:
Step 501, utilize described image acquisition units, with different angles, multiple images are taken to reference object.
Step 502, the background image identified according to color and brightness in image;
Concrete, first can determine color and the brightness of reference object, exceed the image image as a setting of preset value by with the color of reference object and the difference of brightness.
Step 503, according to a pre-defined algorithm, remove the background image in image.
Step 504, according to the first preset rules, become the first image by removing multiple Image Mosaics of background image;
Step 505, according to the second preset rules, convert described first image to second image, described second image is dynamic image;
Thus, the background image in image can be identified more accurately according to color and brightness, accurate removal background image can make reference object more outstanding, thus makes dynamic image more outstanding, and the embodiment of the present invention can generate the more outstanding image representing reference object overall picture.
First embodiment of panoramic picture generating apparatus provided by the invention, is applied in electronic equipment, and described electronic equipment has image acquisition units, and as shown in Figure 6, described device comprises:
Shooting unit, for utilizing described image acquisition units, takes multiple images to reference object with different angles.
Multiple Image Mosaics photographed, for according to the first preset rules, are become the first image by split unit;
Here, the first image can be pieced together taking multiple images obtained according to the time order and function order of shooting.
Converting unit, for according to the second preset rules, convert described first image to second image, described second image is dynamic image;
Here, the second image can be the dynamic image of GIF form or extended formatting.
Thus, carry out process by multiple images different angles taken and obtain dynamic image, the embodiment of the present invention can generate the image representing reference object overall picture.
Second embodiment of panoramic picture generating apparatus provided by the invention, is applied in electronic equipment, and described electronic equipment has image acquisition units, and described device comprises:
Shooting unit, for utilizing described image acquisition units, takes multiple images to reference object with different angles;
Multiple Image Mosaics photographed, for according to the first preset rules, are become the first image by split unit;
Converting unit, for according to the second preset rules, convert described first image to second image, described second image is dynamic image, and described second image moves horizontally or is rotated around around a central shaft in same level.
Thus, undertaken processing the dynamic image being moved left and right or be rotated around by multiple images different angles taken, the embodiment of the present invention can generate the image representing reference object overall picture more comprehensively.
3rd embodiment of panoramic picture generating apparatus provided by the invention, be applied in electronic equipment, described electronic equipment has image acquisition units, and described device comprises:
Shooting unit, for utilizing described image acquisition units, takes multiple images with the speed ring reaching scheduled rate threshold value around reference object;
Here, described scheduled rate threshold value can be 24 per second.
Multiple Image Mosaics photographed, for according to the first preset rules, are become the first image by split unit;
Converting unit, for according to the second preset rules, convert described first image to second image, described second image is dynamic image.
Thus, by obtaining dynamic image by carrying out process with the speed ring reaching scheduled rate threshold value around multiple images that reference object is taken, the embodiment of the present invention can generate the image representing reference object overall picture more comprehensively.
4th embodiment of panoramic picture generating apparatus provided by the invention, be applied in electronic equipment, described electronic equipment has image acquisition units, and as shown in Figure 7, described device comprises:
Shooting unit, for utilizing described image acquisition units, takes multiple images to reference object with different angles;
Background image removal unit, for according to a pre-defined algorithm, removes the background image in image;
Multiple Image Mosaics removing background image, for according to the first preset rules, are become the first image by split unit;
Converting unit, for according to the second preset rules, convert described first image to second image, described second image is dynamic image.
Thus, by removing the background image in image, reference object can be made more outstanding, thus make dynamic image more outstanding, the embodiment of the present invention can generate the more outstanding image representing reference object overall picture.
5th embodiment of panoramic picture generating apparatus provided by the invention, be applied in electronic equipment, described electronic equipment has image acquisition units, and as shown in Figure 8, described device comprises:
Shooting unit, for utilizing described image acquisition units, takes multiple images to reference object with different angles;
Recognition unit, for identifying the background image in image according to color and brightness;
Background image removal unit, for according to a pre-defined algorithm, removes the background image in image;
Multiple Image Mosaics removing background image, for according to the first preset rules, are become the first image by split unit;
Converting unit, for according to the second preset rules, convert described first image to second image, described second image is dynamic image.
Thus, the background image in image can be identified more accurately according to color and brightness, accurate removal background image can make reference object more outstanding, thus makes dynamic image more outstanding, and the embodiment of the present invention can generate the more outstanding image representing reference object overall picture.
Image acquisition units in each embodiment of panoramic picture generating apparatus of the present invention, shooting unit can adopt camera, split unit, converting unit can adopt the devices such as CPU, DSP, FPGA to realize, and recognition unit, background image removal unit also can adopt the devices such as CPU, DSP, FPGA to realize.
A kind of electronic equipment that the embodiment of the present invention provides, described electronic equipment has image acquisition units, and described electronic equipment comprises any one panoramic picture generating apparatus above-mentioned.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Apparatus embodiments described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can be ignored, or do not perform.In addition, the coupling each other of shown or discussed each part or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location; Both can be positioned at a place, also can be distributed in multiple network element; Part or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can all be integrated in a processing unit, also can be each unit individually as a unit, also can two or more unit in a unit integrated; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: movable storage device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
Or, if the above-mentioned integrated unit of the present invention using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprises some instructions and performs all or part of of method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server or the network equipment etc.).And aforesaid storage medium comprises: movable storage device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (9)

1. a panorama image generation method, is applied in electronic equipment, and described electronic equipment has image acquisition units, it is characterized in that, described method comprises:
Utilize described image acquisition units, with different angles, multiple images are taken to reference object;
According to the first preset rules, multiple Image Mosaics photographed are become the first image;
According to the second preset rules, convert described first image to second image, described second image is dynamic image.
2. method according to claim 1, is characterized in that, described second image moves horizontally or is rotated around around a central shaft in same level.
3. method according to claim 1, is characterized in that, before described split, described method also comprises:
According to a pre-defined algorithm, remove the background image in image.
4. method according to claim 1, is characterized in that, describedly takes multiple images to reference object with different angles and is:
Multiple images are taken around reference object with the speed ring reaching scheduled rate threshold value.
5. a panoramic picture generating apparatus, described device comprises:
Shooting unit, for utilizing described image acquisition units, takes multiple images to reference object with different angles;
Multiple Image Mosaics photographed, for according to the first preset rules, are become the first image by split unit;
Converting unit, for according to the second preset rules, convert described first image to second image, described second image is dynamic image.
6. device according to claim 5, is characterized in that, described second image moves horizontally or is rotated around around a central shaft in same level.
7. device according to claim 5, is characterized in that, described device also comprises background image removal unit, for according to a pre-defined algorithm, removes the background image in image.
8. device according to claim 5, is characterized in that, described shooting unit, specifically for taking multiple images with the speed ring reaching scheduled rate threshold value around reference object.
9. an electronic equipment, described electronic equipment has image acquisition units, it is characterized in that, described electronic equipment comprises the panoramic picture generating apparatus described in any one of claim 5 to 8.
CN201310352791.XA 2013-08-09 2013-08-09 A kind of panorama image generation method, device and electronic equipment Active CN104349025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310352791.XA CN104349025B (en) 2013-08-09 2013-08-09 A kind of panorama image generation method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310352791.XA CN104349025B (en) 2013-08-09 2013-08-09 A kind of panorama image generation method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN104349025A true CN104349025A (en) 2015-02-11
CN104349025B CN104349025B (en) 2018-12-14

Family

ID=52503767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310352791.XA Active CN104349025B (en) 2013-08-09 2013-08-09 A kind of panorama image generation method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN104349025B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657620A (en) * 2016-11-30 2017-05-10 努比亚技术有限公司 Picture synthesis method and device, and mobile terminal
WO2019148732A1 (en) * 2018-02-01 2019-08-08 平安科技(深圳)有限公司 Vehicle liability cognizance method, terminal, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7064783B2 (en) * 1999-12-31 2006-06-20 Stmicroelectronics, Inc. Still picture format for subsequent picture stitching for forming a panoramic image
CN1851555A (en) * 2006-05-19 2006-10-25 李鹏 Method for realizing two-dimensional panoramic true imaging
CN101034253A (en) * 2007-04-12 2007-09-12 华为技术有限公司 Device and method for implementing shooting panoramic photo
CN101853524A (en) * 2010-05-13 2010-10-06 北京农业信息技术研究中心 Method for generating corn ear panoramic image by using image sequence

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7064783B2 (en) * 1999-12-31 2006-06-20 Stmicroelectronics, Inc. Still picture format for subsequent picture stitching for forming a panoramic image
CN1851555A (en) * 2006-05-19 2006-10-25 李鹏 Method for realizing two-dimensional panoramic true imaging
CN101034253A (en) * 2007-04-12 2007-09-12 华为技术有限公司 Device and method for implementing shooting panoramic photo
CN101853524A (en) * 2010-05-13 2010-10-06 北京农业信息技术研究中心 Method for generating corn ear panoramic image by using image sequence

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
山爷WZS0718: "如何把静态图变成动态图(转)", 《360DOC个人图书馆》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657620A (en) * 2016-11-30 2017-05-10 努比亚技术有限公司 Picture synthesis method and device, and mobile terminal
WO2019148732A1 (en) * 2018-02-01 2019-08-08 平安科技(深圳)有限公司 Vehicle liability cognizance method, terminal, and computer-readable storage medium

Also Published As

Publication number Publication date
CN104349025B (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN109816762B (en) Image rendering method and device, electronic equipment and storage medium
CN101754040B (en) Method and apparatus for estimating depth, and method and apparatus for converting 2d video to 3d video
JP7386812B2 (en) lighting estimation
CN110163831B (en) Method and device for dynamically displaying object of three-dimensional virtual sand table and terminal equipment
JP7303754B2 (en) Method and system for integrating user-specific content into video production
CN105791705A (en) Video anti-shake method and system suitable for movable time-lapse photography and shooting terminal
CN111654746A (en) Video frame insertion method and device, electronic equipment and storage medium
CN110060201B (en) Hot spot interaction method for panoramic video
CN110248115A (en) Image processing method, device and storage medium
CN107203962B (en) Method for making pseudo-3D image by using 2D picture and electronic equipment
CN114531553A (en) Method and device for generating special effect video, electronic equipment and storage medium
CN103294453A (en) Image processing method and image processing device
KR100989435B1 (en) Method and apparatus for processing multi-viewpoint image
CN107203961B (en) Expression migration method and electronic equipment
CN104349025A (en) Panoramic picture generation method and device as well as electronic equipment
TWI766218B (en) Reconstruction method, reconstruction system and computing device for three-dimensional plane
CN104935866A (en) Method, synthesis device and system for realizing video conference
CN103578077A (en) Image zooming method and related device
CN112017304B (en) Method, apparatus, electronic device and medium for presenting augmented reality data
CN113793420A (en) Depth information processing method and device, electronic equipment and storage medium
CN103593156A (en) Three-dimensional panoramic display method and device
CN105260158A (en) Method and device for audio processing based on augmented reality technology
CN107820622A (en) A kind of virtual 3D setting works method and relevant device
CN106454480A (en) Video playing control method and apparatus
KR20180053494A (en) Method for constructing game space based on augmented reality in mobile environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant