Test method for naked-eye stereoscopic display device, viewpoint allocation method and device

By partitioning the naked-eye stereoscopic display device and recording the brightness at different rotation angles, the problem of low viewpoint allocation efficiency was solved, and efficient viewpoint allocation was achieved.

CN122269024APending Publication Date: 2026-06-23GRAVITYXR ELECTRONICS & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GRAVITYXR ELECTRONICS & TECH CO LTD
Filing Date
2024-12-20
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Existing glasses-free stereoscopic display devices suffer from low testing efficiency and excessive time consumption, especially when there are many viewpoints and high screen resolution.

Method used

By dividing the naked-eye stereoscopic display device into sections and illuminating multiple sub-pixels of each section during rotation, the brightness at each rotation angle is recorded, thus achieving viewpoint allocation.

Benefits of technology

It improves the testing efficiency of viewpoint assignment, is applicable to the flexible allocation of any number of viewpoints, and ensures the accuracy of viewpoint assignment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122269024A_ABST
    Figure CN122269024A_ABST
Patent Text Reader

Abstract

This application provides a testing method, viewpoint allocation method, and apparatus for a glasses-free stereoscopic display device. The testing method includes: dividing the pixel array of the glasses-free stereoscopic display device into multiple partitions; during the rotation of the glasses-free stereoscopic display device relative to a brightness acquisition device, at each rotation angle, illuminating multiple sub-pixels of each partition along a preset direction, illuminating at least one group of sub-pixels in each partition at a time; a sub-pixel group includes at least one sub-pixel; and recording the brightness of each illuminated sub-pixel at each rotation angle using the brightness acquisition device for viewpoint allocation of the glasses-free stereoscopic display device. By testing a few sub-pixels in a partition, viewpoint allocation of the entire pixel array is achieved, improving the efficiency of testing and viewpoint allocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of naked-eye stereoscopic technology, and in particular to a testing method, viewpoint allocation method and device for a naked-eye stereoscopic display device. Background Technology

[0002] Before displaying a glasses-free stereoscopic image, a glasses-free stereoscopic display device needs to determine the correspondence between each sub-pixel in the pixel array, such as RGB sub-pixels, and the viewpoint. This correspondence is also called a sub-pixel viewpoint mapping table or sub-pixel mapping table. The accuracy of the viewpoint corresponding to the sub-pixel is a crucial factor affecting the display quality of the glasses-free stereoscopic image.

[0003] In related technologies, to find the optimal viewpoint corresponding to a sub-pixel and allocate viewpoints, it is common practice to photograph the illuminated images of each sub-pixel of the naked-eye stereoscopic display device from different viewpoints, evaluate the brightness of the sub-pixel at each viewpoint, and then allocate viewpoints. When there are many viewpoints and the screen resolution is high, photographing each sub-pixel at each viewpoint is time-consuming and inefficient.

[0004] Therefore, there is an urgent need to provide an efficient testing strategy for naked-eye stereoscopic display devices to achieve viewpoint allocation of subpixels. Summary of the Invention

[0005] This application provides a testing method, viewpoint allocation method, and apparatus for a glasses-free stereoscopic display device. By dividing the glasses-free stereoscopic display device into sections and lighting up a portion of sub-pixels in each section during the rotation of the glasses-free stereoscopic display device, the testing of the glasses-free stereoscopic display device is achieved. This improves testing efficiency while ensuring the accuracy of viewpoint allocation.

[0006] In a first aspect, this application provides a testing method, comprising: dividing a pixel array of a naked-eye stereoscopic display device into multiple partitions; during the period of controlling the naked-eye stereoscopic display device to rotate relative to a brightness acquisition device, at each rotation angle, illuminating multiple sub-pixels of each partition of the pixel array along a preset direction, illuminating at least one sub-pixel group of the partition each time, the sub-pixel group including at least one sub-pixel; and recording the brightness of each illuminated sub-pixel at each rotation angle using the brightness acquisition device for viewpoint allocation of the naked-eye stereoscopic display device.

[0007] Optionally, the pixel array includes multiple sub-pixels distributed horizontally and vertically; the preset direction is a horizontal direction or a vertical direction; the step of illuminating multiple sub-pixels of each partition of the pixel array along the preset direction at each rotation angle includes: illuminating multiple sub-pixels of each partition of the pixel array along the horizontal direction or the vertical direction at each rotation angle.

[0008] Optionally, the method further includes: determining the preset direction based on the tilt angle of the beam splitter.

[0009] Optionally, the pixel array includes multiple sub-pixels distributed horizontally and vertically; the preset direction is the horizontal direction and the vertical direction; the step of illuminating multiple sub-pixels of each partition of the pixel array along the preset direction at each rotation angle includes: illuminating multiple sub-pixels of each partition of the pixel array along the horizontal direction and the vertical direction respectively at each rotation angle; wherein, the coverage width of the multiple sub-pixels of the partition illuminated along the horizontal direction is greater than the theoretical width of the beam splitting unit in the horizontal direction, and the coverage width of the multiple sub-pixels of the partition illuminated along the vertical direction is greater than the theoretical width of the beam splitting unit in the vertical direction.

[0010] Optionally, the method further includes: determining a target number based on the screen shape, screen resolution, and arrangement information of the beam splitting units of the naked-eye stereoscopic display device, so as to divide the pixel array of the naked-eye stereoscopic display device into the target number of partitions.

[0011] Secondly, this application provides a viewpoint allocation method, comprising: after testing a naked-eye stereoscopic display device based on the method provided in the first aspect, obtaining a correspondence between rotation angle and sub-pixel test brightness based on the recorded brightness of each sub-pixel lit at each rotation angle of the naked-eye stereoscopic display device; for each partition, determining the position of a target sub-pixel lit in that partition based on the correspondence and the position of the sub-pixel; determining the offset of each sub-pixel in the pixel array relative to a beam splitting unit covering the sub-pixel based on the determined position of the target sub-pixel in each partition; and determining the viewpoint corresponding to each sub-pixel in the pixel array based on the offset.

[0012] Optionally, determining the position of the target sub-pixel lit in the partition based on the correspondence and the position of the sub-pixel includes: for each lit sub-pixel in the partition, determining the main ray emission angle of the sub-pixel based on the rotation angle corresponding to the test brightness of the sub-pixel in the correspondence and the position of the sub-pixel; and determining the position of the target sub-pixel in the partition based on the angle between the main ray emission angle of the sub-pixel and the screen normal at the sub-pixel.

[0013] Optionally, the method further includes: for each partition, obtaining a fitted straight line based on the tangent of a preset angle of each lit sub-pixel within that partition and the position of each sub-pixel; wherein the preset angle of the sub-pixel is the angle between the main ray emission angle of the sub-pixel and the normal of the screen at that sub-pixel; determining the focal length corresponding to that partition based on the slope of the fitted straight line; if the deviation of the focal length corresponding to each partition is less than or equal to a preset deviation, then determining the average value of the focal length corresponding to each partition as the focal length of the screen of the naked-eye stereoscopic display device. Correspondingly, determining the viewpoint corresponding to each sub-pixel in the pixel array based on the offset includes: determining the emission angle of each sub-pixel in the pixel array based on the offset and the focal length of the screen; determining the viewpoint closest to the emission angle as the viewpoint of each sub-pixel in the pixel array.

[0014] Optionally, the method further includes: if there is a deviation in the focal length deviation corresponding to each partition that is greater than the preset deviation, then based on the focal length corresponding to each partition, a focal length fitting function is obtained, which is used to describe the correspondence between the fitted focal length and the partition. Correspondingly, determining the viewpoint corresponding to each sub-pixel in the pixel array based on the offset includes: for each sub-pixel in the pixel array, based on the partition where the sub-pixel is located and the focal length fitting function, obtaining the fitted focal length corresponding to the sub-pixel; determining the emission angle of the sub-pixel based on the offset of the sub-pixel and the fitted focal length corresponding to the sub-pixel; and determining the viewpoint closest to the emission angle of the sub-pixel as the viewpoint of the sub-pixel.

[0015] Optionally, determining the emission angle of the sub-pixel based on its offset and the corresponding fitted focal length includes: obtaining the normal angle of the sub-pixel; and determining the emission angle of the sub-pixel as the sum of the arctangent of the quotient of the normal angle of the sub-pixel and the offset of the sub-pixel divided by the corresponding fitted focal length of the sub-pixel.

[0016] Optionally, obtaining the normal angle of the sub-pixel includes: obtaining the curve function of the screen of the naked-eye stereoscopic display device; and determining the normal angle of the sub-pixel as the angle between the normal direction of the curve function at the sub-pixel and a set direction.

[0017] Optionally, the number of target sub-pixels determined in each partition is one. Determining the offset of each sub-pixel in the pixel array relative to the beam-splitting unit covering the sub-pixel based on the position of the target sub-pixel determined in each partition includes: for each adjacent partition in the plurality of partitions, determining the pixel period corresponding to the adjacent partition based on the position of the target sub-pixel determined in the adjacent partition and the size and position of its corresponding beam-splitting unit; wherein the pixel period is used to describe the number of sub-pixels covered by a single beam-splitting unit along the preset direction; determining a pixel period fitting function based on the determined pixel period and its corresponding partition; and for each sub-pixel in the pixel array, determining the offset of the sub-pixel relative to the beam-splitting unit covering the sub-pixel based on the position of the sub-pixel and the pixel period fitting function.

[0018] Optionally, the number of target sub-pixels determined in each partition is multiple. Determining the offset of each sub-pixel in the pixel array relative to the beam-splitting unit covering the sub-pixel based on the position of the target sub-pixels determined in each partition includes: for each of the multiple partitions, determining the pixel period corresponding to that partition based on the position of the multiple target sub-pixels determined in that partition; wherein the pixel period is used to describe the number of sub-pixels covered by a single beam-splitting unit along the preset direction; determining a pixel period fitting function based on the pixel period corresponding to each partition; and for each sub-pixel in the pixel array, determining the offset of that sub-pixel relative to the beam-splitting unit covering the sub-pixel based on the position of that sub-pixel and the pixel period fitting function.

[0019] Optionally, the method further includes: obtaining the pixel arrangement of the glasses-free stereoscopic display device; and determining the position of each sub-pixel in the pixel array based on the pixel arrangement of the glasses-free stereoscopic display device and the curve function of the screen of the glasses-free stereoscopic display device.

[0020] Thirdly, this application provides a testing device, comprising: a partitioning module for dividing the pixel array of a glasses-free stereoscopic display device into multiple partitions; a rotation and illumination module for illuminating multiple sub-pixels of each partition of the pixel array along a preset direction at each rotation angle during the period of controlling the rotation of the glasses-free stereoscopic display device relative to a brightness acquisition device, wherein at least one sub-pixel group of the partition is illuminated each time; the sub-pixel group includes at least one sub-pixel; and a brightness recording module for recording the brightness of each illuminated sub-pixel at each rotation angle through the brightness acquisition device for viewpoint allocation of the glasses-free stereoscopic display device.

[0021] Fourthly, this application provides a viewpoint allocation device, comprising: a correspondence acquisition module, configured to, after testing a naked-eye stereoscopic display device based on the method provided in the first aspect, obtain a correspondence between rotation angle and sub-pixel test brightness based on the recorded brightness of each sub-pixel lit at each rotation angle of the naked-eye stereoscopic display device; a target sub-pixel determination module, configured to, for each partition, determine the position of a target sub-pixel in that partition based on the correspondence and the position of the sub-pixel; an offset calculation module, configured to, based on the determined position of the target sub-pixel in each partition, determine the offset of each sub-pixel in the pixel array relative to a beam splitting unit covering the sub-pixel; and a viewpoint allocation module, configured to, based on the offset, determine the viewpoint corresponding to each sub-pixel in the pixel array.

[0022] Fifthly, this application provides a testing device, comprising: a front-end testing unit and a post-processing unit; wherein, the front-end testing unit is used to execute the testing method provided in the first aspect of this application to test a naked-eye stereoscopic display device and obtain the brightness of each sub-pixel lit by the naked-eye stereoscopic display device at each rotation angle; the post-processing unit is used to receive the brightness of each sub-pixel lit by the naked-eye stereoscopic display device at each rotation angle, and execute the viewpoint allocation method provided in the second aspect of this application to obtain the viewpoint corresponding to each sub-pixel in the pixel array of the naked-eye stereoscopic display device.

[0023] In a sixth aspect, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the method provided in the first or second aspect of this application.

[0024] In a seventh aspect, this application provides a computer program product, including a computer program that, when executed by a processor, implements the method provided in the first or second aspect of this application.

[0025] The testing method, viewpoint allocation method, and apparatus for the naked-eye stereoscopic display device provided in this application, during the testing phase, first divide the naked-eye stereoscopic display device into zones, control the rotation of the naked-eye stereoscopic display device relative to the brightness acquisition device, and at each rotation angle, illuminate multiple sub-pixels in a preset direction for each zone. At least one group of sub-pixels is illuminated each time, and each sub-pixel group includes at least one sub-pixel; the sub-pixels illuminated in different iterations are different. Simultaneously, the brightness acquisition device records the brightness of each illuminated sub-pixel at each rotation angle, thereby enabling precise viewpoint allocation during the viewpoint allocation phase based on the recorded brightness of each illuminated sub-pixel at each rotation angle. Viewpoint allocation is achieved by testing a small number of sub-pixels, resulting in high testing efficiency and applicability to viewpoint allocation with any number of viewpoints, offering high flexibility. Attached Figure Description

[0026] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0027] Figure 1 A schematic diagram of the viewpoint allocation process for a glasses-free stereoscopic display device;

[0028] Figure 2 A flowchart illustrating a testing method provided in an embodiment of this application;

[0029] Figure 3A A schematic diagram illustrating an average pixel array division result provided in an embodiment of this application;

[0030] Figure 3B A schematic diagram illustrating a non-uniform pixel array partitioning result provided in an embodiment of this application;

[0031] Figure 4 A schematic diagram showing the tilt angle of the beam splitting unit provided in an embodiment of this application;

[0032] Figure 5 A schematic diagram of multiple sub-pixels illuminated in a partition according to an embodiment of this application;

[0033] Figure 6 A flowchart illustrating a viewpoint allocation method provided in an embodiment of this application;

[0034] Figure 7 A schematic diagram showing the emission angle of the main ray provided in an embodiment of this application;

[0035] Figure 8 A schematic diagram illustrating the correspondence between the main ray emission angle and the relative position provided in the embodiments of this application;

[0036] Figure 9 A schematic diagram of the preset included angle provided in the embodiments of this application;

[0037] Figure 10 A schematic diagram illustrating the position calculation process of the beam splitting unit provided in an embodiment of this application;

[0038] Figure 11 A schematic diagram of the pixel period fitting function provided in an embodiment of this application;

[0039] Figure 12 A schematic diagram of the viewpoint allocation results provided in the embodiments of this application;

[0040] Figure 13 A flowchart illustrating another viewpoint allocation method provided in an embodiment of this application;

[0041] Figure 14A schematic diagram of the fitted straight line provided in an embodiment of this application;

[0042] Figure 15 This is a schematic diagram of the structure of a testing device provided in an embodiment of this application;

[0043] Figure 16 This is a schematic diagram of another testing device provided in an embodiment of this application.

[0044] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0045] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0046] In glasses-free stereoscopic display technology, beam-splitting elements, such as lenticular gratings and slit gratings, are typically used to split the image displayed on the monitor, so that the displayed content presents different images when it reaches the human eyes, thus achieving the effect of displaying a stereoscopic image.

[0047] In order to display parallax images, viewpoints need to be pre-assigned to each sub-pixel in the pixel array of the naked-eye stereoscopic display device. The accuracy of viewpoint assignment is an important factor affecting the display quality of naked-eye stereoscopic images.

[0048] Figure 1 A schematic diagram of the viewpoint allocation process for a glasses-free stereoscopic display device, as shown below. Figure 1 As shown, for multi-viewpoint glasses-free stereoscopic display devices, when allocating viewpoints, cameras need to be deployed at different viewpoints, for example... Figure 1 The VPNs from vp1 to vpn traverse and illuminate each sub-pixel of the glasses-free 3D display device. Figure 1 The algorithm uses solid circles to represent sub-pixels and captures an image of a single lit sub-pixel from a given viewpoint to obtain the brightness of the sub-pixel at each viewpoint. The viewpoint at which the sub-pixel's brightness is maximized is the viewpoint assigned to that sub-pixel.

[0049] Assuming the number of viewpoints is 61 and the resolution of the naked-eye stereoscopic display screen is 1280×720, then the number of photos that need to be taken is 61×1280×720. The photo taking time is too long, resulting in low testing efficiency.

[0050] To address the problem of low testing efficiency for glasses-free stereoscopic display devices during viewpoint allocation, this application provides a testing method. The method involves pre-dividing the glasses-free stereoscopic display device into zones and testing on a zone-by-zone basis. During testing, multiple sub-pixels along a preset direction within a zone are illuminated, with at least one group of sub-pixels in each zone illuminated at a time. A sub-pixel group may include one or more sub-pixels. The brightness of each illuminated sub-pixel is recorded each time, and viewpoint allocation for sub-pixels is achieved by establishing the correspondence between the brightness of the illuminated sub-pixels and the rotation angle. By achieving sub-pixel viewpoint allocation through testing a small number of sub-pixels in a zone, testing efficiency is improved.

[0051] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0052] Figure 2 This is a flowchart illustrating a testing method provided in an embodiment of this application. This testing method is used to test a naked-eye stereoscopic display device to perform viewpoint allocation for sub-pixels. This testing method can be executed by a device with corresponding data processing capabilities, such as a testing device. Figure 2 As shown, the testing method provided in this embodiment includes the following steps:

[0053] Step S201: Divide the pixel array of the naked-eye stereoscopic display device into multiple partitions.

[0054] The number of partitions can be predetermined, and the pixel array of the naked-eye stereoscopic display device can be divided into a corresponding number of partitions based on that number.

[0055] For example, an average division method can be used to obtain partitions containing the same number of sub-pixels. Alternatively, a non-average division method can be used to obtain partitions containing varying numbers of sub-pixels.

[0056] For example, the subpixels in the pixel array can be R (Red), G (Green), and B (Blue) subpixels.

[0057] Figure 3A This is a schematic diagram of an average pixel array division result provided in an embodiment of this application, as shown below. Figure 3A As shown, Figure 3A Taking a naked-eye stereoscopic display device with a pixel array of 12×32 sub-pixels as an example, each partition includes 6×8 sub-pixels, and the total number of partitions is 8.

[0058] Figure 3BThis is a schematic diagram of a non-uniform pixel array partitioning result provided in an embodiment of this application, as shown below. Figure 3B As shown, for a naked-eye stereoscopic display device with a pixel array comprising 24×24 sub-pixels, a non-uniform division method can be used to divide the pixel array into 14 partitions, numbered partition 1 to partition 16. The number of sub-pixels included in each partition is as follows: Figure 3B As shown, partitions can be divided into six types: 4×4 (partitions 1 and 11), 4×8 (partitions 7 and 10), 6×6 (partitions 2, 3, 12 and 13), 6×12 (partitions 6 and 9), 8×4 (partitions 5 and 8), and 8×8 (partitions 10 and 14).

[0059] In some embodiments, the screen of the naked-eye stereoscopic display device can be a curved screen, and the size of the partition can be determined based on the degree of curvature at various points on the curved screen. The size of the partition can be determined by the number of rows and columns of pixels contained in the partition.

[0060] For flat screens, the pixel array of the screen can be divided into multiple partitions using an average division method.

[0061] For curved screens, the pixel array division method is determined based on the curve function of the curved screen, and the pixel array is divided into multiple partitions based on the determined division method.

[0062] Regardless of the method used to divide the pixel array, it is necessary to ensure that the sub-pixels contained in each partition meet the following condition: the width covered by the sub-pixels along the preset direction is greater than the theoretical width covered by the beam splitting unit in that preset direction.

[0063] The beam-splitting units above the pixel array typically have a certain tilt angle α. The width covered by a beam-splitting unit in a certain direction is the component of the beam-splitting unit's period in that direction. The period of the beam-splitting unit describes the minimum unit length of repetition within the beam-splitting element, and can be either the width or length of the beam-splitting unit. The period (or size) and tilt angle of the beam-splitting unit can be pre-stored in the glasses-free stereoscopic display device. During testing, the period and tilt angle of the beam-splitting unit are read, and based on these parameters, the theoretical width of the beam-splitting unit in a preset direction is determined.

[0064] When dividing the pixel array into partitions, the number of partitions can be a default number or a given number, or the number of partitions can be dynamically determined, for example, based on one or more parameters such as screen resolution, screen shape, and arrangement information of beam splitting units.

[0065] Assuming the same screen resolution and beam splitter arrangement, curved screens have more partitions than flat screens; the larger the screen size, the more partitions there are; the more regular the beam splitter arrangement, the fewer partitions there are.

[0066] Optionally, the testing method further includes: determining a target number based on the screen shape, screen resolution, and beam splitting unit arrangement information of the naked-eye stereoscopic display device, so as to divide the pixel array of the naked-eye stereoscopic display device into the target number of partitions.

[0067] Screen shape describes the curved shape of the screen, such as curve functions and curvature. Beam splitter arrangement information describes the arrangement pattern of the beam splitters, which can include the size and tilt angle of each beam splitter. The more consistent the size and tilt angle of the beam splitters, the more regular the arrangement information, and the fewer targets can be identified.

[0068] The initial number and range of partitions can be given in advance, and then the initial number can be adjusted based on the screen shape, screen resolution and arrangement information of the beam splitting unit of the naked-eye stereoscopic display device to obtain the target number.

[0069] Each screen resolution can correspond to an initial number, which can be the minimum number of partitions at that screen resolution. This corresponds to the number of partitions on a flat screen under the ideal arrangement of beam splitting units. Based on the screen shape and beam splitting unit arrangement information of the naked-eye stereoscopic display device, this initial number can be increased to obtain the target number.

[0070] For example, if the initial quantity is 64, then for a curved screen, the initial quantity is increased by 16; if the size deviation of the beam splitter is in the first interval, the initial quantity is increased by 4; if the size deviation of the beam splitter is in the second interval, the initial quantity is increased by 8; if the tilt angle deviation of the beam splitter is in the third interval, the initial quantity is increased by 4; if the size deviation of the beam splitter is in the fourth interval, the initial quantity is increased by 8. Based on the conditions satisfied by the naked-eye stereoscopic display device, the initial quantity is increased to obtain the final target quantity.

[0071] After determining the target number N, the pixel array of the naked-eye stereoscopic display device is divided into N partitions based on the target number N.

[0072] By combining the parameters of the naked-eye stereoscopic display device, the number of partitions is dynamically determined, which improves the accuracy of pixel array partitioning. This avoids the problem of too many partitions leading to long testing cycles and increased computation, and also avoids the problem of too few partitions leading to poor viewpoint allocation accuracy, thus affecting the display quality of naked-eye stereoscopic images.

[0073] In step S202, during the rotation of the naked-eye stereoscopic display device relative to the brightness acquisition device, at each rotation angle, for each partition of the pixel array, multiple sub-pixels of that partition are lit up along a preset direction, and at least one sub-pixel group of that partition is lit up each time, and a sub-pixel group includes at least one sub-pixel.

[0074] The brightness acquisition device can be a luminance meter or a camera.

[0075] When a subpixel group includes multiple subpixels, the multiple subpixels in the subpixel group can be consecutive subpixels, that is, each time adjacent consecutive subpixels are lit up along a preset direction; or, there can be unlit subpixels between adjacent subpixels in the subpixel group, that is, each time a subpixel is lit up along a preset direction, an intermittent lighting method is adopted, so that there are unlit subpixels between adjacent lit subpixels in the lit subpixel group.

[0076] For each partition, the multiple sub-pixels lit up during the test are a portion of the sub-pixels contained in that partition, such as multiple sub-pixels in a portion of a row or a portion of a column.

[0077] In some embodiments, the plurality of sub-pixels that are illuminated at a rotation angle must satisfy the condition that the coverage width of the plurality of sub-pixels in a preset direction is greater than the theoretical width of the beam splitting unit in the preset direction.

[0078] When multiple sub-pixel groups are lit up in a partition at a time, the sub-pixel groups can be spaced out by one or more sub-pixels, or they can be spaced out without any sub-pixel spacing.

[0079] In some embodiments, the distance between the two farthest sub-pixels in a sub-pixel group in a preset direction is less than the theoretical width of the beam splitting unit in the preset direction.

[0080] When the brightness acquisition device is a camera, it can capture an image of the screen displayed by the naked-eye stereoscopic display device and extract the brightness of the lit sub-pixels from the image.

[0081] When the brightness acquisition device is used for brightness measurement, it can only light up one sub-pixel of one zone of the naked-eye stereoscopic display device at a time, and the brightness of the lit sub-pixel is collected by the brightness meter.

[0082] The position of the brightness acquisition device can be fixed, and the naked-eye stereoscopic display device can be rotated to various rotation angles. Alternatively, the position of the naked-eye stereoscopic display device can be fixed, and the brightness acquisition device can be rotated, thereby controlling the rotation of the naked-eye stereoscopic display device relative to the brightness acquisition device.

[0083] Step S203: The brightness of each sub-pixel lit at each rotation angle is recorded by the brightness acquisition device for viewpoint allocation of the naked-eye stereoscopic display device.

[0084] Among them, the coverage width of the sub-pixels lit up along the preset direction at each rotation angle of each partition is greater than the theoretical width of the beam splitting unit in the preset direction.

[0085] The preset direction can be the direction of the row in the pixel array (horizontal) and / or the direction of the column (vertical).

[0086] After the pixel array is partitioned, the testing phase begins. A rotating component, such as a turntable, rotates the glasses-free stereoscopic display device or brightness acquisition device at multiple angles. The more rotation angles, the higher the accuracy of viewpoint allocation, but the greater the computational load. The number of rotation angles can be configured based on requirements; this application does not limit the number or specific value of the rotation angles. For simplicity, subsequent embodiments of this application use the rotation of the glasses-free stereoscopic display device as an example. It should be understood that this also applies to the rotation of the brightness acquisition device. During the rotation of the glasses-free stereoscopic display device by the rotating component, at each rotation angle, it remains stationary for a period of time. During this stationary period, for each partition of the pixel array, multiple sub-pixels of that partition are sequentially illuminated along a preset direction. Each time a partition is illuminated, one or more sub-pixel groups are illuminated. A sub-pixel group includes at least one sub-pixel. The sub-pixels illuminated in different iterations of the same partition are different.

[0087] For a given partition, the multiple sub-pixels that are lit at each rotation angle can be either consecutive sub-pixels in the pixel array or non-consecutive sub-pixels. For example, there can be at least one sub-pixel between two adjacent lit sub-pixels, such as two.

[0088] For example, assuming the preset direction is horizontal, a partition consists of 8×8 pixels, and subpixel pij represents the subpixel in the i-th row and j-th column of that partition. During testing, a total of 5 subpixels need to be lit in this partition, which can be p32 to p36 in sequence, or p41, p43, p45, p46 and p48.

[0089] When lighting up a sub-pixel of the pixel array, the corresponding sub-pixels of each partition can be lit up simultaneously, enabling parallel testing of partitions and improving testing efficiency.

[0090] To avoid interference between the lit sub-pixels of different partitions, only one partition's sub-pixel group can be lit up in each test, or an interval partition lighting method can be used to light up the sub-pixels of multiple partitions spaced at least one partition apart in parallel, thus balancing interference between lit sub-pixels and test efficiency.

[0091] Optionally, the pixel array includes multiple sub-pixels distributed horizontally and vertically; the preset direction is a horizontal direction or a vertical direction; the step of illuminating multiple sub-pixels of each partition of the pixel array along the preset direction at each rotation angle includes: illuminating multiple sub-pixels of each partition of the pixel array along the horizontal direction or the vertical direction at each rotation angle.

[0092] The horizontal direction can be the direction of the row of the sub-pixel, and the vertical direction can be the direction of the column of the sub-pixel.

[0093] By illuminating multiple sub-pixels in a single row or column of a partition, partition testing can be achieved. The number of sub-pixels illuminated is small, which reduces testing time and the amount of data during post-processing, and improves the efficiency of viewpoint allocation.

[0094] Optionally, the method further includes: determining the preset direction based on the tilt angle of the beam splitter.

[0095] The preset direction is the direction with a larger angle to the long side of the beam splitter.

[0096] For example, Figure 4 This is a schematic diagram showing the tilt angle of the beam splitter unit provided in an embodiment of this application. Figure 4 Taking a curved screen as an example, such as a naked-eye 3D display device Figure 4 As shown, a planar coordinate system xoy is established with the center of the screen as the origin o. The tilt angle α of the beam splitter is the angle between the long side of the beam splitter and the y-axis. If the tilt angle α is less than or equal to 45°, the preset direction can be determined as the direction of the x-axis; conversely, if the tilt angle α is greater than 45°, the preset direction can be determined as the direction of the y-axis.

[0097] Optionally, the pixel array includes multiple sub-pixels distributed horizontally and vertically; the preset direction is the horizontal direction and the vertical direction; the step of illuminating multiple sub-pixels of each partition of the pixel array along the preset direction at each rotation angle includes: illuminating multiple sub-pixels of each partition of the pixel array along the horizontal direction and the vertical direction respectively at each rotation angle; wherein, the coverage width of the multiple sub-pixels of the partition illuminated along the horizontal direction is greater than the theoretical width of the beam splitting unit in the horizontal direction, and the coverage width of the multiple sub-pixels of the partition illuminated along the vertical direction is greater than the theoretical width of the beam splitting unit in the vertical direction.

[0098] For example, Figure 5 A schematic diagram of multiple sub-pixels illuminated in a partition provided in an embodiment of this application, as shown below. Figure 5 As shown, for any partition obtained by dividing the pixel array, at each rotation angle, multiple pixels in a certain row and a certain column of that partition are lit up along the horizontal and vertical directions, respectively. Figure 5 Take lighting up the middle row and column as an example, lighting up 5 sub-pixels horizontally and 8 sub-pixels vertically.

[0099] By illuminating sub-pixels in both the horizontal and vertical directions, the number and range of illuminated sub-pixels are increased. By testing more and wider-ranging sub-pixels, the accuracy of viewpoint allocation is improved.

[0100] The testing method for the naked-eye stereoscopic display device provided in this embodiment involves dividing the naked-eye stereoscopic display device into sections during the testing phase. The device is then rotated relative to a brightness acquisition device. At each rotation angle, multiple sub-pixels in a preset direction are illuminated for each section. Each time, one or more sub-pixel groups are illuminated, with each sub-pixel group including at least one sub-pixel. The sub-pixels illuminated in different rotations are different. Simultaneously, the brightness acquisition device records the brightness of each illuminated sub-pixel at each rotation angle. This allows for precise viewpoint allocation during the viewpoint allocation phase based on the recorded brightness of each illuminated sub-pixel at each rotation angle. By testing a small number of sub-pixels, viewpoint allocation is achieved, resulting in high testing efficiency and applicability to viewpoint allocation with any number of viewpoints, offering high flexibility.

[0101] Figure 6 This is a flowchart illustrating a viewpoint allocation method provided in an embodiment of this application. The viewpoint allocation method is for a naked-eye stereoscopic display device tested using the test method provided in any embodiment of this application. In the test phase, after recording the brightness of each sub-pixel lit at each rotation angle of the naked-eye stereoscopic display device, the viewpoint allocation phase is entered, and the viewpoint allocation method is executed to establish a sub-pixel viewpoint mapping table.

[0102] like Figure 6 As shown, the viewpoint assignment method includes the following steps:

[0103] Step S601: Based on the recorded brightness of each sub-pixel lit up by the naked-eye stereoscopic display device at each rotation angle, obtain the correspondence between the rotation angle and the test brightness of the sub-pixel.

[0104] The test brightness can be the maximum brightness of the lit sub-pixel at various rotation angles, or any brightness greater than a brightness threshold. This brightness threshold is a configurable parameter and can be predetermined based on the brightness of the sub-pixel when it is lit to its brightest point.

[0105] For each lit sub-pixel, find the test brightness, such as the maximum brightness, of the sub-pixel from the recorded brightness of the sub-pixel at each rotation angle to obtain the correspondence between the test brightness of a sub-pixel and the rotation angle. Iterate through each lit sub-pixel to obtain the correspondence between the test brightness of each sub-pixel and the rotation angle.

[0106] Step S602: For each partition, based on the correspondence and the position of the sub-pixel, determine the position of the target sub-pixel of that partition.

[0107] The target sub-pixel is any sub-pixel located within the coverage of the beam splitting unit, such as the outermost sub-pixel or the center sub-pixel covered by the beam splitting unit.

[0108] The center sub-pixel can be understood as the sub-pixel aligned with the beam-splitting unit above it; that is, the center sub-pixel is aligned with the center of the beam-splitting unit above it. The normal angle of the center sub-pixel is the same as or has a small deviation from the emission angle θ of its principal ray.

[0109] The normal angle of a subpixel is determined by the normal direction of the screen at that subpixel in the naked-eye stereoscopic display device.

[0110] For each partition, after obtaining the correspondence between the rotation angle and the test brightness of the sub-pixels in that partition, the position of the target sub-pixel in that partition is determined using this correspondence and the position of the lit sub-pixels in that partition.

[0111] Optionally, determining the position of the target sub-pixel lit in the partition based on the correspondence and the position of the sub-pixel includes: for each lit sub-pixel in the partition, determining the main ray emission angle of the sub-pixel based on the rotation angle corresponding to the test brightness of the sub-pixel in the correspondence and the position of the sub-pixel; and determining the position of the target sub-pixel in the partition based on the angle between the main ray emission angle of the sub-pixel and the screen normal at the sub-pixel.

[0112] For ease of description, the angle between the main ray emission angle of a subpixel and the screen normal at that subpixel is simply referred to as the subpixel's preset angle.

[0113] Specifically, for each illuminated sub-pixel, the principal ray emission angle of that sub-pixel can be obtained based on its rotation angle when the sub-pixel's brightness is sufficiently high (i.e., the test brightness), and the geometric relationship between the naked-eye 3D display device and the brightness acquisition device, such as a camera. This angle is the angle between the sub-pixel's emission direction and the screen normal when the brightness is sufficiently high. Furthermore, based on the principal ray emission angle of the sub-pixel, it can be determined whether the sub-pixel is a target sub-pixel. Alternatively, based on the distribution of the principal ray emission angles of the illuminated sub-pixels within a partition, the target sub-pixel of that partition can be determined, thus obtaining the target sub-pixel's position.

[0114] The range of the principal ray emission angle of the target sub-pixel can be predetermined. Then, based on the principal ray emission angle of each lit sub-pixel within the partition, the sub-pixel located within this range can be identified as the target sub-pixel. If multiple sub-pixels exist within this range, the sub-pixel whose principal ray emission angle is closest to the average of the principal ray emission angles of the multiple sub-pixels within this range can be selected as the target sub-pixel.

[0115] For example, Figure 7 This is a schematic diagram of the main ray emission angle provided in an embodiment of this application, as shown below. Figure 7As shown, taking a camera as the brightness acquisition device and a naked-eye 3D display device rotating around the center of the screen as an example, at the initial moment of the test phase, the camera is facing the screen of the naked-eye 3D display device. After the naked-eye 3D display device rotates by an angle A7, the angle between the line connecting the sub-pixel p7 on the naked-eye 3D display device and the camera and the vertical direction (the normal direction of the screen at the initial moment) is A71. Since the position of the camera is known, the spatial position of the sub-pixel on the screen of the naked-eye 3D display device after rotating by an angle A7 can be calculated using geometric theorems. Using the spatial position of two points, the angle A71 can be calculated. The emission angle θ of the principal ray of sub-pixel p7 is the angle between the line connecting the two points and the normal of the screen of the naked-eye 3D display device after rotating by an angle A7, and θ can be calculated using the following relationship: θ = A7 + A71.

[0116] For each partition, the relative position of the sub-pixel within that partition can be used, such as a position number, to represent the sub-pixel. The correspondence between the main ray emission angle of the lit sub-pixel in that partition and the relative position of the sub-pixel can be recorded.

[0117] For example, Figure 8 A schematic diagram illustrating the correspondence between the main ray emission angle and relative position provided in the embodiments of this application, as shown below. Figure 8 As shown, in this correspondence, the horizontal axis represents the relative position number of the sub-pixel within its partition, and the vertical axis represents the emission angle of the main ray when the brightness of the lit sub-pixel is at its maximum. By using the relative position number of each lit sub-pixel in a partition and the emission angle of the main ray, multiple scattered points are obtained. By smoothly connecting the scattered points, the curve of the emission angle θ of the main ray as a function of the relative position is obtained.

[0118] For example, the target sub-pixel can be the center sub-pixel.

[0119] For a naked-eye 3D display device with a flat screen, it can be determined whether the deviation of the main ray emission angle of the lit sub-pixel from 0° is small enough. If it is less than the set deviation, then the sub-pixel is determined to be the center sub-pixel; or the sub-pixel whose main ray emission angle is closest to 0° can be selected as the center sub-pixel of the partition.

[0120] For glasses-free stereoscopic display devices with curved screens, when determining the center sub-pixel of a partition, the normal direction of the curved screen at the lit sub-pixel can be further considered. Based on the distribution of the angle between the main ray emission angle of the lit sub-pixel and the normal direction, the center sub-pixel of the partition can be determined.

[0121] The position of a subpixel in space can be determined based on the screen's curvature, length, and subpixel arrangement. Then, based on the subpixel's position and the tangent direction at that location, the normal direction of that subpixel can be determined. The preset angle is the angle between the subpixel's principal ray emission angle and its normal direction.

[0122] For example, Figure 9 This is a schematic diagram of the preset included angle provided in the embodiments of this application, such as... Figure 9 As shown, for sub-pixel p9 on the curved screen, its normal direction and the direction of the principal ray emission are as follows: Figure 9 As shown, the main ray emission angle θ is the angle between the main ray emission direction and the screen normal direction (the normal direction of the screen center). The preset angle θˊ is the smallest angle between the normal direction and the main ray emission direction.

[0123] After obtaining the preset angle of each lit sub-pixel, the sub-pixel whose preset angle is closest to 0° can be determined as the center sub-pixel of the partition, or the sub-pixel whose preset angle deviates from 0° by less than the set deviation can be determined as the center sub-pixel.

[0124] In some embodiments, the sub-pixel whose tanθˊ is closest to 0° among the sub-pixels of a partition can be determined as the center sub-pixel of that partition.

[0125] The offset between the central sub-pixel and the beam splitting unit above it can be considered as 0.

[0126] The "above" mentioned in this application embodiment refers to the angle of the light path taken by the emitted light. The light emitted by the sub-pixel needs to be processed by the beam splitting unit, so the beam splitting unit is said to be located above the sub-pixel.

[0127] Step S603: Based on the position of the target sub-pixel determined in each partition, determine the offset of each sub-pixel in the pixel array relative to the beam splitting unit covering the sub-pixel.

[0128] The beam splitter is used to process the light emitted by the covered sub-pixels. Taking a cylindrical lens as an example, the light emitted by the sub-pixel is refracted by the cylindrical lens and then enters the observer's eye.

[0129] After determining the target sub-pixels in each partition, for any two target sub-pixels in a preset direction, such as two adjacent target sub-pixels, the number of beam splitting units between the two target sub-pixels can be obtained based on the position, length, and tilt angle of the beam splitting units above the two target sub-pixels, and is denoted as the first number; then, based on the position between the two target sub-pixels, such as the relative position or spatial position, the number of sub-pixels between the two target sub-pixels can be determined and is denoted as the second number; based on the first number and the second number, the pixel period corresponding to the two target sub-pixels is obtained.

[0130] By using the calculated pixel period corresponding to every two target sub-pixels, a function characterizing the change of pixel period with sub-pixel position is obtained. Based on this function and the position of the sub-pixel, the offset of the sub-pixel relative to the beam splitting unit above it is calculated.

[0131] The position of the center sub-pixel can be calculated based on the position of the target sub-pixel and the relative position of the target sub-pixel and the center sub-pixel. Then, the position of the center sub-pixel can be used to determine the offset of each sub-pixel in the pixel array relative to the beam splitting unit covering the sub-pixel.

[0132] Optionally, the number of target sub-pixels determined in each partition is one. Determining the offset of each sub-pixel in the pixel array relative to the beam-splitting unit covering the sub-pixel based on the position of the target sub-pixel determined in each partition includes: for each adjacent partition in the plurality of partitions, determining the pixel period corresponding to the adjacent partition based on the position of the target sub-pixel determined in the adjacent partition and the size and position of its corresponding beam-splitting unit; wherein the pixel period is used to describe the number of sub-pixels covered by a single beam-splitting unit along the preset direction; determining a pixel period fitting function based on the determined pixel period and its corresponding partition; and for each sub-pixel in the pixel array, determining the offset of the sub-pixel relative to the beam-splitting unit covering the sub-pixel based on the position of the sub-pixel and the pixel period fitting function.

[0133] For cases where only one target sub-pixel is defined for each partition, a pixel period can be determined on a per-adjacent-partition basis. The pixel period describes the number of sub-pixels covered by the cylindrical lens in a preset direction. Adjacent partitions can be understood as partitions that are adjacent in the preset direction, i.e., partitions that are not separated by other partitions.

[0134] Specifically, for each partition, the pixel index of the target sub-pixel in that partition is denoted as n, and its spatial position is denoted as (x, y). The position of the center of the beam-splitting unit above the target sub-pixel can be calculated based on the curve function and thickness of the naked-eye stereoscopic display screen, and is denoted as (x...). lens ,y lensThen, based on the distance between the beam-splitting units above the two target sub-pixels of two adjacent partitions in a preset direction, and the length of the beam-splitting unit in the preset direction, the number of beam-splitting units between the two target sub-pixels in the two partitions is obtained, and is denoted as the first number; at the same time, based on the spatial position of the two target sub-pixels, the number of sub-pixels between the two target sub-pixels is obtained, and is denoted as the second number. The quotient of the second number divided by the first number can be used to obtain the pixel period corresponding to the two partitions.

[0135] The thickness of the screen of a glasses-free stereoscopic display device is the distance from the light-emitting surface of the glasses-free stereoscopic display device to the upper surface of the substrate.

[0136] Taking the target sub-pixel as the center sub-pixel as an example, Figure 10 This is a schematic diagram illustrating the position calculation process of the beam splitter unit provided in an embodiment of this application, as shown below. Figure 10 As shown, the light-emitting surface of the naked-eye 3D display device includes three types of sub-pixels: RGB, and the curve function of the light-emitting surface is y. panel (x), establish a coordinate system xoy with the center of the screen of the luminous surface as the origin and the normal direction of the curve function at the origin as the positive direction of the vertical axis (y-axis). For one of the central sub-pixels p10, its coordinates are (x, y). Project the central sub-pixel p10 along the normal direction onto the upper surface of the substrate to obtain the projection point L10, whose coordinates are (x, y). l ,y l The coordinates of projection point L10 can be obtained using the thickness d and the curve function y. panel The coordinates (x, y) of the central sub-pixel p10 are calculated. The position of the beam-splitting unit above the central sub-pixel p10, i.e., the beam-splitting unit s10, can be represented by the coordinates of the projection point L10.

[0137] After obtaining the pixel periods corresponding to each pair of adjacent partitions using the above method, a pixel period fitting function can be obtained based on each pixel period and its corresponding partition. The pixel period fitting function can be used to characterize how the fitted pixel period changes with the distance between the sub-pixel and the center of the screen.

[0138] After determining the pixel period fitting function, for any sub-pixel in the pixel array, based on the position of the sub-pixel, such as pixel number, pixel index, spatial position, etc., the pixel period corresponding to the sub-pixel is determined from the pixel period fitting function; based on the pixel period corresponding to the sub-pixel and the position of the target sub-pixel in the same partition as the sub-pixel, the offset of the sub-pixel relative to the upper beam splitting unit in the preset direction is calculated.

[0139] For example, Figure 11 This is a schematic diagram of the pixel period fitting function provided in the embodiments of this application, as shown below. Figure 11As shown, the function graph of the pixel period fitting function has the number of pixels from the center of the screen as the horizontal axis and the pixel period as the vertical axis. By calculating the pixel period corresponding to each adjacent partition, and using the center of the adjacent partition to represent the adjacent partition, multiple discrete points are obtained. By performing curve fitting on these multiple discrete points, the pixel period fitting function can be obtained.

[0140] After determining the pixel period fitting function, for any sub-pixel in the pixel array, based on the position of the sub-pixel, such as pixel number, pixel index, spatial position, etc., the number of pixels between the sub-pixel and the center of the screen is determined, and the pixel period corresponding to the sub-pixel is obtained by reading the pixel period fitting function; based on the pixel period corresponding to the sub-pixel and the position of the target sub-pixel in the same partition as the sub-pixel, the offset of the sub-pixel relative to the upper beam splitting unit in the preset direction is calculated.

[0141] Optionally, the number of target sub-pixels determined in each partition is multiple, and determining the offset of each sub-pixel in the pixel array relative to the beam-splitting unit covering the sub-pixel based on the position of the target sub-pixels determined in each partition includes:

[0142] For each of the plurality of partitions, a pixel period corresponding to the partition is determined based on the positions of the plurality of target sub-pixels determined in the partition; wherein, the pixel period is used to describe the number of sub-pixels covered by a single beam splitting unit along the preset direction; a pixel period fitting function is determined based on the pixel period corresponding to each partition; for each sub-pixel in the pixel array, the offset of the sub-pixel relative to the beam splitting unit covering the sub-pixel is determined based on the position of the sub-pixel and the pixel period fitting function.

[0143] The pixel period corresponding to a partition is the pixel period calculated using the position of the target sub-pixel within that partition.

[0144] When the number of sub-pixels lit up in a partition along a preset direction, such as the x-axis, spans the pixel period of multiple beam splitting units, multiple target sub-pixels can be determined from the sub-pixels lit up in a partition.

[0145] For each partition, a linear fit can be performed on the tangent of the preset angle between the lit sub-pixels in that partition. The sub-pixel corresponding to the tangent value closest to 0 on each straight line is a target sub-pixel. If multiple straight lines crossing 0 are fitted, multiple target sub-pixels can be determined.

[0146] When a partition determines multiple target sub-pixels, it is not necessary to determine the pixel period based on the distribution of target sub-pixels in adjacent partitions; the pixel period can be calculated on a per-partition basis.

[0147] For each of the multiple partitions obtained by dividing the pixel array, a pixel period is calculated using any two target sub-pixels in a preset direction within that partition as a unit. Specifically, the position of the beam-splitting unit above the target sub-pixel can be calculated based on the position of the target sub-pixel, as well as the curve function and thickness of the naked-eye 3D display screen. Then, based on the distance between the beam-splitting units above the two target sub-pixels in the preset direction within that partition, and the length of the beam-splitting unit in the preset direction, the number of beam-splitting units between the two target sub-pixels is obtained, denoted as the third quantity; simultaneously, based on the spatial position of the two target sub-pixels, the number of sub-pixels between the two target sub-pixels is obtained, denoted as the fourth quantity. The quotient of the fourth quantity divided by the third quantity yields the pixel period corresponding to the two target sub-pixels.

[0148] By traversing the two adjacent target sub-pixels in each partition and each preset direction, multiple pixel periods can be calculated. The position corresponding to each pixel period can be the midpoint of the two target sub-pixels. By fitting the calculated pixel periods and their corresponding positions, a pixel period fitting function can be obtained.

[0149] After determining the pixel period fitting function, for any sub-pixel in the pixel array, based on the position of the sub-pixel, such as pixel number, pixel index, spatial position, etc., the pixel period corresponding to the sub-pixel is determined from the pixel period fitting function; based on the pixel period corresponding to the sub-pixel and the position of the target sub-pixel in the same partition as the sub-pixel, such as the position of the target sub-pixel that is in the same partition as the sub-pixel and is closest to it, the offset of the sub-pixel relative to the upper beam splitting unit in the preset direction is calculated.

[0150] By fitting the pixel period, the problem of inconsistent periods of beam-splitting units at different positions caused by inconsistent beam-splitting unit sizes and tilt angle deviations is effectively overcome. The viewpoint allocation is performed using the dynamically fitted pixel period, which improves the accuracy of viewpoint allocation.

[0151] Step S604: Based on the offset, determine the viewpoint corresponding to each sub-pixel in the pixel array.

[0152] For each sub-pixel of the pixel array, after determining the offset of the sub-pixel, the emission angle of the sub-pixel is determined based on the offset of the sub-pixel, the focal length of the screen of the naked-eye stereoscopic display device that is stored in advance, and the normal angle of the sub-pixel. The viewpoint that is closest to the emission angle of the sub-pixel is determined as the viewpoint corresponding to the sub-pixel, and the viewpoint allocation of the sub-pixel is realized, thus obtaining the sub-pixel viewpoint mapping table.

[0153] The normal angle of a subpixel can be the angle between the normal direction of the subpixel and a set direction. The set direction can be the direction in which the row is located in the pixel array, i.e., the horizontal direction, or the direction of the horizontal axis of the established screen coordinate system.

[0154] The emission angle of a sub-pixel can be expressed as: θ 法线 +arctan(x off / f), where f represents the focal length, x off θ represents the offset of a sub-pixel from the beam-splitting unit above it along the x-axis. 法线 The normal angle of the sub-pixel.

[0155] For example, Figure 12 This is a schematic diagram of the viewpoint allocation results provided in the embodiments of this application, as shown below. Figure 12 As shown, the glasses-free stereoscopic display device corresponds to multiple viewpoints, such as... Figure 12 In the pixel arrays v120 to v129, the emission angle φ of one of the sub-pixels p12 is as follows: Figure 12 As shown, the line connecting sub-pixel p12 and viewpoint v127 is closest to the emission angle φ, therefore viewpoint v127 can be determined as the viewpoint corresponding to sub-pixel p12. By analogy, the viewpoints corresponding to each sub-pixel in the pixel array can be obtained, thus obtaining the sub-pixel viewpoint mapping table of the naked-eye stereoscopic display device.

[0156] The viewpoint allocation method provided in this embodiment is based on the results provided by the aforementioned efficient testing method. By testing the correspondence between brightness and rotation angle, it identifies the target sub-pixels of the partition. Using the distribution of the target sub-pixels and combining them with the characteristics of the screen itself, it calculates the offset of each sub-pixel in the pixel array relative to the beam splitting unit, and then uses these offsets for viewpoint allocation. This method achieves viewpoint allocation of the entire pixel array based on the test results of a few sub-pixels, resulting in high efficiency and applicability to naked-eye stereoscopic display devices with various numbers of viewpoints, offering high flexibility.

[0157] Figure 13 This is a flowchart illustrating another viewpoint allocation method provided in an embodiment of this application. Figure 6 Based on the illustrated embodiment, further refinements are made to steps S601 and S603, such as... Figure 13 As shown, the viewpoint allocation method provided in this embodiment may specifically include the following steps:

[0158] Step S1301: Based on the recorded brightness of each sub-pixel lit up by the naked-eye stereoscopic display device at each rotation angle, obtain the correspondence between the rotation angle and the test brightness of the sub-pixel.

[0159] Step S1302: For each lit sub-pixel in the partition, based on the rotation angle corresponding to the test brightness of the sub-pixel in the correspondence and the position of the sub-pixel, determine the main ray emission angle of the sub-pixel.

[0160] Step S1303: Determine the angle between the main ray emission angle of the sub-pixel and the normal of the screen at the sub-pixel to obtain the preset angle of the sub-pixel.

[0161] Step S1304: Based on the preset angle, determine the target sub-pixel of the partition from the sub-pixels that are lit in the partition.

[0162] Specifically, the sub-pixel whose preset angle is closest to 0° can be determined as the target sub-pixel of the partition, or the sub-pixel whose preset angle deviates from 0° from a set deviation less than or equal to the set deviation can be determined as the target sub-pixel.

[0163] Step S1305: Based on the position of the target sub-pixel determined in each partition, determine the offset of each sub-pixel in the pixel array relative to the beam splitting unit covering the sub-pixel.

[0164] Before viewpoint allocation, after obtaining the preset angle of the lit sub-pixels within the partition, the focal length of the naked-eye stereoscopic display device can be dynamically determined to improve the accuracy of sub-pixel viewpoint allocation.

[0165] Step S1306: For each partition, a fitted straight line is obtained based on the tangent of the preset angle between each lit sub-pixel in that partition and the position of each sub-pixel.

[0166] Step S1307: Determine the focal length corresponding to the partition based on the slope of the fitted straight line.

[0167] For each partition, the tangent of the preset angle between the lit sub-pixels in that partition is used as the abscissa, and the position of the lit sub-pixels, such as the relative position, is used as the ordinate to draw multiple discrete points on the plane. Linear fitting is then performed on these multiple discrete points to obtain one or more fitted straight lines.

[0168] For example, Figure 14 A schematic diagram of the fitted straight line provided in the embodiments of this application, as shown below. Figure 14 As shown, with the tangent of the preset angle tanθˊ as the dependent variable x and the relative position of the sub-pixels as the independent variable y, for any partition, multiple discrete points are obtained by using the relative positions of the lit sub-pixels within that partition and the tangent of the preset angle tanθˊ. Figure 14 Taking 7 discrete points as an example, any linear fitting algorithm is used to perform linear fitting on these discrete points, resulting in the fitted line: y = 0.495x + 0.6258.

[0169] If there is only one fitted line for a partition, then the slope of that fitted line is directly determined as the focal length corresponding to that partition.

[0170] If there are multiple fitted lines for a partition, the average, median, or other statistical value representing the average level of the slopes of these multiple fitted lines can be determined as the focal length corresponding to that partition.

[0171] After obtaining the focal length corresponding to each partition, it is necessary to determine whether the focal lengths of each partition are comparable, i.e., whether the deviation is small. If so, the average value of the focal lengths corresponding to each partition can be used to calculate the subsequent emission angle. If the deviation is large, a focal length fitting function can be obtained by fitting the focal length, and the emission angle of the sub-pixel can be calculated using the fitted focal length indicated in the focal length fitting function.

[0172] The calculation of focal length and the calculation of offset can be performed in parallel, or the focal length can be calculated first and then the offset can be calculated. That is, steps S1306 and S1304 can be performed in parallel or in sequence. This application does not limit this.

[0173] Step S1308: If the deviation of the focal length corresponding to each partition is less than or equal to the preset deviation, then the average value of the focal length corresponding to each partition is determined as the focal length of the screen of the naked-eye stereoscopic display device.

[0174] Step S1309: Based on the offset and the focal length of the screen, determine the emission angle of each sub-pixel in the pixel array, and determine the viewpoint closest to the emission angle as the viewpoint of each sub-pixel in the pixel array.

[0175] Optionally, determining the emission angle of the sub-pixel based on its offset and the corresponding fitted focal length includes: obtaining the normal angle of the sub-pixel; and determining the emission angle of the sub-pixel as the sum of the arctangent of the quotient of the normal angle of the sub-pixel and the offset of the sub-pixel divided by the focal length of the screen.

[0176] Step S1310: If there is a deviation in the focal length corresponding to each partition that is greater than the preset deviation, then a focal length fitting function is obtained based on the focal length corresponding to each partition.

[0177] The focal length fitting function is used to describe the correspondence between the fitted focal length and the partition.

[0178] Step S1311: For each sub-pixel in the pixel array, based on the partition where the sub-pixel is located and the focal length fitting function, obtain the fitted focal length corresponding to the sub-pixel.

[0179] Step S1312: Based on the offset of the sub-pixel and the fitted focal length corresponding to the sub-pixel, determine the emission angle of the sub-pixel, and determine the viewpoint closest to the emission angle of the sub-pixel as the viewpoint of the sub-pixel.

[0180] Optionally, determining the emission angle of the sub-pixel based on its offset and the corresponding fitted focal length includes: obtaining the normal angle of the sub-pixel; and determining the emission angle of the sub-pixel as the sum of the arctangent of the quotient of the normal angle of the sub-pixel and the offset of the sub-pixel divided by the corresponding fitted focal length of the sub-pixel.

[0181] When the screen is flat, the normal angle of a subpixel can be the screen's normal angle, which can be determined based on the rotation angle. When the screen is curved, the normal angle of the subpixel needs to be determined based on the subpixel's position and the screen's curve function.

[0182] Optionally, obtaining the normal angle of the sub-pixel includes: obtaining the curve function of the screen of the naked-eye stereoscopic display device; and determining the normal angle of the sub-pixel as the angle between the normal direction of the curve function at the sub-pixel and a set direction.

[0183] The direction can be set to the x-axis direction in the established screen coordinate system. The normal direction of the curve function at that sub-pixel can be determined based on the derivative of the curve function at the sub-pixel position.

[0184] In this embodiment, the dynamic calculation of focal length is achieved by fitting the slope of a straight line with a preset angle; based on the determination of whether the focal length values ​​of different zones are equivalent, different methods are used to achieve focal length fitting, which improves the efficiency of focal length fitting while considering accuracy; the emission angle of sub-pixels is determined by the dynamically calculated focal length, which fully considers the actual situation of naked-eye stereoscopic display devices, improves the accuracy of emission angle determination, and thus improves the accuracy of viewpoint allocation.

[0185] When determining the position of a sub-pixel mentioned in any embodiment of this application, for a flat screen, it can be determined based on the stored pixel arrangement; for a curved screen, in addition to the pixel arrangement, the position of the sub-pixel also needs to be determined by combining the curve function of the curved screen.

[0186] Optionally, the viewpoint allocation method further includes: obtaining the pixel arrangement of the glasses-free stereoscopic display device; and determining the position of each sub-pixel in the pixel array based on the pixel arrangement of the glasses-free stereoscopic display device and the curve function of the screen of the glasses-free stereoscopic display device. The pixel arrangement is used to describe the arrangement method and size of each sub-pixel in the pixel array of the glasses-free stereoscopic display device.

[0187] The arrangement of subpixels can be standard or non-standard. Standard arrangements are relatively regular, such as RGB subpixels being evenly spaced, with each subpixel having the same size, and the subpixel positions exhibiting periodicity or regularity.

[0188] The position of each sub-pixel in the pixel array can be determined based on the arrangement of sub-pixels, the size of the screen or light-emitting surface of the naked-eye stereoscopic display device, and the curve function of the naked-eye stereoscopic display device.

[0189] The pixel arrangement can also include the relative distances between subpixels, such as the distances relative to the subpixels at the center of the screen.

[0190] It is important to understand that, under logically sound conditions, some sequential steps can be executed in parallel to improve efficiency; alternatively, some parallel steps can be executed sequentially in a certain order. The execution order shown in the accompanying drawings of this application is merely an example.

[0191] Corresponding to the testing method provided in the foregoing embodiments, this application also provides a testing apparatus, including:

[0192] The system includes a partitioning module for dividing the pixel array of the glasses-free stereoscopic display device into multiple partitions; a rotation and illumination module for illuminating multiple sub-pixels of each partition of the pixel array along a preset direction at each rotation angle while controlling the rotation of the glasses-free stereoscopic display device relative to the brightness acquisition device, illuminating at least one sub-pixel group of the partition each time; the sub-pixel group includes at least one sub-pixel; and a brightness recording module for recording the brightness of each illuminated sub-pixel at each rotation angle using the brightness acquisition device for viewpoint allocation of the glasses-free stereoscopic display device.

[0193] Optionally, the pixel array includes multiple sub-pixels distributed horizontally and vertically; the preset direction is either the horizontal direction or the vertical direction; the rotation lighting module is specifically used to: during the period of controlling the naked-eye stereoscopic display device to rotate relative to the brightness acquisition device, at each rotation angle, for each partition of the pixel array, sequentially light up multiple sub-pixels of that partition along the horizontal or vertical direction, lighting up one sub-pixel group of that partition each time, and the sub-pixels of that partition are different in different times they are lit up.

[0194] Optionally, the testing device further includes a preset direction determination module for determining the preset direction based on the tilt angle of the beam splitter.

[0195] Optionally, the pixel array includes multiple sub-pixels distributed horizontally and vertically; the preset direction is the horizontal direction and the vertical direction; the rotation lighting module is specifically used to: during the period of controlling the naked-eye stereoscopic display device to rotate relative to the brightness acquisition device, at each rotation angle, for each partition of the pixel array, sequentially light up multiple sub-pixels of that partition along the horizontal direction and the vertical direction, lighting up one group of sub-pixels of that partition each time, and the sub-pixels of that partition lit up in different times are different; wherein, the coverage width of the multiple sub-pixels of that partition lit along the horizontal direction is greater than the theoretical width of the beam splitting unit in the horizontal direction, and the coverage width of the multiple sub-pixels of that partition lit along the vertical direction is greater than the theoretical width of the beam splitting unit in the vertical direction.

[0196] Optionally, the testing device further includes a partition number determination module, used to determine the target number based on the screen shape, screen resolution and beam splitting unit arrangement information of the naked-eye stereoscopic display device, so that the partitioning module divides the pixel array of the naked-eye stereoscopic display device into the target number of partitions.

[0197] The testing apparatus provided in this application can be used to execute the technical solutions of the testing methods provided in any of the above embodiments of this application. The implementation principle and technical effects are similar, and will not be repeated here.

[0198] Corresponding to the viewpoint allocation method provided in the foregoing embodiments, this application also provides a viewpoint allocation device, comprising: a correspondence acquisition module, configured to, after testing the naked-eye stereoscopic display device based on the testing method provided in any of the foregoing embodiments, obtain a correspondence between the rotation angle and the test brightness of the sub-pixels based on the recorded brightness of each sub-pixel lit at each rotation angle of the naked-eye stereoscopic display device; a target sub-pixel determination module, configured to, for each partition, determine the position of a target sub-pixel of that partition based on the correspondence and the position of the sub-pixel; an offset calculation module, configured to, based on the position of the target sub-pixel determined in each partition, determine the offset of each sub-pixel in the pixel array relative to the beam splitting unit covering the sub-pixel; and a viewpoint allocation module, configured to, based on the offset, determine the viewpoint corresponding to each sub-pixel in the pixel array.

[0199] Optionally, the target sub-pixel determination module is specifically used to: for each lit sub-pixel in the partition, determine the main ray emission angle of the sub-pixel based on the rotation angle corresponding to the test brightness of the sub-pixel in the correspondence and the position of the sub-pixel; and determine the position of the target sub-pixel in the partition based on the angle between the main ray emission angle of the sub-pixel and the screen normal at the sub-pixel.

[0200] Optionally, the viewpoint allocation device further includes: a focal length calculation module, used to obtain a fitted straight line for each zone based on the tangent of the preset angle of each lit sub-pixel in the zone and the position of each sub-pixel; wherein the preset angle of the sub-pixel is the angle between the main ray emission angle of the sub-pixel and the normal of the screen at the sub-pixel; and to determine the focal length corresponding to the zone based on the slope of the fitted straight line; and a focal length averaging module, used to determine the average value of the focal lengths corresponding to each zone as the focal length of the screen of the naked-eye stereoscopic display device if the deviation of the focal lengths corresponding to each zone is less than or equal to a preset deviation.

[0201] Correspondingly, the viewpoint allocation module is specifically used to: determine the emission angle of each sub-pixel in the pixel array based on the offset and the focal length of the screen; and determine the viewpoint closest to the emission angle as the viewpoint of each sub-pixel in the pixel array.

[0202] Optionally, the viewpoint allocation device further includes a focal length fitting module, used to: if there is a deviation in the focal length deviation corresponding to each partition that is greater than the preset deviation, then obtain a focal length fitting function based on the focal length corresponding to each partition, wherein the focal length fitting function is used to describe the correspondence between the fitted focal length and the partition.

[0203] Correspondingly, the viewpoint allocation module is specifically used for: for each sub-pixel in the pixel array, obtaining the fitted focal length corresponding to the sub-pixel based on the partition where the sub-pixel is located and the focal length fitting function; determining the emission angle of the sub-pixel based on the offset of the sub-pixel and the fitted focal length corresponding to the sub-pixel; and determining the viewpoint closest to the emission angle of the sub-pixel as the viewpoint of the sub-pixel.

[0204] Optionally, when determining the emission angle, the viewpoint assignment module is specifically used to: determine the emission angle of the sub-pixel as the sum of the arctangent of the quotient of the normal angle of the sub-pixel and the offset of the sub-pixel divided by the fitted focal length corresponding to the sub-pixel.

[0205] Optionally, the viewpoint allocation device further includes a normal angle determination module, used to: obtain the curve function of the screen of the naked-eye stereoscopic display device; and determine the normal angle of the sub-pixel as the angle between the normal direction of the curve function at the sub-pixel and a set direction.

[0206] Optionally, the number of target sub-pixels determined in each partition is one. The offset calculation module is specifically used for: determining the pixel period corresponding to each adjacent partition in the plurality of partitions based on the position of the target sub-pixel determined in the adjacent partition and the size and position of the corresponding beam splitting unit; wherein, the pixel period is used to describe the number of sub-pixels covered by a single beam splitting unit along the preset direction; determining the pixel period fitting function based on the determined pixel period and its corresponding partition; and determining the offset of each sub-pixel in the pixel array relative to the beam splitting unit covering the sub-pixel based on the position of the sub-pixel and the pixel period fitting function.

[0207] Optionally, the number of target sub-pixels determined in each of the partitions is multiple. The offset calculation module is specifically used for: determining the pixel period corresponding to each partition based on the position of the multiple target sub-pixels determined in that partition; wherein the pixel period is used to describe the number of sub-pixels covered by a single beam splitting unit along the preset direction; determining a pixel period fitting function based on the pixel period corresponding to each partition; and determining the offset of each sub-pixel in the pixel array relative to the beam splitting unit covering the sub-pixel based on the position of the sub-pixel and the pixel period fitting function.

[0208] Optionally, the viewpoint allocation device further includes a sub-pixel position determination module, used to: obtain the pixel arrangement of the naked-eye stereoscopic display device; and determine the position of each sub-pixel in the pixel array based on the pixel arrangement of the naked-eye stereoscopic display device and the curve function of the screen of the naked-eye stereoscopic display device.

[0209] The viewpoint allocation device provided in this application embodiment can be used to execute the technical solution of the viewpoint allocation method provided in any of the above embodiments of this application. Its implementation principle and technical effect are similar, and will not be described again here.

[0210] Figure 15 This is a schematic diagram of the structure of a testing device provided in an embodiment of this application, such as... Figure 15 As shown, the testing equipment includes a front-end testing unit 1510 and a post-processing unit 1520.

[0211] The front-end testing unit 1510 is used to execute the testing method provided in any embodiment of this application to test the naked-eye stereoscopic display device and obtain the brightness of each sub-pixel lit by the naked-eye stereoscopic display device at each rotation angle; the post-processing unit 1520 is used to receive the brightness of each sub-pixel lit by the naked-eye stereoscopic display device at each rotation angle and execute the viewpoint allocation method provided in any embodiment of this application to obtain the viewpoint corresponding to each sub-pixel in the pixel array of the naked-eye stereoscopic display device.

[0212] For example, the post-processing unit 1520 may be a computer, server, or other electronic device.

[0213] The front-end testing unit 1510 includes a rotating component, such as a turntable or robotic arm, that drives the naked-eye stereoscopic display device or brightness acquisition device to rotate, and a component that records brightness, namely a brightness acquisition device, such as a camera or luminance meter.

[0214] The front-end testing unit 1510 may further include a pre-processing module for processing the image captured by the camera and extracting the brightness of the lit sub-pixels. The front-end testing unit 1510 then sends the rotation angle and the extracted brightness of the sub-pixels in the image captured by the camera at that rotation angle to the post-processing unit 1520 for processing to achieve viewpoint allocation.

[0215] In some embodiments, the front-end testing unit 1510 may further include a barcode scanner. The naked-eye stereoscopic display device under test is provided with an identification code, such as a barcode or a QR code. The barcode scanner identifies the identification code provided on the naked-eye stereoscopic display device under test to determine the naked-eye stereoscopic display device under test.

[0216] In some embodiments, the front-end testing unit 1510 is located inside the dark box, while the post-processing unit 1520 is located outside the dark box, and the two are communicatively connected. The dark box is also equipped with an illuminance meter to detect light leakage and prevent ambient light from affecting the brightness of the illuminated sub-pixels.

[0217] In some embodiments, the front-end test unit 1510 includes a camera and an adjustment platform. The camera is located on the adjustment platform and is used to adjust the camera's pose via the adjustment platform to aim the camera at the naked-eye stereoscopic display device under test at the initial moment of the test phase.

[0218] In some embodiments, the front-end testing unit 1510 may further include a slide rail for adjusting the distance between the camera and the glasses-free stereoscopic display device.

[0219] In some embodiments, the front-end testing unit 1510 may further include optical elements for changing the direction of light emitted by a portion of the sub-pixels illuminated by the naked-eye stereoscopic display device, reflecting or refracting it to the camera to reduce the number of rotation angles.

[0220] Figure 16 A schematic diagram of another testing device provided in an embodiment of this application is shown below. Figure 16 As shown, the testing equipment includes a computer, a turntable, and a camera. The testing equipment is used to execute the testing methods and viewpoint allocation methods provided in the foregoing embodiments of this application.

[0221] During the testing of the glasses-free stereoscopic display device, the device is fixed to the turntable by a fixing component. The computer controls the rotation of the turntable, which in turn drives the glasses-free stereoscopic display device on it to rotate.

[0222] The camera is used to capture images of each sub-pixel of each illuminated zone at various rotation angles, and then extract the brightness of the illuminated sub-pixels.

[0223] The turntable can be a turntable with multiple rotation axes, such as XYZ three axes, horizontal rotation axis, pitch rotation axis, etc. The center O of the pitch motion of the naked-eye stereoscopic display device is coaxial with the horizontal rotation axis of the turntable.

[0224] The testing equipment may also include an adjustment platform and a slide rail. The camera is placed on the adjustment platform to adjust its position and orientation; the slide rail is used to adjust the distance between the camera and the test sample, i.e., the naked-eye stereoscopic display device. For example, the adjustable range of this distance by the slide rail can be 400 mm to 1200 mm.

[0225] The computer is used to control the camera, turntable, and test sample (i.e., the naked-eye stereoscopic display device to be tested), and records the brightness of the sub-pixels of each zone of the naked-eye stereoscopic display device at each rotation angle. Based on the recorded rotation angle and brightness, viewpoint allocation is achieved.

[0226] The testing equipment may also include a barcode scanner, which identifies the identification code set on the naked-eye stereoscopic display device under test to determine the naked-eye stereoscopic display device being tested.

[0227] In some embodiments, the turntable and camera may be placed inside a darkroom, while the computer is placed outside the darkroom.

[0228] Before testing can begin, a series of checks and calibrations must be performed:

[0229] Close the darkroom cabinet door and the test sample. Use an illuminometer to measure the ambient light intensity and check for light leakage. For example, check if the ambient light intensity is less than 0.1 lux. If so, it is considered that there is no light leakage and proceed to the next step. If there is light leakage, an abnormality warning will be issued.

[0230] After the light leakage test is passed, the distance between the camera and the test sample is adjusted by sliding the rail to make the distance a preset distance, such as 1000 mm.

[0231] Adjust the camera's orientation so that the camera and the center O of the test sample's screen are on the same horizontal line; adjust the camera's focal length so that the center of the test sample's screen can be clearly imaged in the camera; configure the camera parameters and save the test plan so that subsequent test samples can be tested using the camera under this test plan.

[0232] The test sample is scanned using a barcode scanner to obtain its identification information, which is then used to correlate the test results and viewpoint allocation with the identification information.

[0233] The test sample is controlled to display an alignment image (e.g., a crosshair). A camera is used to photograph the test sample, and the orientation of the sample is determined. Factors considered include whether the screen center is at the camera's field of view, whether the screen center is concentric with the rotation axis, whether the angle between the screen and the line connecting the camera and the screen center meets requirements, and whether the screen tilt meets requirements. If any of these factors are not met, the turntable is adjusted to ensure the test sample's orientation meets the requirements. After adjustment, the testing phase begins. The test sample is rotated to the initial angle, and then a horizontal rotation test is performed. At each rotation angle, individual sub-pixels in each section of the test sample's pixel array are sequentially illuminated, and the brightness of the illuminated sub-pixels is captured by the camera and saved to the computer. The rotation angle is continuously adjusted until all preset rotation angles have been tested.

[0234] Based on the brightness of the lit sub-pixels in each partition of the test sample pixel array at various rotation angles stored in the computer, viewpoints are assigned to obtain the calibrated viewpoints corresponding to the sub-pixels. Specifically, post-processing can be performed based on the viewpoint assignment method provided in the foregoing embodiments of this application to obtain the viewpoints corresponding to each sub-pixel.

[0235] For example, a computer can control a turntable via a serial port and a camera via a network port.

[0236] This application also provides a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are executed by a processor, the methods provided in any of the foregoing embodiments can be implemented.

[0237] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the method provided in any of the foregoing embodiments.

[0238] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed.

[0239] The integrated modules implemented as software functional modules described above can be stored in a computer-readable storage medium. These software functional modules, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this application.

[0240] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor. The memory may include high-speed memory, and may also include non-volatile memory, such as at least one disk storage device, and may also be a USB flash drive, external hard drive, read-only memory, disk, or optical disc, etc.

[0241] The aforementioned storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic storage, flash memory, magnetic disk, or optical disk. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0242] An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Alternatively, the storage medium can be an integral part of the processor. The processor and storage medium can reside within an application-specific integrated circuit (ASIC). Alternatively, the processor and storage medium can exist as discrete components in an electronic device or a vehicle's sentry-mode control device.

[0243] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0244] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0245] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods provided in the various embodiments of this application.

[0246] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0247] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A testing method for a naked-eye stereoscopic display device, characterized in that, include: The pixel array of the glasses-free stereoscopic display device is divided into multiple partitions; During the rotation of the naked-eye stereoscopic display device relative to the brightness acquisition device, at each rotation angle, for each partition of the pixel array, multiple sub-pixels of that partition are lit up along a preset direction, and at least one sub-pixel group of that partition is lit up each time; the sub-pixel group includes at least one sub-pixel. The brightness of each sub-pixel illuminated at each rotation angle is recorded by the brightness acquisition device for viewpoint allocation in the naked-eye stereoscopic display device.

2. The method according to claim 1, characterized in that, The pixel array includes multiple sub-pixels distributed horizontally and vertically; the preset direction is either the horizontal direction or the vertical direction. The step of illuminating multiple sub-pixels of each partition of the pixel array along a preset direction at each rotation angle includes: At each rotation angle, for each partition of the pixel array, multiple sub-pixels of that partition are illuminated along the horizontal or vertical direction.

3. The method according to claim 2, characterized in that, The method further includes: The preset direction is determined based on the tilt angle of the beam splitter unit.

4. The method according to claim 1, characterized in that, The pixel array includes multiple sub-pixels distributed horizontally and vertically; the preset direction is the horizontal direction and the vertical direction. The step of illuminating multiple sub-pixels of each partition of the pixel array along a preset direction at each rotation angle includes: At each rotation angle, for each partition of the pixel array, multiple sub-pixels of that partition are lit up along the horizontal and vertical directions respectively; Among them, the coverage width of multiple sub-pixels of the partition lit along the horizontal direction is greater than the theoretical width of the beam splitting unit in the horizontal direction, and the coverage width of multiple sub-pixels of the partition lit along the vertical direction is greater than the theoretical width of the beam splitting unit in the vertical direction.

5. The method according to any one of claims 1-4, characterized in that, The method further includes: Based on the screen shape, screen resolution, and beam splitting unit arrangement information of the naked-eye stereoscopic display device, a target number is determined to divide the pixel array of the naked-eye stereoscopic display device into the target number of partitions.

6. A viewpoint assignment method, characterized in that, include: After testing the naked-eye stereoscopic display device based on the method provided by any one of claims 1-5, the correspondence between the rotation angle and the tested brightness of the sub-pixels is obtained based on the recorded brightness of each sub-pixel lit at each rotation angle of the naked-eye stereoscopic display device. For each partition, based on the correspondence and the position of the sub-pixel, the position of the target sub-pixel of that partition is determined; based on the position of the target sub-pixel determined in each partition, the offset of each sub-pixel in the pixel array relative to the beam splitting unit covering the sub-pixel is determined; Based on the offset, the viewpoint corresponding to each sub-pixel in the pixel array is determined.

7. The method according to claim 6, characterized in that, Determining the position of the target sub-pixel of the partition based on the correspondence and the position of the sub-pixel includes: For each lit sub-pixel in the partition, the main ray emission angle of the sub-pixel is determined based on the rotation angle corresponding to the test brightness of the sub-pixel in the correspondence and the position of the sub-pixel. The position of the target sub-pixel in the partition is determined based on the angle between the main ray emission angle of the sub-pixel and the normal of the screen at the sub-pixel.

8. The method according to claim 7, characterized in that, The method further includes: For each partition, a fitted straight line is obtained based on the tangent of the preset angle of each lit sub-pixel in that partition and the position of each sub-pixel; wherein, the preset angle of the sub-pixel is the angle between the main ray emission angle of the sub-pixel and the normal of the screen at that sub-pixel. Based on the slope of the fitted line, determine the focal length corresponding to the partition; If the deviation of the focal length corresponding to each partition is less than or equal to the preset deviation, then the average value of the focal length corresponding to each partition is determined as the focal length of the screen of the naked-eye stereoscopic display device. Determining the viewpoint corresponding to each sub-pixel in the pixel array based on the offset includes: Based on the offset and the focal length of the screen, the emission angle of each sub-pixel in the pixel array is determined; The viewpoint closest to the emission angle is determined as the viewpoint of each sub-pixel in the pixel array.

9. The method according to claim 8, characterized in that, The method further includes: If there is a deviation in the focal length corresponding to each partition that is greater than the preset deviation, then a focal length fitting function is obtained based on the focal length corresponding to each partition. The focal length fitting function is used to describe the correspondence between the fitted focal length and the partition. Determining the viewpoint corresponding to each sub-pixel in the pixel array based on the offset includes: For each sub-pixel in the pixel array, the fitted focal length corresponding to the sub-pixel is obtained based on the partition where the sub-pixel is located and the focal length fitting function; The emission angle of the sub-pixel is determined based on the offset of the sub-pixel and the corresponding fitted focal length. The viewpoint that is closest to the emission angle of the sub-pixel is determined as the viewpoint of the sub-pixel.

10. The method according to claim 9, characterized in that, Determining the emission angle of a sub-pixel based on its offset and the corresponding fitted focal length includes: Obtain the normal angle of the sub-pixel; The emission angle of the sub-pixel is determined as the sum of the arctangent of the quotient of the normal angle of the sub-pixel and the offset of the sub-pixel divided by the fitted focal length of the sub-pixel.

11. The method according to claim 10, characterized in that, The process of obtaining the normal angle of the sub-pixel includes: Obtain the curve function of the screen of the naked-eye stereoscopic display device; The normal angle of the sub-pixel is determined as the angle between the normal direction of the curve function at that sub-pixel and the set direction.

12. The method according to claim 6, characterized in that, The number of target sub-pixels determined in each partition is one. Determining the offset of each sub-pixel in the pixel array relative to the beam-splitting unit covering the sub-pixel, based on the position of the target sub-pixel determined in each partition, includes: For each adjacent partition among the plurality of partitions, the pixel period corresponding to the adjacent partition is determined based on the position of the target sub-pixel determined in the adjacent partition and the size and position of the corresponding beam splitting unit; wherein, the pixel period is used to describe the number of sub-pixels covered by a single beam splitting unit along the preset direction; Based on the determined pixel period and its corresponding partition, a pixel period fitting function is determined; For each sub-pixel in the pixel array, the offset of the sub-pixel relative to the beam splitting unit covering the sub-pixel is determined based on the position of the sub-pixel and the pixel period fitting function.

13. The method according to claim 6, characterized in that, The number of target sub-pixels determined in each partition is multiple. Determining the offset of each sub-pixel in the pixel array relative to the beam-splitting unit covering the sub-pixel, based on the position of the target sub-pixels determined in each partition, includes: For each of the plurality of partitions, the pixel period corresponding to the partition is determined based on the positions of the plurality of target sub-pixels determined in the partition; wherein, the pixel period is used to describe the number of sub-pixels covered by a single beam splitting unit along the preset direction; Based on the pixel period corresponding to each partition, determine the pixel period fitting function; For each sub-pixel in the pixel array, the offset of the sub-pixel relative to the beam splitting unit covering the sub-pixel is determined based on the position of the sub-pixel and the pixel period fitting function.

14. The method according to any one of claims 6-13, characterized in that, The method further includes: Obtain the pixel arrangement of the naked-eye stereoscopic display device; Based on the pixel arrangement of the naked-eye stereoscopic display device and the curve function of the screen of the naked-eye stereoscopic display device, the position of each sub-pixel in the pixel array is determined.

15. A testing apparatus, characterized in that, include: The partitioning module is used to divide the pixel array of the glasses-free stereoscopic display device into multiple partitions; The rotating illumination module is used to illuminate multiple sub-pixels of each partition of the pixel array along a preset direction at each rotation angle during the period when the naked-eye stereo display device is rotated relative to the brightness acquisition device, and to illuminate at least one sub-pixel group of the partition each time; the sub-pixel group includes at least one sub-pixel. A brightness recording module is used to record the brightness of each sub-pixel lit at each rotation angle through the brightness acquisition device, so as to be used for viewpoint allocation of the naked-eye stereoscopic display device.

16. A viewpoint allocation device, characterized in that, include: The correspondence acquisition module is used to obtain the correspondence between the rotation angle and the test brightness of the sub-pixels based on the recorded brightness of each sub-pixel lit at each rotation angle after testing the naked-eye stereoscopic display device according to the method provided by any one of claims 1-5. The center sub-pixel determination module is used to determine the position of the target sub-pixel of each partition based on the correspondence and the position of the sub-pixel. The offset calculation module is used to determine the offset of each sub-pixel in the pixel array relative to the beam splitting unit covering the sub-pixel, based on the position of the target sub-pixel determined in each partition. The viewpoint assignment module is used to determine the viewpoint corresponding to each sub-pixel in the pixel array based on the offset.

17. A testing device, characterized in that, include: Front-end testing unit and post-processing unit; The front-end testing unit is used to perform the method described in any one of claims 1-5 to test the naked-eye stereoscopic display device and obtain the brightness of each sub-pixel lit by the naked-eye stereoscopic display device at each rotation angle. The post-processing unit is used to receive the brightness of each sub-pixel lit by the naked-eye stereoscopic display device at each rotation angle, and execute the method described in any one of claims 6-14 to obtain the viewpoint corresponding to each sub-pixel in the pixel array of the naked-eye stereoscopic display device.

18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the method as described in any one of claims 1-14.

19. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1-14.