CN112399168A - Multi-view image generation method, storage medium, and display device - Google Patents
Multi-view image generation method, storage medium, and display device Download PDFInfo
- Publication number
- CN112399168A CN112399168A CN202011287892.XA CN202011287892A CN112399168A CN 112399168 A CN112399168 A CN 112399168A CN 202011287892 A CN202011287892 A CN 202011287892A CN 112399168 A CN112399168 A CN 112399168A
- Authority
- CN
- China
- Prior art keywords
- sub
- pixel
- viewpoints
- viewpoint
- pixels
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/30—Image reproducers
- H04N13/302—Image reproducers for viewing without the aid of special glasses, i.e. using autostereoscopic displays
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B30/00—Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images
- G02B30/20—Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images by providing first and second parallax images to an observer's left and right eyes
- G02B30/26—Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images by providing first and second parallax images to an observer's left and right eyes of the autostereoscopic type
- G02B30/27—Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images by providing first and second parallax images to an observer's left and right eyes of the autostereoscopic type involving lenticular arrays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/282—Image signal generators for generating image signals corresponding to three or more geometrical viewpoints, e.g. multi-view systems
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
一种多视点图像生成方法、存储介质和显示装置,所述多视点图像生成方法包括:根据总视点数和光栅单元在第一方向覆盖的子像素数量确定第一方向上单个子像素包含的视点数;根据所述子像素在第一方向的第一长度和在第二方向的第二长度、所述分像装置与所述显示面板的贴合角度、所述第一方向上单个子像素包含的视点数确定第二方向上单个子像素包含的视点数;根据所述第一方向上单个子像素包含的视点数和第二方向上单个子像素包含的视点数确定所述子像素所属视点;根据所述子像素所属视点的图像确定所述子像素的灰阶值。本实施例提供的方案,实现了多视点三维图像的生成。
A method for generating a multi-viewpoint image, a storage medium and a display device, the method for generating a multi-viewpoint image comprises: determining a viewpoint included in a single subpixel in a first direction according to the total number of viewpoints and the number of subpixels covered by a grating unit in a first direction according to the first length of the sub-pixel in the first direction and the second length in the second direction, the bonding angle between the image splitting device and the display panel, and a single sub-pixel in the first direction contains The number of viewpoints in the second direction determines the number of viewpoints contained in a single subpixel; the viewpoints to which the subpixel belongs are determined according to the number of viewpoints contained in a single subpixel in the first direction and the number of viewpoints contained in a single subpixel in the second direction; The grayscale value of the sub-pixel is determined according to the image of the viewpoint to which the sub-pixel belongs. The solution provided by this embodiment realizes the generation of multi-view three-dimensional images.
Description
技术领域technical field
本公开实施例涉及但不限于显示技术,尤指一种多视点图像生成方法、存储介质、显示装置。The embodiments of the present disclosure relate to, but are not limited to, display technologies, and more particularly, to a method for generating a multi-viewpoint image, a storage medium, and a display device.
背景技术Background technique
裸眼三维(3D)显示设备包括显示面板和分像装置,显示面板通常包括液晶显示(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等显示器,分像装置包括狭缝光栅或柱状透镜光栅等。显示面板包含多个像素,一般每个像素包括三种颜色的子像素RGB。分像装置包含多个平行排列的分像单元,将分像装置按一定角度贴合在显示面板前,可以将不同位置的子像素分光到空间的不同位置,这样将多视点图像根据分像装置的分光特性进行排列渲染后在显示面板上显示,经过分像装置后可使人的双眼看到不同视点的图像,进而经过大脑处理使人感受到立体感。The naked-eye three-dimensional (3D) display device includes a display panel and an image splitting device. The display panel usually includes a liquid crystal display (LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED) and other displays, and the image splitting device includes a slit. grating or lenticular lens grating etc. The display panel includes a plurality of pixels, and each pixel generally includes sub-pixels RGB of three colors. The image splitting device includes a plurality of image splitting units arranged in parallel. The image splitting device is attached to the front of the display panel at a certain angle, and the sub-pixels at different positions can be split to different positions in the space, so that the multi-viewpoint image can be divided according to the image splitting device. The spectroscopic characteristics are arranged and rendered and displayed on the display panel. After the splitting device, people's eyes can see images from different viewpoints, and then they can be processed by the brain to make people feel three-dimensional.
发明内容SUMMARY OF THE INVENTION
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this article. This summary is not intended to limit the scope of protection of the claims.
本公开实施例提供了一种多视点图像生成方法、存储介质和显示装置,实现多视点三维显示。Embodiments of the present disclosure provide a multi-viewpoint image generation method, a storage medium, and a display device to realize multi-viewpoint three-dimensional display.
一方面,本公开实施例提供了一种多视点图像生成方法,应用于包括显示面板和分像装置的显示设备,所述显示面板包括阵列分布的多个像素,所述像素包括多个子像素,所述分像装置包括多个彼此平行的光栅单元,所述方法包括:In one aspect, an embodiment of the present disclosure provides a method for generating a multi-viewpoint image, which is applied to a display device including a display panel and an image splitting device, where the display panel includes a plurality of pixels distributed in an array, and the pixels include a plurality of sub-pixels, The image splitting device includes a plurality of grating units parallel to each other, and the method includes:
确定所述光栅单元在第一方向覆盖的子像素数量,根据总视点数和所述光栅单元在第一方向覆盖的子像素数量确定第一方向上单个子像素包含的视点数;所述第一方向为像素行方向,即同一像素中子像素的排列方向;determining the number of sub-pixels covered by the grating unit in the first direction, and determining the number of viewpoints contained in a single sub-pixel in the first direction according to the total number of viewpoints and the number of sub-pixels covered by the grating unit in the first direction; the first The direction is the pixel row direction, that is, the arrangement direction of sub-pixels in the same pixel;
根据所述子像素在第一方向的第一长度和在第二方向的第二长度、所述分像装置与所述显示面板的贴合角度、所述第一方向上单个子像素包含的视点数确定第二方向上单个子像素包含的视点数,所述第二方向为像素列方向;According to the first length of the sub-pixel in the first direction and the second length in the second direction, the bonding angle between the image splitting device and the display panel, and the viewpoint included in a single sub-pixel in the first direction The number determines the number of viewpoints contained in a single sub-pixel in a second direction, where the second direction is the pixel column direction;
根据所述第一方向上单个子像素包含的视点数和第二方向上单个子像素包含的视点数确定所述子像素所属视点;Determine the viewpoint to which the sub-pixel belongs according to the number of viewpoints included in a single sub-pixel in the first direction and the number of viewpoints included in a single sub-pixel in the second direction;
根据所述子像素所属视点的图像确定所述子像素的灰阶值。The grayscale value of the sub-pixel is determined according to the image of the viewpoint to which the sub-pixel belongs.
在一示例性实施例中,所述确定所述光栅单元在第一方向覆盖的子像素数量包括:In an exemplary embodiment, the determining the number of sub-pixels covered by the grating unit in the first direction includes:
所述光栅单元在第一方向覆盖的子像素数量 The number of sub-pixels covered by the grating unit in the first direction
所述P为所述光栅单元的宽度,所述Sw为所述子像素沿第一方向的长度,所述θ∈(-90°,90°),所述θ为所述分像装置与所述显示面板的贴合角度,即在平行于所述显示面板的平面上,所述光栅单元的正投影的延伸方向与所述第二方向的夹角,根据所述光栅单元的正投影的延伸方向到所述第二方向的方位确定所述θ的正负。The P is the width of the grating unit, the S w is the length of the sub-pixel along the first direction, the θ∈(-90°, 90°), and the θ is the image separation device and the The attachment angle of the display panel, that is, on the plane parallel to the display panel, the angle between the extension direction of the orthographic projection of the grating unit and the second direction, according to the orthographic projection of the grating unit. The orientation of the extending direction to the second direction determines the sign of the θ.
在一示例性实施例中,所述根据总视点数和所述光栅单元在第一方向覆盖的子像素数量确定第一方向上单个子像素包含的视点数包括:In an exemplary embodiment, the determining the number of viewpoints included in a single sub-pixel in the first direction according to the total number of viewpoints and the number of sub-pixels covered by the grating unit in the first direction includes:
第一方向上单个子像素包含的视点数 The number of viewpoints contained in a single subpixel in the first direction
所述V为总视点数,Px为所述光栅单元在第一方向覆盖的子像素数量。The V is the total number of viewpoints, and P x is the number of sub-pixels covered by the grating unit in the first direction.
在一示例性实施例中,所述根据所述子像素在第一方向的第一长度和在第二方向的第二长度、所述分像装置与所述显示面板的贴合角度、所述第一方向上单个子像素包含的视点数确定第二方向上单个子像素包含的视点数包括:In an exemplary embodiment, according to the first length of the sub-pixel in the first direction and the second length in the second direction, the attachment angle of the image splitting device and the display panel, the The number of viewpoints contained in a single sub-pixel in the first direction determines the number of viewpoints contained in a single sub-pixel in the second direction, including:
根据所述子像素在第一方向的第一长度和在第二方向的第二长度、所述分像装置与所述显示面板的贴合角度确定一偏移值;根据所述第一方向上单个子像素包含的视点数和所述偏移值确定第二方向上单个子像素包含的视点数;其中,An offset value is determined according to the first length of the sub-pixel in the first direction and the second length in the second direction, and the attachment angle between the image splitting device and the display panel; The number of viewpoints contained in a single sub-pixel and the offset value determine the number of viewpoints contained in a single sub-pixel in the second direction; wherein,
所述偏移值 the offset value
其中,所述Sw为所述子像素在第一方向的第一长度,所述Sh为所述子像素在第二方向的第二长度,θ为所述分像装置与所述显示面板的贴合角度,即在平行于所述显示面板的平面上,所述光栅单元的正投影的延伸方向与所述第二方向的夹角,根据所述光栅单元的正投影的延伸方向到所述第二方向的方位确定所述θ的正负。The S w is the first length of the sub-pixel in the first direction, the Sh is the second length of the sub-pixel in the second direction, and θ is the image splitting device and the display panel The bonding angle, that is, on the plane parallel to the display panel, the angle between the extending direction of the orthographic projection of the grating unit and the second direction, according to the extending direction of the orthographic projection of the grating unit to the The orientation of the second direction determines the positive or negative of the θ.
在一示例性实施例中,所述根据所述第一方向上单个子像素包含的视点数和所述偏移值确定第二方向上单个子像素包含的视点数包括:In an exemplary embodiment, the determining the number of viewpoints included in a single subpixel in the second direction according to the number of viewpoints included in a single subpixel in the first direction and the offset value includes:
第二方向上单个子像素包含的视点数Vy=Vx*Shiftx The number of viewpoints included in a single sub-pixel in the second direction V y =V x *Shift x
其中,Vx为所述第一方向上单个子像素包含的视点数,Shiftx为所述偏移值。Wherein, V x is the number of viewpoints included in a single sub-pixel in the first direction, and Shift x is the offset value.
在一示例性实施例中,所述根据所述第一方向上单个子像素包含的视点数和第二方向上单个子像素包含的视点数确定所述子像素所属视点包括:In an exemplary embodiment, the determining the viewpoint to which the sub-pixel belongs according to the number of viewpoints included in a single sub-pixel in the first direction and the number of viewpoints included in a single sub-pixel in the second direction includes:
Vi,1=(Vfirst-(i-1)*Vy)modV,如果Vi,1=0,则Vi,1=V,i∈[1,M]Vi ,1 =(V first -(i-1)*V y )modV, if Vi ,1 =0, then Vi ,1 =V,i∈[1,M]
Vi,j=(Vi,1+(j-1)*Vx)modV,如果Vi,j=0,则Vi,j=V,j∈[1,N]V i,j =(V i,1 +(j-1)*V x )modV, if V i,j =0, then V i,j =V,j∈[1,N]
其中,V为总视点数,Vi,j为第i行第j列的子像素所属的视点,Vfirst为第1行第1列的子像素所属的视点,所述M为子像素的行数,所述N为子像素的列数,Vx为第一方向上单个子像素包含的视点数,Vy为第二方向上单个子像素包含的视点数。Among them, V is the total number of viewpoints, V i,j is the viewpoint to which the sub-pixel in the i-th row and the j-th column belongs, V first is the viewpoint to which the sub-pixel in the first row and the first column belongs, and M is the row of the sub-pixel where N is the number of columns of sub-pixels, V x is the number of viewpoints included in a single sub-pixel in the first direction, and V y is the number of viewpoints included in a single sub-pixel in the second direction.
在一示例性实施例中,所述根据所述子像素所属视点的图像确定所述子像素的灰阶值包括:In an exemplary embodiment, the determining the gray-scale value of the sub-pixel according to the image of the viewpoint to which the sub-pixel belongs includes:
确定所述子像素的位置,将所述子像素所属视点的图像中相应位置的灰阶值作为所述子像素的灰阶值。The position of the sub-pixel is determined, and the gray-scale value of the corresponding position in the image of the viewpoint to which the sub-pixel belongs is used as the gray-scale value of the sub-pixel.
在一示例性实施例中,根据所述第一方向上单个子像素包含的视点数和第二方向上单个子像素包含的视点数确定所述子像素所属视点之后,根据所述子像素所属视点的图像确定所述子像素的灰阶值之前,还包括:In an exemplary embodiment, after the viewpoint to which the sub-pixel belongs is determined according to the number of viewpoints contained in a single sub-pixel in the first direction and the number of viewpoints contained in a single sub-pixel in the second direction, the viewpoint to which the sub-pixel belongs is determined according to the number of viewpoints to which the sub-pixel belongs. Before determining the grayscale value of the sub-pixel, the image further includes:
将部分子像素所属视点进行替换,且不同子像素所属视点相同时,使用相同的视点进行替换,使得替换后,左眼视点和右眼视点的第一视差,与未进行替换时,第一方向上相邻子像素所属视点的第二视差的比值满足预设条件。The viewpoints to which some sub-pixels belong are replaced, and when the viewpoints to which different sub-pixels belong are the same, the same viewpoints are used for replacement, so that after the replacement, the first parallax of the left-eye viewpoint and the right-eye viewpoint is different from that when no replacement is performed. The ratio of the second disparity of the viewpoints to which the upwardly adjacent sub-pixels belong satisfies a preset condition.
在一示例性实施例中,所述满足预设条件包括:所述第一视差与第二视差的比值位于[-1,1]。In an exemplary embodiment, the satisfying the preset condition includes: the ratio of the first parallax to the second parallax is located at [-1, 1].
在一示例性实施例中,将部分子像素所属视点进行替换包括:In an exemplary embodiment, replacing the viewpoints to which some sub-pixels belong includes:
所述视点包括沿第一方向依次分布的视点1至视点V,当所述子像素所属视点k位于视点K至视点V范围时,将视点k替换为视点S-k,所述S-k小于等于V且大于等于1,所述K为预设值。The viewpoints include viewpoints 1 to V distributed in sequence along the first direction. When viewpoint k to which the sub-pixel belongs is located in the range from viewpoint K to viewpoint V, viewpoint k is replaced by viewpoint S-k, which is less than or equal to V and greater than or equal to V. equal to 1, the K is a preset value.
另一方面,本公开实施例提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述多视点图像生成方法。On the other hand, an embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to execute the above-mentioned method for generating a multi-viewpoint image.
再一方面,本公开实施例提供一种显示装置,包括处理器以及存储有可在处理器上运行的计算机程序的存储器,其中,所述处理器执行所述程序时实现上述多视点图像生成方法的步骤。In yet another aspect, an embodiment of the present disclosure provides a display device, including a processor and a memory storing a computer program that can be executed on the processor, wherein the processor implements the above-mentioned method for generating a multi-view image when the program is executed. A step of.
本公开实施例提供所述多视点图像生成方法、存储介质和显示装置,多视点图像生成方法包括:根据总视点数和光栅单元在第一方向覆盖的子像素数量确定第一方向上单个子像素包含的视点数;根据所述子像素在第一方向的第一长度和在第二方向的第二长度、所述分像装置与所述显示面板的贴合角度、所述第一方向上单个子像素包含的视点数确定第二方向上单个子像素包含的视点数;根据所述第一方向上单个子像素包含的视点数和第二方向上单个子像素包含的视点数确定所述子像素所属视点;根据所述子像素所属视点的图像确定所述子像素的灰阶值。本实施例提供的方案,实现了多视点三维图像的生成。Embodiments of the present disclosure provide the multi-viewpoint image generation method, storage medium, and display device. The multi-viewpoint image generation method includes: determining a single subpixel in the first direction according to the total number of viewpoints and the number of subpixels covered by the grating unit in the first direction The number of viewpoints included; according to the first length of the sub-pixel in the first direction and the second length in the second direction, the attachment angle of the image splitting device and the display panel, the single The number of viewpoints contained in a sub-pixel determines the number of viewpoints contained in a single sub-pixel in the second direction; the sub-pixel is determined according to the number of viewpoints contained in a single sub-pixel in the first direction and the number of viewpoints contained in a single sub-pixel in the second direction The viewpoint to which the sub-pixel belongs; the gray-scale value of the sub-pixel is determined according to the image of the viewpoint to which the sub-pixel belongs. The solution provided by this embodiment realizes the generation of multi-view three-dimensional images.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the description and drawings.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will become apparent upon reading and understanding of the drawings and detailed description.
附图说明Description of drawings
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solutions of the present invention, and constitute a part of the specification. They are used to explain the technical solutions of the present invention together with the embodiments of the present application, and do not limit the technical solutions of the present invention.
图1为一实施例提供的三维显示示意图;1 is a schematic diagram of a three-dimensional display provided by an embodiment;
图2为本公开实施例提供的显示设备示意图;FIG. 2 is a schematic diagram of a display device provided by an embodiment of the present disclosure;
图3为一实施例提供的显示面板示意图;3 is a schematic diagram of a display panel provided by an embodiment;
图4为一实施例提供的分像装置和显示面板示意图;4 is a schematic diagram of an image splitting device and a display panel provided by an embodiment;
图5为一实施例提供的多视点图像生成方法流程图;5 is a flowchart of a method for generating a multi-viewpoint image provided by an embodiment;
图6为一实施例提供的子像素所属视点示意图;6 is a schematic diagram of a viewpoint to which a sub-pixel belongs according to an embodiment;
图7为一实施例提供的子像素所属视点替换后的示意图;FIG. 7 is a schematic diagram after the viewpoints to which sub-pixels belong according to an embodiment are replaced;
图8为一实施例提供的显示装置示意图。FIG. 8 is a schematic diagram of a display device according to an embodiment.
具体实施方式Detailed ways
下文中将结合附图对本发明的实施例进行详细说明。在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Hereinafter, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. The embodiments in the present application and the features in the embodiments may be arbitrarily combined with each other if there is no conflict.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.
除非另外定义,本公开使用的技术术语或者科学术语应当为本发明所属领域内具有一般技能的人士所理解的通常意义。Unless otherwise defined, technical or scientific terms used in this disclosure should have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs.
在附图中,有时为了明确起见,夸大表示了各构成要素的大小、层的厚度或区域。因此,本公开的实施方式并不一定限定于该尺寸,附图中各部件的形状和大小不反映真实比例。此外,附图示意性地示出了理想的例子,本公开的实施方式不局限于附图所示的形状或数值。In the drawings, the size of each constituent element, the thickness of a layer, or a region are sometimes exaggerated for clarity. Therefore, embodiments of the present disclosure are not necessarily limited to this size, and the shapes and sizes of components in the drawings do not reflect true scale. Further, the drawings schematically show ideal examples, and embodiments of the present disclosure are not limited to the shapes or numerical values shown in the drawings.
本公开中的“第一”、“第二”、“第三”等序数词是为了避免构成要素的混同而设置,并不表示任何顺序、数量或者重要性。In the present disclosure, ordinal numbers such as "first", "second" and "third" are set to avoid confusion of constituent elements, and do not indicate any order, quantity or importance.
在本公开中,为了方便起见,使用“中部”、“上”、“下”、“前”、“后”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示方位或位置关系的词句以参照附图说明构成要素的位置关系,仅是为了便于描述本说明书和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本公开的限制。构成要素的位置关系根据描述各构成要素的方向适当地改变。因此,不局限于在公开中说明的词句,根据情况可以适当地更换。In the present disclosure, "middle", "upper", "lower", "front", "rear", "vertical", "horizontal", "top", "bottom", "inside" are used for convenience , "outside" and other words indicating orientation or positional relationship are used to describe the positional relationship of constituent elements with reference to the drawings, which are only for the convenience of describing this specification and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation. , are constructed and operated in a particular orientation and are therefore not to be construed as limitations of the present disclosure. The positional relationship of the constituent elements is appropriately changed according to the direction in which each constituent element is described. Therefore, it is not limited to the words and phrases described in the disclosure, and can be appropriately replaced according to the situation.
在本公开中,“平行”是指两条直线形成的角度为-10°以上且10°以下的状态,因此,也包括该角度为-5°以上且5°以下的状态。另外,“垂直”是指两条直线形成的角度为80°以上且100°以下的状态,因此,也包括85°以上且95°以下的角度的状态。In the present disclosure, "parallel" refers to a state where the angle formed by two straight lines is -10° or more and 10° or less, and therefore, also includes a state where the angle is -5° or more and 5° or less. In addition, "perpendicular" refers to the state where the angle formed by two straight lines is 80° or more and 100° or less, and therefore includes the state where the angle is 85° or more and 95° or less.
如图1所示为柱状透镜裸眼3D显示原理,显示面板上不同位置的像素经过柱状透镜的折射分光,光线路径发生变化从而在空间中形成不同的视区,当人的双眼位于正确的视区中(即左眼接收到左视点图像的同时右眼也接收右视点图像)就能感受到立体感。As shown in Figure 1, the naked eye 3D display principle of the lenticular lens is shown. The pixels at different positions on the display panel are refracted and split by the lenticular lens, and the light path changes to form different viewing areas in space. When the human eyes are in the correct viewing area In the middle (that is, when the left eye receives the left viewpoint image and the right eye also receives the right viewpoint image), the stereoscopic effect can be felt.
本公开实施例中,提供一种多视点图像生成方法(或称排图方法),能够根据显示面板及分像装置的相关参数、以及所需要显示的视点个数将多视点内容进行融合,使得能够准确显示立体图像。In the embodiment of the present disclosure, a method for generating a multi-viewpoint image (or a method for arranging images) is provided, which can fuse the multi-viewpoint content according to the relevant parameters of the display panel and the image splitting device, and the number of viewpoints to be displayed, so that the Stereoscopic images can be displayed accurately.
图2为一示例性实施例提供的显示设备示意图。如图2所示,所述显示设备包括显示面板10和分像装置20,所述分像装置20包括多个彼此平行的光栅单元21,所述光栅单元21的宽度为P。光栅单元21的延伸方向Q与显示面板的中像素列方向(图中Y方向)存在一角度θ,即分像装置20以角度θ贴合到显示面板10表面。显示面板10包括多个像素,且像素位于光栅单元21的焦平面上。本实施例中,示出了柱状透镜光栅作为分像装置20。但本公开实施例不限于此,可以是其他光栅,。FIG. 2 is a schematic diagram of a display device provided by an exemplary embodiment. As shown in FIG. 2 , the display device includes a
如图3所示,所述显示面板10包括阵列分布的多个像素11,所述像素11包括多个子像素12,比如,可以是红色子像素R、绿色子像素G和蓝色子像素B,但本公开实施例不限于此,可以是其他颜色子像素,或者,可以是超过3个子像素,如4个子像素。同一像素11中的子像素12沿第一方向X分布,也称像素行方向,第二方向Y也称像素列方向,第一方向X和第二方向Y可以垂直。所述子像素12沿第一方向X的长度为Sw(也称为子像素宽度),所述子像素12沿第二方向Y的长度为Sh(也称为子像素高度)。As shown in FIG. 3 , the
如图4所示,所述分像装置20以角度θ贴合到显示面板10表面,所述θ∈(-90°,90°),所述角度θ即在平行于所述显示面板10的平面上,所述光栅单元21的正投影的延伸方向Q与所述第二方向Y的夹角,根据所述光栅单元21的正投影的延伸方向Q到所述第二方向Y的方位确定所述θ的正负,当Q到P为顺时针方向时,θ为正,如图4中所示的θ为正,当Q到P为逆时针方向时,θ为负。As shown in FIG. 4 , the
由于不同3D显示设备的设计参数不同,可以根据与3D显示设备相匹配的参数确定多视点图像,从而兼容性强,能够满足较多的应用场景,而对于相同设计参数的器件这些参数只需配置一次即可,所述参数可以如表1所示。Since the design parameters of different 3D display devices are different, the multi-view image can be determined according to the parameters matching the 3D display device, so that the compatibility is strong and can meet more application scenarios. For devices with the same design parameters, these parameters only need to be configured. One time is enough, and the parameters can be as shown in Table 1.
表1显示面板及分像装置参数Table 1 Display panel and image splitting device parameters
图5为一示例性实施例提供的多视点图像生成方法流程图。如图5所示,本实施例提供的多视点图像生成方法应用于上述显示设备,包括:FIG. 5 is a flowchart of a method for generating a multi-view image provided by an exemplary embodiment. As shown in FIG. 5 , the method for generating a multi-viewpoint image provided in this embodiment is applied to the above-mentioned display device, including:
步骤501,确定所述光栅单元21在第一方向X覆盖的子像素数量Px,根据总视点数V和所述光栅单元21在第一方向覆盖的子像素数量Px确定第一方向X上单个子像素包含的视点数Vx;所述第一方向X为像素行方向,即同一像素中子像素的排列方向;Step 501: Determine the number of sub-pixels P x covered by the
步骤502,根据所述子像素在第一方向X的第一长度Sw和在第二方向Y的第二长度Sh、所述分像装置20与所述显示面板10的贴合角度θ、所述第一方向X上单个子像素包含的视点数Vx确定第二方向Y上单个子像素包含的视点数Vy;所述第二方向Y为像素列方向;
步骤503,根据所述第一方向X上单个子像素包含的视点数Vx和第二方向Y上单个子像素包含的视点数Vy确定所述子像素所属视点;Step 503: Determine the viewpoint to which the sub-pixel belongs according to the viewpoint number V x included in a single sub-pixel in the first direction X and the viewpoint number V y included in a single sub-pixel in the second direction Y;
步骤504,根据所述子像素所属视点的图像确定所述子像素的灰阶值。Step 504: Determine the grayscale value of the sub-pixel according to the image of the viewpoint to which the sub-pixel belongs.
本实施例提供的方案,能够根据显示面板及分像装置的相关参数、以及所需要显示的视点个数确定子像素所属视点,能够准确显示立体图像,带来连续的3D效果,且兼容性强,能适用多种设备。The solution provided by this embodiment can determine the viewpoint to which the sub-pixel belongs according to the relevant parameters of the display panel and the image splitting device, and the number of viewpoints to be displayed, can accurately display stereoscopic images, bring continuous 3D effects, and has strong compatibility , can be applied to a variety of equipment.
在一示例性实施例中,所述视点的图像可以使用成像装置进行拍摄获得;或者,拍摄部分视点的图像后,根据已有视点的图像生成其他视点的图像。In an exemplary embodiment, the images of the viewpoints may be obtained by using an imaging device to capture; or, after capturing images of some viewpoints, images of other viewpoints are generated according to the images of existing viewpoints.
在一示例性实施例中,所述确定所述光栅单元21在第一方向X覆盖的子像素数量Px包括:In an exemplary embodiment, the determining the number P x of sub-pixels covered by the
所述P为所述光栅单元的宽度,所述Sw为所述子像素沿第一方向X的长度,所述θ∈(-90°,90°),所述θ为所述分像装置与所述显示面板的贴合角度,即在平行于所述显示面板的平面上,所述光栅单元21的正投影的延伸方向与所述第二方向Y的夹角,根据所述光栅单元的正投影的延伸方向Q到所述第二方向Y的方位确定所述θ的正负。The P is the width of the grating unit, the S w is the length of the sub-pixel along the first direction X, the θ∈(-90°, 90°), and the θ is the image splitting device The bonding angle with the display panel, that is, on the plane parallel to the display panel, the angle between the extension direction of the orthographic projection of the
在一示例性实施例中,所述根据总视点数V和所述光栅单元在第一方向覆盖的子像素数量Px确定第一方向上单个子像素包含的视点数Vx包括:In an exemplary embodiment, the determining the number of viewpoints Vx included in a single subpixel in the first direction according to the total number of viewpoints V and the number of subpixels Px covered by the grating unit in the first direction includes:
第一方向上单个子像素包含的视点数 The number of viewpoints contained in a single subpixel in the first direction
在光栅单元21内不同位置的子像素经过分像后具有不同的方向,每个光栅单元都以θ角度平行覆盖在显示面板上,故在不同光栅单元21的相同位置的子像素具有相同的视点方向,当输入的视点个数为V,光栅单元21在第一方向覆盖的子像素数量Px,则第一方向X上单个子像素所包含的视点个数Vx(也可理解为水平方向相邻子像素的视点数相差Vx)为 The sub-pixels at different positions in the
在一示例性实施例中,根据所述子像素在第一方向X的第一长度Sw和在第二方向Y的第二长度Sh、所述分像装置20与所述显示面板10的贴合角度θ、所述第一方向X上单个子像素包含的视点数Vx确定第二方向Y上单个子像素包含的视点数Vy包括:In an exemplary embodiment, according to the first length Sw of the sub-pixels in the first direction X and the second length Sh in the second direction Y, the relationship between the
根据所述子像素在第一方向X的第一长度Sw和在第二方向Y的第二长度Sh、所述分像装置20与所述显示面板10的贴合角度θ确定一偏移值Shiftx,Shiftx也可称为相邻行子像素偏移个数;An offset is determined according to the first length Sw of the sub-pixels in the first direction X and the second length Sh in the second direction Y, and the attachment angle θ of the
根据所述第一方向X上单个子像素包含的视点数Vx和所述偏移值确定第二方向Y上单个子像素包含的视点数。The number of viewpoints contained in a single sub-pixel in the second direction Y is determined according to the number of viewpoints V x contained in a single sub-pixel in the first direction X and the offset value.
在一示例性实施例中,根据所述子像素在第一方向X的第一长度Sw和在第二方向Y的第二长度Sh、所述分像装置与所述显示面板的贴合角度θ确定一偏移值可以包括:In an exemplary embodiment, according to the first length Sw of the sub-pixels in the first direction X and the second length Sh in the second direction Y, the bonding of the image splitting device and the display panel. Determining an offset value for the angle θ may include:
所述偏移值 the offset value
在一示例性实施例中,所述根据所述第一方向X上单个子像素包含的视点数Vx和所述偏移值确定第二方向Y上单个子像素包含的视点数包括:In an exemplary embodiment, the determining the number of viewpoints contained in a single subpixel in the second direction Y according to the number of viewpoints Vx contained in a single subpixel in the first direction X and the offset value includes:
第二方向上单个子像素包含的视点数Vy=Vx*Shiftx The number of viewpoints included in a single sub-pixel in the second direction V y =V x *Shift x
其中,垂直方向上单个子像素所包含的视点个数Vy也可理解为垂直方向相邻子像素的视点数相差Vy。The number of viewpoints V y included in a single sub-pixel in the vertical direction can also be understood as the difference in the number of viewpoints of adjacent sub-pixels in the vertical direction by V y .
在一示例性实施例中,所述根据所述第一方向X上单个子像素包含的视点数Vx和第二方向Y上单个子像素包含的视点数Vy确定所述子像素所属视点包括:In an exemplary embodiment, determining the viewpoint to which the sub-pixel belongs according to the number of viewpoints V x included in a single sub-pixel in the first direction X and the number of viewpoints V y included in a single sub-pixel in the second direction Y includes: :
Vi,1=(Vfirst-(i-1)*Vy)modV,如果Vi,1=0,则Vi,1=V,i∈[1,M]Vi ,1 =(V first -(i-1)*V y )modV, if Vi ,1 =0, then Vi ,1 =V,i∈[1,M]
Vi,j=(Vi,1+(j-1)*Vx)mod V,如果Vi,j=0,则Vi,j=V,j∈[1,N]V i,j =(V i,1 +(j-1)*V x )mod V, if V i,j =0, then V i,j =V,j∈[1,N]
其中,mod为模运算,Vi,j为第i行第j列的子像素所属的视点,Vfirst为第1行第1列的子像素所属的视点,所述M为子像素的行数,所述N为子像素的列数。本实施例中,可以先计算每行第一列的子像素所属视点Vi,1,然后根据每行第一列的子像素所属视点Vi,1计算该行其他列的子像素所属视点。即,可以从第1行,第1列开始计算子像素所属的视点,计算完一行子像素所属的视点后,再计算下一行子像素所属的视点。第1行、第1列子像素可以是显示面板的左上角的子像素。子像素的行数可以和像素的行数相同,子像素的列数可以是像素的列数的3倍(每个像素包括3个子像素时)。Wherein, mod is the modulo operation, V i,j is the viewpoint to which the sub-pixel in the ith row and the jth column belongs, V first is the viewpoint to which the sub-pixel in the 1st row and the 1st column belongs, and M is the number of rows of the sub-pixels , where N is the number of columns of sub-pixels. In this embodiment, the viewpoints V i,1 to which the sub-pixels in the first column of each row belong can be calculated first, and then the viewpoints to which sub-pixels in other columns of the row belong are calculated according to the viewpoints V i,1 to which the sub-pixels in the first column of each row belong. That is, the viewpoints to which the sub-pixels belong can be calculated from the first row and the first column, and after the viewpoints to which the sub-pixels of one row belong are calculated, the viewpoints to which the sub-pixels of the next row belong are calculated. The sub-pixels in the first row and the first column may be the sub-pixels in the upper left corner of the display panel. The number of rows of sub-pixels may be the same as the number of rows of pixels, and the number of columns of sub-pixels may be three times the number of columns of pixels (when each pixel includes 3 sub-pixels).
Vfirst可以根据需要指定,比如可以为第2个视点,本公开实施例不限于此,可以是其他值。在另一实施例中,Vfirst可以为其他行、其他列的子像素所属的视点。V first may be specified as required, for example, may be the second viewpoint, the embodiment of the present disclosure is not limited to this, and may be other values. In another embodiment, V first may be a viewpoint to which sub-pixels of other rows and columns belong.
在一示例性实施例中,可以将同一行的Vi,j进行循环移位后,作为该行子像素所属视点。In an exemplary embodiment, the V i,j of the same row may be cyclically shifted to serve as the viewpoint to which the sub-pixels of this row belong.
在一示例性实施例中,以Vx=6,Vy=3,Vfirst=2(即V1,1=2),V=28(视点的编号为1至28)为例,计算子像素所属视点。其中:In an exemplary embodiment, taking V x =6, V y =3, Vfirst=2 (ie V 1,1 =2), and V=28 (viewpoints are numbered from 1 to 28) as an example, the sub-pixels are calculated own viewpoint. in:
第1行第2列的子像素所属视点为V1,2=(V1,1+(j-1)*Vx)mod V=(2+(2-1)*6)mod28=8;The viewpoint to which the sub-pixel in the first row and the second column belongs is V 1,2 =(V 1,1 +(j-1)*V x )mod V=(2+(2-1)*6)mod28=8;
第1行第3列的子像素所属视点为V1,3=(2+(3-1)*6)mod28=14;The viewpoint to which the sub-pixel in the first row and the third column belongs is V 1,3 =(2+(3-1)*6)mod28=14;
依次类推,第1行第14列的子像素所属视点为V1,3=(2+(14-1)*6)mod28=24;后续类似,不再说明。By analogy, the viewpoint to which the sub-pixels in the first row and the 14th column belong is V 1,3 =(2+(14-1)*6)mod28=24; the following is similar and will not be described again.
第2行第1列的子像素所属视点为V2,1=(Vfirst-(i-1)*Vy)modV=(2-(2-1)*3)mod28=27;第2行第2列至第N列子像素所属视点的计算类似第1行第2列至第N列子像素所属视点的计算,不再说明。计算结果如图6所示。图6中仅示出了4行18列子像素所属视点,其他子像素所属视点未示意出,按类似方法计算即可。另外,可以看到,第1列和第15列子像素所属视点相同,第2列和第16列子像素所属视点相同,因此,可以只计算所属视点相同的多列子像素中其中一列子像素所属视点即可,将计算得到的该列子像素所属视点作为与该列子像素所属视点相同的其他列子像素所属视点即可。The viewpoint to which the sub-pixel in the second row and the first column belongs is V 2,1 =(V first -(i-1)*V y )modV=(2-(2-1)*3)mod28=27; the second row The calculation of the viewpoints to which the sub-pixels in the second to Nth columns belong is similar to the calculation of the viewpoints to which the sub-pixels in the first row, the second to the Nth column belong, and will not be described again. The calculation results are shown in Figure 6. In FIG. 6 , only the viewpoints to which the sub-pixels belong to 4 rows and 18 columns are shown, and the viewpoints to which other sub-pixels belong are not shown, and can be calculated by a similar method. In addition, it can be seen that the sub-pixels in the 1st and 15th columns belong to the same viewpoint, and the sub-pixels in the 2nd and 16th columns belong to the same viewpoint. Therefore, it is possible to only calculate the viewpoint to which one column of sub-pixels belongs to the sub-pixels with the same viewpoint. Optionally, the calculated viewpoint to which the sub-pixels of the column belong may be regarded as the viewpoints of other columns of sub-pixels that are the same as the viewpoints to which the sub-pixels of the column belong.
本实施例中,负数取模运算输出正余数,比如,V2,1=(2-(2-1)*3)mod28=(-1)mod28=27;V3,1=(Vfirst-(i-1)*Vy)modV=(2-(3-1)*3)mod28=(-4)mod28=24;V4,1=(Vfirst-(i-1)*Vy)modV=(2-(4-1)*3)mod28=(-7)mod28=21;V5,1=(Vfirst-(i-1)*Vy)modV=(2-(5-1)*3)mod28=(-10)mod28=18;V12,1=(Vfirst-(i-1)*Vy)modV=(2-(12-1)*3)mod28=(-31)mod28=25。In this embodiment, the negative modulo operation outputs a positive remainder, for example, V 2,1 =(2-(2-1)*3)mod28=(-1)mod28=27; V 3,1 =(V first - (i-1)*V y )modV=(2-(3-1)*3)mod28=(-4) mod28 =24; V 4,1 =(V first-(i-1)*V y ) modV=(2-(4-1)*3)mod28=(-7)mod28=21; V5,1=( Vfirst- (i-1)* Vy ) modV =(2-(5-1) )*3)mod28=(-10)mod28=18; V12,1=( Vfirst- (i-1)* Vy ) modV =(2-(12-1)*3)mod28=(-31 ) mod28=25.
在一示例性实施例中,所述根据所述子像素所属视点的图像确定所述子像素的灰阶值包括:In an exemplary embodiment, the determining the gray-scale value of the sub-pixel according to the image of the viewpoint to which the sub-pixel belongs includes:
确定所述子像素的位置,将所述子像素所属视点的图像中相应位置的灰阶值作为所述子像素的灰阶值。比如,第i行,第j列的子像素,使用所属的视点的图像中第i行,第j列的灰阶值作为该子像素的灰阶值。此处仅为示例,可以对所属的视点的图像中第i行,第j列的灰阶值进行加权后作为该子像素的灰阶值,等等。The position of the sub-pixel is determined, and the gray-scale value of the corresponding position in the image of the viewpoint to which the sub-pixel belongs is used as the gray-scale value of the sub-pixel. For example, for the sub-pixel in the i-th row and the j-th column, the gray-scale value of the i-th row and the j-th column in the image of the corresponding viewpoint is used as the gray-scale value of the sub-pixel. This is just an example, and the gray-scale value of the i-th row and the j-th column in the image of the corresponding viewpoint can be weighted as the gray-scale value of the sub-pixel, and so on.
电影院中的3D电影为2视点,由3D眼镜分像使左眼接收到左视点图像右眼也接收到右视点图像,而裸眼3D显示设备一般显示多视点内容,当人眼移动时很容易处于反视区或称“死区”即左眼接收到了右视点图像同时右眼也接收到了左视点图像,令人产生不舒适感。在一示例性实施例中,对视点排图进行优化(子像素所属视点进行变更),减弱反视效果,缓解反视区带来的眩晕及重影感,使视点更加连续、裸眼3D效果更加舒适。本公开实施例中,可以通过牺牲视点个数来缓解负视差程度。The 3D movie in the cinema has 2 viewpoints. The left eye receives the left viewpoint image and the right eye receives the right viewpoint image by the 3D glasses. The naked-eye 3D display device generally displays multi-viewpoint content, and it is easy to be in the position when the human eye moves. The reverse view zone or "dead zone" means that the left eye receives the right view point image and the right eye also receives the left view point image, which makes people feel uncomfortable. In an exemplary embodiment, the viewpoint layout is optimized (the viewpoint to which the sub-pixel belongs is changed), the reverse vision effect is weakened, the dizziness and ghosting caused by the reverse vision area are alleviated, and the viewpoints are more continuous and the naked-eye 3D effect is better. Comfortable. In the embodiment of the present disclosure, the degree of negative parallax can be alleviated by sacrificing the number of viewpoints.
在一示例性实施例中,根据所述第一方向上单个子像素包含的视点数和第二方向上单个子像素包含的视点数确定所述子像素所属视点之后,根据所述子像素所属视点的图像确定所述子像素的灰阶值之前,还包括:In an exemplary embodiment, after the viewpoint to which the sub-pixel belongs is determined according to the number of viewpoints contained in a single sub-pixel in the first direction and the number of viewpoints contained in a single sub-pixel in the second direction, the viewpoint to which the sub-pixel belongs is determined according to the number of viewpoints to which the sub-pixel belongs. Before determining the grayscale value of the sub-pixel, the image further includes:
将部分子像素所属视点进行替换,且不同子像素所属视点相同时,使用相同的视点进行替换,使得替换后,左眼视点和右眼视点的第一视差,与未进行替换时,第一方向上相邻子像素所属视点的第二视差的比值(也称归一化的第一视差)满足预设条件。本实施例提供的方案,通过替换部分视点,实现对左右眼视差的控制,便于提高3D体验。以图6为例,第一方向上相邻子像素所属视点的第二视差为6。The viewpoints to which some sub-pixels belong are replaced, and when the viewpoints to which different sub-pixels belong are the same, the same viewpoints are used for replacement, so that after the replacement, the first parallax of the left-eye viewpoint and the right-eye viewpoint is different from that when no replacement is performed. The ratio of the second parallax of the viewpoint to which the upwardly adjacent sub-pixels belong (also referred to as the normalized first parallax) satisfies a preset condition. In the solution provided in this embodiment, by replacing some viewpoints, the parallax control of the left and right eyes is realized, which is convenient to improve the 3D experience. Taking FIG. 6 as an example, the second disparity of the viewpoint to which the adjacent sub-pixels in the first direction belong is 6.
在一示例性实施例中,所述满足预设条件可以包括:所述第一视差与第二视差的比值位于[-1,1]。此处仅为示例,可以根据需要设置其他可以减轻反视的条件即可,比如,可以是小于未进行视点替换时,同一对应位置的左眼视点和右眼视点的第三视差与第二视差的比值。比如,以28个视点为例,未进行视点替换时,第二视差为6,以左眼视点为23时,右眼视点为1为例,此时左右眼视差为-22,则归一化后的视差为-3.6,可以替换部分视点,使得同一位置归一化后的视差的绝对值小于3.6即可。In an exemplary embodiment, the satisfying the preset condition may include: the ratio of the first parallax to the second parallax is located at [-1, 1]. This is just an example, you can set other conditions that can reduce the reverse vision as needed. For example, it can be smaller than the third parallax and the second parallax of the left eye viewpoint and right eye viewpoint at the same corresponding position when viewpoint replacement is not performed. ratio. For example, taking 28 viewpoints as an example, when no viewpoint replacement is performed, the second parallax is 6, and when the left eye viewpoint is 23, the right eye viewpoint is 1 as an example, and the left eye parallax is -22, then normalized The resulting parallax is -3.6, and some viewpoints can be replaced, so that the absolute value of the normalized parallax at the same position is less than 3.6.
在一示例性实施例中,将部分子像素所属视点进行替换包括:In an exemplary embodiment, replacing the viewpoints to which some sub-pixels belong includes:
所述视点包括沿第一方向依次分布的视点1至视点V,当所述子像素所属视点k位于视点K至视点V范围时,将视点k替换为视点S-k,所述S-k小于等于V且大于等于1,所述K为预设值。本实施例中,进行逆序替换。比如,对V=28个视点,K=16,可以将视点16至视点28分别替换为视点14至视点2,此时S=30。The viewpoints include viewpoints 1 to V distributed in sequence along the first direction. When viewpoint k to which the sub-pixel belongs is located in the range from viewpoint K to viewpoint V, viewpoint k is replaced by viewpoint S-k, which is less than or equal to V and greater than or equal to V. equal to 1, the K is a preset value. In this embodiment, reverse order replacement is performed. For example, for V=28 viewpoints and K=16, viewpoints 16 to 28 can be replaced with viewpoints 14 to 2 respectively, and at this time S=30.
以图6示例的28视点为例,水平方向上相邻两个子像素相差6个视点(第二视点),可以理解为每隔6个视点为一对左右眼,故当左眼位于1至22视点对应的视区时为正视区,此时右眼必落于7~28视点的视区,而左眼再移动到23至28视点对应的视区时,处于反视区,此时将会感受到眩晕及画面重影。如表2-1,表2-2所示,前两行分别为左右眼位置,第三、四行分别为右眼视点-左眼视点的视差即第一视差,以及第一视差做归一化(第一视差/第二视差)后的结果。可以看到,当左眼处于23~28视点时第一视差为负数,负视区无法完全消除只能减弱其反视程度。Taking the 28 viewpoints shown in Figure 6 as an example, two adjacent sub-pixels in the horizontal direction differ by 6 viewpoints (the second viewpoint), which can be understood as a pair of left and right eyes every 6 viewpoints, so when the left eye is located at 1 to 22 The viewing area corresponding to the viewpoint is the front vision area. At this time, the right eye must fall in the viewing area of the 7-28 viewpoint, and when the left eye moves to the viewing area corresponding to the 23-28 viewpoint, it is in the reverse vision area. Feel dizzy and ghosting. As shown in Table 2-1 and Table 2-2, the first two rows are the positions of the left and right eyes respectively, the third and fourth rows are the parallax between the right eye viewpoint and the left eye viewpoint, namely the first parallax, and the first parallax is normalized The result after transformation (first parallax/second parallax). It can be seen that the first parallax is negative when the left eye is at viewpoints 23 to 28, and the negative vision area cannot be completely eliminated, but the degree of reverse vision can only be reduced.
本实施例中,以牺牲视点个数来缓解负视差程度,使最大负视差与正视差一致。比如,将原始的视点16至28分别替换为视点14至2,重新计算此时的视差结果,替换后,见表3-1,表3-2所示(表3-1,表3-2中加粗部分即为替换的视点),前两行分别为左右眼位置,第三、四行分别为右眼视点-左眼视点的视差即第一视差,以及第一视差做归一化(第一视差/第二视差)后的结果,表3-1和表3-2中,第四行正负视差均在[-1,1]之间,减弱了反视程度。本实施例中,对每个子像素所属视点进行计算后,将视点16至28分别替换为视点14至2来达到反视区优化的效果,即,将视点16替换为视点14,将视点17替换为视点13,以此类推,将视点28替换为视点2,图6中子像素所属视点替换后如图7所示。In this embodiment, the degree of negative parallax is relieved by sacrificing the number of viewpoints, so that the maximum negative parallax is consistent with the positive parallax. For example, replace the original viewpoints 16 to 28 with viewpoints 14 to 2, and recalculate the disparity results at this time. After replacement, see Table 3-1 and Table 3-2 (Table 3-1, Table 3-2). The bold part in the middle is the replaced viewpoint), the first two lines are the positions of the left and right eyes, the third and fourth lines are the parallax between the right eye viewpoint and the left eye viewpoint, that is, the first parallax, and the first parallax is normalized ( The results after the first parallax/second parallax), in Table 3-1 and Table 3-2, the positive and negative parallax of the fourth row are between [-1, 1], which reduces the degree of reverse vision. In this embodiment, after calculating the viewpoints to which each sub-pixel belongs, viewpoints 16 to 28 are respectively replaced with viewpoints 14 to 2 to achieve the effect of inverse viewing area optimization, that is, viewpoint 16 is replaced by viewpoint 14, and
上述实施例中,将原始的16至28视点均进行替换,在另一实施例中,可以只替换其中部分视点,即可以只改善部分反视区的显示效果。In the above embodiment, all the original viewpoints 16 to 28 are replaced. In another embodiment, only part of the viewpoints may be replaced, that is, the display effect of only part of the reverse view area may be improved.
上述实施例中,以28视点为例进行说明,对其他视点数,方案类似,可以进行逆序替换部分视点使归一化的视差在[-1,1]之间来实现反视区的优化。In the above embodiment, 28 viewpoints are used as an example for description. For other viewpoints, the solution is similar, and some viewpoints can be replaced in reverse order so that the normalized parallax is between [-1, 1] to realize the optimization of the inverse viewing area.
表2-1视差Table 2-1 Parallax
表2-2视差Table 2-2 Parallax
表3-1缓解反视方案Table 3-1 Anti-vision mitigation solutions
表3-2Table 3-2
本公开实施例提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于上述多视点图像生成方法。An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used for the above-described multi-view image generation method.
如图8所示,本公开实施例提供一种显示装置,包括处理器801以及存储有可在处理器801上运行的计算机程序的存储器802,其中,所述处理器801执行所述程序时实现上述多视点图像生成方法的步骤。所述显示装置可以为:手机、平板电脑、电视机、显示器、笔记本电脑、数码相框、导航仪等任何具有显示功能的产品或部件。所述显示装置可以是裸眼3D显示装置。As shown in FIG. 8 , an embodiment of the present disclosure provides a display device, including a processor 801 and a memory 802 storing a computer program that can be executed on the processor 801 , wherein the processor 801 implements the program when the processor 801 executes the program. The steps of the above-mentioned multi-view image generation method. The display device may be any product or component with a display function, such as a mobile phone, a tablet computer, a TV, a monitor, a notebook computer, a digital photo frame, and a navigator. The display device may be a naked eye 3D display device.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, functional modules/units in the systems, and devices can be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components Components execute cooperatively. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules or other data flexible, removable and non-removable media. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .
本领域的普通技术人员应当理解,可以对本公开实施例的技术方案进行修改或者等同替换,而不脱离本公开技术方案的精神和范围,均应涵盖在本公开的权利要求范围当中。Those of ordinary skill in the art should understand that the technical solutions of the embodiments of the present disclosure may be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present disclosure, and should be included in the scope of the claims of the present disclosure.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011287892.XA CN112399168B (en) | 2020-11-17 | 2020-11-17 | A multi-viewpoint image generation method, storage medium, and display device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011287892.XA CN112399168B (en) | 2020-11-17 | 2020-11-17 | A multi-viewpoint image generation method, storage medium, and display device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112399168A true CN112399168A (en) | 2021-02-23 |
| CN112399168B CN112399168B (en) | 2022-12-02 |
Family
ID=74605877
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011287892.XA Active CN112399168B (en) | 2020-11-17 | 2020-11-17 | A multi-viewpoint image generation method, storage medium, and display device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112399168B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113763473A (en) * | 2021-09-08 | 2021-12-07 | 未来科技(襄阳)有限公司 | Method and device for determining viewpoint width and storage medium |
| CN115022612A (en) * | 2022-05-31 | 2022-09-06 | 北京京东方技术开发有限公司 | Driving method and device of display device and display equipment |
| CN115598857A (en) * | 2021-07-08 | 2023-01-13 | 京东方科技集团股份有限公司(Cn) | Display assembly and display device |
| CN115701313A (en) * | 2021-05-28 | 2023-02-07 | 京东方科技集团股份有限公司 | Multi-view image processing system and method thereof |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101626517A (en) * | 2009-08-07 | 2010-01-13 | 四川大学 | Method for synthesizing stereo image from parallax image in a real-time manner |
| CN102510515A (en) * | 2011-12-29 | 2012-06-20 | 中航华东光电有限公司 | Grating-type multi-viewpoint stereo image synthesis method |
| CN102843569A (en) * | 2012-08-31 | 2012-12-26 | 上海易维视科技有限公司 | Multi-viewpoint automatic stereoscopic display device |
| KR20140025783A (en) * | 2012-08-22 | 2014-03-05 | 엘지디스플레이 주식회사 | Stereoscopic image display device and method for driving the same |
| CN103686117A (en) * | 2012-09-18 | 2014-03-26 | 上海易维视科技有限公司 | Super multi-view automatic three-dimensional display device |
| CN105338336A (en) * | 2015-10-28 | 2016-02-17 | 四川长虹电器股份有限公司 | Lenticular grating and LCD screen-based stereo image fast synthesis method |
| CN106067969A (en) * | 2016-06-30 | 2016-11-02 | 北京邮电大学 | The multiple views 3D display packing of a kind of column mirror grating and device |
-
2020
- 2020-11-17 CN CN202011287892.XA patent/CN112399168B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101626517A (en) * | 2009-08-07 | 2010-01-13 | 四川大学 | Method for synthesizing stereo image from parallax image in a real-time manner |
| CN102510515A (en) * | 2011-12-29 | 2012-06-20 | 中航华东光电有限公司 | Grating-type multi-viewpoint stereo image synthesis method |
| KR20140025783A (en) * | 2012-08-22 | 2014-03-05 | 엘지디스플레이 주식회사 | Stereoscopic image display device and method for driving the same |
| CN102843569A (en) * | 2012-08-31 | 2012-12-26 | 上海易维视科技有限公司 | Multi-viewpoint automatic stereoscopic display device |
| CN103686117A (en) * | 2012-09-18 | 2014-03-26 | 上海易维视科技有限公司 | Super multi-view automatic three-dimensional display device |
| CN105338336A (en) * | 2015-10-28 | 2016-02-17 | 四川长虹电器股份有限公司 | Lenticular grating and LCD screen-based stereo image fast synthesis method |
| CN106067969A (en) * | 2016-06-30 | 2016-11-02 | 北京邮电大学 | The multiple views 3D display packing of a kind of column mirror grating and device |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115701313A (en) * | 2021-05-28 | 2023-02-07 | 京东方科技集团股份有限公司 | Multi-view image processing system and method thereof |
| CN115598857A (en) * | 2021-07-08 | 2023-01-13 | 京东方科技集团股份有限公司(Cn) | Display assembly and display device |
| CN113763473A (en) * | 2021-09-08 | 2021-12-07 | 未来科技(襄阳)有限公司 | Method and device for determining viewpoint width and storage medium |
| CN113763473B (en) * | 2021-09-08 | 2024-03-29 | 未来科技(襄阳)有限公司 | Viewpoint width determining method and device and storage medium |
| CN115022612A (en) * | 2022-05-31 | 2022-09-06 | 北京京东方技术开发有限公司 | Driving method and device of display device and display equipment |
| WO2023231700A1 (en) * | 2022-05-31 | 2023-12-07 | 京东方科技集团股份有限公司 | Driving method and apparatus for display apparatus, and display device |
| CN115022612B (en) * | 2022-05-31 | 2024-01-09 | 北京京东方技术开发有限公司 | Driving method and device of display device and display equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112399168B (en) | 2022-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102030830B1 (en) | Curved multiview image display apparatus and control method thereof | |
| KR102121389B1 (en) | Glassless 3d display apparatus and contorl method thereof | |
| JP6443654B2 (en) | Stereoscopic image display device, terminal device, stereoscopic image display method, and program thereof | |
| CN112399168B (en) | A multi-viewpoint image generation method, storage medium, and display device | |
| US10448005B2 (en) | Stereoscopic display device and parallax image correcting method | |
| US20170041596A1 (en) | Method and apparatus of light field rendering for plurality of users | |
| KR102174258B1 (en) | Glassless 3d display apparatus and contorl method thereof | |
| US9110296B2 (en) | Image processing device, autostereoscopic display device, and image processing method for parallax correction | |
| KR101966152B1 (en) | Multi view image display apparatus and contorl method thereof | |
| CN105828060A (en) | Stereoscopic display device and parallax image correcting method | |
| KR101329962B1 (en) | Three-dimensional image display | |
| US20160021365A1 (en) | Image displaying method and image displaying device | |
| CN103947199A (en) | Image processing device, stereoscopic image display device, image processing method, and image processing program | |
| US20150237334A1 (en) | Stereoscopic display device | |
| CN208257981U (en) | A kind of LED naked-eye 3D display device based on sub-pixel | |
| KR20170029210A (en) | Multi view image display apparatus and contorl method thereof | |
| KR101718777B1 (en) | Imaging system | |
| KR101975246B1 (en) | Multi view image display apparatus and contorl method thereof | |
| KR102515026B1 (en) | Autostereoscopic 3-Dimensional Display | |
| US20140192047A1 (en) | Stereoscopic image display device, image processing device, and image processing method | |
| CN108271013A (en) | Display device and display method | |
| JP2008085503A (en) | 3D image processing apparatus, method, program, and 3D image display apparatus | |
| KR20170036476A (en) | Multi view image display apparatus and contorl method thereof | |
| CN112188185B (en) | A method of displaying stereoscopic images on a display device | |
| CN114666566B (en) | Display, detection method, storage medium and electronic equipment of three-dimensional display device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |