WO2018166156A1 - 一种浏览图像的方法及装置 - Google Patents

一种浏览图像的方法及装置 Download PDF

Info

Publication number
WO2018166156A1
WO2018166156A1 PCT/CN2017/101731 CN2017101731W WO2018166156A1 WO 2018166156 A1 WO2018166156 A1 WO 2018166156A1 CN 2017101731 W CN2017101731 W CN 2017101731W WO 2018166156 A1 WO2018166156 A1 WO 2018166156A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
image
display
trajectory
angle
Prior art date
Application number
PCT/CN2017/101731
Other languages
English (en)
French (fr)
Inventor
王刚
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018166156A1 publication Critical patent/WO2018166156A1/zh

Links

Images

Classifications

    • 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
    • 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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/048023D-info-object: information is displayed on the internal or external surface of a three dimensional manipulable object, e.g. on the faces of a cube that can be rotated by the user

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and an apparatus for browsing an image.
  • the picture is switched by sliding the screen left and right.
  • the multi-view angle is basically viewed on the computer.
  • many of them are displayed through animation or GIF format images, so that the graphics in the image are automatically rotated to achieve multi-angle viewing.
  • the animation and GIF format can only be viewed according to the designer's pre-designed angle.
  • the user cannot view the three-dimensional stereoscopic image from the perspective of two views at the same time, and can not browse the three-dimensional stereoscopic image according to the user's needs.
  • embodiments of the present invention are directed to a method and apparatus for browsing an image, which can complete dynamic browsing of a viewpoint change of a three-dimensional stereoscopic image by simultaneously performing operations on two screens displaying the same three-dimensional stereogram.
  • a method of browsing images including:
  • the first screen is configured to display a first image of the three-dimensional stereoscopic image
  • the second screen is for displaying a second image of the three-dimensional stereoscopic image
  • the viewpoint data of the second image is different from the viewpoint data of the first image.
  • the method as described above further includes:
  • Adjusting the three-dimensional stereoscopic image on the first screen and the operation according to the operation trajectory of the first operation when the operation trajectory of the first operation and the operation trajectory of the second operation conform to a preset inversion strategy The display of the second screen.
  • the method as described above further includes:
  • the angle between the operation trajectory of the first operation and the operation trajectory of the second operation includes within a preset range of angles:
  • the adjusting the display of the three-dimensional stereoscopic image on the first screen and the second screen according to the operation trajectory of the first operation comprises:
  • the adjusting the display of the three-dimensional image on the first screen and the second screen according to the flip angle comprises:
  • the first screen and the second screen are set in one of the following manners:
  • the first screen is located on a first side of the terminal and the second screen is located on a second side of the terminal;
  • the first screen and the second screen are respectively screens after the screen of the terminal is split.
  • the method as described above further includes:
  • Adjusting the display of the three-dimensional stereoscopic image on the first screen and the second screen according to the operation trajectory of the first operation includes:
  • the flip angle is determined according to an operation trajectory of the first screen as the active screen, and the display of the three-dimensional stereoscopic image on the active screen is adjusted according to the flip angle.
  • An apparatus for browsing an image comprising: a first display unit, a second display unit, and a detection list Yuan and adjustment unit; among them,
  • the first display unit is configured to display a first image of the three-dimensional stereoscopic image
  • the second display unit is configured to display a second image of the three-dimensional stereoscopic image, and the viewpoint data of the second image is different from the viewpoint data of the first image;
  • the detecting unit is configured to detect an operation trajectory of the first operation when the first display unit receives the first operation
  • the adjusting unit is configured to adjust display of the three-dimensional stereoscopic image on the first display unit and the second display unit according to the operation trajectory of the first operation.
  • the detecting unit is further configured to detect an operation trajectory of the second operation when the second display unit receives the second operation;
  • the adjusting unit is configured to adjust the three-dimensional stereo image according to the operation trajectory of the first operation when the operation trajectory of the first operation and the operation trajectory of the second operation conform to a preset inversion strategy
  • the display of the first display unit and the second display unit is configured to adjust the three-dimensional stereo image according to the operation trajectory of the first operation when the operation trajectory of the first operation and the operation trajectory of the second operation conform to a preset inversion strategy.
  • a determining unit configured to:
  • a computer readable storage medium storing a computer program, the steps of the computer program executing when executed on a processor comprise:
  • the first screen is configured to display a first image of the three-dimensional stereoscopic image
  • the second screen is configured to display a second image of the three-dimensional stereoscopic image
  • the viewpoint data of the second image and the first image The viewpoint data of an image is different.
  • An intelligent terminal comprising at least two screens, a memory, a processor and stored in the memory And a computer program running on the processor, the steps implemented by the processor when the computer program is executed include:
  • the first screen is configured to display a first image of the three-dimensional stereoscopic image
  • the second screen is configured to display a second image of the three-dimensional stereoscopic image
  • the viewpoint data of the second image and the first image The viewpoint data of an image is different.
  • a method and device for browsing an image according to an embodiment of the present invention when the first screen receives the first operation, detecting an operation trajectory of the first operation; and adjusting a three-dimensional stereo image according to the operation trajectory of the first operation a first screen for displaying a first image of the three-dimensional stereoscopic image, the second screen for displaying a second image of the three-dimensional stereoscopic image,
  • the viewpoint data of the second image is different from the viewpoint data of the first image.
  • the image of the displayed three-dimensional stereoscopic image is adjusted according to the operation of one of the screens, and the adjustment of the viewpoint change of the three-dimensional stereoscopic image is completed.
  • the dynamic browsing of the viewpoint change of the three-dimensional stereo image is realized, so that the user can view the three-dimensional stereoscopic image from different angles at the same time, and can select the arbitrary angle to browse the three-dimensional stereoscopic image according to the requirement.
  • FIG. 1 is a schematic flowchart of a method for browsing an image according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for browsing an image according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic diagram of a slide rail for receiving a touch operation by a first screen and a second screen according to Embodiment 2 of the present invention
  • FIG. 4 is a schematic diagram of an operation trajectory of a first operation and an operation stack of a second operation according to Embodiment 2 of the present invention
  • FIG. 5 is a schematic diagram of displacement of a first operation according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic structural diagram of an apparatus for browsing an image according to Embodiment 11 of the present invention.
  • FIG. 7 is a schematic structural diagram of another apparatus for browsing an image according to Embodiment 11 of the present invention.
  • a first screen is used to display a first image of a three-dimensional stereoscopic image
  • a second screen is used to display a second image of the three-dimensional stereoscopic image
  • the viewpoint data of the second image is different; when the first screen receives the first operation, detecting an operation trajectory of the first operation; and adjusting the three-dimensional stereo image according to the operation trajectory of the first operation at the first The display of the screen and the second screen.
  • a first embodiment of the present invention provides a method for browsing an image. As shown in FIG. 1, the method includes:
  • the terminal receiving the first operation includes two screens, wherein the first screen is used to display a first image of the three-dimensional stereoscopic image, and the second screen is used to display a second image of the three-dimensional stereoscopic image.
  • the viewpoint data of the second image is different from the viewpoint data of the first image; wherein the viewpoint data of the second image is different from the viewpoint data of the first image, and may include: the viewpoint data of the first image and the second image
  • the viewpoint data respectively correspond to different flip angles of the three-dimensional stereoscopic image.
  • the first image and the second image are viewpoint data corresponding to different angles of the same three-dimensional stereo image; the viewpoint data of the second image and the viewpoint of the first image
  • the data may further include: the viewpoint data of the second image is added with certain additional information with respect to the viewpoint data of the first image, where the additional information may include: heat distribution information, traffic information, and the like.
  • the viewpoint data of the first image may be the viewpoint data of the map
  • the viewpoint data of the second image is the viewpoint data of the attachment thermal information, that is, the first The image does not display thermal distribution information
  • the second image has thermal distribution information
  • the first image may be a map that does not include traffic conditions
  • the second image may be a map that includes traffic conditions.
  • the three-dimensional stereoscopic image is displayed through two screens, wherein the first image displayed on the first screen and the second image displayed on the second screen are viewpoint data corresponding to 180 degrees of the corresponding three-dimensional stereoscopic image
  • the two opposite screens of the three-dimensional stereoscopic image are displayed by the two screens of the terminal, and the images of the two opposite faces of the three-dimensional stereoscopic image are displayed.
  • the setting manner of the first screen and the second screen is one of: the first screen is located on a first side of the terminal and the second screen is located on a second side of the terminal; One screen and the second screen are screens after the screen of the terminal is split.
  • the first screen is the front screen of the terminal, and the second screen is the screen of the reverse side of the terminal; or the first screen and the second screen are dual screens formed on two different faces after the terminal is flipped or folded.
  • the first screen and the second screen are dual screens formed by splitting the screen of the terminal by a software application.
  • a dual-screen display switch is set to control whether to perform dual-screen display of the three-dimensional stereoscopic image by controlling the dual-screen display switch, and when the dual-screen display switch is turned on, displaying the three-dimensional display on the first screen and the second screen respectively Viewpoint data for the relative angle of the stereo image.
  • the dual screen display is off, the display is performed on the first screen or the second screen.
  • the operations received by the first screen and the second screen are monitored, and optionally, the operation received by the first screen is called For the first operation, the operation received by the second screen is referred to as a second operation, and when the first screen receives the first operation, the operation trajectory of the first operation is detected.
  • the display of the first screen and the second screen may be adjusted according to the operation trajectory of the first operation when the first operation is received by the first screen.
  • the method further includes: when the second screen receives the second operation, detecting an operation trajectory of the second operation, and detecting an operation trajectory of the first operation; when the first operation When the operation trajectory of the second operation and the operation trajectory of the second operation conform to a preset flipping strategy, the root And displaying the three-dimensional stereoscopic image on the first screen and the second screen according to the operation trajectory of the first operation.
  • the first screen receives the first operation and the second screen receives the second operation, determining that the operation trajectory of the first operation and the operation trajectory of the second operation conform to the preset flipping strategy, performing the first screen And the adjustment of the display of the second screen.
  • determining that the first screen receives the first operation and the second screen receives the second operation may include receiving the first operation and the second operation simultaneously, and also receiving the preset detection period.
  • the preset detection time is 3s, 5s, which can be set according to the needs of users.
  • determining an operation trajectory of the first operation and the second The operation track of the operation conforms to the preset flip strategy.
  • detecting the operation trajectory of the first operation and the operation trajectory of the second operation detecting an operation trajectory of the first operation on the first screen in the preset time period, and detecting the second operation in the preset time period
  • the operation track on the second screen Determining an operation trajectory of the first operation and an operation trajectory of the second operation when an angle between an operation trajectory of the first operation and an operation trajectory of the second operation is within a preset angular range Meet the preset flipping strategy.
  • the preset flip strategy is that the angle between the operation track of the first operation and the operation track of the second operation is within a preset angle range.
  • the angle between the operation trajectory of the first operation and the operation trajectory of the second operation includes: obtaining the first operation point of the first operation and acquiring the preset time after the preset angle a second operation point of the first operation, a track corresponding to the first operation point and the second operation point is a first motion track; acquiring a third operation point of the second operation and acquiring the preset a fourth operation point of the second operation after the time, the trajectory corresponding to the third operation point and the fourth operation point is a second motion trajectory; determining the first motion trajectory and the second motion trajectory
  • the angle between the two is within a preset angle range.
  • the preset time can be set according to the needs of the user.
  • a first operation point coordinates corresponding to the first operation (x 1, y 1)
  • the coordinates of the corresponding second operating point is (x 2, y 2)
  • a third operating point coordinates corresponding to the second operation (x 3 , y 3 )
  • the coordinate corresponding to the fourth operating point is (x 4 , y 4 )
  • (x 2 -x 1 , y 2 -y 1 ) is the corresponding straight line of the first motion trajectory
  • (x 4 -x 3 , y 4 -y 3 ) is a straight line corresponding to the second motion trajectory.
  • the angle between the operation track and the operation track of the second operation is within a preset angle range, and the operation track representing the first operation and the operation track of the second operation conform to the preset inversion strategy.
  • Adjusting the display of the three-dimensional stereoscopic image on the first screen and the second screen according to the operation trajectory of the first operation comprises: acquiring a first operation point of the first operation, and acquiring the pre- Setting a second operation point of the first operation after the time, determining a motion trajectory of the first operation according to coordinates of the first operation point and coordinates of the second operation point; and performing motion according to the first operation
  • the trajectory determines a flip angle, and the display of the three-dimensional image on the first screen and the second screen is adjusted according to the flip angle.
  • the flip angle of the displayed three-dimensional stereoscopic image is adjusted according to a displacement (first motion trajectory) between the first operating point and the second operating point in the operation trajectory of the first screen.
  • the displacement between the first operating point and the second operating point is (x 2 -x 1 , y 2 -y 1 ), where x 2 -x 1 is a horizontal displacement and y 2 -y 1 is a vertical Displacement, the horizontal flip angle of the flip angle is determined according to the horizontal displacement, and the adjusted vertical flip angle is determined according to the vertical displacement.
  • the correspondence between the displacement and the flip angle may be set.
  • the corresponding flip angle is 1 degree
  • the correspondence between the specific displacement and the flip angle may be set by the user according to requirements.
  • the horizontal flip angle and the vertical flip angle of the flip angle are determined according to the horizontal displacement and the vertical displacement of the first motion trajectory according to the correspondence between the displacement and the flip angle, respectively.
  • Adjusting the display of the three-dimensional image on the first screen and the second screen according to the flip angle includes: acquiring a current display angle corresponding to the first image and acquiring a current display angle corresponding to the second image; determining Obtaining a first display angle after the flip angle of the current display angle corresponding to the first image in the first direction, and acquiring the first display of the three-dimensional stereo image Viewing angle corresponding point data is displayed on the first screen; determining a second display angle after the current display angle corresponding to the second image flips the flip angle in a second direction opposite to the first direction Obtaining viewpoint data corresponding to the second display angle of the three-dimensional stereoscopic image and displaying the same on the second screen.
  • the angle of the three-dimensional stereoscopic image corresponding to the viewpoint data of the first image currently displayed by the first screen is referred to as the current display angle corresponding to the first image
  • the viewpoint data of the second image currently displayed by the second screen is The angle of the corresponding three-dimensional stereoscopic image is referred to as the current display angle corresponding to the second image.
  • the display angle to be displayed is determined according to the current display angle corresponding to the first screen and the current display angle corresponding to the second screen, wherein the current display angle corresponding to the first screen is flipped in the first direction Inverting, flipping the current display angle corresponding to the second screen in a direction opposite to the first direction.
  • the current horizontal angle corresponding to the first image is 10 degrees to 15 degrees of the three-dimensional stereoscopic image
  • the current horizontal angle corresponding to the second image is 190 degrees to 195 degrees of the three-dimensional stereoscopic image
  • first The angle corresponding to the motion track corresponding to the operation is 2 degrees
  • the horizontal angle of the first display angle is 12 degrees -17 degrees
  • the screen displayed on the first screen and the second screen is the opposite direction, therefore, the second display
  • the horizontal angle of the angle is 192 degrees - 197 degrees.
  • the viewpoint displayed on the first display screen is the viewpoint data corresponding to the horizontal angle of the three-dimensional stereoscopic image of 12 degrees -17 degrees, and the viewpoint displayed on the second display screen.
  • the principle of the vertical angle corresponding to the horizontal angle of the displayed viewpoint data is not described here, and after determining the horizontal angle and the vertical angle of the first display angle, Determining a first display angle, determining a second display angle after determining a horizontal angle and a vertical angle of the second display angle, and displaying the first display angle on the first screen
  • the viewpoint data displays the viewpoint data of the second display angle on the second screen, and completes the adjustment of the displayed three-dimensional image on the first screen and the second screen.
  • the first screen and the second screen are opposite.
  • one of the two screens is the first screen
  • the other screen is the second screen.
  • the adjustment of the display of the three-dimensional stereoscopic image may be performed according to the operation trajectory of any of the two screens that perform the dual screen display.
  • the method further includes:
  • the displaying of the first screen and the second screen includes: adjusting display of the three-dimensional stereoscopic image on the active screen according to the flip angle.
  • an interface may be provided to the user to receive the freeze operation, and when the freeze operation is received, the operation indicates whether the freeze target object is the first screen or the second screen, and the freeze target object The other screen is the active screen.
  • the freeze frame object is the first screen
  • the first screen is a freeze screen
  • the second object is an active screen.
  • the freeze operation is received, the viewpoint data displayed on the freeze screen is frozen, and at this time, when the first operation is performed
  • the flip angle is determined according to the operation trajectory of the active screen, and the display of the three-dimensional stereo image on the active screen is adjusted according to the flip angle.
  • the active screen is taken as the first screen, and the flip angle is determined according to the operation trajectory of the active screen.
  • the process of determining the flip angle is not described here.
  • a home screen may be disposed between the first screen and the second screen, and the flip angle is determined according to the sliding track of the home screen to adjust the display of the three-dimensional image on the first screen and the second screen.
  • the main screen may be preset, or the gravity data detected by the gravity sensor may be used to determine the screen located on the front of the screen as the main screen.
  • the manner of determining the main screen is not limited.
  • the main screen is switched at this time, the active screen is determined as the main screen, and the viewpoint data displayed by the sliding screen is adjusted according to the sliding track of the active screen. And determining whether to perform the adjustment of the display of the active screen according to whether the operation received by the freeze screen and the operation received by the activity screen conform to the preset flip policy.
  • the three-dimensional stereoscopic image displayed on the dual screen may be enlarged or reduced according to a preset operation.
  • the images displayed on the two screens may be simultaneously adjusted, or may be adjusted only for one image. .
  • the three-dimensional stereoscopic image is displayed on the dual screen, so that the user can simultaneously browse the three-dimensional stereoscopic image from different angles, and perform the adjustment of the viewpoint data of the dual-screen display according to the operation received by one of the screens, and complete the three-dimensional image.
  • Dynamic browsing of stereo image viewpoint changes; when it is determined that the operation trajectory of the operation received by the two screens conforms to the preset flipping strategy, the display of the dual screen is adjusted.
  • the flip angle of the three-dimensional stereoscopic image is determined according to the sliding trajectory of one of the screens, and is adjusted by the user according to an arbitrary selection of the operation, and the dual screen is simultaneously flipped.
  • the screen may be adjusted without changing the image displayed on the screen, thereby improving the browsing experience of the user on the three-dimensional image.
  • a method for browsing an image provided by an embodiment of the present invention is described by using a three-dimensional stereoscopic image in a browsing library.
  • the method includes:
  • S202 When the image to be displayed is a three-dimensional stereoscopic image, S202 is performed, otherwise, S206 is executed to display a two-dimensional image.
  • the panoramic image data is automatically read to obtain default viewpoint data; the default viewpoint data is rendered corresponding to the panoramic view of the viewpoint, and the panoramic image frame is output to be displayed on the front screen. And displaying, on the second screen, viewpoint data that is inverted by 180 degrees from the viewpoint of the default viewpoint data; wherein the front first screen may be the first screen and the back screen may be the second screen.
  • the terminal detects that the front screen and the back screen simultaneously have a touch action, and the first screen and the second screen receive the sliding track of the touch operation as shown in FIG. 3 .
  • the front screen records touch point A with coordinates (x a , y a ) while the back screen records touch point B with coordinates (x b , y b ).
  • the terminal captures the touch point again, the coordinates of the touch point C of the front screen are obtained as (x c , y c ), and the coordinates of the touch point D of the back screen are (x d , y d ) .
  • the touch points on both screens are shifted, and this action is considered to be simultaneous sliding operation on the two touch screens, and then S204 is performed.
  • the touch operation received by the first screen is a first operation
  • the touch operation received by the second screen is a second operation
  • the motion track of the AC and the BD is determined from the captured motion track, and S205 is executed in the opposite direction, and S207 is executed when the process is not completed. No adjustments to the display.
  • the angle between the operation trajectory of the first operation and the operation stack of the second operation is as shown in FIG. 4, and the opposite direction is defined by the minimum angle between AC and BD within a preset angle range, such as 160 degrees to 180 degrees. between.
  • the flip data of the image is acquired through the front screen, and the flip angle is determined according to the displacement data of the front screen as the main screen and the corresponding displacement and the flip angle.
  • new viewpoint information can be obtained, and the panoramic view corresponding to the viewpoint of the new viewpoint data is rendered according to the new viewpoint data, and the panoramic image frame is output.
  • the front screen is displayed. And correspondingly get the new viewpoint data displayed on the back screen, and display it on the back screen.
  • the back screen displays the viewpoint information corresponding to the current front screen viewpoint, the horizontal rotation 180 degrees and the vertical rotation 180 degrees, that is, the image is inverted by 180 degrees of view data, thereby realizing the real-time multi-view display of the three-dimensional stereo image.
  • a method for browsing an image provided by an embodiment of the present invention is described by taking a front and back screen formed by rotating or folding a first screen and a second screen as an example.
  • the first screen and the second screen are respectively one of the front and back screens.
  • the sliding operation of the user in the opposite direction is received on the two screens of the terminal.
  • the terminal calculates new viewpoint data by the displacement data of the sliding operation, and then renders a new perspective data corresponding to the panoramic view of the viewpoint, and outputs the panoramic image frame to display on the first screen.
  • the images respectively displayed on the first screen and the second screen are viewpoint data inverted by 180 degrees for the user to view.
  • the user can also merge the screens of the terminal into one screen by flipping or folding, and the corresponding viewpoint data is displayed on the merged large screen.
  • the method for browsing an image provided by the embodiment of the present invention is described by using the first screen and the second screen as a dual screen formed after the split screen.
  • the terminal forms a frontal dual screen through the split screen function of the software.
  • the sliding operation of the user in the opposite direction is received on the two screens of the terminal.
  • the terminal calculates new viewpoint data by the displacement data of the sliding operation, and then renders a new perspective data corresponding to the panoramic view of the viewpoint, and outputs the panoramic image frame to display on the first screen.
  • the images respectively displayed on the first screen and the second screen are viewpoint data inverted by 180 degrees for the user to view.
  • the corresponding viewpoint data may be displayed on the selected screen in full screen by selecting any one of the screens.
  • the application scenario of the method for browsing images of the second embodiment is the same.
  • the back screen is used as the main screen, and the default viewpoint data is displayed on the back screen, and according to the displacement of the back screen.
  • Determine the flip angle optionally:
  • the terminal captures the touch point and has a sliding operation on the two touch screens, and then determines the moving direction of the AC and the BD from the captured motion track, and when the opposite direction is performed, determines the flip angle according to the displacement of the back screen, through the back side.
  • real-time coordinates D (x d, y d) of the screen then calculates a new view data, rendering the panoramic view data corresponding to the new viewpoint, the output of the panoramic image frames to be displayed on the back of the screen.
  • the back screen displays the new viewpoint data after the default viewpoint is flipped, and the front screen displays the viewpoint data flipped by 180 degrees based on the current back screen viewpoint. Thereby, a multi-view display of the three-dimensional image is realized.
  • the method for browsing an image provided by the embodiment of the present invention may be any one of two screens when determining the home screen of the displacement data in the flip angle.
  • the terminal when browsing the three-dimensional stereoscopic image, the sliding operation of the user in the opposite direction on the two screens of the terminal is received.
  • the terminal After calculating the new viewpoint data by using the displacement data, the terminal renders the panoramic view corresponding to the viewpoint of the new viewpoint data, and outputs the panoramic image frame to display on the main screen.
  • the images respectively displayed on the two screens are viewpoint data inverted by 180 degrees.
  • the terminal can provide a dual-screen display switch for the user to select whether a dual-screen display is required. When the switch is turned on, the dual screen display is performed, and when the switch is turned off, the display can be performed only on the main screen.
  • a dual-screen display switch is provided to switch between dual-screen display and single-screen display.
  • the terminal When browsing a three-dimensional stereoscopic image, a sliding operation of the user in the opposite direction on the two screens of the terminal is received.
  • the terminal provides the acquisition option of the displacement data, and the user selects whether to collect the displacement data of the front screen or the displacement data of the back screen.
  • the selected main screen is selected, and after the new viewpoint data is calculated through the displacement data of the main screen, the panoramic view corresponding to the viewpoint is rendered, and the panoramic image frame is output for display.
  • the two screens respectively display images, which are viewpoint data flipped by 180 degrees.
  • an acquisition option is provided to cause the user to select a home screen that determines the displacement of the flip data based on actual needs.
  • the terminal uses the gravity sensor to determine which screen is up, and the data acquisition of the displacement is always based on the upward front screen.
  • the new viewpoint data is calculated by the displacement data of the front screen, the new viewpoint data is rendered corresponding to the panorama of the viewpoint, and the panoramic image frame is output for display.
  • the display images of the two screens are viewpoint data inverted by 180 degrees.
  • the method for automatically determining the scene of the home screen by using the gravity sensor is used as an example, and the method for browsing images provided by the embodiment of the present invention can be automatically determined.
  • the other screen is enabled to be in a black screen state, and the screen displaying the viewpoint data can be switched between the two screens.
  • the terminal When browsing a three-dimensional stereoscopic image, a sliding operation of the user in the opposite direction on the two screens of the terminal is received.
  • the terminal sets any one screen as the main screen, and after calculating the new viewpoint data through the displacement data of the main screen, the new viewpoint data is rendered corresponding to the panorama of the viewpoint, and the panoramic image frame is output for display.
  • the images respectively displayed on the two screens are viewpoint data inverted by 180 degrees for the user to view.
  • the user selects any screen as a freeze screen, performs a fixed screen operation, and freezes the screen of the freeze screen at a certain viewpoint data.
  • the home screen automatically switches to another screen. After calculating the new viewpoint data by the displacement data of the switched main screen, rendering a new perspective data corresponding to the panoramic view of the viewpoint, outputting the panoramic image frame, displaying on the non-stationary screen (active screen), two Viewpoint data from different angles is displayed to the user at the same time.
  • the terminal can provide the option of displacement sensitivity, so that the user can adjust the sensitivity according to his own usage habits, thereby controlling the sensitivity of image flipping.
  • the unit standard value of the horizontal displacement ⁇ and the vertical displacement ⁇ can take an integer multiple of 10 between 10-300, and one unit standard value still corresponds to 1 degree of rotation.
  • the flip angle is obtained according to the displacement, new viewpoint information can be obtained, and the panoramic view corresponding to the viewpoint of the new viewpoint data is rendered according to the new viewpoint data, and the panoramic image frame is output for display.
  • the two screens respectively display the viewpoint data which is inverted by 180 degrees.
  • the embodiment provides a device for browsing an image.
  • the device includes: a first display unit 601 and a second display list. Element 602, detecting unit 603 and adjusting unit 604; wherein
  • the first display unit 601 is configured to display the first image of the three-dimensional stereoscopic image
  • the second display unit 602 is configured to display a second image of the three-dimensional stereoscopic image, where the viewpoint data of the second image is different from the viewpoint data of the first image;
  • the detecting unit 603 is configured to detect an operation trajectory of the first operation when the first display unit 601 receives the first operation;
  • the adjusting unit 604 is configured to adjust display of the three-dimensional stereoscopic image in the first display unit 601 and the second display unit 602 according to the operation trajectory of the first operation.
  • the detecting unit 603 is further configured to detect an operation trajectory of the second operation when the second display unit 602 receives the second operation;
  • the adjusting unit 604 is configured to adjust the three-dimensional stereoscopic image in the first display according to the operation trajectory of the first operation when the operation trajectory of the first operation and the operation trajectory of the second operation conform to a preset flipping strategy Display of unit 601 and second display unit 602.
  • the device further includes: a determining unit 605, configured to:
  • the determining unit 605 is further configured to: acquire a first operating point of the first operation, and acquire a second operating point of the first operation after the preset time, the first operating point and the second operating point Corresponding trajectory is a first motion trajectory; acquiring a third operation point of the second operation and acquiring a fourth operation point of the second operation after the preset time, the third operation point and the fourth The trajectory corresponding to the operation point is a second motion trajectory; determining an angle between the first motion trajectory and the second motion trajectory is within a preset angle range.
  • the adjustment unit 604 includes: a trajectory determination module 6041 and an adjustment module 6042; wherein
  • the trajectory determining module 6041 is configured to acquire a first operating point of the first operation, and acquire a second operating point of the first operation after the preset time, according to coordinates of the first operating point and the The coordinates of the second operating point determine a motion trajectory of the first operation;
  • the adjustment module 6042 is configured to determine a flip angle according to the motion trajectory of the first operation, and adjust display of the three-dimensional stereo image in the first display unit 601 and the second display unit 602 according to the flip angle.
  • the adjusting module 6042 adjusts the display of the three-dimensional image in the first display unit 601 and the second display unit 604 according to the flip angle: acquiring a current display angle corresponding to the first image and acquiring a current display corresponding to the second image And determining a first display angle after the current display angle corresponding to the first image is reversed in the first direction, and acquiring the viewpoint data corresponding to the first display angle of the three-dimensional stereoscopic image and displaying the first a second display angle after the flipping angle is reversed in a second direction opposite to the first direction to obtain a second display angle of the three-dimensional stereoscopic image. Corresponding viewpoint data is displayed on the second display unit 602.
  • the apparatus further includes: a freeze unit 606, configured to:
  • the first display unit 601 and the second display unit 602 may be implemented by a screen located in the terminal, and the detecting unit 603, the adjusting unit 604, the determining unit 605, and the freezing unit 606 may be processed by the central processing located in the terminal.
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and the steps executed when the computer program runs on the processor include:
  • the first screen is used to display a first image of the three-dimensional stereoscopic image
  • the second screen is used to display a second image of the three-dimensional stereoscopic image
  • the viewpoint data of the second image is different from the viewpoint data of the first image
  • the steps performed when the computer program is run on the processor further includes:
  • the display of the three-dimensional stereoscopic image on the first screen and the second screen is adjusted according to the operation trajectory of the first operation.
  • the steps performed when the computer program is run on the processor further includes:
  • the steps performed when the computer program is run on the processor include:
  • the steps performed when the computer program is run on the processor further includes:
  • the motion track of the operation determines the flip angle, and the display of the three-dimensional image on the first screen and the second screen is adjusted according to the flip angle.
  • the steps performed when the computer program is run on the processor further includes:
  • the current display angle acquires the viewpoint data corresponding to the second display angle of the three-dimensional stereoscopic image and displays it on the second screen by flipping the second display angle after the flip angle in the second direction opposite to the first direction.
  • first screen and the second screen are set in one of the following ways:
  • the first screen is located on the first side of the terminal and the second screen is located on the second side of the terminal or the first screen and the second screen are respectively screens after the screen of the terminal is split.
  • the steps performed when the computer program is run on the processor further includes:
  • the flip angle is determined according to the operation trajectory of the first screen as the active screen, and the display of the three-dimensional stereoscopic image on the active screen is adjusted according to the flip angle.
  • the computer readable storage medium may include, but is not limited to, a U disk, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disk, and the like.
  • the embodiment of the present invention further provides an intelligent terminal, which includes at least two screens, a memory, a processor, and a computer program stored on the memory and operable on the processor, and the steps implemented by the processor when executing the computer program include: :
  • the first screen is for displaying the first image of the three-dimensional stereoscopic image
  • the second screen is for displaying A second image of the three-dimensional image is displayed, and the viewpoint data of the second image is different from the viewpoint data of the first image.
  • the steps implemented when the foregoing processor executes the computer program further include:
  • the display of the three-dimensional stereoscopic image on the first screen and the second screen is adjusted according to the operation trajectory of the first operation.
  • the steps implemented when the foregoing processor executes the computer program further include:
  • the steps implemented by the processor when executing the computer program include:
  • the steps implemented when the foregoing processor executes the computer program further include:
  • the motion track of the operation determines the flip angle, and the display of the three-dimensional image on the first screen and the second screen is adjusted according to the flip angle.
  • the steps implemented when the foregoing processor executes the computer program further include:
  • first screen and the second screen are set in one of the following ways:
  • the first screen is located on the first side of the terminal and the second screen is located on the second side of the terminal or the first screen and the second screen are respectively screens after the screen of the terminal is split.
  • the steps implemented when the foregoing processor executes the computer program further include:
  • Adjusting the display of the three-dimensional image on the first screen and the second screen according to the operation trajectory of the first operation includes:
  • the flip angle is determined according to the operation trajectory of the first screen as the active screen, and the display of the three-dimensional stereoscopic image on the active screen is adjusted according to the flip angle.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • These computer program instructions can also be stored at a computer or other programmable data location.
  • the device is readable in a computer readable memory that operates in a particular manner such that instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device implemented in a flow or a flow and/or block diagram of the flowchart The function specified in the box or in multiple boxes.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the method and apparatus for browsing an image provided by the embodiments of the present invention have the following beneficial effects: realizing dynamic browsing of a viewpoint change of a three-dimensional stereo image, so that the user can simultaneously view the three-dimensional stereoscopic image from different angles, and can Need to choose a random perspective to view the 3D perspective.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

一种浏览图像的方法和装置,方法包括:当第一屏幕接收到第一操作时,检测所述第一操作的操作轨迹(S101);根据所述第一操作的操作轨迹调整三维立体图像在所述第一屏幕和所述第二屏幕的显示;所述第二屏幕用于显示所述三维立体图像的第一图像,所述第二屏幕用于显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同(S102)。

Description

一种浏览图像的方法及装置 技术领域
本发明涉及通信领域,尤其涉及一种浏览图像的方法及装置。
背景技术
目前,在手机上浏览图片时,基本都是通过左右滑动屏幕来实现图片的切换,当对三维立体图像进行多视图角度的查看基本都是在电脑上查看的。对于三维立体图的查看,很多是通过动画或GIF格式图片去展示,让图片中的图形自动旋转,达到多角度的欣赏。
而动画和GIF格式只能按照设计者预先设计好的角度去浏览,用户无法从两个视图角度同时查看三维立体图片,也无法根据用户的需求任意浏览三维立体图。
基于此,亟需一种浏览图像的技术方案,能够通过对同时显示同一三维立体图的两个屏幕的操作,完成对三维立体图像视点变化的动态浏览。
发明内容
有鉴于此,本发明实施例希望提供一种浏览图像的方法及装置,能够通过同时对显示同一三维立体图的两个屏幕的操作,完成对三维立体图像视点变化的动态浏览。
本发明实施例的技术方案是这样实现的:
一种浏览图像的方法,包括:
当第一屏幕接收到第一操作时,检测所述第一操作的操作轨迹;
根据所述第一操作的操作轨迹调整三维立体图像在所述第一屏幕和第二屏幕的显示;
其中,所述第一屏幕用于显示所述三维立体图像的第一图像,所述第 二屏幕用于显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同。
如上所述的方法,还包括:
当所述第二屏幕接收到第二操作时,检测所述第二操作的操作轨迹;
当所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略时,根据所述第一操作的操作轨迹调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示。
如上所述的方法,还包括:
当所述第一操作的操作轨迹与所述第二操作的操作轨迹之间的夹角在预设的角度范围内时,确定所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略。
如上所述的方法,所述第一操作的操作轨迹与所述第二操作的操作轨迹之间的夹角在预设的角度范围内包括:
获取所述第一操作的第一操作点并获取所述预设时间后所述第一操作的第二操作点,所述第一操作点和所述第二操作点对应的轨迹为第一运动轨迹;
获取所述第二操作的第三操作点并获取所述预设时间后所述第二操作的第四操作点,所述第三操作点和所述第四操作点对应的轨迹为第二运动轨迹;
确定所述第一运动轨迹和所述第二运动轨迹之间的夹角处于预设的角度范围内。
如上所述的方法,所述根据所述第一操作的操作轨迹调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示包括:
获取所述第一操作的第一操作点,并获取所述预设时间后所述第一操作的第二操作点,根据所述第一操作点的坐标和所述第二操作点的坐标确定所述第一操作的运动轨迹;
根据所述第一操作的运动轨迹确定翻转角度,根据所述翻转角度调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示。
如上所述的方法,所述根据所述翻转角度调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示包括:
获取第一图像对应的当前显示角度并获取第二图像对应的当前显示角度;
确定将所述第一图像对应的当前显示角度沿第一方向翻转所述翻转角度之后的第一显示角度,获取所述三维立体图像的第一显示角度对应的视点数据并显示在所述第一屏幕上;
确定所述第二图像的当前显示角度沿与所述第一方向相反的第二方向翻转所述翻转角度之后的第二显示角度,获取所述三维立体图像的第二显示角度对应的视点数据并显示在所述第二屏幕上。
如上所述的方法,所述第一屏幕和所述第二屏幕的设置方式为以下之一:
所述第一屏幕位于终端的第一面且所述第二屏幕位于所述终端的第二面;
所述第一屏幕和所述第二屏幕分别为将所述终端的屏幕进行分屏之后的屏幕。
如上所述的方法,还包括:
当接收到定格操作时,从所述第一屏幕和所述第二屏幕中确定所述定格操作对应的定格屏幕,并确定活动屏幕;
根据所述第一操作的操作轨迹调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示包括:
根据作为活动屏幕的第一屏幕的操作轨迹确定翻转角度,根据所述翻转角度调整所述三维立体图像在所述活动屏幕上的显示。
一种浏览图像的装置,包括:第一显示单元、第二显示单元、检测单 元和调整单元;其中,
所述第一显示单元,设置为显示三维立体图像的第一图像;
所述第二显示单元,设置为显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同;
所述检测单元,设置为当第一显示单元接收到第一操作时,检测所述第一操作的操作轨迹;
所述调整单元,设置为根据所述第一操作的操作轨迹调整三维立体图像在所述第一显示单元和第二显示单元的显示。
如上所述的装置,所述检测单元,还设置为当所述第二显示单元接收到第二操作时,检测所述第二操作的操作轨迹;
所述调整单元,设置为当所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略时,根据所述第一操作的操作轨迹调整所述三维立体图像在所述第一显示单元和所述第二显示单元的显示。
如上所述的装置,还包括:确定单元,设置为:
当所述第一操作的操作轨迹与所述第二操作的操作轨迹之间的夹角在预设的角度范围内时,确定所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略。
一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序在处理器上运行时执行的步骤包括:
当第一屏幕接收到第一操作时,检测所述第一操作的操作轨迹;
根据所述第一操作的操作轨迹调整三维立体图像在所述第一屏幕和第二屏幕的显示;
其中,所述第一屏幕用于显示所述三维立体图像的第一图像,所述第二屏幕用于显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同。
一种智能终端,包括至少两个屏幕,存储器,处理器及存储在存储器 上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现的步骤包括:
当第一屏幕接收到第一操作时,检测所述第一操作的操作轨迹;
根据所述第一操作的操作轨迹调整三维立体图像在所述第一屏幕和第二屏幕的显示;
其中,所述第一屏幕用于显示所述三维立体图像的第一图像,所述第二屏幕用于显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同。
本发明实施例的一种浏览图像的方法及装置,当第一屏幕接收到第一操作时,检测所述第一操作的操作轨迹;根据所述第一操作的操作轨迹调整三维立体图像在所述第一屏幕和所述第二屏幕的显示;所述第一屏幕用于显示所述三维立体图像的第一图像,所述第二屏幕用于显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同。如此,当在显示同一三维立体图像的不同视点数据的图像的两个屏幕上接收到操作时,根据其中一个屏幕的操作来调整显示的三维立体图像的图像,完成对三维立体图像视点变化的调整,实现对三维立体图像视点变化的动态浏览,使得用户可以同时从不同的角度查看三维立体图的同时,能够根据需求选择任意的角度浏览三维立体图。
附图说明
图1为本发明实施例一提供的浏览图像的方法的流程示意图;
图2为本发明实施例二提供的浏览图像的方法的流程示意图;
图3为本发明实施例二提供的第一屏幕和第二屏幕接收到触摸操作的滑动轨的示意图;
图4为本发明实施例二提供的第一操作的操作轨迹和第二操作的操作堆积的夹角示意图;
图5为本发明实施例二提供的第一操作的位移示意图;
图6为本发明实施例十一提供的一种浏览图像的装置的结构示意图;
图7为本发明实施例十一提供的另一种浏览图像的装置的结构示意图。
具体实施方式
在本发明的各种实施例中:第一屏幕用于显示三维立体图像的第一图像,第二屏幕用于显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同;当第一屏幕接收到第一操作时,检测所述第一操作的操作轨迹;根据所述第一操作的操作轨迹调整所述三维立体图像在所述第一屏幕和第二屏幕的显示。
下面结合附图对技术方案的实施作进行详细描述。
实施例一
本发明实施例一提供一种浏览图像的方法,如图1所示,该方法包括:
S101、当第一屏幕接收到第一操作时,检测所述第一操作的操作轨迹;
可选地,接收第一操作的终端包括两个屏幕,其中,所述第一屏幕用于显示三维立体图像的第一图像,所述第二屏幕用于显示三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同;其中,第二图像的视点数据与所述第一图像的视点数据不同可包括:第一图像的视点数据与第二图像的视点数据分别对应三维立体图像的不同的翻转角度,此时,第一图像和第二图像为同一三维立体图像的不同角度对应的视点数据;第二图像的视点数据与所述第一图像的视点数据不同还可包括:第二图像的视点数据相对于第一图像的视点数据增加一定的附加信息,这里,附加信息可包括:热力分布信息、交通信息等。这里,以三维立体图像以地图为例,当附加信息为热力分布信息时,第一图像的视点数据可为地图的视点数据,第二图像的视点数据为附件热力信息的视点数据,即第一图像未显示热力分布信息,第二图像具有热力分布信息;当附加信息为交通信息时,第一图像可为不包括交通情况的地图,第二图像可为包括了交通情况的地图。
可选地,当将三维立体图像通过两个屏幕进行显示,其中,在第一屏幕上显示的第一图像和第二屏幕上显示的第二图像为对应三维立体图像的相差180度的视点数据,从而通过终端的两个屏幕显示三维立体图像的相对翻转180度的视点数据,展示出三维立体图像的两个相对的面的图像。其中,所述第一屏幕和所述第二屏幕的设置方式为以下之一:所述第一屏幕位于终端的第一面且所述第二屏幕位于所述终端的第二面;所述第一屏幕和所述第二屏幕分别为将所述终端的屏幕进行分屏之后的屏幕。比如:第一屏幕为终端的正面的屏幕、第二屏幕为终端的反面的屏幕;或第一屏幕和第二屏幕为终端翻转或折叠之后形成的位于两个不同面上的双屏。又比如:第一屏幕和第二屏幕为通过软件应用程序对终端的屏幕进行分屏而形成的双屏。
可选地,设置一双屏显示开关,通过对双屏显示开关的控制来控制是否进行三维立体图像的双屏显示,当双屏显示开关打开时,分别在第一屏幕和第二屏幕上显示三维立体图像的相对角度的视点数据。当双屏显示关闭时,则在第一屏幕或第二屏幕上进行显示。
当分别在第一屏幕上和第二屏幕上显示三维立体图像的相对角度的视点数据时,监控第一屏幕和第二屏幕接收到的操作,可选地,将第一屏幕接收到的操作称为第一操作,将第二屏幕接收到的操作称为第二操作,当第一屏幕接收到第一操作时,检测第一操作的操作轨迹。
S102、当所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略时,根据所述第一操作的操作轨迹调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示。
可选地,可在第一屏幕接收到第一操作时,根据第一操作的操作轨迹调整第一屏幕和第二屏幕的显示。
在本发明实施例中,还包括:当所述第二屏幕接收到第二操作时,检测所述第二操作的操作轨迹,并检测所述第一操作的操作轨迹;当所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略时,根 据所述第一操作的操作轨迹调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示。
可选地,当第一屏幕接收到第一操作且第二屏幕接收到第二操作时,确定第一操作的操作轨迹和第二操作的操作轨迹符合预设的翻转策略时,进行第一屏幕和第二屏幕的显示的调整。
可选地,判断第一屏幕接收到第一操作并且第二屏幕接收到第二操作,可包括同时接收到第一操作和第二操作的情况,也包括在预设的检测时间段内接收到第一操作和第二操作的情况。预设检测时间为3s、5s,可根据用户的需求进行设置。
可选地,当所述第一操作的操作轨迹与所述第二操作的操作轨迹之间的夹角在预设的角度范围内时,确定所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略。可选地:在检测第一操作的操作轨迹和第二操作的操作轨迹时,可检测预设时间段内第一操作在第一屏幕上的操作轨迹,检测预设时间段内第二操作在第二屏幕上的操作轨迹。当所述第一操作的操作轨迹与所述第二操作的操作轨迹之间的夹角在预设的角度范围内时,确定所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略。其中,预设的翻转策略为第一操作的操作轨迹和第二操作的操作轨迹之间的夹角在预设的角度范围内。
所述第一操作的操作轨迹与所述第二操作的操作轨迹之间的夹角在预设的角度范围内包括:获取所述第一操作的第一操作点并获取所述预设时间后所述第一操作的第二操作点,所述第一操作点和所述第二操作点对应的轨迹为第一运动轨迹;获取所述第二操作的第三操作点并获取所述预设时间后所述第二操作的第四操作点,所述第三操作点和所述第四操作点对应的轨迹为第二运动轨迹;确定所述第一运动轨迹和所述第二运动轨迹之间的夹角处于预设的角度范围内。预设时间的大小可根据用户的需求进行设置。
比如:第一操作的第一操作点对应的坐标为(x1,y1),第二操作点对 应的坐标为(x2,y2),第二操作的第三操作点对应的坐标为(x3,y3),第四操作点对应的坐标为(x4,y4),则(x2-x1,y2-y1)为第一运动轨迹的对应的直线,(x4-x3,y4-y3)为第二运动轨迹对应的直线,当第一运动轨迹对应的直线和第二运动轨迹对应的直线小于预设的角度范围时,则确定当前第一操作的操作轨迹和第二操作的操作轨迹之间的夹角在预设的角度范围内,表征第一操作的操作轨迹和第二操作的操作轨迹符合预设的翻转策略。当确定第一操作的操作轨迹和第二操作的操作轨迹符合预设的翻转策略时,根据用户对第一屏幕的操作轨迹确定需调整的翻转角度,根据翻转角度对第一屏幕和第二屏幕所显示的视点数据进行调整。
所述根据所述第一操作的操作轨迹调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示包括:获取所述第一操作的第一操作点,并获取所述预设时间后所述第一操作的第二操作点,根据所述第一操作点的坐标和所述第二操作点的坐标确定所述第一操作的运动轨迹;根据所述第一操作的运动轨迹确定翻转角度,根据所述翻转角度调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示。
可选地,根据第一屏幕的操作轨迹中的第一操作点和第二操作点之间的位移(第一运动轨迹)来调整所显示的三维立体图像的翻转角度。同上述例子,第一操作点和第二操作点之间的位移为(x2-x1,y2-y1),其中,x2-x1为水平位移,y2-y1为垂直位移,根据水平位移来确定翻转角度的水平翻转角度、根据垂直位移来确定调整的垂直翻转角度。可选地,可设置位移与翻转角度之间的对应关系,比如:当位移为10时,对应的翻转角度为1度,具体的位移与翻转角度之间的对应关系可由用户根据需求进行设置。根据位移与翻转角度之间的对应关系分别根据第一运动轨迹的水平位移和垂直位移确定翻转角度的水平翻转角度和垂直翻转角度。
根据所述翻转角度调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示包括:获取第一图像对应的当前显示角度并获取第二图像对应的当前显示角度;确定将所述第一图像对应的当前显示角度沿第一方向翻转所述翻转角度之后的第一显示角度,获取所述三维立体图像的第一显 示角度对应的视点数据并显示在所述第一屏幕上;确定所述第二图像对应的当前显示角度沿与所述第一方向相反的第二方向翻转所述翻转角度之后的第二显示角度,获取所述三维立体图像的第二显示角度对应的视点数据并显示在所述第二屏幕上。
可选地,将第一屏幕当前显示的第一图像的视点数据所对应的三维立体图像的角度称为第一图像对应的当前显示角度,将第二屏幕当前显示的第二图像的视点数据所对应的三维立体图像的角度称为第二图像对应的当前显示角度。当确定翻转角度后,根据第一屏幕对应的当前显示角度和第二屏幕对应的当前显示角度来确定待显示的显示角度,其中,将第一屏幕对应的当前显示角度沿第一方向进行翻转角度的翻转,将第二屏幕对应的当前显示角度沿与第一方向相反的方向进行翻转角度的翻转。这里,以水平角度为例,例如:第一图像对应的当前水平角度为三维立体图像的10度-15度,第二图像对应的当前水平角度为三维立体图像的190度-195度,第一操作对应的运动轨迹对应的角度为2度,则第一显示角度的水平角度为12度-17度,基于第一屏幕和第二屏幕所显示的画面为方向相反的画面,因此,第二显示角度的水平角度为192度-197度,此时,在第一显示屏上显示的视点为三维立体图像的水平角度为12度-17度对应的视点数据,在第二显示屏上显示的视点为三维立体图像的水平角度为192度-197度对应的视点数据,所显示的视点数据对应的垂直角度同水平角度的原理,这里不在赘述,当确定第一显示角度的水平角度和垂直角度后则确定第一显示角度,当确定第二显示角度的水平角度和垂直角度后则确定第二显示角度,在第一屏幕上显示第一显示角度对应的视点数据,在第二屏幕上显示第二显示角度的视点数据,完成在第一屏幕和第二屏幕上的显示的三维立体图像的调整。
需要说明的是,在本发明实施例中,第一屏幕和第二屏幕是相对的,当其中两个屏幕中的一个屏幕中为第一屏幕时,则另一个屏幕为第二屏幕,因此,在本发明实施例中,可根据进行双屏显示的两个屏幕中的任一屏幕的操作轨迹进行三维立体图像的显示的调整。
在本发明实施例中,所述方法还包括:
当接收到定格操作时,从所述第一屏幕和所述第二屏幕中确定所述定格操作对应的定格屏幕,并确定活动屏幕;所述根据所述翻转角度调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示包括:根据所述翻转角度调整所述三维立体图像在所述活动屏幕上的显示。
可选地,在进行三维立体图像的双屏显示时,可向用户提供一接口,以接收定格操作,当接收定格操作时,该操作指示定格对象为第一屏幕还是第二屏幕,定格对象以外的另一屏幕为活动屏幕。当定格对象为第一屏幕时,则第一屏幕为定格屏幕,第二对象为活动屏幕,当接收到定格操作时,将定格屏幕显示的视点数据进行定格,此时,当所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略时,根据活动屏幕的操作轨迹确定翻转角度,根据所述翻转角度调整所述三维立体图像在所述活动屏幕上的显示。当接收到定格操作时,将活动屏幕作为第一屏幕,根据活动屏幕的操作轨迹确定翻转角度,这里,确定翻转角度的过程这里不再赘述。
在实际应用中,可在第一屏幕和第二屏幕之间设置主屏幕,根据主屏幕的滑动轨迹确定翻转角度来调整三维立体图像在第一屏幕和第二屏幕的显示。其中,可以预先设置主屏,也可通过重力传感器检测的重力数据来将位于屏幕正面的屏幕确定为主屏,这里,确定主屏的方式不进行限定。
当接收到定格操作时,并且定格操作对应的定格对象为主屏幕时,此时进行主屏幕的切换,将活动屏幕确定为主屏幕,根据活动屏幕的滑动轨迹来调整滑动屏幕所显示的视点数据,而根据定格屏幕接收到的操作和活动屏幕接收到的操作来是否符合预设的翻转策略来确定是否进行活动屏幕的显示的调整。
在本发明实施例中,可根据预设的操作对双屏显示的三维立体图像进行放大、缩小等图像调整,这里,两个屏幕显示的图像可同时进行调整,也可只针对一个图像进行调整。
在本发明实施例中,通过双屏显示三维立体图像,使得用户能够从不同的角度同时浏览三维立体图像,并且根据其中一个屏幕接收到的操作进行双屏显示的视点数据的调整,完成对三维立体图像视点变化的动态浏览;确定两个屏幕接收到的操作的操作轨迹符合预设的翻转策略时,进行双屏的显示的调整。这里,根据其中一屏幕的滑动轨迹来确定三维立体图像的翻转角度,由用户根据操作任意的选择调整的程度,并保持双屏同时翻转。在本发明实施例中,当用户对其中一屏显示的图像感兴趣时,可在不改变该屏幕显示的图像的同时,进行另外一屏幕的调整,提高用户对三维立体图像的浏览体验。
实施例二
在本实施例中,以浏览图库中的三维立体图像对本发明实施例提供的浏览图像的方法进行说明,可选地,如图2所示,包括:
S201、判断待显示的图像是否为三维立体图像;
当待显示的图像为三维立体图像时,执行S202,否则,执行S206,显示二维图片。
S202、在双屏上显示待显示的图像;
可选地,自动读取全景图像数据,获取默认的视点数据;渲染默认的视点数据对应视点的全景,输出全景的图像帧,以在正面屏幕上进行显示。并在第二屏幕上显示与默认的视点数据的视点翻转180度的视点数据;其中,正面第一屏幕可为第一屏幕,背面屏幕可为第二屏幕。
S203、接收在双屏上进行的滑动操作;
可选地,终端检测到正面屏幕和背面屏幕同时有触摸动作,第一屏幕和第二屏幕接收到触摸操作的滑动轨迹如图3所示,
正面屏幕记录触摸点A,坐标为(xa,ya),同时背面屏幕记录触摸点B,坐标为(xb,yb)。当间隔T1=1000毫秒后,终端再次对触摸点进行捕获,获得正面屏幕的触摸点C的坐标为(xc,yc),背面屏幕的触摸点D的坐标为(xd,yd)。在时间T1内,两个屏幕上的触摸点都有位移,此动 作就被认为是在两个触摸屏幕上同时有滑动操作,则执行S204。
其中,第一屏幕接收的触摸操作为第一操作,第二屏幕接收到的触摸操作为第二操作。
S204、确定双屏上的滑动操作是否符合预设的翻转策略;
根据捕获的触摸点确定在终端两个触摸屏幕上都有滑动操作后,再从捕获的运动轨迹中,判断AC和BD的运动轨迹,是相反方向则执行S205,当否时执行S207,结束流程,不进行显示的调整。第一操作的操作轨迹和第二操作的操作堆积的夹角如图4所示,相反方向的界定是AC和BD之间的最小夹角在预设的角度范围内,比如160度到180度之间。
S205、根据双屏上的滑动操作调整显示的视点数据;
可选地,图像的翻转数据通过正面屏幕获取,根据作为主屏的正面屏幕的位移数据和预设的位移与翻转角度的对应关系确定翻转角度,第一操作的位移如图5所示,AC点水平位移α(xa-xc)和垂直的位移β(ya-yc),默认水平位移量δ=10为一个单位,相应的三维立体图像水平翻转1度,同样默认垂直位移量η=10为一个单位,相应的三维立体图像垂直翻转1度。
当得到水平翻转角度和垂直翻转角度后,基于默认视点翻转的角度,即可以得到新的视点信息,根据新的视点数据渲染新的视点数据对应视点的全景,输出所述全景的图像帧,在正面屏幕进行显示。并相应的得到背面屏幕上显示的新的视点数据,在背面屏幕上进行显示。背面屏显示的是基于当前正面屏视点,水平旋转180度和垂直旋转180度所对应的视点信息,即图像翻转180度的视点数据,从而实现三维立体图像实时多视图的展示。
需要说明的是,在实际应用中,进行根据用户的操作进行双屏显示的三维立体图像的调整可以是一个连续的过程,比如:开始时,检测时间间隔为T1==1000毫秒的两个触摸点之间的位移,之后每间隔T2=100ms,监测一次滑动操作并判断滑动方向,同时根据在正面主屏上采集的新坐标, 与前一次的坐标进行计算,得出三维立体图像的翻转角度。
在本发明实施例中,在S203中,若只捕获到一个触摸点C或D,则确定并未分别从双屏上接收滑动操作,或S204中,判断AC和BD的运动轨迹并非是相反方向,则不进行双屏显示的调整,进行双屏显示调整以外的其他操作。
实施例三
在本实施例中,以第一屏幕和第二屏幕为旋转或折叠而形成的正反屏为例对本发明实施例提供的浏览图像的方法进行说明。
终端通过旋转或折叠而形成的正反屏。第一屏幕和第二屏幕分别为正反屏中的一个。
当浏览三维立体图像时,终端的两个屏幕上接收到用户的相反方向的滑动操作。终端通过滑动操作的位移数据,计算出新的视点数据,之后渲染新的视点数据对应视点的全景,输出所述全景的图像帧,以在第一屏幕上进行显示。第一屏幕和第二屏幕分别显示的图像,是翻转180度的视点数据,供用户查看。
用户还可以通过翻转或折叠,将终端的屏合并为一面屏,相应的视点数据显示在合并后的大屏上。
实施例四
在本实施例中,以第一屏幕和第二屏幕为通过分屏之后形成的双屏为例对本发明实施例提供的浏览图像的方法进行说明。
终端通过软件的分屏功能形成了正面的双屏。
当浏览三维立体图像时,终端的两个屏幕上接收到用户的相反方向的滑动操作。终端通过滑动操作的位移数据,计算出新的视点数据,之后渲染新的视点数据对应视点的全景,输出所述全景的图像帧,以在第一屏幕上进行显示。第一屏幕和第二屏幕分别显示的图像,是翻转180度的视点数据,供用户查看。
可选地,可通过对任意一个屏的选择,在选择的屏幕上全屏展示对应的视点数据。
实施例五
在本实施例中,同实施例二的浏览图像的方法的应用场景相同,区别在于本发明实施例中,以背面屏幕作为主屏,将默认的视点数据在背面屏幕显示,并根据背面屏幕的位移确定翻转角度,可选地:
接收用户在终端的正反两个屏幕上的相反方向的滑动操作。
终端捕获触摸点在两个触摸屏幕上都有滑动操作后,再从捕获的运动轨迹中,判断AC和BD的运动方向,当是相反方向时则执根据背面屏幕的位移确定翻转角度,通过背面屏幕的实时坐标D(xd,yd),计算出新的视点数据之后,渲染新的视点数据对应视点的全景,输出所述全景的图像帧,以在背面屏幕上进行显示。背面屏显示默认视点翻转后的新的视点数据,正面屏显示的是基于当前背面屏视点,翻转180度的视点数据。从而实现三维立体图像的多视图的展示。
通过本发明实施例提供的浏览图像的方法,在确定翻转角度中的位移数据的主屏幕时,可为两个屏幕中的任意一个屏幕。
实施例六
在本实施例中,对本发明实施例提供的浏览图像的方法的应用进行说明。
可选地,浏览三维立体图像时,接收用户在终端两个屏幕上的相反方向的滑动操作。终端通过位移数据,计算出新的视点数据之后,渲染新的视点数据对应视点的全景,输出所述全景的图像帧,以在主屏上进行显示。这里,两屏分别显示的图像,是翻转180度的视点数据。其中,终端可以提供双屏显示开关,以供用户选择是否需要双屏显示。当开关打开时,进行双屏显示,当开关关闭时,可只在主屏上进行显示。
在本发明实施例中,在本发明实施例提供的浏览图像的方法的基础上,提供一双屏显示开关,以在双屏显示和单屏显示之间进行切换。
实施例七
在本实施例中,对本发明实施例提供的浏览图像的方法进行说明,可选地:
浏览三维立体图像时,接收用户在终端两个屏幕上的相反方向的滑动操作。终端提供位移数据的采集选项,供用户选择是采集正面屏幕的位移数据还是背面屏幕的位移数据。采集选定确定主屏,通过主屏的位移数据,计算出新的视点数据之后,渲染新的视点数据对应视点的全景,输出所述全景的图像帧,以进行显示。这里,两屏分别显示图像,是翻转180度的视点数据。
在本发明实施例中,提供采集选项,以使得用户根据实际的需求来选择确定翻转数据的位移的主屏幕。
实施例八
在本实施例中,对本发明实施例提供的浏览图像的方法进行说明,可选地:
浏览三维立体图像时,接收用户在终端两个屏幕上的相反方向的滑动操作。终端通过重力传感器来判断哪个屏幕为上,位移的数据采集始终以向上的正面屏为准。通过正面屏幕的位移数据计算出新的视点数据之后,渲染新的视点数据对应视点的全景,输出全景的图像帧,以进行显示。其中,两个屏幕分别的显示图像是翻转180度的视点数据。
在本发明实施例中,以通过重力传感器来自动确定主屏幕的场景为例,本发明实施例提供的浏览图像的方法可自动确定。
可选地,在确定出向上的正面屏之后,当向上的正面屏幕显示视点数据的时候,使能另一屏幕处于黑屏状态,并且,显示视点数据的屏幕可以在两个屏幕之间进行切换。
实施例九
在本发明实施例中,对本发明实施例提供的浏览视频的方法进行说明, 可选地:
当浏览三维立体图像时,接收用户在终端两个屏幕上的相反方向的滑动操作。终端设置任意一个屏幕为主屏,通过主屏的位移数据,计算出新的视点数据之后,渲染新的视点数据对应视点的全景,输出所述全景的图像帧,以进行显示。这里,两屏分别显示的图像,是翻转180度的视点数据,供用户查看。
用户选择任意一个屏幕作为定格屏幕,进行定屏操作,将定格屏幕的画面定格在某一视点数据。
此时,继续在终端两个屏幕上进行相反方向的滑动操作。如果原主屏是已经定格的视点数据,则主屏自动切换为另外的一个屏幕。通过切换后的主屏的位移数据,计算出新的视点数据之后,渲染新的视点数据对应视点的全景,输出所述全景的图像帧,在非定格的屏幕(活动屏幕)上显示,将两个不同角度的视点数据同时展示给用户。
实施例十
在本实施例中,对本发明实施例提供的浏览图像的方法进行说明,可选地:
当浏览三维立体图像时,接收用户在终端两个屏幕上的相反方向的滑动操作。其中,终端可以提供位移灵敏度的选项,以使得用户可以依据自己的使用习惯调整灵敏度,从而控制图像翻转的灵敏度。比如:通过灵敏度的调整,水平位移量δ和垂直位移量η的单位标准值可取10-300之间任意一个10的整数倍数值,一个单位标准值仍然对应旋转1度。当根据位移得到翻转角度,即可以得到新的视点信息,根据新的视点数据渲染新的视点数据对应视点的全景,输出所述全景的图像帧,以进行显示。其中,两屏分别显示图像是翻转180度的视点数据。
实施例十一
为实现上述实施例提供的浏览图像的方法,本实施例提供一种浏览图像的装置,如图6所示,所述装置包括:第一显示单元601、第二显示单 元602、检测单元603和调整单元604;其中,
第一显示单元601,设置为显示所述三维立体图像的第一图像;
第二显示单元602,设置为显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同;
检测单元603,设置为当第一显示单元601接收到第一操作时,检测所述第一操作的操作轨迹;
调整单元604,设置为根据所述第一操作的操作轨迹调整所述三维立体图像在第一显示单元601和所述第二显示单元602的显示。
在本发明实施例中,检测单元603还设置为当第二显示单元602接收到第二操作时,检测所述第二操作的操作轨迹;
调整单元604设置为当所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略时,根据所述第一操作的操作轨迹调整所述三维立体图像在第一显示单元601和第二显示单元602的显示。
在本发明实施例中,如图7所示,所述装置还包括:确定单元605,设置为:
当所述第一操作的操作轨迹与所述第二操作的操作轨迹之间的夹角在预设的角度范围内时,确定所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略。
确定单元605还设置为:获取所述第一操作的第一操作点并获取所述预设时间后所述第一操作的第二操作点,所述第一操作点和所述第二操作点对应的轨迹为第一运动轨迹;获取所述第二操作的第三操作点并获取所述预设时间后所述第二操作的第四操作点,所述第三操作点和所述第四操作点对应的轨迹为第二运动轨迹;确定所述第一运动轨迹和所述第二运动轨迹之间的夹角处于预设的角度范围内。
如图7所示,调整单元604包括:轨迹确定模块6041和调整模块6042;其中,
轨迹确定模块6041,设置为获取所述第一操作的第一操作点,并获取所述预设时间后所述第一操作的第二操作点,根据所述第一操作点的坐标和所述第二操作点的坐标确定所述第一操作的运动轨迹;
调整模块6042,设置为根据所述第一操作的运动轨迹确定翻转角度,根据所述翻转角度调整所述三维立体图像在第一显示单元601和第二显示单元602的显示。
其中,调整模块6042根据所述翻转角度调整所述三维立体图像在第一显示单元601和第二显示单元604的显示包括:获取第一图像对应的当前显示角度并获取第二图像对应的当前显示角度;确定将所述第一图像对应的当前显示角度沿第一方向翻转所述翻转角度之后的第一显示角度,获取所述三维立体图像的第一显示角度对应的视点数据并显示在第一显示单元601上;确定所述第二图像的当前显示角度沿与所述第一方向相反的第二方向翻转所述翻转角度之后的第二显示角度,获取所述三维立体图像的第二显示角度对应的视点数据并显示在第二显示单元602上。
如图7所示,所述装置还包括:定格单元606,设置为:
当接收到定格操作时,从第一显示单元601和第二显示单元602中确定所述定格操作对应的定格单元,并确定活动单元;根据所述第一操作的操作轨迹调整所述三维立体图像在第一显示单元601和第二显示单元602的显示:根据作为活动屏幕的第一显示单元的操作轨迹确定翻转角度,根据所述翻转角度调整所述三维立体图像在所述活动单元上的显示。
当在终端中增加逻辑单元时,第一显示单元601和第二显示单元602可由位于终端中的屏幕实现,检测单元603、调整单元604、确定单元605和定格单元606可由位于终端中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、或可编程门阵列(FPGA,Field Programmable Gate Array)实现。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序在处理器上运行时执行的步骤包括:
当第一屏幕接收到第一操作时,检测第一操作的操作轨迹;
根据第一操作的操作轨迹调整三维立体图像在第一屏幕和第二屏幕的显示;
其中,第一屏幕用于显示三维立体图像的第一图像,第二屏幕用于显示三维立体图像的第二图像,第二图像的视点数据与第一图像的视点数据不同。
可选地,上述计算机程序在处理器上运行时执行的步骤还包括:
当第二屏幕接收到第二操作时,检测第二操作的操作轨迹;
当第一操作的操作轨迹与第二操作的操作轨迹符合预设的翻转策略时,根据第一操作的操作轨迹调整三维立体图像在第一屏幕和第二屏幕的显示。
可选地,上述计算机程序在处理器上运行时执行的步骤还包括:
当第一操作的操作轨迹与第二操作的操作轨迹之间的夹角在预设的角度范围内时,确定第一操作的操作轨迹与第二操作的操作轨迹符合预设的翻转策略。
可选地,上述计算机程序在处理器上运行时执行的步骤包括:
获取第一操作的第一操作点并获取预设时间后第一操作的第二操作点,第一操作点和第二操作点对应的轨迹为第一运动轨迹;获取第二操作的第三操作点并获取预设时间后第二操作的第四操作点,第三操作点和第四操作点对应的轨迹为第二运动轨迹;确定第一运动轨迹和第二运动轨迹之间的夹角处于预设的角度范围内。
可选地,上述计算机程序在处理器上运行时执行的步骤还包括:
获取第一操作的第一操作点,并获取预设时间后第一操作的第二操作点,根据第一操作点的坐标和第二操作点的坐标确定第一操作的运动轨迹;根据第一操作的运动轨迹确定翻转角度,根据翻转角度调整三维立体图像在第一屏幕和第二屏幕的显示。
可选地,上述计算机程序在处理器上运行时执行的步骤还包括:
获取第一图像对应的当前显示角度并获取第二图像对应的当前显示角度;
确定将第一图像对应的当前显示角度沿第一方向翻转翻转角度之后的第一显示角度,获取三维立体图像的第一显示角度对应的视点数据并显示在第一屏幕上;确定第二图像的当前显示角度沿与第一方向相反的第二方向翻转翻转角度之后的第二显示角度,获取三维立体图像的第二显示角度对应的视点数据并显示在第二屏幕上。
需要说明的是,第一屏幕和第二屏幕的设置方式为以下之一:
第一屏幕位于终端的第一面且第二屏幕位于终端的第二面或第一屏幕和第二屏幕分别为将终端的屏幕进行分屏之后的屏幕。
可选地,上述计算机程序在处理器上运行时执行的步骤还包括:
当接收到定格操作时,从第一屏幕和第二屏幕中确定定格操作对应的定格屏幕,并确定活动屏幕;
根据作为活动屏幕的第一屏幕的操作轨迹确定翻转角度,根据翻转角度调整三维立体图像在活动屏幕上的显示。
可选地,在本实施例中,上述计算机可读存储介质可以包括但不限于:U盘、ROM、RAM、移动硬盘、磁碟或者光盘等各种可以存储程序的代码。
本发明实施例还提供一种智能终端,该智能终端包括至少两个屏幕,存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现的步骤包括:
当第一屏幕接收到第一操作时,检测第一操作的操作轨迹;
根据第一操作的操作轨迹调整三维立体图像在第一屏幕和第二屏幕的显示;
其中,第一屏幕用于显示三维立体图像的第一图像,第二屏幕用于显 示三维立体图像的第二图像,第二图像的视点数据与第一图像的视点数据不同。
可选地,上述处理器执行计算机程序时实现的步骤还包括:
当第二屏幕接收到第二操作时,检测第二操作的操作轨迹;
当第一操作的操作轨迹与第二操作的操作轨迹符合预设的翻转策略时,根据第一操作的操作轨迹调整三维立体图像在第一屏幕和第二屏幕的显示。
可选地,上述处理器执行计算机程序时实现的步骤还包括:
当第一操作的操作轨迹与第二操作的操作轨迹之间的夹角在预设的角度范围内时,确定第一操作的操作轨迹与第二操作的操作轨迹符合预设的翻转策略。
可选地,上述处理器执行计算机程序时实现的步骤包括:
获取第一操作的第一操作点并获取预设时间后第一操作的第二操作点,第一操作点和第二操作点对应的轨迹为第一运动轨迹;获取第二操作的第三操作点并获取预设时间后第二操作的第四操作点,第三操作点和第四操作点对应的轨迹为第二运动轨迹;确定第一运动轨迹和第二运动轨迹之间的夹角处于预设的角度范围内。
可选地,上述处理器执行计算机程序时实现的步骤还包括:
获取第一操作的第一操作点,并获取预设时间后第一操作的第二操作点,根据第一操作点的坐标和第二操作点的坐标确定第一操作的运动轨迹;根据第一操作的运动轨迹确定翻转角度,根据翻转角度调整三维立体图像在第一屏幕和第二屏幕的显示。
可选地,上述处理器执行计算机程序时实现的步骤还包括:
获取第一图像对应的当前显示角度并获取第二图像对应的当前显示角度;确定将第一图像对应的当前显示角度沿第一方向翻转翻转角度之后的第一显示角度,获取三维立体图像的第一显示角度对应的视点数据并显 示在第一屏幕上;确定第二图像的当前显示角度沿与第一方向相反的第二方向翻转翻转角度之后的第二显示角度,获取三维立体图像的第二显示角度对应的视点数据并显示在第二屏幕上。
需要说明的是,第一屏幕和第二屏幕的设置方式为以下之一:
第一屏幕位于终端的第一面且第二屏幕位于终端的第二面或第一屏幕和第二屏幕分别为将终端的屏幕进行分屏之后的屏幕。
可选地,上述处理器执行计算机程序时实现的步骤还包括:
当接收到定格操作时,从第一屏幕和第二屏幕中确定定格操作对应的定格屏幕,并确定活动屏幕;
根据第一操作的操作轨迹调整三维立体图像在第一屏幕和第二屏幕的显示包括:
根据作为活动屏幕的第一屏幕的操作轨迹确定翻转角度,根据翻转角度调整三维立体图像在活动屏幕上的显示。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处 理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
如上所述,本发明实施例提供的一种浏览图像的方法及装置具有以下有益效果:实现对三维立体图像视点变化的动态浏览,使得用户可以同时从不同的角度查看三维立体图的同时,能够根据需求选择任意的角度浏览三维立体图。

Claims (13)

  1. 一种浏览图像的方法,所述方法包括:
    当第一屏幕接收到第一操作时,检测所述第一操作的操作轨迹;
    根据所述第一操作的操作轨迹调整三维立体图像在所述第一屏幕和第二屏幕的显示;
    其中,所述第一屏幕用于显示所述三维立体图像的第一图像,所述第二屏幕用于显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    当所述第二屏幕接收到第二操作时,检测所述第二操作的操作轨迹;
    当所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略时,根据所述第一操作的操作轨迹调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示。
  3. 根据权利要求2所述的方法,其中,所述方法还包括:
    当所述第一操作的操作轨迹与所述第二操作的操作轨迹之间的夹角在预设的角度范围内时,确定所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略。
  4. 根据权利要求3所述的方法,其中,所述第一操作的操作轨迹与所述第二操作的操作轨迹之间的夹角在预设的角度范围内包括:
    获取所述第一操作的第一操作点并获取所述预设时间后所述第一操作的第二操作点,所述第一操作点和所述第二操作点对应的轨迹为第一运动轨迹;
    获取所述第二操作的第三操作点并获取所述预设时间后所述第二操作的第四操作点,所述第三操作点和所述第四操作点对应的轨迹为第二运动轨迹;
    确定所述第一运动轨迹和所述第二运动轨迹之间的夹角处于预设的角度范围内。
  5. 根据权利要求1或2所述的方法,其中,所述根据所述第一操作的操作轨迹调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示包括:
    获取所述第一操作的第一操作点,并获取所述预设时间后所述第一操作的第二操作点,根据所述第一操作点的坐标和所述第二操作点的坐标确定所述第一操作的运动轨迹;
    根据所述第一操作的运动轨迹确定翻转角度,根据所述翻转角度调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示。
  6. 根据权利要求5所述的方法,其中,所述根据所述翻转角度调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示包括:
    获取第一图像对应的当前显示角度并获取第二图像对应的当前显示角度;
    确定将所述第一图像对应的当前显示角度沿第一方向翻转所述翻转角度之后的第一显示角度,获取所述三维立体图像的第一显示角度对应的视点数据并显示在所述第一屏幕上;
    确定所述第二图像的当前显示角度沿与所述第一方向相反的第二方向翻转所述翻转角度之后的第二显示角度,获取所述三维立体图像的第二显示角度对应的视点数据并显示在所述第二屏幕上。
  7. 根据权利要求1所述的方法,其中,所述第一屏幕和所述第二屏幕的设置方式为以下之一:
    所述第一屏幕位于终端的第一面且所述第二屏幕位于所述终端的第二面;
    所述第一屏幕和所述第二屏幕分别为将所述终端的屏幕进行分屏之后的屏幕。
  8. 根据权利要求1所述的方法,其中,所述方法还包括:
    当接收到定格操作时,从所述第一屏幕和所述第二屏幕中确定所述定格操作对应的定格屏幕,并确定活动屏幕;
    根据所述第一操作的操作轨迹调整所述三维立体图像在所述第一屏幕和所述第二屏幕的显示包括:
    根据作为活动屏幕的第一屏幕的操作轨迹确定翻转角度,根据所述翻转角度调整所述三维立体图像在所述活动屏幕上的显示。
  9. 一种浏览图像的装置,所述装置包括:第一显示单元、第二显示单元、检测单元和调整单元;其中,
    所述第一显示单元,设置为显示三维立体图像的第一图像;
    所述第二显示单元,设置为显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同;
    所述检测单元,设置为当第一显示单元接收到第一操作时,检测所述第一操作的操作轨迹;
    所述调整单元,设置为根据所述第一操作的操作轨迹调整三维立体图像在所述第一显示单元和第二显示单元的显示。
  10. 根据权利要求9所述的装置,其中,
    所述检测单元,还设置为当所述第二显示单元接收到第二操作时,检测所述第二操作的操作轨迹;
    所述调整单元,设置为当所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略时,根据所述第一操作的操作轨迹调整所述三维立体图像在所述第一显示单元和所述第二显示单元的显示。
  11. 根据权利要求10所述的装置,其中,所述装置还包括:确定单元,设置为:
    当所述第一操作的操作轨迹与所述第二操作的操作轨迹之间的夹角在预设的角度范围内时,确定所述第一操作的操作轨迹与所述第二操作的操作轨迹符合预设的翻转策略。
  12. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序在处理器上运行时执行的步骤包括:
    当第一屏幕接收到第一操作时,检测所述第一操作的操作轨迹;
    根据所述第一操作的操作轨迹调整三维立体图像在所述第一屏幕和第二屏幕的显示;
    其中,所述第一屏幕用于显示所述三维立体图像的第一图像,所述第二屏幕用于显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同。
  13. 一种智能终端,包括至少两个屏幕,存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现的步骤包括:
    当第一屏幕接收到第一操作时,检测所述第一操作的操作轨迹;
    根据所述第一操作的操作轨迹调整三维立体图像在所述第一屏幕和第二屏幕的显示;
    其中,所述第一屏幕用于显示所述三维立体图像的第一图像,所述第二屏幕用于显示所述三维立体图像的第二图像,所述第二图像的视点数据与所述第一图像的视点数据不同。
PCT/CN2017/101731 2017-03-13 2017-09-14 一种浏览图像的方法及装置 WO2018166156A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710145103.0A CN108572770A (zh) 2017-03-13 2017-03-13 一种浏览图像的方法及装置
CN201710145103.0 2017-03-13

Publications (1)

Publication Number Publication Date
WO2018166156A1 true WO2018166156A1 (zh) 2018-09-20

Family

ID=63522830

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/101731 WO2018166156A1 (zh) 2017-03-13 2017-09-14 一种浏览图像的方法及装置

Country Status (2)

Country Link
CN (1) CN108572770A (zh)
WO (1) WO2018166156A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753204A (zh) * 2018-12-29 2019-05-14 维沃移动通信有限公司 一种文本处理方法及移动终端

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109828710B (zh) * 2019-01-21 2020-09-25 维沃移动通信有限公司 一种图像处理方法和移动终端
CN109905693B (zh) * 2019-01-25 2020-12-18 努比亚技术有限公司 3d显示控制方法、终端及计算机可读存储介质
CN109960482A (zh) * 2019-02-28 2019-07-02 努比亚技术有限公司 一种3d图像显示方法、终端及计算机可读存储介质
CN110162251B (zh) * 2019-05-17 2021-06-18 网易(杭州)网络有限公司 图像缩放方法及装置、存储介质、电子设备
CN113438465A (zh) * 2021-06-22 2021-09-24 纵深视觉科技(南京)有限责任公司 一种显示调节方法、装置、设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120007854A1 (en) * 2010-07-12 2012-01-12 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN103019571A (zh) * 2011-09-20 2013-04-03 浪潮乐金数字移动通信有限公司 一种在终端触摸屏上进行3d图像编辑调整的方法及终端
CN106406525A (zh) * 2016-09-07 2017-02-15 讯飞幻境(北京)科技有限公司 虚拟现实交互方法、装置及设备
CN106445339A (zh) * 2016-09-21 2017-02-22 青岛海信电器股份有限公司 一种双屏终端显示立体图像的方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090256809A1 (en) * 2008-04-14 2009-10-15 Sony Ericsson Mobile Communications Ab Three-dimensional touch interface
KR101852811B1 (ko) * 2011-01-05 2018-04-27 엘지전자 주식회사 영상표시 장치 및 그 제어방법
CN103677243B (zh) * 2012-09-25 2017-03-01 联想(北京)有限公司 一种控制方法、装置和多媒体输入输出系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120007854A1 (en) * 2010-07-12 2012-01-12 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN103019571A (zh) * 2011-09-20 2013-04-03 浪潮乐金数字移动通信有限公司 一种在终端触摸屏上进行3d图像编辑调整的方法及终端
CN106406525A (zh) * 2016-09-07 2017-02-15 讯飞幻境(北京)科技有限公司 虚拟现实交互方法、装置及设备
CN106445339A (zh) * 2016-09-21 2017-02-22 青岛海信电器股份有限公司 一种双屏终端显示立体图像的方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753204A (zh) * 2018-12-29 2019-05-14 维沃移动通信有限公司 一种文本处理方法及移动终端
CN109753204B (zh) * 2018-12-29 2022-01-28 维沃移动通信有限公司 一种文本处理方法及移动终端

Also Published As

Publication number Publication date
CN108572770A (zh) 2018-09-25

Similar Documents

Publication Publication Date Title
WO2018166156A1 (zh) 一种浏览图像的方法及装置
TWI547901B (zh) 模擬立體圖像顯示方法及顯示設備
US8330793B2 (en) Video conference
JP2011090400A (ja) 画像表示装置および方法、並びにプログラム
WO2020181073A1 (en) Method, apparatus, terminal, capturing system and device for setting capturing devices
WO2017092332A1 (zh) 一种渲染图像的处理方法及装置
US10074343B2 (en) Three-dimensional image output apparatus and three-dimensional image output method
CN104040457A (zh) 移动显示设备
EP2355532A1 (en) Image processing device and method, and program
US20210225017A1 (en) Structuring visual data
US20120182400A1 (en) Image processing apparatus and method, and program
EP3726829A1 (en) Automatic adjustment of video orientation
TW201137668A (en) Adjustment system and method for three-dimensional image
US20130222363A1 (en) Stereoscopic imaging system and method thereof
US11501486B2 (en) Surface characterisation apparatus and system
WO2018086532A1 (zh) 一种监控视频的显示控制方法及装置
US20210174570A1 (en) Systems and methods for providing a mixed-reality pass-through experience
JP2004207772A5 (zh)
CN103731657B (zh) 一种对dibr算法处理后的含有空洞影像的空洞填充处理方法
WO2018014487A1 (zh) 一种实现3d图像显示的方法及装置
JP2013090129A (ja) 画像処理装置、および画像処理方法、並びにプログラム
CN108510433B (zh) 空间展示方法、装置及终端
US9113140B2 (en) Stereoscopic image processing device and method for generating interpolated frame with parallax and motion vector
US20210037230A1 (en) Multiview interactive digital media representation inventory verification
US20120162199A1 (en) Apparatus and method for displaying three-dimensional augmented reality

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17900602

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17900602

Country of ref document: EP

Kind code of ref document: A1