CN107767461A - A kind of panoramic picture jump method - Google Patents

A kind of panoramic picture jump method Download PDF

Info

Publication number
CN107767461A
CN107767461A CN201710892519.9A CN201710892519A CN107767461A CN 107767461 A CN107767461 A CN 107767461A CN 201710892519 A CN201710892519 A CN 201710892519A CN 107767461 A CN107767461 A CN 107767461A
Authority
CN
China
Prior art keywords
panoramic picture
coordinate
screen
opengl
jump method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710892519.9A
Other languages
Chinese (zh)
Inventor
黄新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Fruit Technology Co Ltd
Original Assignee
Zhuhai Fruit Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Fruit Technology Co Ltd filed Critical Zhuhai Fruit Technology Co Ltd
Priority to CN201710892519.9A priority Critical patent/CN107767461A/en
Publication of CN107767461A publication Critical patent/CN107767461A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/003Navigation within 3D models or images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04815Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Processing Or Creating Images (AREA)

Abstract

Technical scheme includes a kind of panoramic picture jump method, it is characterised in that this method includes:The panoramic picture of panorama harvester collection is obtained, parsing obtains multiple panoramic picture coordinates;Based on OPENGL combination panoramic picture coordinates and panoramic picture generation model view projections matrix;The corresponding screen coordinate of image coordinate is calculated according to the model view projections matrix and OPENGL viewing matrix;The matching of the screen coordinate and panoramic picture coordinate is performed, redirecting for subgraph is completed according to matching result.Beneficial effects of the present invention are:Reduce the hardware cost of image jump system.

Description

A kind of panoramic picture jump method
Technical field
The present invention relates to a kind of panoramic picture jump method, belong to computer vision field.
Background technology
Existing technical scheme is then the thought according to panorama sketch roaming, and final correction chart is imaged according to virtual camera Thought connected with spherical coordinate, establish contacting between panorama sketch coordinate and screen coordinate.
Existing panoramic picture redirects the thought that scheme is in accordance with panoramic picture roaming, is moved to a certain angle of visual field every time When, software algorithm needs to update contacting between correction chart and spherical coordinate, and such a mode amount of calculation is huge, is ensureing real-time On the basis of to system hardware configuration require it is higher.
The content of the invention
In view of the shortcomings of the prior art, technical scheme provides a kind of panoramic picture jump method, and it is used for reference In game picture design process, thinking that picture redirects on the basis based on OPENGL coordinate transforms, passes through image Texture coordinate, model vertices coordinate, modelview matrix, projection matrix and normalized, by panorama sketch coordinate and screen Coordinate connects, when clicking a certain location point on screen, you can connected with panorama sketch coordinate, it is sub corresponding to completion Image redirects.
Technical scheme includes a kind of panoramic picture jump method, and this method includes:Obtain panorama harvester The panoramic picture of collection, parsing obtain multiple panoramic picture coordinates;B. OPENGL combination panoramic picture coordinates and panorama sketch are based on As generation model view projections matrix;C. image is calculated according to the model view projections matrix and OPENGL viewing matrix Screen coordinate corresponding to coordinate;D. the matching of the screen coordinate and panoramic picture coordinate is performed, son is completed according to matching result Image redirects.
According to a kind of described panoramic picture jump method, wherein step A also include:S21, panoramic picture is solved Analysis, multiple labels are set in panoramic picture, a panoramic picture coordinate, and then coordinate text corresponding to generation are corresponded at each label Part, and panoramic image file and coordinate file are sent into OPENGL and perform processing;S22, is corrected and more according to panoramic picture The new viewing angle of visual field, and show image after correction.
According to a kind of described panoramic picture jump method, wherein step B also includes:Detect that viewing visual angle field becomes During change, corresponding MVP matrixes in OPENGL are updated.
According to a kind of described panoramic picture jump method, wherein step C also includes:Detect whether to click screen in real time Action, if only the adjustment viewing angle of visual field, and return to step B if detecting the presence of the action for clicking screen, are looked into without if Multiple panoramic picture coordinates corresponding at screen taps are looked for, and are matched with the screen coordinate.
According to a kind of described panoramic picture jump method, wherein step C also includes:The return to step B if it fails to match And adjust the viewing angle of visual field.
According to a kind of described panoramic picture jump method, wherein step D also includes:According to the screen coordinate matched, Subgraph redirects corresponding to panorama sketch coordinate corresponding to lookup and completion.
Beneficial effects of the present invention are:Reduce the hardware cost of image jump system.
Brief description of the drawings
Fig. 1 show the overview flow chart according to embodiment of the present invention;
Fig. 2 show the detail flowchart according to embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings with specific embodiment pair The present invention is described in detail.The panoramic picture jump method of the present invention is applied to image jump system.
Fig. 1 show the overview flow chart according to embodiment of the present invention.It is as described below, including:A. panorama is obtained to adopt The panoramic picture of acquisition means collection, parsing obtain multiple panoramic picture coordinates;B. based on OPENGL combination panoramic picture coordinates and Panoramic picture generation model view projections matrix;C. calculated according to the model view projections matrix and OPENGL viewing matrix To screen coordinate corresponding to image coordinate;D. the matching of the screen coordinate and panoramic picture coordinate is performed, according to matching result Complete redirecting for subgraph.
Fig. 2 show the detail flowchart according to embodiment of the present invention.Its flow is as follows:
(1) coordinate (panorama sketch coordinate) of label position correspondence in a Zhang Quanjing image is determined, by the image and coordinate File is read into software program.
(2) according to image after the display correction of the currently viewing angle of visual field.
(3) according to model view projections matrix corresponding to currently viewing angle of visual field generation OPENGL.
(4) the model view projections matrix in OPENGL viewing matrix and (3), calculating panorama sketch coordinate pair should Screen coordinate.
(5) determine whether to click the action of screen, the then adjustment viewing angle of visual field that it's not true, turn to step (2).
(6) coordinate for clicking screen location is obtained, the coordinate is matched with the coordinate in step (4), if matching Failure, then the adjustment viewing angle of visual field, turns to step (2).
(7) according to the screen coordinate matched, panorama sketch coordinate corresponding to lookup, you can the jump of subgraph corresponding to completion Turn.
It is described above, simply presently preferred embodiments of the present invention, the invention is not limited in above-mentioned embodiment, as long as It reaches the technique effect of the present invention with identical means, should all belong to protection scope of the present invention.In the protection model of the present invention Its technical scheme and/or embodiment can have a variety of modifications and variations in enclosing.

Claims (6)

1. a kind of panoramic picture jump method, it is characterised in that this method includes:
A. the panoramic picture of panorama harvester collection is obtained, parsing obtains multiple panoramic picture coordinates;
B. OPENGL combination panoramic picture coordinates and panoramic picture generation model view projections matrix are based on;
C. the corresponding screen coordinate of image coordinate is calculated according to the model view projections matrix and OPENGL viewing matrix;
D. the matching of the screen coordinate and panoramic picture coordinate is performed, redirecting for subgraph is completed according to matching result.
2. a kind of panoramic picture jump method according to claim 1, it is characterised in that described step A also includes:
S21, panoramic picture is parsed, multiple labels are set in panoramic picture, a panoramic picture is corresponded at each label Coordinate, and then coordinate file corresponding to generation, and panoramic image file and coordinate file are sent into OPENGL and perform processing;
S22, it is corrected according to panoramic picture and updates the viewing angle of visual field, and shows image after correction.
3. a kind of panoramic picture jump method according to claim 1 or 2, it is characterised in that described step B is also wrapped Include:
When detecting that viewing visual angle field changes, corresponding MVP matrixes in OPENGL are updated.
4. a kind of panoramic picture jump method according to claim 1, it is characterised in that described step C also includes:
Detect whether to click the action of screen in real time, if the only adjustment viewing angle of visual field, and return to step B without if, if inspection Measure in the presence of the action for clicking screen, then search multiple panoramic picture coordinates corresponding at screen taps, and sit with the screen Mark is matched.
5. a kind of panoramic picture jump method according to claim 4, it is characterised in that described step C also includes:
Return to step B and the viewing angle of visual field is adjusted if it fails to match.
6. a kind of panoramic picture jump method according to claim 1 or 4, it is characterised in that described step D is also wrapped Include:
According to the screen coordinate matched, subgraph redirects corresponding to panorama sketch coordinate corresponding to lookup and completion.
CN201710892519.9A 2017-09-27 2017-09-27 A kind of panoramic picture jump method Pending CN107767461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710892519.9A CN107767461A (en) 2017-09-27 2017-09-27 A kind of panoramic picture jump method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710892519.9A CN107767461A (en) 2017-09-27 2017-09-27 A kind of panoramic picture jump method

Publications (1)

Publication Number Publication Date
CN107767461A true CN107767461A (en) 2018-03-06

Family

ID=61266632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710892519.9A Pending CN107767461A (en) 2017-09-27 2017-09-27 A kind of panoramic picture jump method

Country Status (1)

Country Link
CN (1) CN107767461A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110619659A (en) * 2019-06-20 2019-12-27 北京无限光场科技有限公司 House resource display method, device, terminal equipment and medium
CN111783014A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Image acquisition method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182999A (en) * 2013-05-21 2014-12-03 百度在线网络技术(北京)有限公司 Panoramic animation jumping method and system
CN105741341A (en) * 2016-01-27 2016-07-06 桂林长海发展有限责任公司 Three-dimensional space environment imaging system and method
CN106485772A (en) * 2016-09-30 2017-03-08 北京百度网讯科技有限公司 Panorama changing method and system
CN106570938A (en) * 2016-10-21 2017-04-19 哈尔滨工业大学深圳研究生院 OPENGL based panoramic monitoring method and system
US20170243384A1 (en) * 2016-02-19 2017-08-24 Mediatek Inc. Image data processing system and associated methods for processing panorama images and image blending using the same
CN107123092A (en) * 2017-04-28 2017-09-01 广东远峰电子科技股份有限公司 A kind of method and apparatus at real-time switching panoramic picture visual angle

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182999A (en) * 2013-05-21 2014-12-03 百度在线网络技术(北京)有限公司 Panoramic animation jumping method and system
CN105741341A (en) * 2016-01-27 2016-07-06 桂林长海发展有限责任公司 Three-dimensional space environment imaging system and method
US20170243384A1 (en) * 2016-02-19 2017-08-24 Mediatek Inc. Image data processing system and associated methods for processing panorama images and image blending using the same
CN106485772A (en) * 2016-09-30 2017-03-08 北京百度网讯科技有限公司 Panorama changing method and system
CN106570938A (en) * 2016-10-21 2017-04-19 哈尔滨工业大学深圳研究生院 OPENGL based panoramic monitoring method and system
CN107123092A (en) * 2017-04-28 2017-09-01 广东远峰电子科技股份有限公司 A kind of method and apparatus at real-time switching panoramic picture visual angle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110619659A (en) * 2019-06-20 2019-12-27 北京无限光场科技有限公司 House resource display method, device, terminal equipment and medium
CN111783014A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Image acquisition method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101563709B (en) Calibrating a camera system
CN110335317B (en) Image processing method, device, equipment and medium based on terminal equipment positioning
WO2018040480A1 (en) Method and device for adjusting scanning state
JP2015041381A (en) Method and system of detecting moving object
CN107358633A (en) Join scaling method inside and outside a kind of polyphaser based on 3 points of demarcation things
CN104715479A (en) Scene reproduction detection method based on augmented virtuality
KR20170046790A (en) See-through smart glasses and see-through method thereof
CN111445389A (en) Wide-view-angle rapid splicing method for high-resolution images
CN111325798B (en) Camera model correction method, device, AR implementation equipment and readable storage medium
JP2008275341A (en) Information processor and processing method
CN103729610A (en) Two-dimension code focusing displaying method and system
CN109040736A (en) A kind of scaling method, device, equipment and the storage medium of eye space position
CN111383204A (en) Video image fusion method, fusion device, panoramic monitoring system and storage medium
CN104835143A (en) Rapid projector system parameter calibration method
CN114119739A (en) Binocular vision-based hand key point space coordinate acquisition method
CN105279771A (en) Method for detecting moving object on basis of online dynamic background modeling in video
JP2007295375A (en) Projection image correction device, and its program
CN107767461A (en) A kind of panoramic picture jump method
JP6942566B2 (en) Information processing equipment, information processing methods and computer programs
US11106921B2 (en) Method and apparatus for determining road information, and vehicle
CN109308472B (en) Three-dimensional sight estimation method based on iris projection matching function
CN108053491A (en) The method that the three-dimensional tracking of planar target and augmented reality are realized under the conditions of dynamic visual angle
CN111915739A (en) Real-time three-dimensional panoramic information interactive information system
CN111192308A (en) Image processing method and device, electronic equipment and computer storage medium
Li et al. Augmented reality registration method based on natural feature points

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180306

RJ01 Rejection of invention patent application after publication