Method and apparatus for testing a slit grating three-dimensional light field display

By generating two-dimensional test images to analyze the quality of the slit grating three-dimensional light field display, the problem of uneven display images in the prior art is solved, and high-precision quality testing and parameter optimization are achieved.

CN116659815BActive Publication Date: 2025-11-07BEIJING UNIV OF POSTS & TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310403775.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2025-11-07
Estimated Expiration
2043-04-14

AI Technical Summary

Technical Problem

Existing technologies lack high-precision quality testing methods for slit grating three-dimensional light field displays, leading to uneven images on the display screen.

Method used

By acquiring the observation ray composed of the light-transmitting point and the observation point on the raster plane of the display, calculating the energy percentage of the refracted ray and the coordinates of the intersection point, and combining the RGB values ​​of the multi-viewpoint composite image, a two-dimensional test image is generated to analyze the display quality.

Benefits of technology

This enables efficient and high-quality simulation testing of slit grating 3D light field displays, ensuring reasonable product parameter design and improving display effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116659815B_ABST
    Figure CN116659815B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of optical devices, and particularly relates to a test method and device for a slit grating three-dimensional light field display. First, the intersection point coordinates of refracted light on a display source of the display and the first pixel grid to which the intersection point coordinates belong on the display source are obtained by using the principle of reversible light path; the first RGB value of the pixel corresponding to the first pixel grid in the multi-viewpoint composite image is determined; the second RGB value of the intersection point coordinates is determined according to the energy percentage and the first RGB value corresponding to the intersection point coordinates; and the second RGB value is filled into the first pixel grid corresponding to the intersection point coordinates to obtain a two-dimensional test image corresponding to the display. By analyzing the display quality of the two-dimensional test image, whether the product parameter design of the slit grating three-dimensional light field display is reasonable can be determined, so that further improvement can be made to ensure that the display effect of the slit grating three-dimensional light field display reaches a high precision requirement.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of optical devices, in particular to a testing method and device for a slit grating three-dimensional light field display. BACKGROUND

[0002] Stereoscopic display has become the core research content in the field of display, and a large number of practical applications of flat panel display devices provide an important implementation basis for the emergence of stereoscopic display equipment and products. As a hot spot in the research of stereoscopic display, the emergence of naked-eye stereoscopic display technology has changed the visual fatigue brought by traditional stereoscopic display, and has brought qualitative changes to stereoscopic display. It attracts people's attention with strong visual impact and good environmental appeal.

[0003] Among them, the slit grating three-dimensional light field display is widely welcomed due to its excellent display effect and relatively low cost. The slit grating three-dimensional display can make the viewer fuse the left and right eye images into a stereoscopic image in the brain according to the principle of binocular parallax, so as to realize the stereoscopic display effect. According to the optical relationship between the slit grating and the sub-pixel array, the distance between the parallax barrier and the display plane is designed, so that the viewer's eyes can see all the sub-pixels of the entire display area view at a given position, thereby enabling the viewer to have the best viewing effect when watching the required image on the entire display screen of the slit grating three-dimensional light field display.

[0004] However, if some product parameter settings of the slit grating three-dimensional stereoscopic display are unreasonable, the viewer will observe the slit grating three-dimensional stereoscopic display to produce some mixed images between views, so that the images on the entire display screen look uneven. Therefore, it is necessary to strictly test the slit grating three-dimensional light field display before it is put into the market. At present, there is still a lack of testing method for the display effect of the slit grating three-dimensional light field display in the prior art. SUMMARY

[0005] The present application provides a testing method and device for a slit grating three-dimensional light field display, which is used to test the display effect of the slit grating three-dimensional light field display before it is put into the market, so as to ensure that the quality and display effect of the slit grating three-dimensional light field display meet the requirements.

[0006] In one aspect, the present application provides a testing method for a slit grating three-dimensional light field display, comprising:

[0007] Obtaining a plurality of light transmission points on the grating plane of the display, and determining an observation light ray composed of each of the light transmission points and an observation point;

[0008] Obtaining a refracted light ray after the observation light ray passes through the grating, and an energy percentage of the refracted light ray.

[0009] determining a coordinate of an intersection point of the refracted light ray on a display source of the display and a first pixel grid to which the coordinate of the intersection point belongs on the display source;

[0010] obtaining a multi-viewpoint composite image corresponding to the display, and determining a first RGB value of a pixel corresponding to the first pixel grid in the multi-viewpoint composite image;

[0011] determining a second RGB value of the coordinate of the intersection point according to an energy percentage of the refracted light ray corresponding to the coordinate of the intersection point and the first RGB value corresponding to the coordinate of the intersection point;

[0012] filling the second RGB value into the first pixel grid corresponding to the coordinate of the intersection point to obtain a two-dimensional test image corresponding to the display.

[0013] According to the test method of the slit grating three-dimensional light field display provided by the application, after the two-dimensional test image corresponding to the display is obtained, the method further comprises:

[0014] determining a display effect of the display according to a quality of the two-dimensional test image.

[0015] According to the test method of the slit grating three-dimensional light field display provided by the application, the method of obtaining a plurality of light-transmitting points on a grating plane of the display and determining an observation light ray composed of each of the light-transmitting points and an observation point comprises:

[0016] obtaining a coordinate of the observation point;

[0017] randomly determining a plurality of light-transmitting points on the grating plane of the display;

[0018] for each of the light-transmitting points, obtaining a coordinate of the light-transmitting point on the grating plane of the display, and determining the observation light ray according to the coordinate of the light-transmitting point on the grating plane and the coordinate of the observation point.

[0019] According to the test method of the slit grating three-dimensional light field display provided by the application, the method of obtaining a refracted light ray of the observation light ray after the observation light ray transmits through the grating and an energy percentage of the refracted light ray comprises:

[0020] obtaining physical parameters and optical parameters of the grating of the display;

[0021] determining an incident angle of the refracted light ray on the grating plane according to the coordinates of the light-transmitting point and the observation point;

[0022] determining the energy percentage of the refracted light ray in the observation light ray according to the physical parameters and the optical parameters of the grating of the display and the incident angle of the refracted light ray on the grating plane.

[0023] According to the test method of the slit grating three-dimensional light field display provided by the application, the determination of the intersection point coordinates of the refracted light rays on the display source of the display and the first pixel grid to which the intersection point coordinates belong on the display source comprises:

[0024] determining the intersection point coordinates of the refracted light rays on the display source of the display;

[0025] determining the first pixel grid to which the intersection point coordinates belong on the display source according to the resolution of the display source of the display.

[0026] According to the test method of the slit grating three-dimensional light field display provided by the application, the determination of the intersection point coordinates of the refracted light rays on the display source of the display and the first pixel grid to which the intersection point coordinates belong on the display source comprises:

[0027] obtaining the multi-viewpoint composite image corresponding to the display;

[0028] determining the second pixel grid corresponding to the first pixel grid in the multi-viewpoint composite image;

[0029] obtaining the first RGB value corresponding to the second pixel grid in the multi-viewpoint composite image.

[0030] According to the test method of the slit grating three-dimensional light field display provided by the application, the determination of the intersection point coordinates of the refracted light rays on the display source of the display and the first pixel grid to which the intersection point coordinates belong on the display source comprises:

[0031] After filling the second RGB value into the first pixel grid corresponding to the intersection point coordinates, linearly compressing the second RGB value in all first pixel grids on the display source to the interval of 0-255 to obtain the two-dimensional test image corresponding to the display.

[0032] In another aspect, the application further provides a test device for a slit grating three-dimensional light field display, comprising:

[0033] a first obtaining unit configured to obtain a plurality of light-transmitting points on the grating plane of the display and determine an observation light ray formed by each of the light-transmitting points and an observation point;

[0034] a second obtaining unit configured to obtain a refracted light ray after the observation light ray passes through the grating and an energy percentage of the refracted light ray;

[0035] a first processing unit configured to determine intersection point coordinates of the refracted light ray on a display source of the display and a first pixel grid to which the intersection point coordinates belong on the display source;

[0036] a third obtaining unit, configured to obtain a multi-viewpoint composite image corresponding to the display, and determine a first RGB value of a pixel corresponding to the first pixel grid in the multi-viewpoint composite image;

[0037] a second processing unit, configured to determine a second RGB value of the intersection point coordinate according to the energy percentage of the refracted light corresponding to the intersection point coordinate and the first RGB value corresponding to the intersection point coordinate;

[0038] a third processing unit, configured to fill the second RGB value into the first pixel grid corresponding to the intersection point coordinate to obtain a two-dimensional test image corresponding to the display.

[0039] In another aspect, the present application also provides a non-transitory computer readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the test method of the slit grating three-dimensional light field display according to any one of the above.

[0040] In another aspect, the present application also provides a computer program product comprising a computer program, the computer program being executed by a processor to implement the test method of the slit grating three-dimensional light field display according to any one of the above.

[0041] The test method of the slit grating three-dimensional light field display provided by the present application firstly obtains a plurality of light transmission points on the grating plane of the display by using the principle of reversible light path, and determines an observation light formed by each light transmission point and an observation point; obtains a refracted light after the observation light transmits through the grating, and an energy percentage of the refracted light; then determines an intersection point coordinate of the refracted light on a display source of the display and a first pixel grid to which the intersection point coordinate belongs on the display source; obtains a multi-viewpoint composite image corresponding to the display, and determines a first RGB value of a pixel corresponding to the first pixel grid in the multi-viewpoint composite image; finally determines a second RGB value of the intersection point coordinate according to the energy percentage of the refracted light corresponding to the intersection point coordinate and the first RGB value corresponding to the intersection point coordinate; and fills the second RGB value into the first pixel grid corresponding to the intersection point coordinate to obtain a two-dimensional test image corresponding to the display. The obtained two-dimensional test image is equivalent to an image actually observed by the user's eyes, and by analyzing the display quality of the two-dimensional test image, it can be determined whether the product parameter design of the slit grating three-dimensional light field display is reasonable, so as to further improve it to ensure that the display effect of the slit grating three-dimensional light field display reaches a high precision requirement. BRIEF DESCRIPTION OF DRAWINGS

[0042] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0043] Figure 1 This is a schematic diagram illustrating the working principle of a three-dimensional light field display using a slit grating.

[0044] Figure 2 A flowchart illustrating the testing method for a slit grating three-dimensional light field display provided in an embodiment of the present invention;

[0045] Figure 3 This is a schematic diagram of the grating structure provided in an embodiment of the present invention;

[0046] Figure 4 This is a schematic diagram of the display source plane pixel grid provided in an embodiment of the present invention;

[0047] Figure 5 A schematic diagram of the test device structure for a slit grating three-dimensional light field display provided in an embodiment of the present invention;

[0048] Figure 6 A schematic diagram of the physical structure of an electronic device is provided. Detailed Implementation

[0049] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0050] Figure 1 This is a schematic diagram illustrating the working principle of a 3D light field display with a slit grating, as shown below. Figure 1 As shown, a 3D light field display based on a slit grating can, according to the principle of binocular parallax, allow the viewer's brain to fuse the images from the left and right eyes into a three-dimensional image, thereby achieving a stereoscopic display effect (i.e., a 3D display effect). By designing the spacing between the slit grating and the display source, as well as the optical parameters of the grating, based on the optical relationship between the slit grating and the sub-pixel array, the viewer can see all the sub-pixels of the entire display source from a given position. This ensures the viewer has the best viewing experience when viewing the desired image across the entire screen of the slit grating 3D light field display.

[0051] How some product parameters of the slit grating three-dimensional display are set unreasonably, which causes the viewer to observe the slit grating three-dimensional display to produce some mixed images between views, so that the images on the whole display screen look uneven. In order to solve the technical problem, the application provides a slit grating three-dimensional light field display testing method for testing the display effect of the slit grating three-dimensional light field display before it is shipped, so as to ensure the quality of the slit grating three-dimensional light field display.

[0052] Specifically, the slit grating three-dimensional light field display testing method provided by the application uses the principle of reversible light path to inversely obtain the two-dimensional test image seen by the human eye according to the corresponding multi-viewpoint synthesis image of the display, determines whether the product parameter design of the slit grating three-dimensional light field display is reasonable by judging the display quality of the two-dimensional test image, for example, if the display quality of the two-dimensional test image is poor, it is determined that the product parameter design of the slit grating three-dimensional light field display is unreasonable, and the product parameters of the slit grating three-dimensional light field display need to be adjusted to ensure the display quality of the slit grating three-dimensional light field display.

[0053] Specifically, in the application, the observation point (the position of the observer) and the random point on the grating plane are introduced, the initial light ray vector is generated according to the observation point and the coordinate point on the grating plane, the light transmission area of the grating is judged according to the importance sampling method, the refracted light ray direction vector set that transmits through the grating is generated after excluding the invalid points, and the accurate intersection coordinates of the refracted light ray and the display source (such as the LCD surface) are found according to the point-wise equation of the space vector. Then the light ray set collides with the LCD to realize the reverse ray tracing of the light ray from the observer to the pixel on the display source. In this way, the accurate intersection point of the light ray "emitted" by the human eye and the display source can be accurately determined. The intersection point coordinates on the display source are corresponded to the pixel grid of the corresponding multi-viewpoint synthesis image (i.e. the three-dimensional synthesis image), and the RGB value is read, the corresponding RGB value is accumulated into the first pixel grid of the display output two-dimensional test image, and then the first pixel grid is subjected to color normalization processing, and finally the correct two-dimensional test image is obtained. According to the output two-dimensional test image, the quality of the slit grating three-dimensional light field display can be determined. In this way, when different observation points are input, the image seen at the observation point can be accurately output, and finally the efficient and high-quality simulation test of the slit grating three-dimensional light field display is realized.

[0054] The technical solutions of the application will be further described below with reference to the drawings.

[0055] Figure 2 The slit grating three-dimensional light field display testing method flowchart provided by the embodiments of the application is shown in Figure 2 The slit grating three-dimensional light field display testing method includes:

[0056] S201, acquire a plurality of light transmission points on the display grating plane, and determine an observation light ray composed of each light transmission point and an observation point.

[0057] Generally, the observation point and the display (including the grating and the display source) can be first unified in the same three-dimensional space coordinate system to facilitate accurate description of their positions.

[0058] For example, the coordinates of the observation point are first acquired, and then a plurality of light transmission points are randomly determined on the display grating plane; for each light transmission point, the coordinates of the light transmission point on the display grating plane are acquired, and the observation light ray is determined according to the coordinates of the light transmission point on the grating plane and the coordinates of the observation point.

[0059] In an embodiment, the light transmission points can be randomly taken on the display grating plane, and then the invalid points are excluded according to the light transmission region of the grating, and the effective points obtained are the light transmission points. Further, Figure 3 The grating structure diagram provided for the embodiment of the present application is shown in Figure 3 As shown in the figure, due to the special properties of the slit grating, a large part of the region belongs to the non-light transmission region (such as the black region in Figure 3 In order to reduce the sampling rate, the importance sampling method can be used to determine the light transmission points of the grating, so as to determine the observation light ray according to the light transmission points and the observation point.

[0060] For example, in an embodiment, in order to reduce the sampling rate, a mathematical model can be established according to the structure of the grating, the light transmission region and the non-light transmission region of the grating are determined through the mathematical model, so that most of the invalid points can be excluded, thereby greatly reducing the sampling rate and further improving the operation efficiency.

[0061] S202, acquire the refracted light ray after the observation light ray transmits through the grating, and the energy percentage of the refracted light ray.

[0062] For example, the physical parameters and optical parameters of the display grating are acquired; specifically, the thickness of the grating, the refractive index of the grating, and the refractive index of the incident medium (air) are acquired. The incident angle of the refracted light ray on the grating plane is determined according to the coordinates of the light transmission point and the observation point; specifically, the direction of the observation light ray and the incident angle on the grating plane can be determined according to the coordinates of the light transmission point and the observation point. The energy percentage of the refracted light ray in the observation light ray is determined according to the physical parameters and optical parameters of the display grating and the incident angle of the refracted light ray on the grating plane.

[0063] In an embodiment, when the light transmission points on the grating are determined, the following method can be specifically used:

[0064] The random points on the grating and the observation points are all composed of initial observation light, and then the optical reflection theorem is used to determine whether the initial observation light will occur total reflection. If total reflection occurs, it is determined that the random point corresponding to the initial observation light is an opaque point. If the initial observation light does not occur total reflection, it is determined that the random point corresponding to the initial observation light is a transparent point, and the initial observation light is determined as an observation light, and then the energy proportion of the refracted light in the whole light is determined according to the refraction principle.

[0065] For example, when determining whether the initial observation light will occur total reflection, the following total reflection formula is used to determine:

[0066] n=1 / sinc (1)

[0067] Wherein, c represents the critical angle, and n is the refractive index.

[0068] Total reflection refers to the phenomenon that when light is incident to the interface between two media, only reflection occurs without refraction. When light is incident from a dense medium to a sparse medium, the refraction angle will be greater than the incident angle. When the incident angle increases to a certain value, the refraction angle will reach 90°, and at this time, there will be no refracted light in the sparse medium. As long as the incident angle is greater than or equal to the above value, there is no refraction phenomenon, which is total reflection.

[0069] Wherein, when determining the energy proportion of the refracted light in the whole observation light, the following Fresnel formula is used to achieve:

[0070]

[0071]

[0072]

[0073]

[0074] In the above formula, ni is the refractive index of the incident medium (air), nt is the refractive index of the grating, and θi is the incident angle of the observation light into the light. In this embodiment, after the refractive index of the grating is obtained, the energy proportion of the refracted light in the whole observation light can be determined according to the above Fresnel formula.

[0075] The Fresnel formula describes the law of reflection and refraction when light waves propagate in two different refractive index media. When light is reflected at the interface between different dielectric media, according to the Fresnel formula, the refractive angle θt of the refracted light and the proportion F(θi) of the reflected light in the total light energy can be calculated according to the refractive indices ni and nt and the incident angle θi of the light.

[0076] S203, determine the intersection point coordinate of the refracted light ray on the display source of the display and the first pixel grid to which the intersection point coordinate belongs on the display source.

[0077] In an example, after the refracted light ray is determined, the collision point of the refracted light ray and the display source is determined by using the reverse ray tracing method. According to the importance sampling method, points are densely taken in the light-transmitting part of the grating, and the refracted direction after the refracted light ray collides with the grating plane is calculated according to the refraction law in space, and the accurate intersection point of the light ray and the display source is solved by using the point-wise equation of the straight line in space. In this embodiment, the display source can be an LCD (Liquid Crystal Display).

[0078] Further, after the intersection point coordinate of the refracted light ray on the display source of the display is determined, the pixel grid of the output image needs to be determined according to the resolution of the display source. The pixel grid of the image output by the display source can also be understood as the pixel grid on the display screen. For example, the number of grid lines in the horizontal direction and the vertical direction on the display source (i.e. the display screen) plane is defined as Mx and My respectively, and then the first pixel grid in which the intersection point coordinate is located on the display source is determined. The first pixel grid can be represented by the coordinate position of the pixel in the entire pixel grid of the display source. Figure 4 The display source plane pixel grid provided by the embodiment of the present application is shown in the following figure: Figure 4 As shown in the figure, each sub-pixel grid in the display source plane pixel grid can be understood as a coordinate in a two-dimensional plane. When the intersection point coordinate is located in a certain pixel grid, the coordinate sequence number of the intersection point coordinate in the pixel grid is recorded.

[0079] As can be seen, for each observation light ray, the energy percentage of the corresponding refracted light ray, the intersection point coordinate on the display source of the display, and the first pixel grid to which the intersection point coordinate belongs need to be determined. In order to realize efficient processing of data, the CUDA (Compute Unified Device Architecture) parallel computing is used in this embodiment. Specifically, for the visualization simulation of the slit grating three-dimensional light field display, the calculation process of each observation light ray can be put into a thread of CUDA, so as to improve the operation efficiency.

[0080] S204, obtaining a multi-viewpoint synthesis image corresponding to the display, and determining a first RGB value of a pixel corresponding to the first pixel grid in the multi-viewpoint synthesis image.

[0081] In an example, the multi-viewpoint composite image corresponding to the display is acquired, which is a pre-composite three-dimensional image; since the pixel network of the multi-viewpoint composite image and the two-dimensional image output by the display is the same, i.e., the number of sub-pixels included in the horizontal and vertical directions is the same, when the second pixel grid corresponding to the first pixel grid in the multi-viewpoint composite image is determined, according to the coordinate number of the first pixel grid, the pixel grid corresponding to the coordinate in the multi-viewpoint composite image is determined as the second pixel grid, and then the first RGB value corresponding to the second pixel grid in the multi-viewpoint composite image is acquired.

[0082] In an example, after the multi-viewpoint composite image corresponding to the display is acquired, according to the position coordinate of the first pixel grid on the display, the target position corresponding to the position coordinate in the multi-viewpoint composite image is found, so as to acquire the RGB value (i.e., the first RGB value mentioned above) of the target position (one pixel grid) corresponding to the target position in the multi-viewpoint composite image, determine the second RGB value of the intersection point coordinate according to the first RGB value, and fill the second RGB value into the first pixel grid in the two-dimensional image.

[0083] In an example, the product of the energy percentage of the refracted light and the first RGB value is taken as the second RGB value of the intersection point coordinate, which is equivalent to inversely obtaining the RGB value in the first pixel grid in the two-dimensional image according to the RGB value of the multi-viewpoint composite image.

[0084] S206, the second RGB value is filled into the first pixel grid corresponding to the intersection point coordinate, so as to obtain the two-dimensional test image corresponding to the display.

[0085] In an example, according to the above method, the first pixel grid corresponding to each intersection point coordinate in the two-dimensional image is filled, so as to obtain the two-dimensional test image corresponding to the display, which is equivalent to the two-dimensional image seen by the left eye or the right eye of the tester.

[0086] In addition, in an example, the resolution of the composite image and the output image is not the same, and multiple composite image pixels may be accumulated into one output resolution grid, so that the RGB value exceeds the interval of 0-255, and needs to be linearly compressed into a reasonable interval. After the second RGB value is filled into the first pixel grid corresponding to the intersection point coordinate, the second RGB value in all first pixel grids on the display source is linearly compressed into the interval of 0-255, so as to obtain the two-dimensional test image corresponding to the display.

[0087] It can be seen that the test method of the slit grating three-dimensional light field display provided in the embodiment can generate a two-dimensional test image for the observation point after inputting the specified parameters, and the quality of the slit grating three-dimensional light field display and whether the parameter setting is reasonable can be determined by analyzing the quality of the two-dimensional test image, thereby realizing efficient and high-quality visualization simulation of the slit grating three-dimensional light field display.

[0088] The test device of the slit grating three-dimensional light field display provided in the present application is described below, and the test device of the slit grating three-dimensional light field display described below can be correspondingly referred to the test method of the slit grating three-dimensional light field display described above.

[0089] Figure 5 The structural schematic diagram of the test device of the slit grating three-dimensional light field display provided in the embodiment of the present application is shown in Figure 5 The test device of the slit grating three-dimensional light field display includes:

[0090] The first acquisition unit 501 is configured to acquire a plurality of light transmission points on the grating plane of the display, and determine an observation light ray formed by each light transmission point and the observation point.

[0091] The second acquisition unit 502 is configured to acquire a refracted light ray after the observation light ray passes through the grating, and an energy percentage of the refracted light ray.

[0092] The first processing unit 503 is configured to determine an intersection point coordinate of the refracted light ray on the display source of the display and a first pixel grid to which the intersection point coordinate belongs on the display source.

[0093] The third acquisition unit 504 is configured to acquire a multi-viewpoint synthesis image corresponding to the display, and determine a first RGB value of a pixel corresponding to the first pixel grid in the multi-viewpoint synthesis image.

[0094] The second processing unit 505 is configured to determine a second RGB value of the intersection point coordinate according to the energy percentage of the refracted light ray corresponding to the intersection point coordinate and the first RGB value corresponding to the intersection point coordinate.

[0095] The third processing unit 506 is configured to fill the second RGB value into the first pixel grid corresponding to the intersection point coordinate, so as to obtain a two-dimensional test image corresponding to the display.

[0096] In a possible implementation, the test device of the slit grating three-dimensional light field display includes a test analysis module, which is configured to analyze the display quality of the slit grating three-dimensional light field display according to the obtained two-dimensional test image.

[0097] In a possible implementation, the first acquisition unit 501 is specifically configured to:

[0098] acquire the coordinates of the observation point;

[0099] randomly determining a plurality of light-transmitting points on a display grating plane;

[0100] for each of the light-transmitting points, acquiring a coordinate of the light-transmitting point on the display grating plane, and determining an observation light ray according to the coordinate of the light-transmitting point on the grating plane and a coordinate of an observation point.

[0101] In a possible implementation, the second acquisition unit 502 is specifically configured to:

[0102] acquire physical parameters and optical parameters of the display grating;

[0103] determine an incident angle of the refracted light ray on the grating plane according to the coordinates of the light-transmitting point and the observation point;

[0104] determine a percentage of energy of the refracted light ray in the observation light ray according to the physical parameters and the optical parameters of the display grating and the incident angle of the refracted light ray on the grating plane.

[0105] In a possible implementation, the first processing unit 503 is specifically configured to:

[0106] determine a coordinate of an intersection point of the refracted light ray on a display source of the display;

[0107] determine a first pixel grid to which the coordinate of the intersection point belongs on the display source according to a resolution of the display source of the display.

[0108] In a possible implementation, the third acquisition unit 504 is specifically configured to:

[0109] acquire a multi-viewpoint synthesis image corresponding to the display;

[0110] determine a second pixel grid corresponding to the first pixel grid in the multi-viewpoint synthesis image;

[0111] acquire a first RGB value corresponding to the second pixel grid in the multi-viewpoint synthesis image.

[0112] In a possible implementation, the second processing unit 505 is specifically configured to:

[0113] multiply the percentage of energy of the refracted light ray by the first RGB value to obtain a second RGB value of the coordinate of the intersection point.

[0114] In a possible implementation, the third processing unit 506 is specifically configured to:

[0115] after filling the second RGB value into the first pixel grid corresponding to the coordinate of the intersection point, linearly compress the second RGB value in all the first pixel grids on the display source to a range of 0-255 to obtain a two-dimensional test image corresponding to the display.

[0116] Figure 6 An example of a schematic diagram of a physical structure of an electronic device is shown in Figure 6 The electronic device can include a processor 610, a communications interface 620, a memory 630, and a communications bus 640, wherein the processor 610, the communications interface 620, and the memory 630 communicate with each other through the communications bus 640. The processor 610 can invoke a logical instruction in the memory 630 to execute a test method for a slit grating three-dimensional light field display, the method comprising: obtaining a plurality of light transmission points on a display grating plane, determining an observation light ray composed of each light transmission point and an observation point; obtaining a refracted light ray after the observation light ray passes through the grating, and an energy percentage of the refracted light ray; determining an intersection coordinate of the refracted light ray on a display source of the display and a first pixel grid to which the intersection coordinate belongs on the display source; obtaining a corresponding multi-viewpoint synthesis image of the display, determining a first RGB value of a corresponding pixel of the first pixel grid in the multi-viewpoint synthesis image; determining a second RGB value of the intersection coordinate according to the energy percentage of the refracted light ray corresponding to the intersection coordinate and the first RGB value corresponding to the intersection coordinate; and filling the second RGB value into the first pixel grid corresponding to the intersection coordinate to obtain a two-dimensional test image corresponding to the display.

[0117] In addition, the logical instructions in the memory 630 described above can be implemented in the form of a software functional unit and sold or used as an independent product, which can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the part of the technical solutions that essentially contribute to the prior art or the part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the various embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0118] In another aspect, the present application also provides a computer program product, which comprises a computer program, the computer program being stored in a non-transitory computer readable storage medium, and the computer program being capable of executing the test method of the slit grating three-dimensional light field display provided by the above-mentioned methods when executed by a processor, the method comprising: obtaining a plurality of light transmission points on a grating plane of the display, and determining an observation light ray formed by each light transmission point and an observation point; obtaining a refracted light ray after the observation light ray passes through the grating, and an energy percentage of the refracted light ray; determining an intersection point coordinate of the refracted light ray on a display source of the display and a first pixel grid to which the intersection point coordinate belongs on the display source; obtaining a corresponding multi-viewpoint composite image of the display, and determining a first RGB value of a corresponding pixel in the multi-viewpoint composite image; determining a second RGB value of the intersection point coordinate according to the energy percentage of the refracted light ray corresponding to the intersection point coordinate and the first RGB value corresponding to the intersection point coordinate; and filling the second RGB value into the first pixel grid corresponding to the intersection point coordinate to obtain a corresponding two-dimensional test image of the display.

[0119] In another aspect, the present application also provides a non-transitory computer readable storage medium, which stores a computer program, the computer program being capable of executing the test method of the slit grating three-dimensional light field display provided by the above-mentioned methods when executed by a processor, the method comprising: obtaining a plurality of light transmission points on a grating plane of the display, and determining an observation light ray formed by each light transmission point and an observation point; obtaining a refracted light ray after the observation light ray passes through the grating, and an energy percentage of the refracted light ray; determining an intersection point coordinate of the refracted light ray on a display source of the display and a first pixel grid to which the intersection point coordinate belongs on the display source; obtaining a corresponding multi-viewpoint composite image of the display, and determining a first RGB value of a corresponding pixel in the multi-viewpoint composite image; determining a second RGB value of the intersection point coordinate according to the energy percentage of the refracted light ray corresponding to the intersection point coordinate and the first RGB value corresponding to the intersection point coordinate; and filling the second RGB value into the first pixel grid corresponding to the intersection point coordinate to obtain a corresponding two-dimensional test image of the display.

[0120] The device embodiments described above are merely illustrative, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the present embodiment scheme according to actual needs. Those skilled in the art can understand and implement without creative labor.

[0121] Those skilled in the art can clearly understand the technical solutions of the various embodiments from the above description of the embodiments, and the various embodiments can be implemented by means of software with the necessary general hardware platforms, and of course, can also be implemented by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part of the prior art that makes a contribution, can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, and the like, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0122] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for some technical features therein; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method of testing a slits grating three-dimensional light field display, characterized in that, The method comprises the following steps: acquiring a plurality of light transmission points on a grating plane of a display, and determining an observation light ray composed of each of the light transmission points and an observation point; acquiring a refracted light ray after the observation light ray passes through the grating, and an energy percentage of the refracted light ray; determining an intersection point coordinate of the refracted light ray on a display source of the display and a first pixel grid to which the intersection point coordinate belongs on the display source; acquiring a multi-viewpoint composite image corresponding to the display, and determining a first RGB value of a pixel corresponding to the first pixel grid in the multi-viewpoint composite image; determining a second RGB value of the intersection point coordinate according to the energy percentage of the refracted light ray corresponding to the intersection point coordinate and the first RGB value corresponding to the intersection point coordinate; filling the second RGB value into the first pixel grid corresponding to the intersection point coordinate to obtain a two-dimensional test image corresponding to the display. After obtaining the two-dimensional test image corresponding to the display, the method further comprises the following steps: determining a display effect of the display according to a quality of the two-dimensional test image.

2. The method of claim 1, wherein, The step of acquiring a plurality of light transmission points on a grating plane of a display, and determining an observation light ray composed of each of the light transmission points and an observation point comprises the following steps: acquiring a coordinate of the observation point; randomly determining a plurality of light transmission points on the grating plane of the display; for each of the light transmission points, acquiring a coordinate of the light transmission point on the grating plane of the display, and determining the observation light ray according to the coordinate of the light transmission point on the grating plane of the display and the coordinate of the observation point.

3. The method of claim 1, wherein, The step of acquiring a refracted light ray after the observation light ray passes through the grating, and an energy percentage of the refracted light ray comprises the following steps: acquiring physical parameters and optical parameters of the display grating; determining an incident angle of the refracted light ray on the grating plane of the display grating according to the coordinates of the light transmission point and the observation point; determining an energy percentage of the refracted light ray in the observation light ray according to the physical parameters and the optical parameters of the display grating and the incident angle of the refracted light ray on the grating plane of the display grating.

4. The method of testing a slits grating three-dimensional light field display according to claim 3, wherein, The step of determining an intersection point coordinate of the refracted light ray on a display source of the display and a first pixel grid to which the intersection point coordinate belongs on the display source comprises the following steps: determining the intersection point coordinate of the refracted light ray on the display source of the display; determining the first pixel grid to which the intersection point coordinate belongs on the display source according to a resolution of the display source of the display.

5. The method of claim 1, wherein, The step of acquiring a multi-viewpoint composite image corresponding to the display, and determining a first RGB value of a pixel corresponding to the first pixel grid in the multi-viewpoint composite image comprises the following steps: acquiring a multi-viewpoint composite image corresponding to the display; determining a second pixel grid corresponding to the first pixel grid in the multi-viewpoint composite image; acquiring a first RGB value corresponding to the second pixel grid in the multi-viewpoint composite image.

6. The method of claim 1, wherein, The step of filling the second RGB value into the first pixel grid corresponding to the intersection point coordinate to obtain a two-dimensional test image corresponding to the display comprises the following steps: After filling the second RGB value into the first pixel grid corresponding to the intersection point coordinate, linearly compress the second RGB value in all first pixel grids on the display source into the interval of 0-255 to obtain the two-dimensional test image corresponding to the display.

7. A test apparatus for a slits grating three-dimensional light field display, characterized in that, The method comprises the steps of: The first acquisition unit is configured to acquire a plurality of light transmission points on a grating plane of a display, and determine an observation light ray formed by each of the light transmission points and an observation point; The second acquisition unit is configured to acquire a refracted light ray after the observation light ray passes through the grating, and an energy percentage of the refracted light ray; The first processing unit is configured to determine an intersection point coordinate of the refracted light ray on a display source of the display, and a first pixel grid to which the intersection point coordinate belongs on the display source; The third acquisition unit is configured to acquire a multi-viewpoint synthetic image corresponding to the display, and determine a first RGB value of a pixel corresponding to the first pixel grid in the multi-viewpoint synthetic image; The second processing unit is configured to determine a second RGB value of the intersection point coordinate according to the energy percentage of the refracted light ray corresponding to the intersection point coordinate and the first RGB value corresponding to the intersection point coordinate; The third processing unit is configured to fill the second RGB value into the first pixel grid corresponding to the intersection point coordinate to obtain a two-dimensional test image corresponding to the display. The test device of the slit grating three-dimensional light field display further comprises: The test analysis module is configured to determine a display effect of the display according to a quality of the two-dimensional test image.

8. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by a processor to implement the test method of the slit grating three-dimensional light field display according to any one of claims 1 to 6.

9. A computer program product comprising a computer program, characterized in that, The computer program is executed by a processor to implement the test method of the slit grating three-dimensional light field display according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Stereoscopic display effect evaluation method and system, electronic equipment and storage medium

    CN114845098A

  • Parameter determination method, device and equipment for horizontal parallax three-dimensional light field display system

    CN114879377A