CN116009274A - Light field display method and device - Google Patents
Light field display method and device Download PDFInfo
- Publication number
- CN116009274A CN116009274A CN202211314252.2A CN202211314252A CN116009274A CN 116009274 A CN116009274 A CN 116009274A CN 202211314252 A CN202211314252 A CN 202211314252A CN 116009274 A CN116009274 A CN 116009274A
- Authority
- CN
- China
- Prior art keywords
- pixel
- light
- light field
- value
- liquid crystal
- 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
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000002834 transmittance Methods 0.000 claims abstract description 99
- 239000004973 liquid crystal related substance Substances 0.000 claims abstract description 75
- 238000004364 calculation method Methods 0.000 claims abstract description 65
- 238000012545 processing Methods 0.000 claims abstract description 49
- 238000000354 decomposition reaction Methods 0.000 claims description 50
- 238000004422 calculation algorithm Methods 0.000 claims description 29
- 230000008447 perception Effects 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 7
- 238000001914 filtration Methods 0.000 claims 2
- 230000008569 process Effects 0.000 abstract description 12
- 230000000694 effects Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000007654 immersion Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 230000016776 visual perception Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000013136 deep learning model Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Liquid Crystal (AREA)
Abstract
本公开提供一种光场显示方法及装置。所述显示方法包括:获取光场数据;其中,所述光场数据包括多个视点图像;所述视点图像包括像素权重参数;利用图像处理模型处理所述视点图像,依据处理结果确定目标像素和非目标像素;并更新所述目标像素的像素权重参数的数值;根据各所述视点图像及经过所述图像处理模型处理后各像素对应的像素权重参数的数值,确定空间光调制阵列各液晶层各像素点的透光率的计算顺序和透光率的数值。这样的方式有助于提高计算效率以及光场显示的画质。
The disclosure provides a light field display method and device. The display method includes: acquiring light field data; wherein, the light field data includes a plurality of viewpoint images; the viewpoint images include pixel weight parameters; using an image processing model to process the viewpoint images, and determining target pixels and Non-target pixels; and update the value of the pixel weight parameter of the target pixel; determine each liquid crystal layer of the spatial light modulation array according to each of the viewpoint images and the value of the pixel weight parameter corresponding to each pixel after being processed by the image processing model The order of calculation of the transmittance of each pixel and the value of the transmittance. Such an approach helps to improve computational efficiency and the quality of light field display.
Description
技术领域technical field
本公开涉及显示技术领域,尤其涉及一种光场显示方法及装置。The present disclosure relates to the field of display technology, in particular to a light field display method and device.
背景技术Background technique
与二维显示相比,三维显示能够提供更深的沉浸感。目前光场显示主要有体三维、集成成像、多投影阵列、多层液晶等显示方法,其中多层液晶显示技术兼顾了成熟度与成本。A 3D display can provide a deeper sense of immersion than a 2D display. At present, there are mainly three-dimensional light field display methods, integrated imaging, multi-projection array, multi-layer liquid crystal and other display methods, among which the multi-layer liquid crystal display technology takes into account both maturity and cost.
发明内容Contents of the invention
有鉴于此,本公开的目的在于提出一种光场显示方法及装置。In view of this, the purpose of the present disclosure is to provide a light field display method and device.
基于上述目的,第一方面,本公开提供了一种光场显示方法,所述显示方法包括:Based on the above purpose, in a first aspect, the present disclosure provides a light field display method, the display method comprising:
获取光场数据;其中,所述光场数据包括多个视点图像;所述视点图像包括像素权重参数;Acquiring light field data; wherein, the light field data includes a plurality of viewpoint images; the viewpoint images include pixel weight parameters;
利用图像处理模型处理所述视点图像,依据处理结果确定目标像素和非目标像素;并更新所述目标像素的像素权重参数的数值;Using an image processing model to process the viewpoint image, determining target pixels and non-target pixels according to the processing results; and updating the value of the pixel weight parameter of the target pixel;
根据各所述视点图像及经过所述图像处理模型处理后各像素对应的像素权重参数的数值,确定空间光调制阵列各液晶层各像素点的透光率的计算顺序和透光率的数值。According to each of the viewpoint images and the value of the pixel weight parameter corresponding to each pixel after being processed by the image processing model, the calculation sequence and the value of the light transmittance of each pixel of each liquid crystal layer of the spatial light modulation array are determined.
第二方面,本公开提供了一种光场显示装置,所述光场显示装置包括空间光调制阵列和处理器;所述空间光调制阵列包括至少两个液晶层;所述液晶层包括阵列设置的像素点;In a second aspect, the present disclosure provides a light field display device, the light field display device includes a spatial light modulation array and a processor; the spatial light modulation array includes at least two liquid crystal layers; the liquid crystal layer includes an array arrangement of pixels;
所述处理器被配置为执行以下步骤:The processor is configured to perform the following steps:
获取光场数据;其中,所述光场数据包括多个视点图像;所述视点图像包括像素权重参数;Acquiring light field data; wherein, the light field data includes a plurality of viewpoint images; the viewpoint images include pixel weight parameters;
利用图像处理模型处理所述视点图像,依据处理结果确定目标像素和非目标像素;并更新所述目标像素的像素权重参数的数值;Using an image processing model to process the viewpoint image, determining target pixels and non-target pixels according to the processing results; and updating the value of the pixel weight parameter of the target pixel;
根据各所述视点图像及经过所述图像处理模型处理后各像素对应的像素权重参数的数值,确定空间光调制阵列各液晶层各像素点的透光率的计算顺序和透光率的数值。According to each of the viewpoint images and the value of the pixel weight parameter corresponding to each pixel after being processed by the image processing model, the calculation sequence and the value of the light transmittance of each pixel of each liquid crystal layer of the spatial light modulation array are determined.
从上面所述可以看出,本公开提供的光场显示方法及装置,通过图像处理,对视点图像的像素赋予不同的像素权重,基于像素权重确定空间光调制阵列各液晶层各像素点的透光率的计算顺序和透光率的数值,这样的方式有助于提高计算效率以及光场显示的画质。It can be seen from the above that the light field display method and device provided by the present disclosure assign different pixel weights to the pixels of the viewpoint image through image processing, and determine the transparency of each pixel point of each liquid crystal layer of the spatial light modulation array based on the pixel weights. The calculation order of the light rate and the value of the light transmittance, this method helps to improve the calculation efficiency and the quality of the light field display.
附图说明Description of drawings
为了更清楚地说明本公开或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or related technologies. Obviously, the accompanying drawings in the following description are only for the present disclosure Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本公开实施例提供的一种光场显示方法的流程示意图;FIG. 1 is a schematic flowchart of a light field display method provided by an embodiment of the present disclosure;
图2为本公开实施例提供的光场数据的部分示意图;FIG. 2 is a partial schematic diagram of light field data provided by an embodiment of the present disclosure;
图3为本公开实施例提供的一种确定目标视场图像的场景示意图;FIG. 3 is a schematic diagram of a scene for determining an image of a target field of view provided by an embodiment of the present disclosure;
图4为本公开实施例的提供的背景去除模型的作用效果示意图;FIG. 4 is a schematic diagram of the effect of the background removal model provided by the embodiment of the present disclosure;
图5为本公开实施例的提供的边框识别模型的作用效果示意图;FIG. 5 is a schematic diagram of the effect of the frame recognition model provided by the embodiment of the present disclosure;
图6为本公开实施例的提供的根据光线求导像素示意图;FIG. 6 is a schematic diagram of deriving pixels according to rays provided by an embodiment of the present disclosure;
图7为本公开实施例的提供的又一种光场显示方法的流程示意图;FIG. 7 is a schematic flowchart of another light field display method provided by an embodiment of the present disclosure;
图8为本公开实施例提供的光场显示装置的结构示意图。FIG. 8 is a schematic structural diagram of a light field display device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本公开进一步详细说明。In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
需要说明的是,除非另外定义,本公开实施例使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本公开实施例中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure shall have ordinary meanings understood by those skilled in the art to which the present disclosure belongs. "First", "second" and similar words used in the embodiments of the present disclosure do not indicate any sequence, quantity or importance, but are only used to distinguish different components. "Comprising" or "comprising" and similar words mean that the elements or items appearing before the word include the elements or items listed after the word and their equivalents, without excluding other elements or items. Words such as "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
目前已有的多层液晶显示技术为了解决光场显示问题,通过如下方案实现:通过多层液晶各像素间各角度不同的透光率来调制光线结合通过数据分解算法由光场数据计算各像素值来重建光场。In order to solve the problem of light field display, the existing multi-layer liquid crystal display technology is realized through the following scheme: through the light transmittance of each pixel of the multi-layer liquid crystal at different angles to modulate the light combined with the data decomposition algorithm to calculate each pixel from the light field data value to reconstruct the light field.
对于多层液晶和算法重建光场来实现光场显示的技术方案,由于液晶层数越多则整体透光率越低,层数越少则算法复杂度越高,故该方案存在难以兼顾图像亮度与质量的问题。具体来说,当液晶层数较少时,由于各像素点分摊的光线较多,所以算法重建光场时难以优化调和各角度光线,造成显示画质差。For the technical solution of multi-layer liquid crystal and algorithm reconstruction of light field to realize light field display, since the more layers of liquid crystal, the lower the overall light transmittance, and the less the number of layers, the higher the complexity of the algorithm, so it is difficult to take into account the image Brightness and quality issues. Specifically, when the number of liquid crystal layers is small, since each pixel shares more light, it is difficult for the algorithm to optimize and reconcile light from various angles when reconstructing the light field, resulting in poor display quality.
基于此,本公开提供一种光场显示方法。通过图像处理,对视点图像的像素赋予不同的像素权重,基于像素权重确定空间光调制阵列各液晶层各像素点的透光率的计算顺序和透光率的数值,并且当任一所述像素点的透光率确定后锁定对应像素点的透光率。这样的方式能够确保视点图像中的像素权重高的像素对应的光线通过的像素点的透光率优先计算并锁定,确保重构的光线满足其是在视点图像中的显示效果,从而有助于提高显示画质。此外,像素的像素权重低至零则表明该像素的对应的光线无需进行光场分解计算,从而降低了需要进行光场分解的光场数据的总量,从而有助于提高计算效率。Based on this, the present disclosure provides a light field display method. Through image processing, different pixel weights are given to the pixels of the viewpoint image, and the calculation sequence and the value of the light transmittance of each pixel point of each liquid crystal layer of the spatial light modulation array are determined based on the pixel weights, and when any of the pixels After the light transmittance of the point is determined, the light transmittance of the corresponding pixel is locked. This method can ensure that the light transmittance of the pixel corresponding to the light passing through the pixel with high pixel weight in the viewpoint image is preferentially calculated and locked, ensuring that the reconstructed light meets the display effect in the viewpoint image, thus contributing to Improve display quality. In addition, when the pixel weight of a pixel is as low as zero, it indicates that the light corresponding to the pixel does not need to perform light field decomposition calculations, thereby reducing the total amount of light field data that needs to be subjected to light field decomposition, thereby helping to improve calculation efficiency.
请参照图1和图7,所述光场显示方法,包括:Please refer to Figure 1 and Figure 7, the light field display method includes:
步骤S101:获取光场数据;其中,所述光场数据包括多个视点图像;所述视点图像包括像素权重参数。Step S101: Acquire light field data; wherein, the light field data includes a plurality of viewpoint images; and the viewpoint images include pixel weight parameters.
应当理解的是,光场(Light Field)是空间中光线集合的完备表示,包括心理视觉感知信息和生理视觉感知信息,采集并显示光场就能在视觉上重现真实世界。It should be understood that a light field (Light Field) is a complete representation of the collection of light in space, including psychological visual perception information and physiological visual perception information. Collecting and displaying a light field can visually reproduce the real world.
这里,利用光场数据,能够在视觉上重现真实世界。Here, using light field data, it is possible to visually reproduce the real world.
视点图像是指光场中单个角度的图像信息。本领域技术人员能够理解的,用户能够在多个角度观看光场显示画面,因此光场数据包括多个视点图像Vx×Vy,例如7×7,每一视点图像的分辨率是Rx×Ry(如图2所示)。The viewpoint image refers to the image information of a single angle in the light field. Those skilled in the art can understand that the user can watch the light field display screen from multiple angles, so the light field data includes multiple viewpoint images V x ×V y , for example 7×7, and the resolution of each viewpoint image is R x ×R y (as shown in Figure 2).
假设7×7×1080×720的光场数据和1080×720的液晶层像素,则最初各像素的平均负载为:Assuming 7×7×1080×720 light field data and 1080×720 liquid crystal layer pixels, the initial average load of each pixel is:
也就是说,分解光场数据时每个像素要同时兼顾16.33道光线,由此分解各光线求解时不可避免地会互相冲突,这是导致重建光场画质低的主要原因。其中,N代表液晶层的数量。That is to say, when decomposing the light field data, each pixel needs to take into account 16.33 rays at the same time. Therefore, when decomposing the light field data, they will inevitably conflict with each other, which is the main reason for the low quality of the reconstructed light field. Wherein, N represents the number of liquid crystal layers.
可选地,每一像素的像素权重参数的初始权重值相等,例如可以是1。此时,视点图像中各像素的像素权重是相同的,其在光场分解的计算中的重要性也是一致的。应当理解的是,各像素的像素权重参数的数值也可以不等,这里不做具体限定。Optionally, the initial weight value of the pixel weight parameter of each pixel is equal, for example, it may be 1. At this time, the pixel weights of each pixel in the viewpoint image are the same, and their importance in the calculation of light field decomposition is also consistent. It should be understood that the value of the pixel weight parameter of each pixel may also be different, which is not specifically limited here.
在一些实施例中,如图3所示,利用边缘感知器301获取边缘感知数据,基于所述边缘感知数据,对所述光场数据进行过滤,确定目标视点图像302。需要说明的是,边缘感知器301用于确定用户的位置,也就是说,通过边缘感知器301能够确定用户相对于空间光调制阵列的具体位置。In some embodiments, as shown in FIG. 3 , an
例如,请参阅图3,原视点图像数量是7×7,若有两个用户,过滤后的目标视点图像数量2×5。本领域技术人员能够理解的,除目标视点图像之外的视点图像均为无效视点图像,不参与光场分解计算和光场重建。For example, please refer to Figure 3, the number of original viewpoint images is 7×7, if there are two users, the number of filtered target viewpoint images is 2×5. Those skilled in the art can understand that the viewpoint images other than the target viewpoint image are all invalid viewpoint images, and do not participate in light field decomposition calculation and light field reconstruction.
这里,边缘感知器301可以是摄像头或激光雷达,这里不做具体限定。本领技术人员能够理解的,依据边缘感知器301的不同,获取的边缘感知数据也相应不同。例如,摄像头对应的数据为摄像图像;激光雷达对应的数据为距离数据等。Here, the
这样的技术方案,通过边缘感知数据确定目标视点图像,在后续确定空间光调制阵列中各液晶层中各像素点的透光率是仅需考虑目标视点图像对象的光线即可,能够极大减少光场分解的计算量。也就是说,由于无效视点图像不被用户观察到,因此其对应的光线在计算各像素点的透光率时不予考虑。With such a technical solution, the target viewpoint image is determined through edge sensing data, and the light transmittance of each pixel in each liquid crystal layer in the spatial light modulation array is subsequently determined only by considering the light of the target viewpoint image object, which can greatly reduce the Computational amount of light field decomposition. That is to say, since the invalid viewpoint images are not observed by the user, their corresponding light rays are not considered when calculating the light transmittance of each pixel.
此外,由于每一像素点负载的视点图像数量变少,重建光场时便于优化调和各角度光线,也有助于提高显示画质。In addition, since the number of viewpoint images loaded by each pixel is reduced, it is convenient to optimize and reconcile light from various angles when reconstructing the light field, which also helps to improve display quality.
进一步地,所述边缘感知数据包括摄像图像;所述摄像图像包括多个区域且每一区域匹配一视点图像;所述显示方法包括:Further, the edge perception data includes a camera image; the camera image includes a plurality of regions and each region matches a viewpoint image; the display method includes:
利用人脸识别模型,识别所述摄像图像中的人脸并确定人脸在所述摄像图像中的区域;这里,人脸识别模型可以采用现有技术中成熟的人脸识别模型,这里不再列举。Utilize the face recognition model to identify the face in the camera image and determine the area of the face in the camera image; here, the face recognition model can adopt a mature face recognition model in the prior art, which is no longer described here enumerate.
根据所述区域,将所述区域及其周围的区域对应的视点图像确定为目标视点图像302。According to the region, the viewpoint images corresponding to the region and its surrounding regions are determined as the
示例性的,请参阅图3,周围的区域的具体范围可以是人脸所在区域的上下和左右各一视点图像。考虑到用户水平移动,也可以将左右方向的视点图像增加至五个。As an example, please refer to FIG. 3 , the specific range of the surrounding area may be the upper, lower, left and right viewpoint images of the area where the face is located. In consideration of the horizontal movement of the user, it is also possible to increase the viewpoint images in the left and right directions to five.
步骤S103:利用图像处理模型处理所述视点图像,依据处理结果确定目标像素和非目标像素;并更新所述目标像素的像素权重参数的数值。Step S103: Process the viewpoint image using an image processing model, determine target pixels and non-target pixels according to the processing result; and update the value of the pixel weight parameter of the target pixel.
需要说明的是,若利用边缘感知器301获取边缘感知数据,基于所述边缘感知数据,对所述光场数据进行过滤确定目标视点图像,本步骤中的视点图像可以是目标视点图像,这样的方式有利于减少图像处理的计算量,同时也有利于降低光线分解计算量提高显示画质。It should be noted that if the
应当理解的是,经过图像处理模型处理,视点图像中符合图像处理模型筛选的像素为目标像素,而不符合要求的像素为非目标像素。It should be understood that after being processed by the image processing model, the pixels in the viewpoint image that meet the screening requirements of the image processing model are target pixels, and the pixels that do not meet the requirements are non-target pixels.
示例性的,所述图像处理模型包括背景去除模型。这里,背景去除模型是预先训练获得的。对于背景去除模型的具体训练方法,可以利用神经网络、GrabCut算法等,这里不做限定。Exemplarily, the image processing model includes a background removal model. Here, the background removal model is pre-trained. For the specific training method of the background removal model, neural network, GrabCut algorithm, etc. can be used, which are not limited here.
如图4所示,基于所述背景去除模型,确定所述视点图像中的背景像素为第一目标像素;所述第一目标像素对应的像素权重参数的数值降低。As shown in FIG. 4 , based on the background removal model, it is determined that the background pixel in the viewpoint image is the first target pixel; the value of the pixel weight parameter corresponding to the first target pixel is reduced.
应当理解的是,对于视点图像中的背景像素,其对于实现光场显示的重要性较低,因此其更新后的像素权重参数可以是0,则此时光场数据例如可以用L(2,5,1080,480)表示。也就是说,背景像素对应的光线可以不参与光场分解。It should be understood that, for the background pixels in the viewpoint image, they are less important to realize the light field display, so the updated pixel weight parameter can be 0, then the light field data can be represented by L(2,5 ,1080,480) said. That is to say, light rays corresponding to background pixels may not participate in light field decomposition.
示例性的,如图5所示,所述图像处理模型包括边框识别模型,基于所述边框识别模型,确定所述视点图像中的边框像素为第二目标像素;所述第二目标像素对应的像素权重参数的数值升高。Exemplarily, as shown in FIG. 5 , the image processing model includes a border recognition model, and based on the border recognition model, it is determined that the border pixels in the viewpoint image are the second target pixels; the second target pixels correspond to Increase the value of the pixel weight parameter.
这里,边框识别模型可以是霍夫变换,也可以利用神经网络、边框回归算法经训练得到的模型,这里不做限定。Here, the border recognition model may be Hough transform, or a model obtained through training using a neural network or a border regression algorithm, which is not limited here.
通常物体的边框对物体的视觉效果具有重要作用,其对于实现光场显示的重要性相比有一般像素较高,因此其像素权重参数的数值可以是2,从而优先参与光场分解。Generally, the frame of an object plays an important role in the visual effect of the object, and its importance for realizing light field display is higher than that of ordinary pixels, so the value of its pixel weight parameter can be 2, so as to preferentially participate in light field decomposition.
由于用户通常对文字内容比较关注,因此所述图像处理模型还可以包括文字识别模型。这里,文字识别模型可以通过神经网络、深度学习模型训练获得,这里不做具体限定。当然,本领域技术人员可以理解的,这里的文字识别模型也可以是开源的成熟的文字识别模型。Since users usually pay more attention to text content, the image processing model may also include a text recognition model. Here, the text recognition model can be obtained through neural network and deep learning model training, which is not specifically limited here. Of course, those skilled in the art can understand that the character recognition model here can also be an open-source mature character recognition model.
基于所述文字识别模型,确定视点图像中的文字像素为第三目标像素;所述第三目标像素对应的像素权重参数的数值升高。需要说明的是,文字的重要通常大于边框,由此像素权重可以是3。Based on the character recognition model, it is determined that the character pixel in the viewpoint image is the third target pixel; the value of the pixel weight parameter corresponding to the third target pixel increases. It should be noted that the text is usually more important than the frame, so the pixel weight can be 3.
由上述可见,对于不同的目标像素类型,由于其对于光场显示的效果的重要性不同,因此可以根据重要性赋予适当的像素权重,以将其于一般的像素进行区别。It can be seen from the above that for different target pixel types, due to their different importance to the effect of light field display, appropriate weights can be assigned to pixels according to the importance to distinguish them from ordinary pixels.
需要说明的是,以上图像处理模型的具体类型,仅是示例而非限定。It should be noted that the above specific types of image processing models are only examples and not limitations.
步骤S105:根据各所述视点图像及经过所述图像处理模型处理后各像素对应的像素权重参数的数值,确定空间光调制阵列各液晶层各像素点的透光率的计算顺序和透光率的数值;并且响应于任一所述像素点的透光率被确定,锁定对应像素点的透光率。这里,锁定是指在确定空间光调制阵列各液晶层各像素点的透光率的数值过程中,该像素点的透光率保持不变。Step S105: According to each of the viewpoint images and the value of the pixel weight parameter corresponding to each pixel after being processed by the image processing model, determine the calculation order and light transmittance of the light transmittance of each pixel of each liquid crystal layer of the spatial light modulation array and in response to the light transmittance of any pixel point being determined, lock the light transmittance of the corresponding pixel point. Here, locking means that during the process of determining the value of the light transmittance of each pixel of each liquid crystal layer of the spatial light modulation array, the light transmittance of the pixel remains unchanged.
采用这样的方式,基于像素权重参数的数值确定多个所述像素点的透光率的计算顺序,能够确保视点图像中的像素权重高的像素对应的光线通过的像素点的透光率优先计算并锁定,确保重构的光线满足其在视点图像中的显示效果,从而有助于提高显示画质。此外,像素的像素权重低至零则表明该像素的对应的光线无需进行光场分解计算,从而降低了需要进行光场分解的光场数据的总量,从而有助于减少计算量。In this way, the calculation order of the light transmittance of multiple pixel points is determined based on the value of the pixel weight parameter, which can ensure that the light transmittance of the pixel point through which the light corresponding to the pixel with a high pixel weight in the viewpoint image is calculated first And locked to ensure that the reconstructed light meets its display effect in the viewpoint image, which helps to improve the display quality. In addition, when the pixel weight of a pixel is as low as zero, it indicates that the light corresponding to the pixel does not need to perform light field decomposition calculations, thereby reducing the total amount of light field data that needs to be subjected to light field decomposition, thereby helping to reduce the amount of calculation.
在一些实施例中,所述根据各所述视点图像及经过所述图像处理模型处理后各像素对应的像素权重参数的数值,确定空间光调制阵列各液晶层各像素点的透光率的计算顺序和透光率的数值的步骤,具体包括:In some embodiments, according to each of the viewpoint images and the value of the pixel weight parameter corresponding to each pixel after being processed by the image processing model, the calculation of the light transmittance of each pixel of each liquid crystal layer of the spatial light modulation array is determined The steps of order and numerical value of light transmittance specifically include:
根据所述像素权重参数的数值,确定各所述视点图像中各像素对应的光线的光线权重。According to the value of the pixel weight parameter, the light weight of the light corresponding to each pixel in each viewpoint image is determined.
本领域技术人员能够理解的,视点图像中每一像素均对应一光线,通过光线感知视点图像。Those skilled in the art can understand that each pixel in the viewpoint image corresponds to a light, and the viewpoint image is perceived through the light.
示例性的,像素权重参数的数值是1,则对应光线的光线权重是1;像素权重参数的数值是0,则对应光线的光线权重是0;像素权重参数的数值是2,则对应光线的光线权重是2。Exemplarily, if the value of the pixel weight parameter is 1, the light weight of the corresponding light is 1; if the value of the pixel weight parameter is 0, the light weight of the corresponding light is 0; The light weight is 2.
根据预设的光场分解算法、所述光线及其光线权重,确定各液晶层中各像素点的透光率的计算顺序和透光率的数值;其中,所述计算顺序被配置为根据经过所述像素点的各光线的光线权重中最大值确定。According to the preset light field decomposition algorithm, the light rays and their light weights, determine the calculation sequence and the value of the light transmittance of each pixel in each liquid crystal layer; wherein, the calculation sequence is configured according to the process The maximum value among the light weights of the light rays of the pixel point is determined.
这里,预设的光场分解算法可以是基于非负矩阵分解的光场显示方法,这里不做限定。Here, the preset light field decomposition algorithm may be a light field display method based on non-negative matrix decomposition, which is not limited here.
如图6所示,像素点会有多个光线通过。大部分像素点的光线的数量可以根据视点图像的数量确定。每一光线均通过各液晶层,其最终的显示效果由其通过的各像素点综合决定。需要说明的是,由于光场显示的范围的限制,部分像素点的光线数量可能少于视点图像的数量。As shown in Figure 6, multiple light rays pass through a pixel. The number of rays for most pixels can be determined according to the number of viewpoint images. Each light passes through each liquid crystal layer, and its final display effect is comprehensively determined by each pixel it passes through. It should be noted that due to the limitation of the display range of the light field, the number of rays of some pixels may be less than the number of viewpoint images.
基于此,为了保证光场的显示效果,像素点透光率的计算顺序由经过该像素点的各光线的光线权重中最大值决定,以保证任一重要光线通过的像素点均能够被优先处理,有利于提高显示效果。Based on this, in order to ensure the display effect of the light field, the calculation order of the light transmittance of a pixel is determined by the maximum value of the light weights of the light rays passing through the pixel point, so as to ensure that any pixel point passing through any important light can be processed first , which is beneficial to improve the display effect.
也就是说,若一个像素点通过的各光线的光线权重均较低,则表明该像素点对于光场分解效果不重要,不必优先处理,甚至不参与光场分解。That is to say, if the light weights of the light rays passing through a pixel point are all low, it indicates that the pixel point is not important to the light field decomposition effect, and does not need to be prioritized, or even does not participate in the light field decomposition.
在一些实施例中,所述根据预设的光场分解算法、所述光线及其光线权重,确定各液晶层中各像素点的透光率的计算顺序和透光率的数值的步骤,具体包括:In some embodiments, the step of determining the calculation order of the light transmittance and the value of the light transmittance of each pixel in each liquid crystal layer according to the preset light field decomposition algorithm, the light and its light weight, specifically include:
比较经过所述像素点的各光线的光线权重,将最大的光线权重确定为所述像素点进行光场分解的顺序值。The ray weights of the light rays passing through the pixel are compared, and the largest ray weight is determined as the sequence value for light field decomposition of the pixel.
图3中的选中的10个视点通过图6所示的空间光调制阵列中显示,示例性的,经过像素点a的光线是十条,其光线权重为分别为0、1、2、1、2、0、1、2、1、2,则对应的顺序值为2。The selected 10 viewpoints in FIG. 3 are displayed by the spatial light modulation array shown in FIG. 6. Exemplarily, there are ten rays passing through the pixel point a, and the light weights are 0, 1, 2, 1, and 2 respectively. , 0, 1, 2, 1, 2, the corresponding sequence value is 2.
示例性的,经过图6中B液晶层中的像素点b(图中未标示)的光线是十条,其光线权重为分别为0、0、1、1、1、3、0、1、1、1,则对应的顺序值为3。Exemplarily, there are ten light rays passing through the pixel point b (not shown in the figure) in the B liquid crystal layer in FIG. , 1, the corresponding sequence value is 3.
示例性的,经过图6中C液晶层中的像素点c(图中未标示)的光线是十条,其光线权重为分别为0、0、0、0、0、0、0、0、0、0,则对应的顺序值为0。Exemplarily, there are ten light rays passing through the pixel point c (not shown in the figure) in the C liquid crystal layer in FIG. , 0, the corresponding sequence value is 0.
本领域技术人员能够理解的,若经某一像素点的光线数量为零,则表明无需对该像素点进行光场分解,因此该像素点的透光率可以直接设定为100%。Those skilled in the art can understand that if the number of light rays passing through a certain pixel point is zero, it means that light field decomposition is not required for the pixel point, so the light transmittance of the pixel point can be directly set to 100%.
将各所述像素点的光场分解顺序值由大至小排序,根据排序结果匹配对应的计算顺序。The light field decomposition sequence values of each pixel are sorted from large to small, and the corresponding calculation sequence is matched according to the sorting results.
需要说明的是,排序结果在前的像素点,其计算顺序靠前;排序结果在后的像素点,其计算顺序靠后。It should be noted that the calculation order of the pixel points whose sorting result is earlier is earlier; the calculation order of the pixel points whose ranking result is later is later.
应当理解的是,相同的光场分解顺序值,其排序的位次相同。也就是说,光场分解顺序值为2的像素点,均具有相同的计算顺序。It should be understood that, for the same light field decomposition sequence value, the order of sorting is the same. That is to say, the pixel points whose light field decomposition order value is 2 all have the same calculation order.
示例性的,存在10个像素点,其对应的光场分解顺序值分别是1、2、2、3、2、1、0、1、2、2。排序结果是3,(2、2、2、2、2),(1、1、1),0。匹配的计算顺序是先计算3对应的像素点、接着是2、2、2、2、2对应的像素点,然后是1、1、1对应的像素点,最后是0对应的像素点。Exemplarily, there are 10 pixel points, and their corresponding light field decomposition order values are 1, 2, 2, 3, 2, 1, 0, 1, 2, 2, respectively. The sorting result is 3, (2, 2, 2, 2, 2), (1, 1, 1), 0. The matching calculation sequence is to first calculate the pixel corresponding to 3, then the pixel corresponding to 2, 2, 2, 2, 2, then the pixel corresponding to 1, 1, 1, and finally the pixel corresponding to 0.
基于所述预设的光场分解算法、所述计算顺序和所述光线,依序确定各像素点的透光率;其中,同一顺序内各像素点的透光率的计算顺序随机确定。Based on the preset light field decomposition algorithm, the calculation order and the light rays, the light transmittance of each pixel is sequentially determined; wherein, the calculation order of the light transmittance of each pixel in the same order is randomly determined.
可选地,响应于最后一顺序的像素点对应的顺序值为零,则直接终止光场分解计算。这里,根据顺序值为零,可以确定光线权重为零,表明通过该像素点的各光线对光场分解不重要,无需进行光场分解。可选地,对应像素点的透光率可以直接设定为100%。Optionally, in response to the sequence value corresponding to the last pixel point being zero, the light field decomposition calculation is directly terminated. Here, according to the order value of zero, it can be determined that the light weight is zero, indicating that each light passing through the pixel is not important to the light field decomposition, and light field decomposition is not required. Optionally, the transmittance of the corresponding pixel can be directly set to 100%.
在一些实施例中,所述液晶层的数量是三层,所述预设的光场分解算法包括式(1)的计算公式:In some embodiments, the number of the liquid crystal layer is three layers, and the preset light field decomposition algorithm includes the calculation formula of formula (1):
其中,Lj为经过任一液晶层的像素点a的第j条光线;bj和cj是光线Lj与除像素点a所在液晶层之外其余两液晶层的交集像素点;V为经过像素点a的光线数量;是第j条重构光线且a是更新前的像素透光率,a′更新后的像素透光率;Among them, L j is the jth ray passing through the pixel point a of any liquid crystal layer; b j and c j are the intersection pixels of the light L j and the other two liquid crystal layers except the liquid crystal layer where the pixel point a is located; V is The number of rays passing through pixel a; is the jth reconstructed ray and a is the transmittance of the pixel before updating, and a' is the transmittance of the pixel after updating;
随机初始化各液晶层的各像素点透光率,按照公式(1)迭代计算a′直至符合预定结束规则,则对应的a′为像素点a透光率且锁定。Randomly initialize the light transmittance of each pixel of each liquid crystal layer, iteratively calculate a' according to formula (1) until it meets the predetermined end rule, then the corresponding a' is the light transmittance of pixel a and locked.
可选地,预定结束规则是更新前和更新后的像素透光率的差值的绝对值最小。Optionally, the predetermined end rule is that the absolute value of the difference between the light transmittance of the pixel before and after the update is the smallest.
应当理解的是,想要计算某一像素点的透光率,按式(1)公式迭代计算即可。It should be understood that if one wants to calculate the light transmittance of a certain pixel point, an iterative calculation according to the formula (1) is sufficient.
示例性的,对于借助边缘感知数据筛选后的视点图像的数量可以是10;未经筛选的视点图图像的数量可以是49。Exemplarily, the number of viewpoint images screened by means of edge-aware data may be 10; the number of unfiltered viewpoint map images may be 49.
需要说明的是,通常V的数值等于视点图像的数值。由于光场显示的范围的限制,部分像素点的光线数量可能少于视点图像的数量,例如靠近用户侧的液晶层的边缘部分。It should be noted that, generally, the value of V is equal to the value of the viewpoint image. Due to the limitation of the display range of the light field, the amount of light rays of some pixels may be less than the amount of viewpoint images, for example, the edge portion of the liquid crystal layer near the user side.
这里,首次计算时,各像素点透光率是随机初始化得到的。当经过计算某一像素点的透光率确定并锁定时,在计算剩余的像素点透光率的过程中,直接利用锁定的透光率参与式(1)的计算。这样的方式,能够保证先计算像素点发出光线的显示效果的情况下确定剩余像素点的透光率,使得像素点的透光率数值更精确,有利于获得更优的显示画质。Here, in the first calculation, the light transmittance of each pixel is obtained by random initialization. When the light transmittance of a certain pixel is determined and locked, in the process of calculating the light transmittance of the remaining pixels, the locked light transmittance is directly used to participate in the calculation of formula (1). This method can ensure that the light transmittance of the remaining pixels is determined under the condition of first calculating the display effect of the light emitted by the pixels, so that the light transmittance value of the pixels is more accurate, which is conducive to obtaining better display quality.
可选地,结合图6,本公开还对式(1)的推导过程示例性说明如下:Optionally, with reference to FIG. 6, the present disclosure also exemplifies the derivation process of formula (1) as follows:
三个液晶层分别用A层、B层和C层表示。以A层为例进行说明,其上的像素点a为例进行说明。The three liquid crystal layers are represented by A layer, B layer and C layer respectively. The layer A is taken as an example for illustration, and the pixel point a on it is taken as an example for illustration.
通过微分求导来更新像素值:Update pixel values by differentiation:
将代入,得到:Will Substituting in, we get:
Lj为经过像素点a的第j条光线;bj和cj是光线Lj与B液晶层和C液晶层的交集像素点;V为经过像素点a的光线数量;是第j条重构光线且a是更新前的像素透光率,a′更新后的像素透光率。L j is the jth ray passing through pixel point a; b j and c j are the intersection pixel points of light L j and B liquid crystal layer and C liquid crystal layer; V is the number of light rays passing through pixel point a; is the jth reconstructed ray and a is the light transmittance of the pixel before updating, and a' is the light transmittance of the pixel after updating.
步骤S107:基于所述空间光调制阵列各液晶层各像素点的透光率,控制所述空间光调制阵列显示重建光场。Step S107: Based on the transmittance of each pixel of each liquid crystal layer of the spatial light modulation array, control the spatial light modulation array to display a reconstructed light field.
由于单个液晶像素可对应多个光线,例如1080×720像素图像的可重建光线在(1080×720)2的范围之内,实际重建过程中为了调和各光线间的互相冲突,往往要远小于这个数。按照本公开利用边缘感知器和图像处理模型对视点图像进行优化,经过优化后的重建光线总数假设为2×5×720×480,各像素的平均负载为:Since a single LCD pixel can correspond to multiple light rays, for example, the reconstructable light rays of a 1080×720 pixel image are within the range of (1080×720) 2 . number. According to this disclosure, the viewpoint image is optimized by using the edge sensor and the image processing model. The total number of reconstructed rays after optimization is assumed to be 2×5×720×480, and the average load of each pixel is:
其中,w表示液晶层中横向像素点数,h表示液晶层中纵向像素点数。Wherein, w represents the number of horizontal pixels in the liquid crystal layer, and h represents the number of vertical pixels in the liquid crystal layer.
需要说明的是,视点图像的数量减少是通过边缘感知器实现,视点图像中像素点减少是通过图像处理模型实现,例如背景去除模型。It should be noted that the reduction of the number of viewpoint images is realized by an edge sensor, and the reduction of pixels in the viewpoint images is realized by an image processing model, such as a background removal model.
由此可见,本公开的光场显示方法对光场重建的优化,可以极大地降低有效负载,从而提升输出画质,有助于提升三维效果的沉浸感。It can be seen that the optimization of the light field reconstruction in the light field display method of the present disclosure can greatly reduce the payload, thereby improving the output image quality and helping to enhance the immersion of the three-dimensional effect.
在一些实施例中,所述光场显示方法获取光场数据,例如视点数量7x7,视点图像分辨率1080x720;可选地,所述光场显示方法还可以获得边缘感知数据,边缘感知数据通过摄像头采集,具体有效区域是宽度1000,高度700,两方向的像素分别是540、360;可以同时获取针对光场数据进行处理的算法策略,例如视点筛选算法、背景去除模型算法、边框识别模型算法。当光场显示方法获得上述的光场数据、边缘感知数据和处理的算法策略时,适配策略配置列举说明如下:In some embodiments, the light field display method acquires light field data, for example, the number of viewpoints is 7x7, and the viewpoint image resolution is 1080x720; optionally, the light field display method can also obtain edge perception data, and the edge perception data is passed through the camera Acquisition, the specific effective area is 1000 in width, 700 in height, and the pixels in the two directions are 540 and 360 respectively; algorithm strategies for processing light field data can be obtained at the same time, such as viewpoint screening algorithm, background removal model algorithm, and frame recognition model algorithm. When the light field display method obtains the above-mentioned light field data, edge-aware data and processing algorithm strategy, the adaptation strategy configuration is listed as follows:
需要说明的是,本公开实施例的方法可以由单个设备执行,例如一台计算机或服务器等。本实施例的方法也可以应用于分布式场景下,由多台设备相互配合来完成。在这种分布式场景的情况下,这多台设备中的一台设备可以只执行本公开实施例的方法中的某一个或多个步骤,这多台设备相互之间会进行交互以完成所述的方法。It should be noted that the methods in the embodiments of the present disclosure may be executed by a single device, such as a computer or a server. The method of this embodiment can also be applied in a distributed scenario, and is completed by cooperation of multiple devices. In the case of such a distributed scenario, one of the multiple devices may only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete all described method.
需要说明的是,上述对本公开的一些实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于上述实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。It should be noted that some embodiments of the present disclosure are described above. Other implementations are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in an order different from those in the above-described embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain embodiments.
本公开实施例还提供一种显示方法。具体地,所述显示方法包括:The embodiment of the present disclosure also provides a display method. Specifically, the display method includes:
获取光场数据;其中,所述光场数据包括多个视点图像;所述视点图像包括像素权重参数;Acquiring light field data; wherein, the light field data includes a plurality of viewpoint images; the viewpoint images include pixel weight parameters;
利用图像处理模型处理所述视点图像,依据处理结果确定目标像素和非目标像素;并更新所述目标像素的像素权重参数的数值;Using an image processing model to process the viewpoint image, determining target pixels and non-target pixels according to the processing results; and updating the value of the pixel weight parameter of the target pixel;
根据各所述视点图像及经过所述图像处理模型处理后各像素对应的像素权重参数的数值,确定空间光调制阵列各液晶层各像素点的透光率的计算顺序和透光率的数值。According to each of the viewpoint images and the value of the pixel weight parameter corresponding to each pixel after being processed by the image processing model, the calculation sequence and the value of the light transmittance of each pixel of each liquid crystal layer of the spatial light modulation array are determined.
在一些实施例中,所述图像处理模型包括背景去除模型、边框识别模型和文字识别模型的至少一者;所述方法包括以下步骤的至少一者:In some embodiments, the image processing model includes at least one of a background removal model, a frame recognition model, and a character recognition model; the method includes at least one of the following steps:
基于所述背景去除模型,确定所述视点图像中的背景像素为第一目标像素;所述第一目标像素对应的像素权重参数的数值降低;Based on the background removal model, it is determined that the background pixel in the viewpoint image is a first target pixel; the value of the pixel weight parameter corresponding to the first target pixel is reduced;
基于所述边框识别模型,确定所述视点图像中的边框像素为第二目标像素;所述第二目标像素对应的像素权重参数的数值升高;和Based on the frame identification model, determining that frame pixels in the viewpoint image are second target pixels; the value of the pixel weight parameter corresponding to the second target pixel is increased; and
基于所述文字识别模型,确定视点图像中的文字像素为第三目标像素;所述第三目标像素对应的像素权重参数的数值升高。Based on the character recognition model, it is determined that the character pixel in the viewpoint image is the third target pixel; the value of the pixel weight parameter corresponding to the third target pixel increases.
在一些实施例中,所述根据各所述视点图像及经过所述图像处理模型处理后各像素对应的像素权重参数的数值,确定空间光调制阵列各液晶层各像素点的透光率的计算顺序和透光率的数值的步骤,具体包括:In some embodiments, according to each of the viewpoint images and the value of the pixel weight parameter corresponding to each pixel after being processed by the image processing model, the calculation of the light transmittance of each pixel of each liquid crystal layer of the spatial light modulation array is determined The steps of order and numerical value of light transmittance specifically include:
根据所述像素权重参数的数值,确定各所述视点图像中各像素对应的光线的光线权重;determining the light weight of the light corresponding to each pixel in each of the viewpoint images according to the value of the pixel weight parameter;
根据预设的光场分解算法、所述光线及其光线权重,确定各液晶层中各像素点的透光率的计算顺序和透光率的数值;并且响应于任一所述像素点的透光率被确定,锁定对应像素点的透光率;According to the preset light field decomposition algorithm, the light rays and their light weights, determine the calculation order of the light transmittance and the value of the light transmittance of each pixel in each liquid crystal layer; and respond to the transmittance of any pixel point The light rate is determined, and the light transmittance of the corresponding pixel is locked;
其中,所述计算顺序被配置为根据经过所述像素点的各光线的光线权重中最大值确定。Wherein, the calculation order is configured to be determined according to the maximum value among the light weights of the light rays passing through the pixel point.
在一些实施例中,所述根据预设的光场分解算法、所述光线及其光线权重,确定各液晶层中各像素点的透光率的计算顺序和透光率的数值的步骤,具体包括:In some embodiments, the step of determining the calculation order of the light transmittance and the value of the light transmittance of each pixel in each liquid crystal layer according to the preset light field decomposition algorithm, the light and its light weight, specifically include:
比较经过所述像素点的光线的光线权重,将最大的光线权重确定为所述像素点的光场分解顺序值;comparing the light weights of the light rays passing through the pixel, and determining the maximum light weight as the light field decomposition sequence value of the pixel;
将各所述像素点的光场分解顺序值由大至小排序,根据排序结果匹配对应的计算顺序;Sorting the light field decomposition order values of each pixel point from large to small, and matching the corresponding calculation order according to the sorting results;
基于所述预设的光场分解算法、所述计算顺序和所述光线,依序确定各像素点的透光率;其中,同一顺序内各像素点的透光率的计算顺序随机确定。Based on the preset light field decomposition algorithm, the calculation order and the light rays, the light transmittance of each pixel is sequentially determined; wherein, the calculation order of the light transmittance of each pixel in the same order is randomly determined.
在一些实施例中,所述方法还包括:In some embodiments, the method also includes:
响应于最后一顺序的像素点对应的顺序值为零,则直接终止光场分解计算。In response to the sequence value corresponding to the last sequence of pixels being zero, the light field decomposition calculation is directly terminated.
在一些实施例中,所述液晶层的数量是三层,所述预设的光场分解算法包括式(1)的计算公式:In some embodiments, the number of the liquid crystal layer is three layers, and the preset light field decomposition algorithm includes the calculation formula of formula (1):
其中,Lj为经过任一液晶层的像素点a的第j条光线;bj和cj是光线Lj与除像素点a所在液晶层之外其余两液晶层的交集像素点;V为经过像素点a的光线数量;是第j条重构光线且a是更新前的像素透光率,a′更新后的像素透光率;Among them, L j is the jth ray passing through the pixel point a of any liquid crystal layer; b j and c j are the intersection pixels of the light L j and the other two liquid crystal layers except the liquid crystal layer where the pixel point a is located; V is The number of rays passing through pixel a; is the jth reconstructed ray and a is the transmittance of the pixel before updating, and a' is the transmittance of the pixel after updating;
随机初始化各液晶层的各像素点透光率,按照公式(1)迭代计算a′直至符合预定结束规则,则对应的a′为像素点a透光率且锁定。Randomly initialize the light transmittance of each pixel of each liquid crystal layer, iteratively calculate a' according to formula (1) until it meets the predetermined end rule, then the corresponding a' is the light transmittance of pixel a and locked.
在一些实施例中,所述利用图像处理模型处理所述视点图像的步骤之前,所述方法还包括:In some embodiments, before the step of using an image processing model to process the viewpoint image, the method further includes:
利用边缘感知器获取边缘感知数据,基于所述边缘感知数据,对所述光场数据进行过滤,确定目标视点图像。The edge sensor is used to acquire edge perception data, and based on the edge perception data, the light field data is filtered to determine a target viewpoint image.
在一些实施例中,所述边缘感知数据包括摄像图像;所述摄像图像包括多个区域且每一区域匹配一视点图像;In some embodiments, the edge-aware data includes a camera image; the camera image includes a plurality of regions and each region matches a viewpoint image;
所述方法包括:The methods include:
利用人脸识别模型,识别所述摄像图像中的人脸并确定人脸在所述摄像图像中的区域;Using a face recognition model to identify the face in the camera image and determine the area of the face in the camera image;
根据所述区域,将所述区域及其周围的区域对应的视点图像确定为目标视点图像。According to the region, the viewpoint images corresponding to the region and its surrounding regions are determined as target viewpoint images.
基于同一发明构思,与上述任意实施例方法相对应的,本公开还提供了一种光场显示装置。Based on the same inventive concept, the present disclosure further provides a light field display device corresponding to the methods in any of the foregoing embodiments.
参考图8,所述光场显示装置,包括:所述光场显示装置包括空间光调制阵列81和处理器82;所述空间光调制阵列包括至少两个液晶层(811、812、813);所述液晶层包括阵列设置的像素点;Referring to FIG. 8, the light field display device includes: the light field display device includes a spatial
所述处理器82被配置为执行以下步骤:The
获取光场数据;其中,所述光场数据包括多个视点图像;所述视点图像包括像素权重参数;Acquiring light field data; wherein, the light field data includes a plurality of viewpoint images; the viewpoint images include pixel weight parameters;
利用图像处理模型处理所述视点图像,依据处理结果确定目标像素和非目标像素;并更新所述目标像素的像素权重参数的数值;Using an image processing model to process the viewpoint image, determining target pixels and non-target pixels according to the processing results; and updating the value of the pixel weight parameter of the target pixel;
根据各所述视点图像及经过所述图像处理模型处理后各像素对应的像素权重参数的数值,确定空间光调制阵列各液晶层各像素点的透光率的计算顺序和透光率的数值。According to each of the viewpoint images and the value of the pixel weight parameter corresponding to each pixel after being processed by the image processing model, the calculation sequence and the value of the light transmittance of each pixel of each liquid crystal layer of the spatial light modulation array are determined.
在一些实施例中,所述光场显示装置包括背光板84,背光板84用于提供背光。In some embodiments, the light field display device includes a
在一些实施例中,所述图像处理模型包括背景去除模型、边框识别模型和文字识别模型的至少一者;所述处理器82被配置为执行以下步骤的至少一者:In some embodiments, the image processing model includes at least one of a background removal model, a frame recognition model, and a character recognition model; the
基于所述背景去除模型,确定所述视点图像中的背景像素为第一目标像素;所述第一目标像素对应的像素权重参数的数值降低;Based on the background removal model, it is determined that the background pixel in the viewpoint image is a first target pixel; the value of the pixel weight parameter corresponding to the first target pixel is reduced;
基于所述边框识别模型,确定所述视点图像中的边框像素为第二目标像素;所述第二目标像素对应的像素权重参数的数值升高;和Based on the frame identification model, determining that frame pixels in the viewpoint image are second target pixels; the value of the pixel weight parameter corresponding to the second target pixel is increased; and
基于所述文字识别模型,确定视点图像中的文字像素为第三目标像素;所述第三目标像素对应的像素权重参数的数值升高。Based on the character recognition model, it is determined that the character pixel in the viewpoint image is the third target pixel; the value of the pixel weight parameter corresponding to the third target pixel increases.
在一些实施例中,所述处理器82被配置为执行以下步骤:In some embodiments, the
根据所述像素权重参数的数值,确定各所述视点图像中各像素对应的光线的光线权重;determining the light weight of the light corresponding to each pixel in each of the viewpoint images according to the value of the pixel weight parameter;
根据预设的光场分解算法、所述光线及其光线权重,确定各液晶层中各像素点的透光率的计算顺序和透光率的数值;并且响应于任一所述像素点的透光率被确定,锁定对应像素点的透光率;According to the preset light field decomposition algorithm, the light rays and their light weights, determine the calculation order of the light transmittance and the value of the light transmittance of each pixel in each liquid crystal layer; and respond to the transmittance of any pixel point The light rate is determined, and the light transmittance of the corresponding pixel is locked;
其中,所述计算顺序被配置为根据经过所述像素点的各光线的光线权重中最大值确定。Wherein, the calculation order is configured to be determined according to the maximum value among the light weights of the light rays passing through the pixel point.
在一些实施例中,所述处理器82被配置为执行以下步骤:In some embodiments, the
比较经过所述像素点的光线的光线权重,将最大的光线权重确定为所述像素点的光场分解顺序值;comparing the light weights of the light rays passing through the pixel, and determining the maximum light weight as the light field decomposition sequence value of the pixel;
将各所述像素点的光场分解顺序值由大至小排序,根据排序结果匹配对应的计算顺序;Sorting the light field decomposition order values of each pixel point from large to small, and matching the corresponding calculation order according to the sorting results;
基于所述预设的光场分解算法和所述计算顺序,依序确定各像素点的透光率;其中,同一顺序内各像素点的透光率的计算顺序随机确定。Based on the preset light field decomposition algorithm and the calculation sequence, the light transmittance of each pixel is sequentially determined; wherein, the calculation sequence of the light transmittance of each pixel in the same sequence is randomly determined.
在一些实施例中,所述处理器82被配置为执行以下步骤:In some embodiments, the
响应于最后一顺序的像素点对应的顺序值为零,则直接终止光场分解计算。In response to the sequence value corresponding to the last sequence of pixels being zero, the light field decomposition calculation is directly terminated.
在一些实施例中,所述液晶层的数量是三层,所述预设的光场分解算法包括式(1)的计算公式:In some embodiments, the number of the liquid crystal layer is three layers, and the preset light field decomposition algorithm includes the calculation formula of formula (1):
其中,Lj为经过任一液晶层的像素点a的第j条光线;bj和cj是光线Lj与除像素点a所在液晶层之外其余两液晶层的交集像素点;V为经过像素点a的光线数量;是第j条重构光线且a是更新前的像素透光率,a′更新后的像素透光率;Among them, L j is the jth ray passing through the pixel point a of any liquid crystal layer; b j and c j are the intersection pixels of the light L j and the other two liquid crystal layers except the liquid crystal layer where the pixel point a is located; V is The number of rays passing through pixel a; is the jth reconstructed ray and a is the transmittance of the pixel before updating, and a' is the transmittance of the pixel after updating;
所述处理器82被配置为执行以下步骤:The
随机初始化各液晶层的各像素点透光率,按照公式(1)迭代计算a′直至符合预定结束规则,则对应的a′为像素点a透光率且锁定。Randomly initialize the light transmittance of each pixel of each liquid crystal layer, iteratively calculate a' according to formula (1) until it meets the predetermined end rule, then the corresponding a' is the light transmittance of pixel a and locked.
在一些实施例中,所述显示装置包括边缘感知器83;In some embodiments, the display device includes an
所述处理器82被配置为执行以下步骤:The
利用所述边缘感知器获取边缘感知数据,基于所述边缘感知数据,对所述光场数据进行过滤,确定目标视点图像。The edge sensor is used to acquire edge perception data, and based on the edge perception data, the light field data is filtered to determine a target viewpoint image.
在一些实施例中,所述边缘感知数据包括摄像图像;所述摄像图像包括多个区域且每一区域匹配一视点图像;In some embodiments, the edge-aware data includes a camera image; the camera image includes a plurality of regions and each region matches a viewpoint image;
所述处理器82被配置为执行以下步骤:The
利用人脸识别模型,识别所述摄像图像中的人脸并确定人脸在所述摄像图像中的区域;Using a face recognition model to identify the face in the camera image and determine the area of the face in the camera image;
根据所述区域,将所述区域及其周围的区域对应的视点图像确定为目标视点图像。According to the region, the viewpoint images corresponding to the region and its surrounding regions are determined as target viewpoint images.
上述实施例的装置用于实现前述任一实施例中相应的显示方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The device in the above embodiment is used to implement the corresponding display method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, so it will not be repeated here.
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本公开的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本公开实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。Those of ordinary skill in the art should understand that: the discussion of any of the above embodiments is exemplary only, and is not intended to imply that the scope of the present disclosure (including claims) is limited to these examples; under the idea of the present disclosure, the above embodiments or Combinations between technical features in different embodiments are also possible, steps may be implemented in any order, and there are many other variations of the different aspects of the disclosed embodiments as described above, which are not provided in detail for the sake of brevity.
另外,为简化说明和讨论,并且为了不会使本公开实施例难以理解,在所提供的附图中可以示出或可以不示出与集成电路(IC)芯片和其它部件的公知的电源/接地连接。此外,可以以框图的形式示出装置,以便避免使本公开实施例难以理解,并且这也考虑了以下事实,即关于这些框图装置的实施方式的细节是高度取决于将要实施本公开实施例的平台的(即,这些细节应当完全处于本领域技术人员的理解范围内)。在阐述了具体细节(例如,电路)以描述本公开的示例性实施例的情况下,对本领域技术人员来说显而易见的是,可以在没有这些具体细节的情况下或者这些具体细节有变化的情况下实施本公开实施例。因此,这些描述应被认为是说明性的而不是限制性的。In addition, for simplicity of illustration and discussion, and so as not to obscure the embodiments of the present disclosure, well-known power/supply circuits associated with integrated circuit (IC) chips and other components may or may not be shown in the provided figures. ground connection. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the embodiments of the disclosure, and this also takes into account the fact that details regarding the implementation of these block diagram devices are highly dependent on the implementation of the embodiments of the disclosure to be implemented. platform (ie, the details should be well within the purview of those skilled in the art). Where specific details (eg, circuits) have been set forth to describe example embodiments of the present disclosure, it will be apparent to those skilled in the art that other applications may be made without or with variations from these specific details. Embodiments of the present disclosure are implemented below. Accordingly, these descriptions should be regarded as illustrative rather than restrictive.
尽管已经结合了本公开的具体实施例对本公开进行了描述,但是根据前面的描述,这些实施例的很多替换、修改和变型对本领域普通技术人员来说将是显而易见的。例如,其它存储器架构(例如,动态RAM(DRAM))可以使用所讨论的实施例。Although the disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications and variations of those embodiments will be apparent to those of ordinary skill in the art from the foregoing description. For example, other memory architectures such as dynamic RAM (DRAM) may use the discussed embodiments.
本公开实施例旨在涵盖落入所附权利要求的宽泛范围之内的所有这样的替换、修改和变型。因此,凡在本公开实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本公开的保护范围之内。The disclosed embodiments are intended to embrace all such alterations, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure shall fall within the protection scope of the present disclosure.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211314252.2A CN116009274A (en) | 2022-10-25 | 2022-10-25 | Light field display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211314252.2A CN116009274A (en) | 2022-10-25 | 2022-10-25 | Light field display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116009274A true CN116009274A (en) | 2023-04-25 |
Family
ID=86034231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211314252.2A Pending CN116009274A (en) | 2022-10-25 | 2022-10-25 | Light field display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116009274A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117273543A (en) * | 2023-10-17 | 2023-12-22 | 苏州巴科光电科技有限公司 | Intelligent LED display device applied to virtual power plant |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106125315A (en) * | 2016-06-24 | 2016-11-16 | 北京国承万通信息科技有限公司 | Display device and method |
CN110082960A (en) * | 2019-05-15 | 2019-08-02 | 合肥工业大学 | A kind of light field display device and its light field optimization algorithm based on highlighted subregion backlight |
CN113574865A (en) * | 2019-01-31 | 2021-10-29 | Pcms控股公司 | Multi-frame decomposition method for image rendering on multi-layer displays |
WO2022108114A1 (en) * | 2020-11-18 | 2022-05-27 | 삼성전자 주식회사 | Stacked display device and control method thereof |
-
2022
- 2022-10-25 CN CN202211314252.2A patent/CN116009274A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106125315A (en) * | 2016-06-24 | 2016-11-16 | 北京国承万通信息科技有限公司 | Display device and method |
CN113574865A (en) * | 2019-01-31 | 2021-10-29 | Pcms控股公司 | Multi-frame decomposition method for image rendering on multi-layer displays |
CN110082960A (en) * | 2019-05-15 | 2019-08-02 | 合肥工业大学 | A kind of light field display device and its light field optimization algorithm based on highlighted subregion backlight |
WO2022108114A1 (en) * | 2020-11-18 | 2022-05-27 | 삼성전자 주식회사 | Stacked display device and control method thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117273543A (en) * | 2023-10-17 | 2023-12-22 | 苏州巴科光电科技有限公司 | Intelligent LED display device applied to virtual power plant |
CN117273543B (en) * | 2023-10-17 | 2025-01-21 | 国网湖北省电力有限公司襄阳供电公司 | An intelligent LED display device for virtual power plants |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhou et al. | Semantic-supervised infrared and visible image fusion via a dual-discriminator generative adversarial network | |
EP4105877A1 (en) | Image enhancement method and image enhancement apparatus | |
US20210012093A1 (en) | Method and apparatus for generating face rotation image | |
CN112581379B (en) | Image enhancement method and device | |
US20220270215A1 (en) | Method for applying bokeh effect to video image and recording medium | |
CN111192226B (en) | Image fusion denoising method, device and system | |
CN114041161A (en) | Method and device for training neural network model for enhancing image details | |
DE112018007721T5 (en) | Acquire and modify 3D faces using neural imaging and time tracking networks | |
CN109635627A (en) | Pictorial information extracting method, device, computer equipment and storage medium | |
KR20210013150A (en) | Lighting estimation | |
CN108710910A (en) | A kind of target identification method and system based on convolutional neural networks | |
CN108549836A (en) | Reproduction detection method, device, equipment and the readable storage medium storing program for executing of photo | |
CN108447058B (en) | Image quality evaluation method and system | |
CN116739899A (en) | Image super-resolution reconstruction method based on SAUGAN network | |
Ding | Visual quality assessment for natural and medical image | |
CN114359289A (en) | An image processing method and related device | |
CN114708173A (en) | Image fusion method, computer program product, storage medium, and electronic device | |
CN115829915A (en) | Image quality detection method, electronic device, storage medium, and program product | |
CN116009274A (en) | Light field display method and device | |
Ngo et al. | Singe image dehazing with unsharp masking and color gamut expansion | |
US20220405972A1 (en) | An imaging sensor, an image processing device and an image processing method | |
WO2023202285A1 (en) | Image processing method and apparatus, computer device, and storage medium | |
Lyu et al. | Enhancing low-light light field images with a deep compensation unfolding network | |
CN114283288B (en) | A method, system, device and storage medium for nighttime vehicle image enhancement | |
CN118135510A (en) | Lane line detection method, electronic device and storage medium |
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 |