CN108391117A - A kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting - Google Patents

A kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting Download PDF

Info

Publication number
CN108391117A
CN108391117A CN201810101469.2A CN201810101469A CN108391117A CN 108391117 A CN108391117 A CN 108391117A CN 201810101469 A CN201810101469 A CN 201810101469A CN 108391117 A CN108391117 A CN 108391117A
Authority
CN
China
Prior art keywords
mobile phone
viewer
viewpoint
angle
camera1
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
CN201810101469.2A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810101469.2A priority Critical patent/CN108391117A/en
Publication of CN108391117A publication Critical patent/CN108391117A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

The mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting that the present invention relates to a kind of.It is that can only watch the information for just having stereoscopic effect and cannot reflecting object multi-angle from single angle mainly to solve the problem of existing relief painting all.The technology is in turn include the following steps:(a) viewpoint positions:Viewer's viewpoint is preset by viewer with respect to the initial position of mobile phone screen or is a default value, when mobile phone tilts, is obtained the angle information of mobile phone at this time, is shown that the position relationship of viewer's viewpoint and mobile phone screen determines visual angle;(b) image is obtained:Obtain the three-dimensional image content that viewer should be seen that under the visual angle;(c) anamorphose:The image of acquisition is deformed with the methods of projective transformation to form single-view relief painting, bore hole 3D effect can be achieved on mobile phone screen.The bore hole 3D display technology can watch from various visual angles, show the image of the multiple angles of object, and because essence is two-dimentional display, be not easy that viewer is made to generate visual fatigue.

Description

A kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting
Technical field
The mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting that the present invention relates to a kind of.
Background technology
Relief painting is drawn a picture in the plane using plane perspective principle, and three-dimensional visual effect is produced.Due to relief painting Be it is static, it can only reflect the object in picture a special angle information, and if viewer not special angle watch, It will be difficult to generate three-dimensional perception.
Invention content
The shortcomings that in order to overcome background technology and shortcoming, the present invention provide a kind of vertical based on viewpoint positioning, single-view The mobile phone bore hole 3D display technology that body is drawn, it is that can only watch just having three-dimensional effect from single angle mainly to solve existing relief painting all Fruit, and the problem of cannot reflect the information of object multi-angle.
The technical scheme is that:A kind of bore hole 3d display technologies based on viewpoint positioning and single-view relief painting, according to It is secondary to include the following steps:
(a) viewpoint positions:Viewer's viewpoint does not move significantly in reality, initial position of viewer's viewpoint with respect to mobile phone screen It is preset by viewer or is a default value, when mobile phone tilts, by gyroscope and accelerometer acquisition mobile phone at this time Angle information, and then obtain the position relationship of viewer's viewpoint and mobile phone screen, to determine the visual angle of viewer;
(b) image is obtained:Obtain the three-dimensional image content that viewer should be seen that under the visual angle;
(c) anamorphose:The image of acquisition is deformed to be formed for current viewer visual angle with Method of Projection Change Single-view relief painting, it will be shown in bore hole 3D effect can be achieved on mobile phone screen.
The display technology is applied in Unity3D, and viewer is not moved significantly using viewpoint when mobile phone, and viewer regards Point is known quantity at a distance from mobile phone screen midpoint, can be manually set by viewer, can also be defaulted as a suitable distance.With camera shooting The viewpoint of people in machine simulation reality, when viewer tilts mobile phone, according to position, the angle between its human eye viewpoint and mobile phone screen The change of degree relationship changes position and the angle of video camera so that the heeling condition of XZ planes and viewer in camera angles The heeling condition of mobile phone screen is identical in visual angle, to obtain the picture material that viewer should be seen that in the angle, described image It is deformed into, the image that video camera is taken carries out deformation appropriate, is shown on mobile phone screen, you can generate correspondence and see at this time The single-view relief painting of the person's of seeing viewpoint.
The concrete scheme that the display technology is applied in Unity3D is as follows:
A. being placed below XZ planes needs threedimensional model to be shown;
B. a video camera is created, camera shooting mode is perspective formula, referred to as Camera1;
C.Camera1 corresponds to the viewpoint of user in reality, and world coordinates origin corresponds to mobile phone screen midpoint in reality, with as follows Method simulation reality in viewer see the mobile phone screen the case where:
(1) initial position of Camera1 is set according to the position relationship at viewpoint when people's normal use mobile phone and mobile phone screen midpoint Or user's manual setting Camera1 initial positions;
(2) it writes the script that one is controlled Camera1 by gyroscope and accelerometer and passes through gyro when viewer's mobile phone being made to tilt Instrument and accelerometer obtain the heeling condition of mobile phone at this time, it is assumed that viewer's viewpoint does not move, and then obtains mobile phone screen and sight The position of the person's of seeing viewpoint, angular relationship change position, the angle of Camera1 with this so that the Unity3D that Camera1 is seen XZ planes are identical as mobile phone heeling condition in the world;
D. the picture that Camera1 takes is transported on RenderTexture;
E. a plane targetplane is established, then creates a video camera Camera2 shooting targetplaneCamera2 shootings Picture will be shown on device screen;
F. it includes on targetplane RenderTexture such as textures to be projected deformation, you can is shown on mobile phone screen Go out corresponding single-view relief painting.
The invention has the advantages that:The bore hole 3D display technology can watch from various visual angles, show the multiple angles of object The image of degree, and because essence is two-dimentional display, be not easy that viewer is made to generate visual fatigue.
Specific implementation mode
The embodiment of the present invention is described further below:
A kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting, in turn includes the following steps:(a) it regards Point location:This method requires viewer's viewpoint in reality not move significantly, initial position of viewer's viewpoint with respect to mobile phone screen Preset by viewer or be a default value.When mobile phone tilts, mobile phone at this time is obtained by gyroscope and accelerometer Angle information, and then obtain the position relationship of viewer's viewpoint and mobile phone screen, to determine the visual angle of viewer;(b) figure is obtained Picture:Obtain the three-dimensional image content that viewer should be seen that under the visual angle;(c) anamorphose:With the methods of projective transformation to obtaining The image taken is deformed to form the single-view relief painting for current viewer visual angle, and it will be shown in can on mobile phone screen Realize bore hole 3D effect.The bore hole 3D display technology can watch from various visual angles, show the image of the multiple angles of object, and because of essence It is two-dimentional display, is not easy that viewer is made to generate visual fatigue.
In the present invention, implementation of the bore hole 3d display technologies in Unity3D:
The method requires viewer not moved significantly using viewpoint when mobile phone, and viewer's viewpoint is at a distance from mobile phone screen midpoint It for known quantity, can be manually set by viewer, can also be defaulted as a suitable distance.
In Unity3D, the viewpoint of people in reality is simulated with video camera, when viewer tilts mobile phone, according to its human eye The change of position, angular relationship between viewpoint and mobile phone screen changes position and the angle of video camera so that in video camera The worlds Unity3D seen in visual angle are to be answered in the angle with angle tilt identical with mobile phone to obtain viewer The picture material seen.The image that video camera is taken carries out deformation appropriate, is shown on mobile phone screen, you can generation pair Answer the single-view relief painting of viewer's viewpoint at this time.
Embodiment is specific as follows to be:
1. being placed below XZ planes needs threedimensional model to be shown.
2. creating a video camera, camera shooting mode is perspective formula, referred to as Camera1.
3.Camera1 corresponds to the viewpoint of user in reality, and world coordinates origin corresponds to mobile phone screen midpoint in reality, with In following method simulation reality viewer see the mobile phone screen the case where (acquiescence viewer's viewpoint in reality does not move):
(1) initial position of Camera1 is set according to the position relationship at viewpoint when people's normal use mobile phone and mobile phone screen midpoint (can also enable user manual setting Camera1 initial positions).
(2) script that one is controlled Camera1 by gyroscope and accelerometer is write when viewer's mobile phone being made to tilt to pass through Gyroscope and accelerometer obtain the heeling condition (quaternary number) of mobile phone at this time, it is assumed that viewer's viewpoint does not move, and then obtains The position of mobile phone screen and viewer's viewpoint, angular relationship change position, the angle of Camera1 with this so that Camera1 institutes XZ planes are identical as mobile phone heeling condition in the worlds Unity3D seen.(i.e. Camera1 corresponds to the viewpoint of user in reality, World coordinates origin corresponds to mobile phone screen midpoint in reality, and XZ planes correspond to plane where mobile phone screen, and simulation true man see the mobile phone Visual angle.)
Separately:Change the positions Camera1, angular relationship concrete scheme example:
(1) gyro data Input.gyro.attitude is obtained in Unity3D, which is quaternary number.Due to the quaternary There may be differences for the x, y, z axis in the referenced x, y, z axis of number and the worlds Unity3D, it is necessary to when can will be in the quaternary number Input.gyro.attitude.x、Input.gyro.attitude.y、Input.gyro.attitude.z、 The value of Input.gyro.attitude.w is interchangeable, takes the operations such as opposite number so that can correctly be controlled by the quaternary number The movement of Camera1 in the worlds Unity3D.The quaternary number scale that it is obtained by proper transformation be Gyro=(Gyro.x, Gyro.y,Gyro.z,Gyro.w)。
(2) the conjugation GyroC=(- Gyro.x ,-Gyro.y ,-Gyro.z, Gyro.w) of Gyro is sought.
Remember that the initial position of Camera1 is (Px, Py, Pz), enables quaternary number YuanPosition=(Px, Py, Pz, 0).
Quaternary number Position=GyroC*YuanPosition*Gyro is calculated, transform.position is then used Camera1 is moved to (Position.x, Position.y, Position.z).(3) made with transform.LookAt Camera1 is always towards origin.(since the numerical value of Input.gyro.attitude and the four corners of the world of mobile phone are towards related, In order to actually use conveniently, angle adjustment script can be added, seldom describe herein.)
4. the picture that Camera1 takes is transported on RenderTexture.
5. establishing one is parallel to the plane targetplane of XZ planes, then creates a video camera Camera2 shootings Targetplane (picture of Camera2 shootings will be shown on device screen).
It is shown on targetplane 6. RenderTexture is deformed with mode appropriate (such as texture projection), you can Corresponding single-view relief painting is shown on mobile phone screen.
Separately:Texture projection scheme example:Using the BlobShadowProjector in projector components, create corresponding Shader and material, the texture of RenderTexture is projected on targetplane.Targetplane can be placed on (in the surface of world's coordinate origin, it is flat that targetplane is parallel to XZ at the midpoint of targetplane for the surface of XZ planes Face), BlobShadowProjector is placed on right over Camera1, with Camera1's by the position of h away from XZ planes unit Distance is also the position of h unit, and when enabling the positions Camera1, angle change, BlobShadowProjector exists always Position away from its h unit right over Camera1, the angle of BlobShadowProjector are identical as Camera1.It will Camera2 is placed in the surface in the faces targetplane, and the faces face targetplane are shot, you can on mobile phone screen Show corresponding single-view relief painting.

Claims (3)

1. a kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting, it is characterised in that:Include such as successively Lower step;
(a) viewpoint positions:Viewer's viewpoint does not move significantly in reality, initial position of viewer's viewpoint with respect to mobile phone screen It is preset by viewer or is a default value, when mobile phone tilts, by gyroscope and accelerometer acquisition mobile phone at this time Angle information, and then obtain the position relationship of viewer's viewpoint and mobile phone screen, to determine the visual angle of viewer;
(b) image is obtained:Obtain the three-dimensional image content that viewer should be seen that under the visual angle;
(c) anamorphose:The image of acquisition is deformed to be formed for current viewer visual angle with Method of Projection Change Single-view relief painting, it will be shown in bore hole 3D effect can be achieved on mobile phone screen.
2. a kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting according to claim 1, It is characterized in that:The display technology is applied in Unity3D, and viewer is not moved significantly using viewpoint when mobile phone, viewer Viewpoint is known quantity at a distance from mobile phone screen midpoint, and a suitable distance can be manually set or given tacit consent to by viewer, uses video camera The viewpoint of people in simulation reality, when viewer tilts mobile phone, according to the position between its human eye viewpoint and mobile phone screen, angle The change of relationship changes position and the angle of video camera so that the worlds Unity3D seen in the visual angle of video camera be with Angle tilt identical with mobile phone, to obtain the picture material that viewer should be seen that in the angle, described image is deformed into The image that video camera is taken carries out deformation appropriate, is shown on mobile phone screen, you can generates corresponding viewer at this time and regards The single-view relief painting of point.
3. a kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting according to claim 2, It is characterized in that:The concrete scheme that the display technology is applied in Unity3D is as follows:
A. being placed below XZ planes needs threedimensional model to be shown;
B. a video camera is created, camera shooting mode is perspective formula, referred to as Camera1;
C.Camera1 corresponds to the viewpoint of user in reality, and world coordinates origin corresponds to mobile phone screen midpoint in reality, with as follows Method simulation reality in viewer see the mobile phone screen the case where:
(1) initial position of Camera1 is set according to the position relationship at viewpoint when people's normal use mobile phone and mobile phone screen midpoint Or user's manual setting Camera1 initial positions;
(2) it writes the script that one is controlled Camera1 by gyroscope and accelerometer and passes through gyro when viewer's mobile phone being made to tilt Instrument and accelerometer obtain the heeling condition of mobile phone at this time, it is assumed that viewer's viewpoint does not move, and then obtains mobile phone screen and sight The position of the person's of seeing viewpoint, angular relationship change position, the angle of Camera1 with this so that the Unity3D that Camera1 is seen XZ planes are identical as mobile phone heeling condition in the world;
D. the picture that Camera1 takes is transported on RenderTexture;
E. a plane targetplane is established, then creates a video camera Camera2 shooting targetplaneCamera2 shootings Picture will be shown on device screen;
F. it includes on targetplane RenderTexture such as textures to be projected deformation, you can is shown on mobile phone screen Go out corresponding single-view relief painting.
CN201810101469.2A 2018-02-01 2018-02-01 A kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting Pending CN108391117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810101469.2A CN108391117A (en) 2018-02-01 2018-02-01 A kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810101469.2A CN108391117A (en) 2018-02-01 2018-02-01 A kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting

Publications (1)

Publication Number Publication Date
CN108391117A true CN108391117A (en) 2018-08-10

Family

ID=63074861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810101469.2A Pending CN108391117A (en) 2018-02-01 2018-02-01 A kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting

Country Status (1)

Country Link
CN (1) CN108391117A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022267694A1 (en) * 2021-06-22 2022-12-29 纵深视觉科技(南京)有限责任公司 Display adjustment method and apparatus, device, and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140062676A1 (en) * 2012-08-30 2014-03-06 Sony Corporation Remote controller, remote device, multimedia system and the controlling method thereof
CN106131536A (en) * 2016-08-15 2016-11-16 万象三维视觉科技(北京)有限公司 A kind of bore hole 3D augmented reality interactive exhibition system and methods of exhibiting thereof
CN106878698A (en) * 2016-12-23 2017-06-20 中国科学院自动化研究所 The method and system of the mobile naked eye three-dimensional virtual reality based on light path collection
CN107181939A (en) * 2017-05-10 2017-09-19 廖治文 Naked eye three-dimensional imaging method and system based on camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140062676A1 (en) * 2012-08-30 2014-03-06 Sony Corporation Remote controller, remote device, multimedia system and the controlling method thereof
CN106131536A (en) * 2016-08-15 2016-11-16 万象三维视觉科技(北京)有限公司 A kind of bore hole 3D augmented reality interactive exhibition system and methods of exhibiting thereof
CN106878698A (en) * 2016-12-23 2017-06-20 中国科学院自动化研究所 The method and system of the mobile naked eye three-dimensional virtual reality based on light path collection
CN107181939A (en) * 2017-05-10 2017-09-19 廖治文 Naked eye three-dimensional imaging method and system based on camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022267694A1 (en) * 2021-06-22 2022-12-29 纵深视觉科技(南京)有限责任公司 Display adjustment method and apparatus, device, and medium

Similar Documents

Publication Publication Date Title
US9684994B2 (en) Modifying perspective of stereoscopic images based on changes in user viewpoint
US9824485B2 (en) Presenting a view within a three dimensional scene
US10739936B2 (en) Zero parallax drawing within a three dimensional display
US9864495B2 (en) Indirect 3D scene positioning control
US7796134B2 (en) Multi-plane horizontal perspective display
US7907167B2 (en) Three dimensional horizontal perspective workstation
EP3057066B1 (en) Generation of three-dimensional imagery from a two-dimensional image using a depth map
US20050219694A1 (en) Horizontal perspective display
US20050219240A1 (en) Horizontal perspective hands-on simulator
US20060126927A1 (en) Horizontal perspective representation
US20060221071A1 (en) Horizontal perspective display
US20050248566A1 (en) Horizontal perspective hands-on simulator
US20060250390A1 (en) Horizontal perspective display
CN108391117A (en) A kind of mobile phone bore hole 3D display technology based on viewpoint positioning, single-view relief painting
CN110197524A (en) Stereo display method, unit and computer readable storage medium
Ali et al. 3D VIEW: Designing of a Deception from Distorted View-dependent Images and Explaining interaction with virtual World.
WO2006121955A2 (en) Horizontal perspective display

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180810

WD01 Invention patent application deemed withdrawn after publication