Waveguide plate grating sense influence evaluation method, device, equipment and medium
By using a quantitative evaluation method for waveguide sheet grating sensitivity, a grating sensitivity curve is generated and its peak and valley values are evaluated to determine whether they are within the critical range. This solves the accuracy problem of waveguide sheet grating sensitivity evaluation, achieves more accurate and reliable evaluation results, and improves R&D efficiency and optimization precision.
Patent Information
- Application Number
- CN202511304992.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-12
- Publication Date
- 2026-01-27
AI Technical Summary
The existing technology lacks accurate and objective standards for evaluating waveguide sheet grating sensitivity, resulting in significant differences in evaluation results among different observers. This makes it impossible to form consistent and reliable evaluation conclusions. Furthermore, it ignores the brightness variation patterns and key brightness information corresponding to grating sensitivity, making it difficult to achieve accurate evaluation.
By acquiring the effective area image of the waveguide coupled image, extracting brightness information, generating the original curve and smoothing it, generating the reference curve, then subtracting the original curve from the reference curve and calculating the ratio, the grating sensitivity curve is obtained. The peak and valley values of the grating sensitivity curve are evaluated to determine whether the grating sensitivity has an impact on the human eye.
It enables quantitative evaluation of grating perception, improves the accuracy and repeatability of evaluation results, ensures that the evaluation results conform to the logic of human visual perception, provides clear data basis, significantly improves R&D efficiency and optimization accuracy, and can make targeted adjustments to the structure or parameters to reduce peak-valley differences.
Smart Images

Figure CN121409563A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of augmented reality technology, and in particular to a method, apparatus, device, and medium for evaluating the impact of waveguide sheet grating sensing. Background Technology
[0002] The grating effect of an arrayed waveguide refers to the visual phenomenon that appears in the observed image when the coupled light from an arrayed waveguide (composed of multiple waveguide units arranged in an array, commonly used in AR / VR displays, optical imaging, etc.) is imaged or observed by the human eye. This phenomenon is caused by the structure of the waveguide itself, such as the periodic characteristics of the array unit boundaries or manufacturing process deviations.
[0003] In existing technologies, the evaluation of grating sensitivity of waveguide sheets often lacks accurate and objective standards. Traditional grating sensitivity assessment relies entirely on subjective judgment or simple image comparison, and the evaluation results between different observers may vary significantly, making it impossible to form consistent and reliable evaluation conclusions. This method also ignores the brightness variation patterns and key brightness information corresponding to the grating sensitivity, making it extremely difficult to achieve accurate grating sensitivity assessment. Summary of the Invention
[0004] In view of the problems existing in the prior art, the present invention provides a method, apparatus, device and medium for evaluating the influence of waveguide sheet grating.
[0005] The technical solution of the present invention is as follows:
[0006] Firstly, this specification provides a method for evaluating the grating effect of waveguide sheets, including:
[0007] Acquire the effective area image of the waveguide sheet coupled out;
[0008] Brightness information of the effective area image is extracted to obtain grating sensing data to be analyzed;
[0009] The grating-sensing data to be analyzed is processed to generate the original curve, and the original curve is smoothed to generate the reference curve;
[0010] The original curve is subtracted from the reference curve, and then the ratio of the original curve to the reference curve is calculated to obtain the grating sensing curve.
[0011] Based on the comparison of the effective area image and the raster sensing curve, the critical value of the raster sensing curve is determined.
[0012] The peak and valley values of the grating sensitivity curve are evaluated to see if they are within the critical range of grating sensitivity. If the peak and valley values of the grating sensitivity curve exceed the critical range of grating sensitivity, the grating sensitivity generated by the waveguide sheet will affect the human eye. If the peak and valley values of the grating sensitivity curve are within the critical range of grating sensitivity, the grating sensitivity generated by the waveguide sheet will not affect the human eye.
[0013] Secondly, this specification provides a waveguide sheet grating influence evaluation device, comprising:
[0014] The acquisition module is used to acquire the effective area image of the waveguide sheet coupled out.
[0015] The extraction module is used to extract the brightness information of the effective area image to obtain the grating sensing data to be analyzed;
[0016] The processing module is used to process the grating-sensed data to be analyzed to generate the original curve, and to smooth the original curve to generate the reference curve.
[0017] The calculation module is used to calculate the ratio between the original curve and the reference curve, and then calculate the grating sensing curve.
[0018] The comparison module is used to determine the grating sensitivity threshold of the grating sensitivity curve based on the comparison effective area image and the grating sensitivity curve.
[0019] The evaluation module is used to evaluate whether the peak and valley values of the grating sensitivity curve are within the critical range of grating sensitivity. If the peak and valley values of the grating sensitivity curve exceed the critical range of grating sensitivity, the grating sensitivity generated by the waveguide sheet will affect the human eye. If the peak and valley values of the grating sensitivity curve are within the critical range of grating sensitivity, the grating sensitivity generated by the waveguide sheet will not affect the human eye.
[0020] Thirdly, this specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the waveguide grating induction effect assessment method as described above.
[0021] Fourthly, this specification provides a computer-readable storage medium having a program stored thereon that, when executed by a processor, implements the waveguide grating sensing influence evaluation method as described above.
[0022] The beneficial effects achieved by the technical solution adopted in this invention are as follows:
[0023] This invention proposes a method, apparatus, device, and medium for evaluating the impact of grating perception on waveguide sheets. This method transforms the subjective visual perception of grating perception by the human eye into quantifiable brightness fluctuation data indicators. By establishing a correspondence between objective data and subjective perception, accurate evaluation is achieved, providing clear data evidence on whether grating perception affects the human eye. This significantly improves the accuracy and repeatability of the evaluation results. Furthermore, this method aligns with the logic of human visual perception, making the evaluation results more practically meaningful. It also allows for targeted adjustments to the structure or parameters to reduce peak-valley differences, eliminating the need for blind trial and error. This significantly improves R&D efficiency and optimization accuracy, providing a clear direction for waveguide sheet design optimization. Attached Figure Description
[0024] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below, forming part of the present invention. The illustrative embodiments of the present invention and their descriptions explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0025] Figure 1 A flowchart of a waveguide sheet grating influence assessment method provided in one embodiment of this application;
[0026] Figure 2 This is an example of a grayscale image of the effective region provided in one embodiment of this application.
[0027] Figure 3 This is the original curve generated according to one embodiment of this application;
[0028] Figure 4 This is a generated grating sensing curve provided in one embodiment of this application;
[0029] Figure 5 This is a structural block diagram of a waveguide sheet grating influence assessment device provided in another embodiment of this application. Detailed Implementation
[0030] 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 in conjunction with specific embodiments and corresponding drawings. In the description of this invention, it should be noted that the term "or" is generally used to include the meaning of "and / or," unless otherwise expressly stated. In the description of this invention, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0031] Example
[0032] Current waveguide sheets employ a geometric design of "multi-waveguide unit array arrangement." This structure inherently introduces a grating effect (including at the pupil and field of view levels), particularly ensuring the persistent clarity of the boundaries between units. Therefore, under current technology, this grating effect cannot be completely eliminated. The core optimization direction is not to eliminate the grating effect, but rather to quantitatively evaluate it and specifically reduce peak-valley differences, ultimately improving the visual effect. Therefore, according to... Figure 1 This invention provides a method for evaluating the influence of waveguide sheet grating, comprising:
[0033] Step 101: Obtain the effective area image of the waveguide sheet coupled out.
[0034] In this embodiment, the waveguide sheet includes an optomechanism, which is responsible for emitting a light source and coupling light into the waveguide sheet.
[0035] Step 102: Extract the brightness information of the effective area image to obtain the grating sensing data to be analyzed.
[0036] Step 103: Process the grating-sensor data to be analyzed to generate the original curve, and smooth the original curve to generate the reference curve.
[0037] Step 104: Subtract the original curve from the reference curve, and then calculate the ratio with the reference curve to obtain the grating sensing curve.
[0038] Step 105: Based on the comparison of the effective area image and the raster sensing curve, determine the raster sensing threshold value of the raster sensing curve.
[0039] Step 106: Evaluate whether the peak and valley values of the grating sensitivity curve are within the critical range of grating sensitivity.
[0040] Step 107: If the peak and valley values of the grating sensitivity curve are within the critical range of grating sensitivity, then the grating sensitivity generated by the waveguide sheet will not affect the human eye.
[0041] Step 108: If the peak and valley values of the grating perception curve exceed the critical value range of the grating perception, the grating perception generated by the waveguide sheet will affect the human eye.
[0042] This invention transforms the subjective visual perception of gratings by the human eye into quantifiable brightness fluctuation data indicators. By establishing a correspondence between objective data and subjective perception, it achieves accurate evaluation, providing clear data evidence on whether gratings affect the human eye. This significantly improves the accuracy and repeatability of the evaluation results. Furthermore, this method aligns with the logic of human visual perception, making the evaluation results more practically meaningful. It also allows for targeted adjustments to the structure or parameters to reduce peak-valley differences, eliminating the need for blind trial and error. This significantly improves R&D efficiency and optimization accuracy, providing a clear direction for waveguide design optimization.
[0043] In one embodiment of the present invention, a camera is included, the optical axis of which is perpendicular to the waveguide sheet. The camera captures the image coupled out of the waveguide sheet and preprocesses the received image coupled out. The preprocessing includes converting the image coupled out from a color image to a grayscale image and performing at least one of the following operations: cropping and scaling the grayscale image to obtain an effective area image within the full-screen image coupled out.
[0044] Specifically, the light source emitted from the waveguide optomechanical system is a standard light source to ensure that the light source spectrum and illuminance are stable and consistent with the type of light source designed for the waveguide. This avoids distortion of brightness data due to differences in the light source. By using a standard light source, the accuracy and consistency of color measurement can be effectively improved, ensuring the reliability of experimental or test results. The output screen of the waveguide is adjusted to a full white screen or a full monochrome screen to eliminate the interference of brightness differences in the screen content itself on the grating sensing analysis.
[0045] Furthermore, a circular aperture with a diameter of 3mm is placed at the exit pupil distance of the waveguide sheet, at the center of the eyebox. If the aperture diameter of the camera used is already 3mm, no additional aperture is needed, ensuring that the range of light entering the camera is highly consistent with the range of light received by the human eye's pupil. The camera is placed close to the aperture, and the camera's optical axis is adjusted to be basically perpendicular to the surface of the waveguide sheet. At the same time, the camera's focus mode is set to infinity to match the actual scene of the human eye observing an image at infinity. Then, the camera is started to capture the coupled-out image of the waveguide sheet.
[0046] After the image is captured, a rectangular area is selected from the full-screen image as the effective data area, i.e., the effective area image. This means that it must cover the core display area of the image, exclude the waveguide sheet border and invalid dark areas at the edges with extremely low coupling efficiency, and the length and width of the rectangle must be aligned with the pixel array direction for subsequent brightness data extraction to ensure the continuity of data extraction.
[0047] The preprocessing operation of selecting a rectangular region from the full-screen image as the effective data region preferably involves first performing grayscale processing on the captured image to obtain a grayscale image, see [link to relevant documentation]. Figure 2 Grayscale is used to remove color interference and retain the core features of brightness. Grayscale conforms to the human eye's perception weight of brightness, and can also reduce the amount of computation and improve processing efficiency. Then, the grayscale image is cropped or scaled to obtain the effective area image. Cropping removes unwanted parts of the image as needed, retaining only the area of interest, which helps reduce unnecessary data processing and improve the accuracy of analysis. Scaled operation can change the size of the image to adapt to the needs of subsequent processing or display. Scale may include enlarging or shrinking the image to better match specific display requirements. Through these preprocessing steps, clearer and more concise image data can be provided for subsequent image analysis and processing.
[0048] In one embodiment of the present invention, the fringe direction angle direction on the effective area image is determined based on the waveguide sheet; points or area blocks are taken at equal intervals along the direction perpendicular to the fringe direction angle to collect brightness information and construct a brightness data sequence L. i As data to be analyzed by the grating sensing, the brightness information includes the average brightness value displayed by one or more pixels.
[0049] Specifically, in an array of optical waveguides, each sub-waveguide is responsible for transmitting a beam of light with a specific field of view. When the beam undergoes total internal reflection within the sub-waveguide, its transmission direction determines the direction of the grating-sensor fringe of that unit. This fringe direction is predictable. Therefore, the grating-sensor fringe direction angle can be precisely given during the design phase. In actual design, by precisely controlling these parameters, such as the width, thickness, and refractive index of the waveguide, it can be ensured that beams of light with different field of view can be coupled out in the expected direction to form a grating-sensor fringe pattern with a specific direction angle.
[0050] If the raster-like stripes displayed in the effective area image are unidirectional, a straight line is drawn perpendicular to the direction angle of the raster-like stripes, passing through both the left and right sides or the top and bottom sides of the effective area. Points are taken at equal intervals along this line, with the spacing determined according to the image pixel density and detection accuracy requirements. The higher the accuracy requirement, the smaller the spacing. The brightness value of each point is recorded to form a brightness sequence L. i This serves as the data to be analyzed by the grating sensing.
[0051] If the stripes displayed in the effective area image are multi-directional, i.e., contain two or more directions and are grid-like, to eliminate mutual interference from grating effects in different directions, sampling areas are uniformly arranged along the angular direction perpendicular to the stripe direction within the effective area image. The width of the sampling area is determined based on pixel density and detection accuracy, and the length does not exceed the image to be tested. Depending on the actual situation, the brightness distortion at the edge of the image can be appropriately cropped. The brightness values of all pixels in each sampling area are read, the average brightness value within the area is calculated, and all average values are integrated into a brightness sequence L. i This serves as the data to be analyzed by the grating sensing.
[0052] The above methods can accurately capture the periodic brightness changes of the raster-like stripes while maximizing the preservation of the stripe's detail resolution.
[0053] In one embodiment of the present invention, the original curve of pixel position-average brightness value is generated by interpolating or smoothing the grating-sensing data to be analyzed.
[0054] In practice, when there are few data points, interpolation is used to increase the number of data points. Interpolation creates a continuous function by estimating missing or incomplete data points. For curves with many spikes, a smaller window is used for smoothing. Sliding window smoothing reduces noise by averaging data over a certain range. These methods help to smooth the data and maintain continuity without changing the overall trend, thus generating a more easily analyzed original curve. See [link to relevant documentation]. Figure 3 .
[0055] In the actual operation of generating the original curve from the grating-sensor data to be analyzed, the interpolation method and the sliding window smoothing method are the core preprocessing methods to address the defects of the data itself (data sparsity, noise interference). Both are designed according to the principle of minimal intervention, that is, without destroying the overall trend of the data and the grating-sensor fringe characteristics, the data quality is optimized through mathematical methods to finally generate a continuous, low-noise original curve that fits the real light intensity distribution, thus clearing the way for subsequent steps of analysis.
[0056] In one embodiment of the present invention, the original curve is smoothed by Gaussian filtering to obtain a reference curve showing the overall trend of the original curve.
[0057] Specifically, Gaussian filtering can accurately extract the overall trend of the original curve, i.e., the reference curve. For common waveguide data, the trend usually shows monotonically increasing or decreasing from one end to the other. In the case of the field of view, it may also be bright in the middle and dark at both ends. The essence of Gaussian filtering is to perform a weighted average on each data point of the original curve using a weighted window generated by a Gaussian function. This is different from sliding window (equal weighted average). The characteristic of Gaussian weighted window is that the central data point has the highest weight, which gradually decreases towards both sides, and the weight distribution strictly follows a normal distribution. The advantage of this "weighted average" is that it is more in line with the physical light intensity distribution law of the original grating curve. In essence, it is mostly a Gaussian continuous change without abrupt changes. The weight distribution of Gaussian filtering is highly consistent with this physical distribution, which can avoid the abrupt trend and edge step problems that may be caused by sliding window equal weighted average. This makes the smoothed reference curve more natural and closer to the real overall brightness change. The overall trend reference curve obtained by Gaussian filtering is the benchmark carrier for subsequent detrending operations, and its quality directly determines the accuracy of the separated grating curve.
[0058] In one embodiment of the present invention, the absolute brightness difference curve is obtained by subtracting the corresponding data of the original curve and the reference curve point by point. The absolute brightness difference curve is then divided point by point with the corresponding data of the reference curve to obtain the relative brightness difference curve, i.e., the grating curve.
[0059] Specifically, subtracting the smoothed data from the original data yields a new curve. This new curve reflects the change in the perceived brightness of the grating after removing the overall trend. The peaks and troughs of this new curve represent the absolute brightness difference within each grating perception spatial period. In other words, the peak value represents the extra brightness of a bright grating line relative to the overall trend, and the trough value represents the brightness loss of a dark grating line relative to the overall trend. The difference between the two, the peak-to-trough difference, is the absolute brightness difference of a single grating line at that location. While the absolute brightness difference reflects the true brightness difference of the grating, it cannot directly correspond to the perceived strength of the grating by the human eye. This is because the human eye's perception of brightness is relative, not absolute. Therefore, it is necessary to divide the absolute brightness difference curve data by the smoothed data to obtain the relative brightness difference within each grating perception spatial period, thus converting the absolute difference into relative contrast and aligning the data with subjective perception. See [link to relevant documentation]. Figure 4 The above-calculated relative brightness difference curve is the raster sensitivity curve.
[0060] In one embodiment of the present invention, the peak and valley features of the grating sensing curve are compared with the peak and valley features displayed on the effective area image, wherein the peak and valley features include the number, position and amplitude of peaks and valleys; and the grating sensing threshold value of the grating sensing curve is determined based on the compared peak and valley features.
[0061] Specifically, the raster sensitivity curve can be superimposed on the background of the effective area image to more intuitively see the representation of raster sensitivity by the calculation results. This mainly involves comparing the number, position, and amplitude of peaks and valleys of the two to determine the critical value of the raster sensitivity curve. For example, for the raster sensitivity curve, algorithms can be used to identify all peaks and valleys and record the x and y coordinates of each peak and valley. For the effective area image, edge detection or contour extraction techniques can be used to identify the boundaries in the image and further determine the key points on the boundaries as peak and valley positions. By comparison, the part of the raster sensitivity curve that best matches the boundary features of the effective area image can be found. The critical value of raster sensitivity usually refers to the effective area image boundary features corresponding to a specific y coordinate value (amplitude) in the raster sensitivity curve, which reaches a certain human eye viewing standard. In the curve segment that is strongly correlated with the image boundary features, when the convexity and / or concavity depth of the image boundary corresponding to the y coordinate (amplitude) of the raster sensitivity curve reaches the minimum threshold for human eye to perceive the raster effect or the threshold for the best human eye viewing state.
[0062] The grating sensitivity threshold is a range set based on the human eye's sensitivity to gratings. It is an indicator for evaluating the optical performance of arrayed waveguide sheets, especially display uniformity. It ensures that the grating effect of the waveguide sheet does not cause visual interference to the user. See [link to relevant documentation]. Figure 4The calculated raster sensitivity curve can be represented by two parallel lines on the graph. These parallel lines represent the critical value of the raster sensitivity, and the area between the two parallel lines is the critical value range. If the peak and valley values of the raster sensitivity curve exceed the critical value range, the raster sensitivity of the current effective area image is too strong, affecting display clarity and user experience. When the peak and valley values are within the critical value range, it indicates that the raster sensitivity in the current effective area image is relatively weak. The closer the visual effect of the image is to the ideal uniform state, the less it will cause discomfort to the human eye, and the user can enjoy a clear and uniform image.
[0063] The foregoing Figures 2-4 The test results were obtained by conducting tests at each stage of the waveguide grating evaluation. Taking the core evaluation indicator of "peak and valley number" as an example, the results were obtained through... Figure 2 and Figure 4 The comparative analysis shows that, Figure 2 In the observed image, four independent brightness areas can be clearly identified, corresponding to the four peaks and valleys in the waveguide sheet's grating-like performance. Figure 4 Five peaks and valleys were identified in the grating perception curve. The lowest peak in the middle of the curve has an extremely low brightness signal intensity, which is below the human visual perception threshold and falls into the range that the human eye cannot observe. It is determined that this lowest peak has no substantial impact on the human eye's grating perception experience in actual use scenarios. By comparing with other peaks and valleys, the critical value of the grating perception curve is determined. Curves within the critical value range have no substantial impact on the human eye's grating perception experience in actual use scenarios. Conversely, curves outside the critical value range will have an impact.
[0064] according to Figure 5 This invention provides a device for evaluating the influence of waveguide sheet gratings, comprising:
[0065] The acquisition module 201 is used to acquire the effective area image of the waveguide sheet coupled out of the screen.
[0066] The extraction module 202 is used to extract the brightness information of the effective area image to obtain the grating sensing data to be analyzed.
[0067] The processing module 203 is used to process the grating-sensed data to be analyzed to generate the original curve, and to smooth the original curve to generate the reference curve.
[0068] The calculation module 204 is used to calculate the ratio of the original curve to the reference curve by subtracting the original curve from the reference curve, and then calculating the ratio of the original curve to the reference curve to obtain the grating sensing curve.
[0069] The comparison module 205 is used to determine the grating sensitivity threshold of the grating sensitivity curve based on the comparison effective area image and the grating sensitivity curve.
[0070] Evaluation module 206 is used to evaluate whether the peak and valley values of the grating sensitivity curve are within the critical range of grating sensitivity. If the peak and valley values of the grating sensitivity curve exceed the critical range of grating sensitivity, the grating sensitivity generated by the waveguide sheet will affect the human eye. If the peak and valley values of the grating sensitivity curve are within the critical range of grating sensitivity, the grating sensitivity generated by the waveguide sheet will not affect the human eye.
[0071] In one embodiment of the present invention, the acquisition module 201 has a camera optical axis perpendicular to the waveguide sheet. The camera captures the image coupled out of the waveguide sheet and is used to preprocess the received image coupled out. The preprocessing includes converting the image coupled out from a color image to a grayscale image, and performing at least one of the following operations: cropping and scaling the grayscale image, to obtain an effective area image within the full-screen image coupled out.
[0072] In one embodiment of the present invention, the extraction module 202 is used to determine the fringe direction angle direction on the effective area image based on the waveguide sheet; to collect brightness information by taking points or area blocks at equal intervals along the fringe direction angle direction perpendicular to the waveguide sheet, and to construct a brightness data sequence L. i As data to be analyzed by the grating sensing, the brightness information includes the average brightness value displayed by one or more pixels.
[0073] In one embodiment of the present invention, the processing module 203 is used to generate an original curve of pixel position-average brightness value by performing interpolation processing or sliding window smoothing processing on the grating sensing data to be analyzed; it is also used to smooth the original curve by performing Gaussian filtering to obtain a reference curve of the overall trend of the original curve.
[0074] In one embodiment of the present invention, the calculation module 204 is used to perform point-by-point subtraction calculations between the original curve and the corresponding data of the reference curve to obtain an absolute brightness difference curve representing the absolute brightness difference, and to perform point-by-point division calculations between the grating-sensor absolute brightness difference curve and the corresponding data of the reference curve to obtain a relative brightness difference curve representing the relative brightness difference, i.e., the grating-sensor curve.
[0075] In one embodiment of the present invention, the comparison module 205 is used to compare the peak and valley features of the raster sensing curve with the peak and valley features displayed on the effective area image, wherein the peak and valley features include the number, position and amplitude of peaks and valleys; and to determine the raster sensing critical value of the raster sensing curve based on the compared peak and valley features.
[0076] This device, through quantitative evaluation of grating perception, can not only enhance the visual effect of products, but also ensure that these effects conform to the perceptual logic of the human eye, thereby providing a more realistic user experience.
[0077] The present invention also provides an electronic device, including a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to perform the method of any of the above embodiments.
[0078] The present invention also provides a computer-readable storage medium having a program stored thereon that, when executed by a processor, implements the method of any of the above embodiments.
[0079] It should be noted that the waveguide grating influence assessment device provided in the above embodiments is only illustrated by the division of the functional modules described above when assessing the influence of the grating. In practical applications, the functions described above can be assigned to different functional modules as needed, that is, the internal structure of the waveguide grating influence assessment device can be divided into different functional modules to complete all or part of the functions described above. In addition, the waveguide grating influence assessment method and the waveguide grating influence assessment device embodiment provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiment, which will not be repeated here.
[0080] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0081] The above description is not intended to limit the embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of the embodiments of this application.
Claims
1. A method for evaluating the influence of waveguide sheet grating, characterized in that, include: Acquire the effective area image of the waveguide sheet coupled out; Brightness information of the effective region image is extracted to obtain grating-sensor data to be analyzed; The grating-sensing data to be analyzed is processed to generate an original curve, and the original curve is smoothed to generate a reference curve; The original curve is subtracted from the reference curve, and then the ratio of the original curve to the reference curve is calculated to obtain the grating sensing curve. The critical value of the raster sensitivity curve is determined by comparing the effective region image and the raster sensitivity curve. The peak and valley values of the grating sensitivity curve are evaluated to see if they are within the critical range of grating sensitivity. If the peak and valley values of the grating sensitivity curve exceed the critical range of grating sensitivity, the grating sensitivity generated by the waveguide sheet will affect the human eye. If the peak and valley values of the grating sensitivity curve are within the critical range of grating sensitivity, the grating sensitivity generated by the waveguide sheet will not affect the human eye.
2. The waveguide sheet grating sensitivity assessment method according to claim 1, characterized in that, Acquire the effective area image of the waveguide strip coupled out, including: A camera, the optical axis of which is perpendicular to the waveguide sheet, captures the image coupled out of the waveguide sheet, and preprocesses the received image coupled out. The preprocessing includes converting the image coupled out from a color image to a grayscale image, and performing at least one of cropping and scaling operations on the grayscale image to obtain the effective area image within the full-screen image coupled out.
3. The waveguide sheet grating influence assessment method according to claim 2, characterized in that, Extracting the brightness information of the effective region image to obtain grating-sensor data to be analyzed includes: Based on the waveguide sheet, determine the fringe direction angle on the effective region image; Brightness information is collected by taking points or regions at equal intervals along the angular direction perpendicular to the fringe direction, and constructing a brightness data sequence L. i As grating sensing data to be analyzed, the brightness information includes the average brightness value displayed by one or more pixels.
4. The waveguide sheet grating sensitivity assessment method according to claim 3, characterized in that, The grating-sensing data to be analyzed is processed to generate the original curve, including: By performing interpolation or sliding window smoothing on the grating-sensing data to be analyzed, an original curve of pixel position-average brightness value is generated.
5. The waveguide sheet grating sensitivity evaluation method according to claim 4, characterized in that, The original curve is smoothed to generate a reference curve, including: The original curve is smoothed by Gaussian filtering to obtain a reference curve showing the overall trend of the original curve.
6. The waveguide sheet grating influence assessment method according to claim 5, characterized in that, The original curve is subtracted from the reference curve, and then the ratio of the difference to the reference curve is calculated to obtain the grating sensing curve, including: By performing point-by-point subtraction calculations between the original curve and the corresponding data of the reference curve, an absolute brightness difference curve representing the absolute brightness difference is obtained. The absolute brightness difference curve is then divided point-by-point between the corresponding data of the reference curve to obtain a relative brightness difference curve representing the relative brightness difference, i.e., the grating sensing curve.
7. The waveguide sheet grating sensitivity assessment method according to claim 6, characterized in that, Based on comparing the effective region image and the raster sensitivity curve, the raster sensitivity threshold value of the raster sensitivity curve is determined, including: By comparing the peak and valley features of the raster sensing curve with the peak and valley features displayed on the effective area image, wherein the peak and valley features include the number, position, and amplitude of peaks and valleys; Based on the peak and valley characteristics of the comparison, the critical value of the grating sensitivity curve is determined.
8. A device for evaluating the influence of waveguide sheet grating, characterized in that, include The acquisition module is used to acquire the effective area image of the waveguide sheet coupled out. The extraction module is used to extract the brightness information of the effective area image to obtain the grating sensing data to be analyzed; The processing module is used to process the grating-sensing data to be analyzed to generate an original curve, and to smooth the original curve to generate a reference curve. The calculation module is used to calculate the ratio of the difference between the original curve and the reference curve to the reference curve to obtain the grating sensing curve; The comparison module is used to determine the raster sensitivity threshold value of the raster sensitivity curve by comparing the effective region image and the raster sensitivity curve. The evaluation module is used to evaluate whether the peak and valley values of the grating sensitivity curve are within the critical range of grating sensitivity. If the peak and valley values of the grating sensitivity curve exceed the critical range of grating sensitivity, the grating sensitivity generated by the waveguide sheet will affect the human eye. If the peak and valley values of the grating sensitivity curve are within the critical range of grating sensitivity, the grating sensitivity generated by the waveguide sheet will not affect the human eye.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1-7.
10. A computer-readable storage medium having a program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-7.