A method and system for correcting image output from a diffraction optical waveguide

By combining the comparison acquisition module and the data analysis module, the comparison classification parameters of the optical wave input and output map are obtained and processed, and correction instructions are generated for image adjustment, which solves the problem of image quality and abnormal judgment of the diffraction optical waveguide output, and realizes the image Automatic correction and display effect improvement.

CN118505826BActive Publication Date: 2024-11-12JIANGSU ETERN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410964675.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-11-12
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

The existing diffraction optical waveguide output image correction method cannot accurately judge the image quality and abnormality degree, resulting in poor image quality and affecting the display effect.

Method used

By comparing and acquisition module, the comparison classification parameters of the optical wave input diagram and the output diagram are obtained, including color information and abnormal information, the data analysis module calculates the comparison classification coefficient, generates abnormal alarm instructions or parameter acquisition instructions, and performs image correction, including brightness and contrast, and color temperature adjustment.

Benefits of technology

It realizes abnormal alarm and automatic correction of the output image of the diffraction optical waveguide, reduces dispersion, improves image quality and color reduction, and improves display effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118505826B_ABST
    Figure CN118505826B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of diffraction optical waveguides, and in particular to a method and system for correcting an output image of a diffraction optical waveguide, which are used to solve the problem that the existing method for correcting an output image of a diffraction optical waveguide cannot accurately judge the image quality and abnormality of an output image of a diffraction optical waveguide, and cannot automatically correct the image of an output image of a diffraction optical waveguide, resulting in poor image quality and affecting the display effect. The system collects relevant data of an input image and an output image of a diffraction optical waveguide, and accurately judges the image quality and abnormality of the output image based on a data analysis technology, thereby realizing abnormal alarm and automatic image correction, and can effectively solve the output abnormality problem of an output image of a diffraction optical waveguide, reduce dispersion, improve the color restoration of an image, enhance the quality of an image, and improve the display effect of the diffraction optical waveguide technology, which is of great significance for promoting the development of AR, VR and other fields.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of diffraction optical waveguides, and in particular to a method and system for correcting an output image of a diffraction optical waveguide. Background Art

[0002] Diffraction optical waveguide technology has been widely used in the fields of augmented reality (AR) and virtual reality (VR) due to its unique advantages, such as lightness, high transparency, and wide viewing angle. However, due to the inherent characteristics of diffraction optical waveguides, their output images often have problems such as color difference and uneven brightness, which affect the user experience. The patent with application number CN202211577552.X discloses a method and system for correcting the output image of a diffraction optical waveguide, the method comprising: generating a color value mapping table from the color values ​​of the input image of the diffraction optical waveguide and the output image of the diffraction optical waveguide, and correcting the output image of the diffraction optical waveguide according to the color value mapping table, which can greatly reduce the display color difference of the output image of the diffraction optical waveguide, so that the output image of the diffraction optical waveguide is more in line with expectations, and the accurate correction of the color of the corresponding position of the output image of the diffraction optical waveguide is achieved, but there are still the following shortcomings: the image quality and abnormality of the output image of the diffraction optical waveguide cannot be accurately judged, and the image of the output image of the diffraction optical waveguide cannot be automatically corrected, resulting in poor image quality and affecting the display effect.

[0003] Therefore, developing a method and system that can effectively correct the output image of a diffractive light waveguide is of great significance for improving the display effect of the diffractive light waveguide technology. Summary of the invention

[0004] In order to overcome the above-mentioned technical problems, the purpose of the present invention is to provide a method and system for correcting a diffraction light guide output image, which solves the problem that the existing method for correcting a diffraction light guide output image cannot accurately judge the image quality and abnormality of the diffraction light guide output image, and cannot automatically correct the image of the diffraction light guide output image, resulting in poor image quality and affecting the display effect.

[0005] The purpose of the present invention can be achieved by the following technical solutions:

[0006] A diffraction light waveguide output image correction system, comprising:

[0007] A comparison acquisition module is used to compare the light wave input graph and the light wave output graph, obtain comparison classification parameters, and send the comparison classification parameters to the data analysis module; wherein the comparison classification parameters include color information YS and abnormal information YX;

[0008] A data analysis module, used for obtaining a comparison classification coefficient BF according to the comparison classification parameter, and sending the comparison classification coefficient BF to the comparison classification module;

[0009] The specific process of the data analysis module obtaining the comparative classification coefficient BF is as follows:

[0010] The color information YS and the abnormal information YX are quantified, the values ​​of the color information YS and the abnormal information YX are extracted, and the values ​​are substituted into the formula for calculation. The comparison classification coefficient BF is obtained, where δ is the preset error adjustment factor, δ=1.109, π is a mathematical constant, f1 and f2 are the preset weight factors corresponding to the set color information YS and abnormal information YX, respectively, f1 and f2 satisfy f2>f1>1.733, and f1=1.96 and f2=2.54 are taken;

[0011] Send the comparative classification coefficient BF to the comparative classification module;

[0012] A comparison and classification module, used for generating an abnormal alarm instruction or a parameter acquisition instruction according to the comparison and classification coefficient BF, and sending the abnormal alarm instruction to the abnormal alarm module, and sending the parameter acquisition instruction to the parameter acquisition module;

[0013] An abnormal alarm module, used to sound an abnormal alarm bell after receiving an abnormal alarm instruction;

[0014] A parameter acquisition module, used to acquire image correction parameters after receiving a parameter acquisition instruction, and send the image correction parameters to the image correction module; wherein the image correction parameters include a brightness correction value LD, a contrast correction value DB, and a color temperature correction value DW;

[0015] The image correction module is used to adjust the light wave output image according to the image correction parameters.

[0016] As a further solution of the present invention: the specific process of the comparison and acquisition module obtaining the color information YS is as follows:

[0017] Acquire an input image of the diffractive light waveguide and an output image of the diffractive light waveguide, and mark them as a light wave input graph and a light wave output graph, respectively;

[0018] The light wave input graph is divided into a number of comparison areas Bi according to a preset area, i=1, ..., n, n is a positive integer, i is the number of any comparison area, and n is the total number of comparison areas. The light wave output graph is divided to form a number of analysis areas Fi, and the analysis areas Fi correspond to the comparison areas Bi one by one;

[0019] Get all the colors in the comparison area Bi, and get the color that occupies the largest proportion of the total area of ​​the comparison area Bi, and mark it as the comparison color, get the RGB value of the comparison color, the RGB value consists of three components of red, green and blue, and is represented by (R1, G1, B1), and the values ​​of R1, G1 and B1 are between 0 and 255, get all the colors in the analysis area Fi, and get the color that occupies the largest proportion of the total area of ​​the analysis area Fi, and mark it as the analysis color, get the RGB value of the analysis color, and represent it with (R2, G2, B2), and the values ​​of R2, G2 and B2 are between 0 and 255, substitute R1, G1, B1, R2, G2 and B2 into the formula for calculation, according to the formula Get color information YS.

[0020] As a further solution of the present invention: the specific process of the comparison and acquisition module obtaining the abnormal information YX is as follows:

[0021] Obtain the deformation area and the number of spots in the analysis area Fi, and mark them as deformation value BX and spot value BD respectively, where the deformation area is the total area of ​​the stretching area, the compression area and the distortion area. Quantify the deformation value BX and the spot value BD, extract the values ​​of the deformation value BX and the spot value BD, and substitute them into the formula for calculation. According to the formula The outlier value YCi is obtained, where c1 and c2 are the preset proportional coefficients corresponding to the set deformation value BX and spot value BD respectively, c1 and c2 satisfy c1+c2=1, 0<c1<c2<1, c1=0.38, c2=0.62 are taken, and the outlier value YCi is compared with the preset outlier threshold YCy: if the outlier value YCi is greater than the outlier threshold YCy, the analysis area Fi corresponding to the outlier value YCi is marked as an abnormal area, the number of abnormal areas and the average value of the outlier values ​​YCi of all abnormal areas are obtained, and they are marked as outlier values ​​and outlier means respectively, the product of the two is obtained, and it is marked as abnormal information YX.

[0022] As a further solution of the present invention: the specific process of the comparison and classification module generating an abnormal alarm instruction is as follows:

[0023] Compare the comparison classification coefficient BF with the preset comparison classification threshold BFy:

[0024] If the comparison classification coefficient BF≥comparison classification threshold BFy, an abnormal alarm instruction is generated and sent to the abnormal alarm module.

[0025] As a further solution of the present invention: the specific process of the comparison and classification module generating the parameter acquisition instruction is as follows:

[0026] Compare the comparison classification coefficient BF with the preset comparison classification threshold BFy:

[0027] If the comparison classification coefficient BF<the comparison classification threshold BFy, a parameter acquisition instruction is generated and sent to the parameter acquisition module.

[0028] As a further solution of the present invention: the specific process of the parameter acquisition module acquiring the brightness correction value LD is as follows:

[0029] After receiving the parameter acquisition instruction, the average brightness of all comparison areas Bi is obtained and marked as the average brightness value JL. The brightness of all comparison areas Bi is sorted in ascending order, the median is obtained and marked as the medium brightness value ZL, the average of the average brightness value JL and the medium brightness value ZL is obtained, and marked as the brightness correction value LD.

[0030] As a further solution of the present invention: the specific process of the parameter acquisition module acquiring the contrast correction value DB is as follows:

[0031] Get the average value of the contrast of all the comparison areas Bi and mark it as the average ratio JB, sort the contrast of all the comparison areas Bi from small to large, get the median and mark it as the medium ratio ZB, get the average value of the average ratio JB and the medium ratio ZB, and mark it as the contrast correction value DB.

[0032] As a further solution of the present invention: the specific process of the parameter acquisition module acquiring the color temperature correction value DW is as follows:

[0033] Get the average value of the color temperature values ​​of all the comparison areas Bi and mark it as the average temperature value JW, sort all the color temperature values ​​of the comparison areas Bi in ascending order, get the median and mark it as the medium temperature value ZW, get the average value of the average temperature value JW and the medium temperature value ZW, and mark it as the color temperature correction value DW.

[0034] As a further solution of the present invention: the specific process of the image correction module adjusting the light wave output image is as follows:

[0035] The brightness, contrast and color temperature values ​​of the light wave output image are adjusted according to the brightness correction value LD, the contrast correction value DB and the color temperature correction value DW to complete the image correction.

[0036] As a further solution of the present invention: a method for correcting an output image of a diffraction light waveguide comprises the following steps:

[0037] Step 1: The comparison acquisition module compares the light wave input graph and the light wave output graph to obtain comparison classification parameters, wherein the comparison classification parameters include color information YS and abnormal information YX, and sends the comparison classification parameters to the data analysis module;

[0038] Step 2: The data analysis module obtains the comparison classification coefficient BF according to the comparison classification parameters, and sends the comparison classification coefficient BF to the comparison classification module;

[0039] Step 3: The comparison and classification module generates an abnormal alarm instruction or a parameter acquisition instruction according to the comparison and classification coefficient BF, and sends the abnormal alarm instruction to the abnormal alarm module, and sends the parameter acquisition instruction to the parameter acquisition module;

[0040] Step 4: After receiving the abnormal alarm instruction, the abnormal alarm module sounds an abnormal alarm bell;

[0041] Step 5: After receiving the parameter acquisition instruction, the parameter acquisition module acquires the image correction parameters, wherein the image correction parameters include the brightness correction value LD, the contrast correction value DB and the color temperature correction value DW, and sends the image correction parameters to the image correction module;

[0042] Step 6: The image correction module adjusts the light wave output image according to the image correction parameters.

[0043] Beneficial effects of the present invention:

[0044] A diffraction optical waveguide output image correction method and system of the present invention compares a light wave input image and a light wave output image through a comparison acquisition module to obtain comparison classification parameters, wherein the comparison classification parameters include color information and abnormal information, obtains comparison classification coefficients according to the comparison classification parameters through a data analysis module, generates an abnormal alarm instruction or a parameter acquisition instruction according to the comparison classification coefficient through the comparison classification module, sounds an abnormal alarm bell after receiving the abnormal alarm instruction through the abnormal alarm module, obtains image correction parameters after receiving the parameter acquisition instruction through the parameter acquisition module, wherein the image correction parameters include brightness correction value, contrast correction value and color temperature correction value, and adjusts the light wave output image through the image correction module according to the image correction parameters; the system first compares the light wave input image and the light wave output image to obtain comparison classification parameters, and adjusts the light wave output image according to the image correction parameters according to the comparison classification parameters. The classification coefficient can comprehensively measure the difference between the light wave input image and the light wave output image, and the larger the classification coefficient, the higher the difference. When the difference is too large, it means that the image output is abnormal, and then the abnormal alarm ring sounds to remind the user to repair the optical components of the image output. When the difference is small, the image correction parameters are obtained, and finally the light wave output image is adjusted according to the image correction parameters. The system collects relevant data of the input image and output image of the diffraction light waveguide, and accurately judges the image quality and abnormality of the output image based on data analysis technology, realizes abnormal alarm and automatic image correction, can effectively solve the output abnormality problem of the diffraction light waveguide output image, reduce dispersion phenomenon, improve the color reproduction of the image, improve the image quality, and improve the display effect of the diffraction light waveguide technology, which is of great significance for promoting the development of AR, VR and other fields. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The present invention will be further described below in conjunction with the accompanying drawings.

[0046] Figure 1 It is a principle block diagram of a diffraction light waveguide output image correction system in the present invention;

[0047] Figure 2 It is a flow chart of a method for correcting a diffraction light waveguide output image in the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example 1

[0049] See also Figure 1 As shown, this embodiment is a diffraction light waveguide output image correction system, comprising the following modules: a comparison and acquisition module, a data analysis module, a comparison and classification module, an abnormal alarm module, a parameter acquisition module and an image correction module;

[0050] The comparison acquisition module is used to compare the light wave input graph and the light wave output graph, obtain comparison classification parameters, and send the comparison classification parameters to the data analysis module; wherein the comparison classification parameters include color information YS and abnormal information YX;

[0051] Wherein, the data analysis module is used to obtain the comparison classification coefficient BF according to the comparison classification parameter, and send the comparison classification coefficient BF to the comparison classification module;

[0052] The comparison and classification module is used to generate an abnormal alarm instruction or a parameter acquisition instruction according to the comparison and classification coefficient BF, and send the abnormal alarm instruction to the abnormal alarm module, and send the parameter acquisition instruction to the parameter acquisition module;

[0053] Wherein, the abnormal alarm module is used to sound an abnormal alarm ring after receiving an abnormal alarm instruction;

[0054] The parameter acquisition module is used to acquire image correction parameters after receiving the parameter acquisition instruction, and send the image correction parameters to the image correction module; wherein the image correction parameters include a brightness correction value LD, a contrast correction value DB and a color temperature correction value DW;

[0055] Wherein, the image correction module is used to adjust the light wave output image according to the image correction parameters. Example 2

[0056] See also Figure 2 As shown, this embodiment is a method for correcting a diffraction light waveguide output image, comprising the following steps:

[0057] Step 1: The comparison acquisition module compares the light wave input graph and the light wave output graph to obtain comparison classification parameters, wherein the comparison classification parameters include color information YS and abnormal information YX, and sends the comparison classification parameters to the data analysis module;

[0058] Step 2: The data analysis module obtains the comparison classification coefficient BF according to the comparison classification parameters, and sends the comparison classification coefficient BF to the comparison classification module;

[0059] Step 3: The comparison and classification module generates an abnormal alarm instruction or a parameter acquisition instruction according to the comparison and classification coefficient BF, and sends the abnormal alarm instruction to the abnormal alarm module, and sends the parameter acquisition instruction to the parameter acquisition module;

[0060] Step 4: After receiving the abnormal alarm instruction, the abnormal alarm module sounds an abnormal alarm bell;

[0061] Step 5: After receiving the parameter acquisition instruction, the parameter acquisition module acquires the image correction parameters, wherein the image correction parameters include the brightness correction value LD, the contrast correction value DB and the color temperature correction value DW, and sends the image correction parameters to the image correction module;

[0062] Step 6: The image correction module adjusts the light wave output image according to the image correction parameters. Example 3

[0063] Based on any of the above embodiments, Embodiment 3 of the present invention is a comparison acquisition module. The function of the comparison acquisition module is to obtain comparison classification parameters, wherein the comparison classification parameters include color information YS and abnormal information YX. The specific process is as follows:

[0064] The comparison and acquisition module obtains the input image of the diffractive optical waveguide and the output image of the diffractive optical waveguide, and marks them as a light wave input image and a light wave output image respectively;

[0065] The comparison acquisition module divides the light wave input graph into a number of comparison areas Bi according to the preset area, i=1, ..., n, n is a positive integer, i is the number of any comparison area, n is the total number of comparison areas, and divides the light wave output graph into a number of analysis areas Fi, and the analysis areas Fi correspond to the comparison areas Bi one by one;

[0066] The comparison acquisition module obtains all colors in the comparison area Bi, and obtains the color that occupies the largest proportion of the total area of ​​the comparison area Bi, and marks it as the comparison color, obtains the RGB value of the comparison color, the RGB value consists of three components of red, green and blue, and is represented by (R1, G1, B1), and the values ​​of R1, G1 and B1 are between 0 and 255, obtains all colors in the analysis area Fi, and obtains the color that occupies the largest proportion of the total area of ​​the analysis area Fi, and marks it as the analysis color, obtains the RGB value of the analysis color, and is represented by (R2, G2, B2), and the values ​​of R2, G2 and B2 are between 0 and 255, substitutes R1, G1, B1, R2, G2 and B2 into the formula for calculation, according to the formula Get color information YS;

[0067] The comparison acquisition module obtains the deformation area and the number of spots in the analysis area Fi, and marks them as deformation value BX and spot value BD respectively, where the deformation area is the total area of ​​the stretching area, the compression area and the distortion area. The deformation value BX and the spot value BD are quantified, the values ​​of the deformation value BX and the spot value BD are extracted, and substituted into the formula for calculation. According to the formula Obtain an outlier value YCi, where c1 and c2 are preset proportional coefficients corresponding to the set deformation value BX and spot value BD, respectively, c1 and c2 satisfy c1+c2=1, 0<c1<c2<1, c1=0.38, c2=0.62, compare the outlier value YCi with the preset outlier threshold value YCy: if the outlier value YCi is greater than the outlier threshold value YCy, mark the analysis area Fi corresponding to the outlier value YCi as an outlier area, obtain the number of outlier areas and the average value of the outlier values ​​YCi of all outlier areas, and mark them as outlier values ​​and outlier means, respectively, obtain the product of the two, and mark them as outlier information YX;

[0068] The comparison and acquisition module sends the color information YS and abnormal information YX to the data analysis module. Example 4

[0069] Based on any of the above embodiments, Embodiment 4 of the present invention is a data analysis module. The function of the data analysis module is to obtain a comparative classification coefficient BF. The specific process is as follows:

[0070] The data analysis module quantifies the color information YS and the abnormal information YX, extracts the values ​​of the color information YS and the abnormal information YX, and substitutes them into the formula for calculation. The comparison classification coefficient BF is obtained, where δ is the preset error adjustment factor, δ=1.109, π is a mathematical constant, f1 and f2 are the preset weight factors corresponding to the set color information YS and abnormal information YX, respectively, f1 and f2 satisfy f2>f1>1.733, and f1=1.96 and f2=2.54 are taken;

[0071] The data analysis module sends the comparative classification coefficient BF to the comparative classification module. Example 5

[0072] Based on any of the above embodiments, Embodiment 5 of the present invention is a comparison and classification module. The function of the comparison and classification module is to generate an abnormal alarm instruction or a parameter acquisition instruction. The specific process is as follows:

[0073] The comparison classification module compares the comparison classification coefficient BF with the preset comparison classification threshold BFy:

[0074] If the comparison classification coefficient BF ≥ the comparison classification threshold BFy, an abnormal alarm instruction is generated and sent to the abnormal alarm module;

[0075] If the comparison classification coefficient BF<the comparison classification threshold BFy, a parameter acquisition instruction is generated and sent to the parameter acquisition module. Example 6

[0076] Based on any of the above embodiments, Embodiment 6 of the present invention is a parameter acquisition module, and the function of the parameter acquisition module is to acquire image correction parameters, wherein the image correction parameters include a brightness correction value LD, a contrast correction value DB, and a color temperature correction value DW. The specific process is as follows:

[0077] After receiving the parameter acquisition instruction, the parameter acquisition module obtains the average brightness of all comparison areas Bi and marks it as the average brightness value JL, sorts the brightness of all comparison areas Bi in ascending order, obtains the median and marks it as the medium brightness value ZL, obtains the average of the average brightness value JL and the medium brightness value ZL, and marks it as the brightness correction value LD;

[0078] The parameter acquisition module acquires the average value of the contrast of all the comparison areas Bi and marks it as the average ratio JB, sorts the contrast of all the comparison areas Bi from small to large, acquires the median and marks it as the middle ratio ZB, acquires the average value of the average ratio JB and the middle ratio ZB, and marks it as the contrast correction value DB;

[0079] The parameter acquisition module acquires the average value of the color temperature values ​​of all the comparison areas Bi and marks it as the average temperature value JW, sorts the color temperature values ​​of all the comparison areas Bi in ascending order, acquires the median and marks it as the medium temperature value ZW, acquires the average value of the average temperature value JW and the medium temperature value ZW, and marks it as the color temperature value correction value DW;

[0080] The parameter acquisition module sends the brightness correction value LD, the contrast correction value DB and the color temperature correction value DW to the image correction module. Example 7

[0081] Based on any of the above embodiments, Embodiment 7 of the present invention is an image correction module. The function of the image correction module is to adjust the light wave output graph. The specific process is as follows:

[0082] The image correction module adjusts the brightness, contrast and color temperature of the light wave output image according to the brightness correction value LD, the contrast correction value DB and the color temperature correction value DW to complete the image correction.

[0083] Based on Examples 1-7, the working principle of the present invention is as follows:

[0084] A diffraction optical waveguide output image correction method and system of the present invention compares a light wave input image and a light wave output image through a comparison acquisition module to obtain comparison classification parameters, wherein the comparison classification parameters include color information and abnormal information, obtains comparison classification coefficients according to the comparison classification parameters through a data analysis module, generates an abnormal alarm instruction or a parameter acquisition instruction according to the comparison classification coefficient through the comparison classification module, sounds an abnormal alarm bell after receiving the abnormal alarm instruction through the abnormal alarm module, obtains image correction parameters after receiving the parameter acquisition instruction through the parameter acquisition module, wherein the image correction parameters include brightness correction value, contrast correction value and color temperature correction value, and adjusts the light wave output image through the image correction module according to the image correction parameters; the system first compares the light wave input image and the light wave output image to obtain comparison classification parameters, and adjusts the light wave output image according to the image correction parameters according to the comparison classification parameters. The classification coefficient can comprehensively measure the difference between the light wave input image and the light wave output image, and the larger the classification coefficient, the higher the difference. When the difference is too large, it means that the image output is abnormal, and then the abnormal alarm ring sounds to remind the user to repair the optical components of the image output. When the difference is small, the image correction parameters are obtained, and finally the light wave output image is adjusted according to the image correction parameters. The system collects relevant data of the input image and output image of the diffraction light waveguide, and accurately judges the image quality and abnormality of the output image based on data analysis technology, realizes abnormal alarm and automatic image correction, can effectively solve the output abnormality problem of the diffraction light waveguide output image, reduce dispersion phenomenon, improve the color reproduction of the image, improve the image quality, and improve the display effect of the diffraction light waveguide technology, which is of great significance for promoting the development of AR, VR and other fields.

[0085] It should be further explained that the above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0086] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0087] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.

Claims

1. A diffraction light waveguide output image correction system, characterized in that: include: A comparison acquisition module is used to compare the light wave input graph and the light wave output graph, obtain comparison classification parameters, and send the comparison classification parameters to the data analysis module; wherein the comparison classification parameters include color information YS and abnormal information YX; The specific process of the comparison and acquisition module obtaining the color information YS is as follows: Acquire an input image of the diffractive light waveguide and an output image of the diffractive light waveguide, and mark them as a light wave input graph and a light wave output graph, respectively; The light wave input graph is divided into a number of comparison areas Bi according to a preset area, and the light wave output graph is divided into a number of analysis areas Fi, and the analysis areas Fi correspond to the comparison areas Bi one by one; Get all the colors in the comparison area Bi, and get the color that occupies the largest proportion of the total area of ​​the comparison area Bi, and mark it as the comparison color, get the RGB value of the comparison color, the RGB value consists of three components of red, green and blue, and is represented by (R1, G1, B1), get all the colors in the analysis area Fi, and get the color that occupies the largest proportion of the total area of ​​the analysis area Fi, and mark it as the analysis color, get the RGB value of the analysis color, and represent it by (R2, G2, B2), substitute R1, G1, B1, R2, G2 and B2 into the formula for calculation, according to the formula Get color information YS; The specific process of the comparison and collection module obtaining abnormal information YX is as follows: Obtain the deformation area and the number of spots in the analysis area Fi, and mark them as deformation value BX and spot value BD respectively, where the deformation area is the total area of ​​the stretching area, the compression area and the distortion area. The deformation value BX and the spot value BD are quantified according to the formula Obtain an outlier value YCi, where c1 and c2 are respectively preset proportional coefficients corresponding to the set deformation value BX and the spot value BD, and compare the outlier value YCi with the preset outlier threshold value YCy: if the outlier value YCi is greater than the outlier threshold value YCy, mark the analysis area Fi corresponding to the outlier value YCi as an outlier area, obtain the number of outlier areas and the average value of the outlier values ​​YCi of all outlier areas, and mark them as outlier values ​​and outlier means, respectively, obtain the product of the two, and mark it as outlier information YX; A data analysis module, used for obtaining a comparison classification coefficient BF according to the comparison classification parameter, and sending the comparison classification coefficient BF to the comparison classification module; The specific process of the data analysis module obtaining the comparative classification coefficient BF is as follows: The color information YS and abnormal information YX are quantified according to the formula The comparison classification coefficient BF is obtained, where δ is a preset error adjustment factor, π is a mathematical constant, and f1 and f2 are preset weight factors corresponding to the set color information YS and abnormal information YX respectively; Send the comparative classification coefficient BF to the comparative classification module; A comparison and classification module, used for generating an abnormal alarm instruction or a parameter acquisition instruction according to the comparison and classification coefficient BF, and sending the abnormal alarm instruction to the abnormal alarm module, and sending the parameter acquisition instruction to the parameter acquisition module; An abnormal alarm module, used to sound an abnormal alarm bell after receiving an abnormal alarm instruction; A parameter acquisition module, used to acquire image correction parameters after receiving a parameter acquisition instruction, and send the image correction parameters to the image correction module; wherein the image correction parameters include a brightness correction value LD, a contrast correction value DB, and a color temperature correction value DW; The image correction module is used to adjust the light wave output image according to the image correction parameters.

2. A diffraction light waveguide output image correction system according to claim 1, characterized in that: The specific process of the comparison and classification module generating an abnormal alarm instruction is as follows: Compare the comparison classification coefficient BF with the preset comparison classification threshold BFy: If the comparison classification coefficient BF≥comparison classification threshold BFy, an abnormal alarm instruction is generated and sent to the abnormal alarm module.

3. The diffraction light waveguide output image correction system according to claim 1, characterized in that: The specific process of the comparison and classification module generating the parameter acquisition instruction is as follows: Compare the comparison classification coefficient BF with the preset comparison classification threshold BFy: If the comparison classification coefficient BF<the comparison classification threshold BFy, a parameter acquisition instruction is generated and sent to the parameter acquisition module.

4. The diffraction light waveguide output image correction system according to claim 1, characterized in that: The specific process of the parameter acquisition module acquiring the brightness correction value LD is as follows: After receiving the parameter acquisition instruction, the average brightness of all comparison areas Bi is obtained and marked as the average brightness value JL. The brightness of all comparison areas Bi is sorted in ascending order, the median is obtained and marked as the medium brightness value ZL, the average of the average brightness value JL and the medium brightness value ZL is obtained, and marked as the brightness correction value LD.

5. The diffraction light waveguide output image correction system according to claim 1, characterized in that: The specific process of the parameter acquisition module acquiring the contrast correction value DB is as follows: Get the average value of the contrast of all the comparison areas Bi and mark it as the average ratio JB, sort the contrast of all the comparison areas Bi from small to large, get the median and mark it as the medium ratio ZB, get the average value of the average ratio JB and the medium ratio ZB, and mark it as the contrast correction value DB.

6. The diffraction light waveguide output image correction system according to claim 1, characterized in that: The specific process of the parameter acquisition module acquiring the color temperature correction value DW is as follows: Get the average value of the color temperature values ​​of all the comparison areas Bi and mark it as the average temperature value JW, sort all the color temperature values ​​of the comparison areas Bi in ascending order, get the median and mark it as the medium temperature value ZW, get the average value of the average temperature value JW and the medium temperature value ZW, and mark it as the color temperature correction value DW.

7. The diffraction light waveguide output image correction system according to claim 1, characterized in that: The specific process of the image correction module adjusting the light wave output image is as follows: The brightness, contrast and color temperature values ​​of the light wave output image are adjusted according to the brightness correction value LD, the contrast correction value DB and the color temperature correction value DW to complete the image correction.

8. An image correction method of a diffraction light waveguide output image correction system as claimed in any one of claims 1 to 7, characterized in that: The following steps are involved: Step 1: The comparison acquisition module compares the light wave input graph and the light wave output graph to obtain comparison classification parameters, wherein the comparison classification parameters include color information YS and abnormal information YX, and sends the comparison classification parameters to the data analysis module; Step 2: The data analysis module obtains the comparison classification coefficient BF according to the comparison classification parameters, and sends the comparison classification coefficient BF to the comparison classification module; Step 3: The comparison and classification module generates an abnormal alarm instruction or a parameter acquisition instruction according to the comparison and classification coefficient BF, and sends the abnormal alarm instruction to the abnormal alarm module, and sends the parameter acquisition instruction to the parameter acquisition module; Step 4: After receiving the abnormal alarm instruction, the abnormal alarm module sounds an abnormal alarm bell; Step 5: After receiving the parameter acquisition instruction, the parameter acquisition module acquires the image correction parameters, wherein the image correction parameters include the brightness correction value LD, the contrast correction value DB and the color temperature correction value DW, and sends the image correction parameters to the image correction module; Step 6: The image correction module adjusts the light wave output image according to the image correction parameters.