CN102970498A - Display method and display device for three-dimensional menu display - Google Patents
Display method and display device for three-dimensional menu display Download PDFInfo
- Publication number
- CN102970498A CN102970498A CN2012105050614A CN201210505061A CN102970498A CN 102970498 A CN102970498 A CN 102970498A CN 2012105050614 A CN2012105050614 A CN 2012105050614A CN 201210505061 A CN201210505061 A CN 201210505061A CN 102970498 A CN102970498 A CN 102970498A
- Authority
- CN
- China
- Prior art keywords
- area
- menu
- dimensional
- perspective projection
- window
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
本发明公开了一种实现菜单立体显示的显示方法,包括以下步骤:设置透视投影,在所述透视投影内设置窗口;将所述窗口均分为第一区域和第二区域;在对应该第一区域及该第二区域的三维空间中形成二维菜单,并将该二维菜单透视投影于该第一区域及该第二区域中;对该第一区域及该第二区域中的二维菜单进行3D图像处理并输出3D菜单。本发明的菜单立体显示的方法通过在三维空间中绘制并平移二维菜单,使得透视投影到第一区域中的二维菜单与透视到第二区域中的二维菜单之间具有视差,可在经过3D处理模块之后形成立体菜单,提高了用户使用电子设置的体验度。本发明还提供一种实现菜单立体显示的显示装置。
The invention discloses a display method for realizing a three-dimensional display of a menu, comprising the following steps: setting a perspective projection, setting a window in the perspective projection; dividing the window into a first area and a second area; A two-dimensional menu is formed in the three-dimensional space of the first region and the second region, and the perspective projection of the two-dimensional menu is projected in the first region and the second region; the two-dimensional menu in the first region and the second region The menu performs 3D image processing and outputs a 3D menu. The method for three-dimensional menu display of the present invention draws and translates a two-dimensional menu in a three-dimensional space, so that there is a parallax between the two-dimensional menu projected perspectively into the first area and the two-dimensional menu perspective projected into the second area, which can be used in After the 3D processing module, a three-dimensional menu is formed, which improves the user's experience in using electronic settings. The invention also provides a display device for realizing the three-dimensional display of the menu.
Description
技术领域 technical field
本发明涉及菜单立体显示领域,尤其涉及一种菜单立体显示的方法及立体显示的装置。The invention relates to the field of three-dimensional display of menus, in particular to a method for three-dimensional display of a menu and a device for three-dimensional display.
背景技术 Background technique
立体显示设备是利用人眼的视差特征,呈现出具有空间深度信息的立体影像,通常是将具有视差的多个视图通过像素排列算法合成后输出到立体显示器上。这种视差图直接传递到观看者的左右眼,进而合成立体图像。A stereoscopic display device uses the parallax feature of human eyes to present a stereoscopic image with spatial depth information, and usually multiple views with parallax are synthesized through a pixel arrangement algorithm and then output to a stereoscopic display. This disparity map is directly transmitted to the left and right eyes of the viewer, and then a stereoscopic image is synthesized.
目前立体显示器主要采用不闪式3D技术和快门式3D技术。通过显示具有视差的影像并传递给观察者的左右眼,从而不在3D电影院就可以使人们感受到身临其境的感觉。然而立体显示器只能在播放具有视差图的影像时才可以达到3D显示的效果,在操作立体显示器的菜单时观看者不会有立体的远近感和空间感。这样使得观看者不能在使用的过程中连贯的感受3D技术带来的冲击感,降低了观看者的体验度。At present, stereoscopic displays mainly adopt non-flash 3D technology and shutter 3D technology. By displaying images with parallax and passing them to the left and right eyes of the observer, people can feel immersive without being in a 3D movie theater. However, the stereoscopic display can only achieve the 3D display effect when playing images with disparity maps, and the viewer will not have a stereoscopic sense of distance and space when operating the menu of the stereoscopic display. In this way, the viewer cannot feel the impact of the 3D technology coherently during use, which reduces the experience of the viewer.
鉴于此,有必要提供一种能实现菜单立体显示的显示方法及能实现菜单立体显示的显示装置。In view of this, it is necessary to provide a display method capable of realizing a three-dimensional display of a menu and a display device capable of realizing a three-dimensional display of a menu.
发明内容 Contents of the invention
本发明的主要目的是提供一种显示方法和显示装置,旨在实现菜单的立体显示,进而提升观看者的体验度。The main purpose of the present invention is to provide a display method and a display device, aiming at realizing the three-dimensional display of the menu, thereby improving the experience of the viewers.
为实现上述目的,本发明提供一种实现菜单立体显示的显示方法,包括以下步骤:In order to achieve the above object, the present invention provides a display method for realizing the three-dimensional display of the menu, comprising the following steps:
设置透视投影,在所述透视投影内设置窗口;setting a perspective projection, setting a window within said perspective projection;
在所述窗口中形成大小相等的第一区域和第二区域;forming a first area and a second area of equal size in the window;
在对应该第一区域及该第二区域的三维空间中形成二维菜单,并将该二维菜单透视投影于该第一区域及该第二区域中;forming a two-dimensional menu in a three-dimensional space corresponding to the first area and the second area, and projecting the two-dimensional menu perspectively in the first area and the second area;
对该第一区域及该第二区域中的二维菜单进行3D图像处理并输出3D菜单。3D image processing is performed on the two-dimensional menus in the first area and the second area and a 3D menu is output.
优选地,所述设置透视投影,在所述透视投影内设置窗口的步骤包括:Preferably, the step of setting a perspective projection, and setting a window in the perspective projection includes:
设置三维空间坐标系,在所述三维空间坐标系内设置透视投影;A three-dimensional space coordinate system is set, and a perspective projection is set in the three-dimensional space coordinate system;
在所述透视投影内设置窗口,使得所述窗口的大小与显示设备的显示区域大小相等。A window is set in the perspective projection such that the size of the window is equal to the size of the display area of the display device.
优选地,所述第一区域及所述第二区域的面积分别为所述窗口面积的一半,且该第一区域及该第二区域沿所述窗口的水平方向或垂直方向并排设置。Preferably, the areas of the first region and the second region are respectively half of the area of the window, and the first region and the second region are arranged side by side along the horizontal or vertical direction of the window.
优选地,所述在对应该第一区域及该第二区域的三维空间中形成二维菜单,并将该二维菜单透视投影于该第一区域及该第二区域中的步骤包括:Preferably, the step of forming a two-dimensional menu in a three-dimensional space corresponding to the first area and the second area, and projecting the two-dimensional menu perspectively on the first area and the second area includes:
在该第一区域的正前方三维空间中绘制二维菜单并将该二维菜单透视投影到第一区域中;drawing a two-dimensional menu in the three-dimensional space directly in front of the first area and projecting the two-dimensional menu perspectively into the first area;
沿预设方向平移该第一区域的正前方三维空间中的二维菜单至二维菜单位于第二区域正前方的三维空间中,将该平移的二维菜单透视投影到第二区域中,令透视投影到第一区域中的二维菜单与第一区域同一侧之间的距离与透视投影到第二区域中的二维菜单与第二区域同一侧之间的距离不相等。Translating the two-dimensional menu in the three-dimensional space directly in front of the first area along the preset direction to the three-dimensional space in front of the second area, and perspective-projecting the translated two-dimensional menu into the second area, so that The distance between the two-dimensional menu projected perspectively into the first area and the same side of the first area is not equal to the distance between the two-dimensional menu projected perspectively into the second area and the same side of the second area.
优选地,所述二维菜单于三维空间中的平移距离满足以下关系:L=(a_z – z_ot )*coefficient;Preferably, the translation distance of the two-dimensional menu in three-dimensional space satisfies the following relationship: L=(a_z-z_ot)*coefficient;
其中,a_z为二维菜单上某一点的Z轴坐标值,Coefficient为可根据系统实际需要而调整的调整系数,z_ot为体现3D图像凹凸效果的凹凸平衡点的Z轴坐标值,其中,Z轴为垂直所述窗口所在平面的坐标轴。Among them, a_z is the Z-axis coordinate value of a certain point on the two-dimensional menu, Coefficient is an adjustment coefficient that can be adjusted according to the actual needs of the system, and z_ot is the Z-axis coordinate value of the concave-convex balance point that reflects the concave-convex effect of the 3D image. Among them, Z-axis is the coordinate axis perpendicular to the plane where the window is located.
优选地,所述对该第一区域及该第二区域中的二维菜单进行3D图像处理并输出3D菜单的步骤包括:Preferably, the step of performing 3D image processing on the two-dimensional menu in the first area and the second area and outputting the 3D menu includes:
对形成于该第一区域及该第二区域中的二维菜单进行3D图像处理;performing 3D image processing on the two-dimensional menu formed in the first area and the second area;
交替输出3D图像处理后的二维菜单以形成3D菜单。The two-dimensional menu after 3D image processing is alternately output to form a 3D menu.
本发明进一步提供一种实现菜单立体显示的显示装置,包括:The present invention further provides a display device for realizing three-dimensional display of menus, including:
操作模块,用于设置透视投影并在所述透视投影内设置窗口;An operation module for setting a perspective projection and setting a window within the perspective projection;
处理模块,用于在所述窗口中形成大小相等的第一区域和第二区域,在对应该第一区域及该第二区域的三维空间中形成二维菜单,并将该二维菜单透视投影于该第一区域及该第二区域中;A processing module, configured to form a first area and a second area of equal size in the window, form a two-dimensional menu in a three-dimensional space corresponding to the first area and the second area, and project the two-dimensional menu in perspective in the first area and the second area;
显示模块,用于对该第一区域及该第二区域中的二维菜单进行3D图像处理并输出3D菜单。The display module is used for performing 3D image processing on the two-dimensional menus in the first area and the second area and outputting the 3D menus.
优选地,所述操作模块包括透视投影设置单元及窗口设置单元,透视投影设置单元用于设置一个三维空间坐标系,在所述三维空间坐标系内设置透视投影,所述窗口设置单元用于在所述透视投影内设置一个窗口,使得所述窗口的大小与显示装置的显示区域大小相等。Preferably, the operation module includes a perspective projection setting unit and a window setting unit, the perspective projection setting unit is used to set a three-dimensional space coordinate system, and perspective projection is set in the three-dimensional space coordinate system, and the window setting unit is used to set a three-dimensional space coordinate system. A window is set in the perspective projection, so that the size of the window is equal to the size of the display area of the display device.
优选地,所述处理模块包括窗口处理单元、第一处理单元及第二处理单元;该窗口处理单元用于在所述窗口中形成大小相等的第一区域及第二区域;第一处理单元用于在该第一区域的正前方三维空间中绘制二维菜单并将该二维菜单透视投影到第一区域中;该第二处理单元用于沿预设方向平移该第一区域的正前方三维空间中的二维菜单至二维菜单位于第二区域正前方的三维空间中,将该平移的二维菜单透视投影到第二区域中,令透视投影到第一区域中的二维菜单与第一区域同一侧之间的距离与透视投影到第二区域中的二维菜单与第二区域同一侧之间的距离不相等。Preferably, the processing module includes a window processing unit, a first processing unit, and a second processing unit; the window processing unit is used to form a first area and a second area of equal size in the window; the first processing unit uses drawing a two-dimensional menu in the three-dimensional space directly in front of the first area and projecting the perspective projection of the two-dimensional menu into the first area; the second processing unit is used to translate the three-dimensional space directly in front of the first area along a preset direction The two-dimensional menu in the space to the two-dimensional menu is located in the three-dimensional space directly in front of the second area, and the perspective projection of the translated two-dimensional menu is projected into the second area, so that the perspective projection of the two-dimensional menu in the first area and the second area The distance between the same side of one area is not equal to the distance between the two-dimensional menu perspective projected into the second area and the same side of the second area.
优选地,所述第一区域及所述第二区域的面积分别为所述窗口面积的一半,且该第一区域及该第二区域沿所述窗口的水平方向或垂直方向并排设置。Preferably, the areas of the first region and the second region are respectively half of the area of the window, and the first region and the second region are arranged side by side along the horizontal or vertical direction of the window.
本发明所提供的菜单立体显示的方法,通过在三维空间中绘制二维菜单,将二维菜单透视投影至第一区域中,并在三维空间中平移二维菜单以使二维菜单可透视投影至第二区域中,且透视投影到第一区域中的二维菜单与第一区域同一侧之间的距离与透视投影到第二区域中的二维菜单与第二区域同一侧之间的距离不相等,如此,对于用户来说,则第一区域中的菜单和第二区域中的菜单之间具有视差,用户接收具有视差的画面而看到立体的菜单,提高了用户在操作3D显示设备观看3D视频的过程中的体验度。The method for three-dimensional display of the menu provided by the present invention draws the two-dimensional menu in the three-dimensional space, projects the two-dimensional menu perspectively into the first area, and translates the two-dimensional menu in the three-dimensional space so that the two-dimensional menu can be perspectively projected into the second area, and the distance between the 2D menu projected perspectively into the first area and the same side of the first area and the distance between the 2D menu projected perspectively into the second area and the same side of the second area Not equal, so, for the user, there is a parallax between the menu in the first area and the menu in the second area, and the user receives a picture with parallax and sees a three-dimensional menu, which improves the user's ability to operate the 3D display device. The degree of experience in the process of watching 3D video.
附图说明 Description of drawings
图1为本发明实施例菜单立体显示方法的流程图;FIG. 1 is a flowchart of a three-dimensional display method for a menu according to an embodiment of the present invention;
图2为本发明三维空间构件坐标系示意图;Fig. 2 is a schematic diagram of a three-dimensional space component coordinate system of the present invention;
图3为透视投影后的菜单与窗口的第一区域和第二区域之间的关系图;Fig. 3 is a diagram of the relationship between the menu after perspective projection and the first area and the second area of the window;
图4为本发明实施例的实现菜单立体显示的显示装置的模块示意图;FIG. 4 is a block diagram of a display device for realizing stereoscopic display of menus according to an embodiment of the present invention;
图5为图1所示显示装置的操作模块示意图;Fig. 5 is a schematic diagram of the operation module of the display device shown in Fig. 1;
图6为图1所示显示装置的处理模块示意图。FIG. 6 is a schematic diagram of a processing module of the display device shown in FIG. 1 .
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式 Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用于解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明提供一种可以实现菜单立体显示的方法,该方法可应用于具有3D显示设备的电子产片中,如音乐播放器、PAD、平板电脑或液晶显示器等中,以立体显示操作界面上的菜单,提升用户使用电子产品的体验度。请参照图1,其为本发明实施例中的菜单立体显示方法的流程图。在本实施例中,该菜单立体显示方法包括以下步骤:The invention provides a method capable of realizing three-dimensional display of menus, which can be applied to electronic products with 3D display devices, such as music players, PADs, tablet computers or liquid crystal displays, etc. menu to improve user experience in using electronic products. Please refer to FIG. 1 , which is a flowchart of a three-dimensional display method for a menu in an embodiment of the present invention. In this embodiment, the menu stereoscopic display method includes the following steps:
在步骤S100中,设置透视投影,在所述透视投影内设置窗口。在本实施例中,步骤S100具体包括:步骤S110,设置三维空间坐标系,在所述三维空间坐标系内设置透视投影;步骤S120,在所述透视投影内设置窗口,使得所述窗口的大小与显示设备的显示区域大小相等。在本实施例中,窗口设置于透视投影中是指透视投影的视点设置在窗口的中心轴上,通过视点在窗口的中心轴上的移动,使得透视投影投射到窗口时刚好将窗口覆盖。结合参考图2,图中视点A为类似摄像机的观察点,A、B、C、D和E五点所围成的椎体是视点A可以观察到的范围,B、C、D、E组成了窗口,通过视点A在Z轴上的移动使得透视投影至窗口时恰好与窗口重合。窗口大小为电视机的显示屏幕大小,在窗口沿Z轴正向平移一段距离后与透视投影区域相交于F、G、H、I四点。In step S100, a perspective projection is set, and a window is set in the perspective projection. In this embodiment, step S100 specifically includes: step S110, setting a three-dimensional space coordinate system, and setting a perspective projection in the three-dimensional space coordinate system; step S120, setting a window in the perspective projection, so that the size of the window Equal to the size of the display area of the display device. In this embodiment, the setting of the window in the perspective projection means that the viewpoint of the perspective projection is set on the central axis of the window. By moving the viewpoint on the central axis of the window, the perspective projection just covers the window when projected onto the window. Combined with reference to Figure 2, viewpoint A in the figure is an observation point similar to a camera, and the pyramid surrounded by five points A, B, C, D, and E is the range that viewpoint A can observe, and B, C, D, and E are composed of The window is selected, and the perspective projection to the window coincides with the window by moving the viewpoint A on the Z axis. The size of the window is the size of the display screen of the television, and after the window is translated for a certain distance along the Z axis in the positive direction, it intersects with the perspective projection area at four points F, G, H, and I.
在一些实施例中,窗口设置有多个,当用户调用未被投射的一个时,需先将被透视投影投射的窗口通过X、Y轴的变动移开,再将被用户调用的菜单通过X、Y轴的变动转移至被透视投影覆盖的区域。如此设置后,当菜单绘制于窗口上之后,可在窗口与视点之间形成菜单的透视二维图。In some embodiments, there are multiple windows. When the user invokes the one that is not projected, the window projected by the perspective projection needs to be moved away through the X and Y axis changes, and then the menu invoked by the user is moved through the X and Y axes. , the movement of the Y axis is transferred to the area covered by the perspective projection. After such setting, when the menu is drawn on the window, a perspective two-dimensional image of the menu can be formed between the window and the viewpoint.
在步骤S200中,在所述窗口中形成大小相等的第一区域和第二区域。在本实施例中,第一区域和第二区域的面积分别为窗口面积大小的一半,且第一区域及第二区域可沿某一预设方向,如窗口的水平方向或垂直方向并排设置。当预设方向为沿窗口的水平方向时,第一区域和第二区域呈上下并排的方式,而当预设方向为沿窗口的垂直方向时,第一区域和第二区域则呈左右并排的方式。In step S200, a first area and a second area of equal size are formed in the window. In this embodiment, the areas of the first area and the second area are half of the area of the window, and the first area and the second area can be arranged side by side along a predetermined direction, such as the horizontal or vertical direction of the window. When the preset direction is along the horizontal direction of the window, the first area and the second area are side by side; when the default direction is along the vertical direction of the window, the first area and the second area are side by side Way.
在步骤S300中,在对应该第一区域及该第二区域的三维空间中形成二维菜单,并将该二维菜单透视投影于该第一区域及该第二区域中。具体而言,步骤S300包括以下两个子步骤:步骤S310,在该第一区域的正前方三维空间中绘制二维菜单并将该二维菜单透视投影到第一区域中;在本实施例中,可根据系统存储区域中所存储的二维菜单的相关信息,如位置信息、图形信息和颜色信息等,将二维菜单绘制于第一区域正前方的相关位置中,且二维菜单位于透视投影区域内;步骤S320,沿预设方向平移该第一区域的正前方三维空间中的二维菜单至二维位于第二区域正前方的三维空间中,将该平移的二维菜单透视投影到第二区域中,令透视投影到第一区域中的二维菜单与第一区域同一侧之间的距离与透视投影到第二区域中的二维菜单与第二区域同一侧之间的距离不相等。In step S300, a two-dimensional menu is formed in the three-dimensional space corresponding to the first area and the second area, and the two-dimensional menu is perspective-projected in the first area and the second area. Specifically, step S300 includes the following two sub-steps: Step S310, drawing a two-dimensional menu in the three-dimensional space directly in front of the first area and projecting the two-dimensional menu perspectively into the first area; in this embodiment, According to the relevant information of the two-dimensional menu stored in the system storage area, such as position information, graphic information and color information, etc., the two-dimensional menu can be drawn in the relevant position directly in front of the first area, and the two-dimensional menu is located in the perspective projection within the area; step S320, translating the two-dimensional menu in the three-dimensional space directly in front of the first area along a preset direction to the two-dimensional three-dimensional space directly in front of the second area, and perspective-projecting the translated two-dimensional menu onto the second area In the second area, the distance between the perspective projected 2D menu in the first area and the same side of the first area is not equal to the distance between the perspective projected 2D menu in the second area and the same side of the second area .
在本实施例中,三维空间中的二维菜单平移的方向与构建该三维空间的三维坐标系及窗口所在平面相对应,以图2所示的三维坐标系为例,窗口W位于X轴及Y轴方向所形成的平面上且第一区域W1及第二区域W2沿X轴方向并排设置,此时,可沿X轴方向平移第一区域W1正前方的三维空间中的二维菜单至二维菜单位于第二区域W2正前方的三维空间中,该平移距离与最终所形成的立体菜单所具有的立体显示效果之间具有一定关系。具体而言,假设对应第一区域的三维空间中的二维菜单中上某个点的坐标为a1(a1_x,a1_y,a1_z),平移后该点的坐标为:a2(a1_x’,a1_y,a1_z),则a1_x 及a1_x’之间的关系满足下列表达式:a1_x’=a1_x + (a1_z – z_ot )*coefficient,也即,二维菜单于三维空间中的平移距离满足以下关系:L=(a_z – z_ot )*coefficient,其中,Coefficient是一个调整系数,可根据系统实际需要而调整,而z_ot为凹凸平衡点的Z轴坐标值,其中,凹凸平衡点为体现3D图像凹凸效果的,其值可根据所需的3D显示效果而设定。In this embodiment, the translation direction of the two-dimensional menu in the three-dimensional space corresponds to the three-dimensional coordinate system and the plane where the window is located to construct the three-dimensional space. Taking the three-dimensional coordinate system shown in FIG. 2 as an example, the window W is located at the X axis and On the plane formed by the Y-axis direction and the first area W1 and the second area W2 are arranged side by side along the X-axis direction, at this time, the two-dimensional menu in the three-dimensional space directly in front of the first area W1 can be translated along the X-axis direction to two The three-dimensional menu is located in the three-dimensional space directly in front of the second area W2, and there is a certain relationship between the translation distance and the three-dimensional display effect of the finally formed three-dimensional menu. Specifically, assuming that the coordinates of a point on the two-dimensional menu in the three-dimensional space corresponding to the first area are a1 (a1_x, a1_y, a1_z), the coordinates of this point after translation are: a2 (a1_x', a1_y, a1_z ), then the relationship between a1_x and a1_x' satisfies the following expression: a1_x'=a1_x + (a1_z – z_ot )*coefficient, that is, the translation distance of the two-dimensional menu in the three-dimensional space satisfies the following relationship: L=(a_z – z_ot )*coefficient, where Coefficient is an adjustment coefficient that can be adjusted according to the actual needs of the system, and z_ot is the Z-axis coordinate value of the concave-convex balance point, where the concave-convex balance point reflects the concave-convex effect of the 3D image, and its value can be adjusted Set according to the desired 3D display effect.
经透视投影后,透视投影到第一区域中的二维菜单与第一区域同一侧之间的距离与透视投影到第二区域中的二维菜单与第二区域同一侧之间的距离不相等。结合图3,以位于第一区域W1正前方三维空间中的二维菜单投影到第一区域W1之后形成二维菜单M1,M2及M3,平移至位于第二区域W2正前方三维空间中的二维菜单投影到第二区域W2之后形成二维菜单M1’,M2’,M3’为例进行说明,菜单M1,M2,M3与第一区域W1的左边框L1间隔一距离,菜单M1’,M2’,M3’与第二区域W2的左边框L2间隔一距离,且第二区域W2中各菜单与左边框L2的距离与第一区域W1中对应菜单与左边框L1之间的距离并不相等。以菜单M1与左边框L1间隔的距离为S1,菜单M2与左边框L1间隔的距离为S2,菜单M3与左边框L1间隔的距离为S3,以菜单M1’与左边框L2间隔的距离为S1’,菜单M2’与左边框L2间隔的距离为S2’,菜单M3’与左边框L1间隔的距离为S3’为例,则S1≠S1'、S2≠S2' S3≠S3',菜单在第一区域和第二区域上具有视觉差。After perspective projection, the distance between the perspective projected 2D menu in the first area and the same side of the first area is not equal to the distance between the perspective projected 2D menu in the second area and the same side of the second area . Referring to Fig. 3, the two-dimensional menus M1, M2 and M3 are formed after projecting the two-dimensional menus in the three-dimensional space directly in front of the first area W1 to the first area W1, and then translated to the two-dimensional menus in the three-dimensional space directly in front of the second area W2. Two-dimensional menus M1', M2', and M3' are formed after the two-dimensional menu is projected to the second area W2 as an example. The menus M1, M2, and M3 are separated from the left border L1 of the first area W1 by a distance. ', M3' has a distance from the left frame L2 of the second area W2, and the distance between each menu in the second area W2 and the left frame L2 is not equal to the distance between the corresponding menu in the first area W1 and the left frame L1 . Take the distance between menu M1 and left frame L1 as S1, the distance between menu M2 and left frame L1 as S2, the distance between menu M3 and left frame L1 as S3, and the distance between menu M1' and left frame L2 as S1 ', the distance between the menu M2' and the left frame L2 is S2', and the distance between the menu M3' and the left frame L1 is S3'. There is a visual difference between the first area and the second area.
需要说明的是,在这些实施例中,复制的菜单的立体图像经过三维空间坐标的变换后还在透视投影的范围内。It should be noted that, in these embodiments, the copied stereoscopic image of the menu is still within the scope of perspective projection after transformation of three-dimensional space coordinates.
在步骤S400中,对该第一区域及该第二区域中的二维菜单进行3D图像处理并输出3D菜单。在本实施例中,步骤S400包括:步骤S410,对形成于该第一区域及该第二区域中的二维菜单进行3D图像处理;步骤S420,交替输出3D图像处理后的二维菜单以形成3D菜单。具体而言,在本实施例中,可采用OpenGL、DirectX等图形处理技术对这些二维图像进行处理,以形成屏幕坐标系下的菜单坐标信息,并将生成的菜单坐标信息交替输出以形成3D菜单。该交替时间间隔以大脑连续接受两幅具有视差的画面后无法识别出两幅画面而产生错觉形成均有景深的间隔长度为准。如此,使用户可通过快门式3D眼镜等接收装置使人眼可以在显示单元的相应位置识别出具有立体特征的菜单界面。In step S400, perform 3D image processing on the 2D menus in the first area and the second area and output the 3D menus. In this embodiment, step S400 includes: step S410, performing 3D image processing on the two-dimensional menus formed in the first area and the second area; step S420, alternately outputting the two-dimensional menus after 3D image processing to form 3D menu. Specifically, in this embodiment, graphics processing technologies such as OpenGL and DirectX can be used to process these two-dimensional images to form menu coordinate information in the screen coordinate system, and the generated menu coordinate information is alternately output to form a 3D image. menu. The alternating time interval is based on the length of the interval between the two images having a depth of field that the brain cannot recognize after receiving two images with parallax continuously, resulting in an illusion. In this way, the user can recognize the menu interface with three-dimensional features at the corresponding position of the display unit through a receiving device such as shutter type 3D glasses.
本发明所提供的菜单立体显示的方法,通过在三维空间中绘制二维菜单,将二维菜单透视投影至第一区域中,并在三维空间中平移二维菜单以使二维菜单可透视投影至第二区域中,且透视投影到第一区域中的二维菜单与第一区域同一侧之间的距离与透视投影到第二区域中的二维菜单与第二区域同一侧之间的距离不相等,如此,对于用户来说,则第一区域中的菜单和第二区域中的菜单之间具有视差,用户接收具有视差的画面而看到立体的菜单,提高了用户在操作3D显示设备观看3D视频的过程中的体验度。The method for three-dimensional display of the menu provided by the present invention draws the two-dimensional menu in the three-dimensional space, projects the two-dimensional menu perspectively into the first area, and translates the two-dimensional menu in the three-dimensional space so that the two-dimensional menu can be perspectively projected into the second area, and the distance between the 2D menu projected perspectively into the first area and the same side of the first area and the distance between the 2D menu projected perspectively into the second area and the same side of the second area Not equal, so, for the user, there is a parallax between the menu in the first area and the menu in the second area, and the user receives a picture with parallax and sees a three-dimensional menu, which improves the user's ability to operate the 3D display device. The degree of experience in the process of watching 3D video.
本发明进一步提供一种可以实现菜单立体显示的装置。请参考图4,其为本发明实施例中实现菜单立体显示的显示装置10的模块示意图。在本实施例中,显示装置10可应用于具有可播放3D视频的3D显示设备的电子产品中,如音乐播放器、PAD、平板电脑或液晶显示器等中,以供用户在观看3D视频的过程中同时享受到3D的菜单界面操作。显示装置10包括操作模块100、处理模块200以及显示模块300。The present invention further provides a device capable of realizing three-dimensional display of menus. Please refer to FIG. 4 , which is a block diagram of a
操作模块100用于设置透视投影并在透视投影内设置窗口。如图5所示,在一些实施例中,操作模块100包括透视投影设置单元110及窗口设置单元120。透视投影设置单元110用于设置一个三维空间坐标系,在所述三维空间坐标系内设置透视投影。窗口设置单元120连接至存储模块,用于在透视投影内设置一个窗口,并使窗口的大小与显示设备的显示区域大小相等。在本实施例中,窗口设置于透视投影中是指透视投影的视点设置在窗口的中心轴上,通过视点在窗口的中心轴上的移动,使得透视投影投射到窗口时刚好将窗口覆盖。The
如图6所示,处理模块200用于在窗口中形成大小相等的第一区域和第二区域,在对应该第一区域及该第二区域的三维空间中形成二维菜单,并将该二维菜单透视投影于该第一区域及该第二区域中。在本实施例中,处理模块200包括窗口处理单元210、第一处理单元220及第二处理单元240。窗口处理单元210用于在窗口中形成大小相等的第一区域和第二区域。在本实施例中,第一区域及第二区域的面积大小分别为窗口面积大小的一半,且第一区域及第二区域可沿窗口的水平方向或垂直方向并排设置。第一处理单元220用于在该第一区域的正前方三维空间中绘制二维菜单并将该二维菜单透视投影到第一区域中。在本实施例中,第一处理单元220可根据系统存储区域中所存储的二维菜单的相关信息,如位置信息、图形信息和颜色信息等,将二维菜单绘制于对应第一区域正前方的三维空间中。第二处理单元240用于沿预设方向平移该第一区域的正前方三维空间中的二维菜单至二维菜单位于第二区域正前方的三维空间中,将该平移的二维菜单透视投影到第二区域中,令透视投影到第一区域中的二维菜单与第一区域同一侧之间的距离与透视投影到第二区域中的二维菜单与第二区域同一侧之间的距离不相等。As shown in FIG. 6 , the
在本实施例中,三维空间中的二维菜单平移的方向与构建该三维空间的三维坐标系及窗口所在平面相对应,以图2所示的三维坐标系为例,窗口位于X轴及Y轴方向所形成的平面上且第一区域及第二区域沿X轴方向并排设置,此时,可沿X轴方向平移第一区域正前方的三维空间中的二维菜单至二维菜单位于第二区域正前方的三维空间中,该平移距离与最终所形成的立体菜单所具有的立体显示效果之间具有一定关系。具体而言,假设对应第一区域的三维空间中的二维菜单中上某个点的坐标分别a1(a1_x,a1_y,a1_z),平移后该点的坐标为:a2(a1_x’,a1_y,a1_z),则a1_x 及a1_x’之间的关系满足下列表达式:a1_x’= a1_x + (a1_z – z_ot )*coefficient,也即,二维菜单于三维空间中的平移距离满足以下关系:L=(a_z – z_ot )*coefficient,其中,Coefficient是一个调整系数,可根据系统实际需要而调整,而z_ot则为凹凸平衡点的Z轴坐标值,其中,凹凸平衡点为体现3D图像凹凸效果的,其值可根据所需的3D显示效果而设定。In this embodiment, the translation direction of the two-dimensional menu in the three-dimensional space corresponds to the three-dimensional coordinate system and the plane where the window is located to construct the three-dimensional space. Taking the three-dimensional coordinate system shown in Figure 2 as an example, the window is located on the X axis and the Y axis. On the plane formed by the axis direction and the first area and the second area are arranged side by side along the X-axis direction, at this time, the two-dimensional menu in the three-dimensional space directly in front of the first area can be translated along the X-axis direction to the two-dimensional menu located at the first In the three-dimensional space directly in front of the second area, there is a certain relationship between the translation distance and the three-dimensional display effect of the finally formed three-dimensional menu. Specifically, assuming that the coordinates of a point on the two-dimensional menu in the three-dimensional space corresponding to the first area are a1 (a1_x, a1_y, a1_z), the coordinates of the point after translation are: a2 (a1_x', a1_y, a1_z ), then the relationship between a1_x and a1_x' satisfies the following expression: a1_x'= a1_x + (a1_z – z_ot )*coefficient, that is, the translation distance of the two-dimensional menu in the three-dimensional space satisfies the following relationship: L=(a_z – z_ot )*coefficient, where Coefficient is an adjustment coefficient that can be adjusted according to the actual needs of the system, and z_ot is the Z-axis coordinate value of the concave-convex balance point, where the concave-convex balance point reflects the concave-convex effect of the 3D image, its value It can be set according to the required 3D display effect.
经透视投影后,透视投影到第一区域中的二维菜单与第一区域同一侧之间的距离与透视投影到第二区域中的二维菜单与第二区域同一侧之间的距离不相等。结合图3,以位于第一区域正前方三维空间中的二维菜单投影到第一区域之后形成二维菜单M1,M2及M3,平移至位于第二区域正前方三维空间中的二维菜单投影到第二区域之后形成二维菜单M1’,M2’,M3’为例进行说明,菜单M1、M2及M3与第一区域左边框L1之间的间隔距离分别为S1、S2、S3,菜单M1’与左边框L2间隔的距离为S1’,菜单M2’与左边框L2间隔的距离为S2’,菜单M1’、M2’及M3’与第二区域W2左边框L2间隔的距离分别为S1’、S2’、S3’,则S1≠S1'、S2≠S2' S3≠S3',菜单在第一区域和第二区域上具有视觉差。After perspective projection, the distance between the perspective projected 2D menu in the first area and the same side of the first area is not equal to the distance between the perspective projected 2D menu in the second area and the same side of the second area . Combined with Figure 3, the two-dimensional menus located in the three-dimensional space directly in front of the first area are projected to the first area to form two-dimensional menus M1, M2 and M3, and translated to the projection of the two-dimensional menus in the three-dimensional space directly in front of the second area After entering the second area, two-dimensional menus M1', M2', and M3' are formed as an example for illustration. The distances between menus M1, M2, and M3 and the left border L1 of the first area are respectively S1, S2, and S3. Menu M1 The distance between 'and the left frame L2 is S1', the distance between the menu M2' and the left frame L2 is S2', the distances between the menus M1', M2' and M3' and the left frame L2 of the second area W2 are respectively S1' , S2', S3', then S1≠S1', S2≠S2' S3≠S3', the menu has a visual difference between the first area and the second area.
显示模块300用于对该第一区域及该第二区域中的二维菜单进行3D图像处理并输出3D菜单。在本实施例中,显示模块300对形成于该第一区域及该第二区域中的二维菜单进行3D图像处理,交替输出3D图像处理后的二维菜单以形成3D菜单。该交替时间间隔以大脑连续接受两幅具有视差的画面后无法识别出两幅画面而产生错觉形成均有景深的间隔长度为准。如此,使用户可通过快门式3D眼镜等接收装置使人眼可以在显示单元的相应位置识别出具有立体特征的菜单界面。The
本发明所提供的显示装置10,通过在三维空间中绘制二维菜单,将二维菜单透视投影至第一区域中,并在三维空间中平移二维菜单以使二维菜单可透视投影至第二区域中,且透视投影到第一区域中的二维菜单与第一区域同一侧之间的距离与透视投影到第二区域中的二维菜单与第二区域同一侧之间的距离不相等,如此,对于用户来说,则第一区域中的菜单和第二区域中的菜单之间具有视差,用户接收具有视差的画面而看到立体的菜单,提高了用户在操作3D显示设备观看3D视频的过程中的体验度。The
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related All technical fields are equally included in the scope of patent protection of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2012105050614A CN102970498A (en) | 2012-11-30 | 2012-11-30 | Display method and display device for three-dimensional menu display |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2012105050614A CN102970498A (en) | 2012-11-30 | 2012-11-30 | Display method and display device for three-dimensional menu display |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102970498A true CN102970498A (en) | 2013-03-13 |
Family
ID=47800351
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2012105050614A Pending CN102970498A (en) | 2012-11-30 | 2012-11-30 | Display method and display device for three-dimensional menu display |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102970498A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104469338A (en) * | 2013-09-25 | 2015-03-25 | 联想(北京)有限公司 | Control method and device |
| CN110197524A (en) * | 2019-06-12 | 2019-09-03 | 腾讯科技(深圳)有限公司 | Stereo display method, unit and computer readable storage medium |
| CN111246012A (en) * | 2020-01-06 | 2020-06-05 | 北京小米移动软件有限公司 | Application interface display method, device and storage medium |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1229224A (en) * | 1998-03-16 | 1999-09-22 | 贺守毅 | Computer perspective three-D animation and computer perspective spray-drawing |
| CN1274439A (en) * | 1997-08-12 | 2000-11-22 | 松下电器产业株式会社 | window display device |
| CN1678048A (en) * | 2004-03-29 | 2005-10-05 | 精工爱普生株式会社 | Image processing system, projector and image processing method |
| US20080309669A1 (en) * | 2007-06-18 | 2008-12-18 | Samsung Electronics Co., Ltd. | Method and apparatus for generating elemental image in integral imaging |
| CN102172031A (en) * | 2008-09-30 | 2011-08-31 | 富士胶片株式会社 | Three-dimensional display device, three-dimensional display method, and program |
| US20110271235A1 (en) * | 2010-05-03 | 2011-11-03 | Thomson Licensing | Method for displaying a setting menu and corresponding device |
| CN102469319A (en) * | 2010-11-10 | 2012-05-23 | 康佳集团股份有限公司 | Three-dimensional menu generation method and three-dimensional display device |
-
2012
- 2012-11-30 CN CN2012105050614A patent/CN102970498A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1274439A (en) * | 1997-08-12 | 2000-11-22 | 松下电器产业株式会社 | window display device |
| CN1229224A (en) * | 1998-03-16 | 1999-09-22 | 贺守毅 | Computer perspective three-D animation and computer perspective spray-drawing |
| CN1678048A (en) * | 2004-03-29 | 2005-10-05 | 精工爱普生株式会社 | Image processing system, projector and image processing method |
| US20080309669A1 (en) * | 2007-06-18 | 2008-12-18 | Samsung Electronics Co., Ltd. | Method and apparatus for generating elemental image in integral imaging |
| CN102172031A (en) * | 2008-09-30 | 2011-08-31 | 富士胶片株式会社 | Three-dimensional display device, three-dimensional display method, and program |
| US20110271235A1 (en) * | 2010-05-03 | 2011-11-03 | Thomson Licensing | Method for displaying a setting menu and corresponding device |
| CN102469319A (en) * | 2010-11-10 | 2012-05-23 | 康佳集团股份有限公司 | Three-dimensional menu generation method and three-dimensional display device |
Non-Patent Citations (1)
| Title |
|---|
| LIANG ZHANG,WA JAMES TAM: "Stereoscopic image generation based on depth images", 《IEEE TRANSACTIONS ON BROADCASTING》 * |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104469338A (en) * | 2013-09-25 | 2015-03-25 | 联想(北京)有限公司 | Control method and device |
| CN110197524A (en) * | 2019-06-12 | 2019-09-03 | 腾讯科技(深圳)有限公司 | Stereo display method, unit and computer readable storage medium |
| CN110197524B (en) * | 2019-06-12 | 2023-08-22 | 腾讯科技(深圳)有限公司 | Stereoscopic display method, device, device and computer-readable storage medium |
| CN111246012A (en) * | 2020-01-06 | 2020-06-05 | 北京小米移动软件有限公司 | Application interface display method, device and storage medium |
| US11209665B2 (en) | 2020-01-06 | 2021-12-28 | Beijing Xiaomi Mobile Software Co., Ltd. | Application interface display method and apparatus, and storage medium |
| CN111246012B (en) * | 2020-01-06 | 2022-09-16 | 北京小米移动软件有限公司 | Application interface display method and device and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101909219B (en) | Stereoscopic display method and tracking stereoscopic display | |
| US9684994B2 (en) | Modifying perspective of stereoscopic images based on changes in user viewpoint | |
| US10506223B2 (en) | Method, apparatus, and device for realizing virtual stereoscopic scene | |
| TWI523488B (en) | A method of processing parallax information comprised in a signal | |
| US11659158B1 (en) | Frustum change in projection stereo rendering | |
| US7907167B2 (en) | Three dimensional horizontal perspective workstation | |
| CN111670465A (en) | Displaying modified stereoscopic content | |
| US9848184B2 (en) | Stereoscopic display system using light field type data | |
| US20140306954A1 (en) | Image display apparatus and method for displaying image | |
| CN112929651B (en) | Display method, device, electronic device and storage medium | |
| CN101742348A (en) | Rendering method and system | |
| CN103236074A (en) | Method and device for processing 2D (two-dimensional) /3D images | |
| CN102005062A (en) | Method and device for producing three-dimensional image for three-dimensional stereo display | |
| JP6963399B2 (en) | Program, recording medium, image generator, image generation method | |
| CN108076208B (en) | Display processing method and device and terminal | |
| CN111630848B (en) | Image processing device, image processing method, program and projection system | |
| CN102063735B (en) | Method and device for manufacturing three-dimensional image source by changing viewpoint angles | |
| JP2008522270A (en) | System and method for composite view display of single 3D rendering | |
| CN102970498A (en) | Display method and display device for three-dimensional menu display | |
| WO2010098159A1 (en) | Stereoscopic display device | |
| Jeong et al. | Efficient light-field rendering using depth maps for 100-mpixel multi-projection 3D display | |
| Delaney | Forget the funny glasses [autostereoscopic display systems] | |
| Zhang et al. | Integration of real-time 3D image acquisition and multiview 3D display | |
| Madeira et al. | Virtual Table--Teleporter: Image Processing and Rendering for Horizontal Stereoscopic Display | |
| TW201325202A (en) | Three-dimension image processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130313 |
