LCD three-dimensional printing light uniformity method and device

Through the two-stage homogenization method, combined with the collection method of dense dot matrix images and sparse dot matrix images, the homogenization effect of LCD light-curing 3D printing is optimized, the problem of brightness weakening caused by lens distortion and collection angle tilt is solved, and the problem of brightness reduction is achieved. More uniform and precise print quality.

CN114683539BActive Publication Date: 2024-09-17SHENZHEN CBD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210215256.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-07
Publication Date
2024-09-17
Estimated Expiration
2042-03-07

AI Technical Summary

Technical Problem

Existing LCD light-curing 3D printers have uneven exposure due to lamp bead service life, manufacturing errors and optical device accuracy limitations, which affects the printing quality. In particular, the light uniformity effect of large-format LCD screens is poor, and existing technology cannot Effectively solve the problem of brightness weakening caused by lens distortion of the shooting unit and tilt of the collection angle.

Method used

A two-stage homogenization method is adopted. In the first stage, a dense dot matrix image is loaded to collect the initial gray value. In the second stage, a sparse dot matrix image is loaded and divided into squares to obtain the average edge gray value. The full screen gray value is optimized through an interpolation compensation algorithm. degree value to overcome acquisition errors caused by lens distortion and acquisition angle tilt.

Benefits of technology

Significantly improves the uniformity effect of LCD 3D printing, ensuring the uniformity and accuracy of printing quality. In particular, the uniformity compensation effect of large-format LCD screens is better, solving the problem of brightness weakening caused by lens distortion of the shooting unit and tilt of the collection angle. question.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114683539B
    Figure CN114683539B
Patent Text Reader

Abstract

A method for LCD three-dimensional printing light averaging includes: obtaining an initial grayscale value of a pixel where the coordinates of a first array point are located under a whiteboard image; obtaining a light averaging compensation difference corresponding to the initial grayscale value, and interpolating it into a full-screen compensation difference using an interpolation compensation algorithm, and then compensating the full-screen compensation difference to an equal grayscale value to obtain a full-screen light averaging grayscale value; obtaining the grayscale average value of pixels in a central square where the central array point of the second array point coordinates is located under the full-screen light averaging grayscale value image as a reference grayscale value; obtaining the average grayscale value of pixels in a non-central square where a non-central array point is located, and obtaining an optimized compensation difference between the average grayscale value and the reference grayscale value; interpolating the optimized compensation difference into a full-screen optimized compensation difference of each pixel on the full screen using an interpolation compensation algorithm, and then compensating the full-screen optimized compensation difference to the full-screen compensation difference to obtain a target grayscale compensation value; and compensating the target grayscale compensation value to image data to be printed, and then loading it into an LCD screen for light-curing printing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of 3D printing technology, and in particular to a method and device for 3D printing of LCDs. Background Art

[0002] Currently, light-curing 3D printers usually use a single light source or a matrix light source. Due to the service life of the lamp beads themselves, manufacturing errors, manufacturing precision limitations of optical devices, and different LCD path energy value losses, uneven exposure will affect the quality of LCD light-curing printers when printing models.

[0003] For example, the background technologies of the invention patent No. 202010781266X "A device and method for optimizing and compensating uniform light for LCD light-curing 3D printing" and the invention patent No. 2020116196154 "A method for compensating light for a light-curing 3D printer" have been applied for publication; the former uses an ultraviolet light testing instrument to detect the average point energy. In actual use, this method requires manual point-by-point energy collection operations, which is complicated and the average light collection process is inaccurate, resulting in poor final average light effect.

[0004] The latter solution uses a camera to capture a perspective change matrix image and obtains the actual display screen coordinate system by analyzing the changes in the monitoring points. This method takes into account and solves the deviation problem between the captured image point coordinates and the actual image point coordinates caused by the camera lens distortion, and correspondingly improves the accuracy of the light averaging correction; however, it has not yet taken into account, for example, when the camera is in the middle of shooting and the display screen image is collected, the brightness of the edge image is reduced due to the tilt of the light collection angle; this is because the liquid crystal molecules in the liquid crystal display are more conducive to the passage of parallel light, and for positions that deviate too much from the current pixel The angle of the light-transmitting gap of the liquid crystal molecules, the light intensity and grayscale collected by its shooting unit will naturally weaken; this situation has a greater impact on the larger the LCD screen format, and accordingly, for the larger LCD screen format, a more targeted light averaging solution is needed, and for the smaller LCD screen format, the light averaging effect also needs to be further improved. Summary of the invention

[0005] In view of the problems in the background technology, the present invention provides a method and device for LCD three-dimensional printing light averaging, which uses a two-stage light averaging method, wherein in the first stage, a first dot matrix image with a relatively dense dot matrix is ​​first loaded and the acquisition coordinates of each matrix point after distortion are collected, and then the average whiteboard image is loaded, and the coordinate deviation between the known coordinates of each matrix point in the first dot matrix image and the acquisition coordinates can be used to obtain the acquisition initial grayscale value at the known coordinates on the whiteboard image; based on these collected initial grayscale values, the full-screen compensation difference required for the final total light averaging compensation and the full-screen light averaging grayscale value image required for the second stage can be obtained; in the second stage, a first dot matrix image with a relatively small dot matrix is ​​first loaded, and the acquisition coordinates of each matrix point after distortion are collected are collected, and then the average whiteboard image is loaded, and ... A second dot matrix image is obtained, for example, a 3*3 dot matrix image, and the entire image is divided into X*Y acquisition grids with each dot as the center, for example, 3*3 grids, and then the dot matrix image is loaded and the shooting unit is closely aligned with the center grid, the full-screen average light grayscale value image is switched, and the average grayscale value of the pixel acquisition in the center grid is acquired as the reference grayscale value, and then the grayscale average value of the edge grids is acquired in sequence by close alignment; based on these grayscale average values ​​and the reference grayscale values, the optimized compensation difference is obtained, and then interpolated into the full-screen optimized compensation difference; and then it is compensated to the full-screen compensation difference of the first stage, so as to obtain the target grayscale value for compensating the image to be printed.

[0006] The two-stage light averaging method of the present invention can not only overcome the problem of inaccurate pixel grayscale acquisition caused by the deviation between the shooting coordinates and the actual coordinates due to the optical distortion of the shooting unit, but also overcome the problem of reduced light intensity and grayscale of the edge image due to the tilted acquisition angle when the shooting unit is in the middle of the shooting. Through the compensation and optimization of the two stages, the problem of poor light averaging effect in the LCD three-dimensional printing process can be solved as much as possible. The specific technical solution of the present invention application is as follows:

[0007] A first aspect of an embodiment of the present application provides a method for 3D printing of LCD light, comprising the following steps:

[0008] S100, obtaining the initial gray value of each pixel at the location of the first array point coordinates in the whiteboard image with equal gray value;

[0009] S200, obtaining the average light compensation difference corresponding to each initial grayscale value, and using the interpolation compensation algorithm to interpolate it into the full-screen compensation difference of each pixel in the full screen, and then compensating the full-screen compensation difference to the equal grayscale value to obtain the full-screen average light grayscale value;

[0010] S300, obtaining the grayscale average value of the pixels in the center square where the center grid point of the second grid point coordinates is located in the full-screen average light grayscale value image as a reference grayscale value;

[0011] S400, obtaining the average gray value of the pixels in the non-center square where the non-center grid point of the second grid point coordinates is located in the full-screen average light gray value image, and obtaining the optimized compensation difference between the average gray value in the non-center square and the reference gray value;

[0012] S500, using an interpolation compensation algorithm to interpolate the optimization compensation difference to a full-screen optimization compensation difference of each pixel on the full screen, and then compensating the full-screen optimization compensation difference to the full-screen compensation difference to obtain a target grayscale compensation value;

[0013] S600, compensating the target grayscale compensation value to the image data to be printed and then loading it into the LCD screen for light-curing printing.

[0014] Specifically, each array point of the first dot matrix image is the first array point, and the LCD screen image coordinates at the center of each first array point are the first array point coordinates; each array point of the second dot matrix image is the second array point, and the LCD screen image coordinates at the center of each second array point are the second array point coordinates.

[0015] Furthermore, the light homogenization method further comprises the following steps:

[0016] S450, for the optimized compensation difference that is not within the allowable threshold range in the non-central grid, scale it K times and compensate it to the average light image pixel according to the corresponding coordinates of the pixels in the grid to form a correction map and repeatedly collect the average gray value in the grid to obtain the optimized compensation difference.

[0017] Accordingly, step S450 includes the following steps:

[0018] S455, determining whether the optimization compensation difference is within the allowable threshold range; if it is determined that the optimization compensation difference is within the allowable threshold range, proceeding to step S500; if it is determined that the optimization compensation difference is not within the allowable threshold range, proceeding to step S460;

[0019] S460, scaling the optimized compensation difference by K times and then compensating it to the pixels of the uniform light image according to the corresponding coordinates of the pixels in the square to form a correction image;

[0020] S465, the LCD screen loads the display correction image and forms a correction light transmission image;

[0021] S470, the shooting unit collects the corrected light transmission image at close range and obtains the average grayscale value of the collected grayscale of each pixel in the non-central square;

[0022] S475, calculate and obtain the optimized compensation difference between the average gray value and the reference gray value in the non-central square, and then proceed to step S455.

[0023] Preferably, the value of K is 0.4, or 0.5, or 0.8, or 1.2, or 1.5.

[0024] Accordingly, step S100 includes the following steps:

[0025] S105, the LCD screen loads and displays the first dot matrix image and covers the light-homogenizing film to transmit the light source to form the first dot matrix light-transmitting image;

[0026] S110, aligning the center of the shooting unit with the central point of the first dot matrix light-transmitting image;

[0027] S115, the shooting unit collects the first dot matrix light transmission image to obtain the first dot matrix collection image and obtains the collection coordinates of each array point;

[0028] S120, the LCD screen loads and displays a whiteboard image in which all pixels have equal gray values ​​and forms a whiteboard light-transmitting image;

[0029] S125, the shooting unit captures the light-transmitting image of the whiteboard and obtains the initial grayscale value of the pixel where the array point acquisition coordinates are located;

[0030] S130 , assigning each initial grayscale value to the array point coordinates according to the mapping relationship between the first array point coordinates and the array point acquisition coordinates.

[0031] Accordingly, step S200 includes the following steps:

[0032] S205, calculating and obtaining the average light compensation difference value according to the initial gray value under the coordinates of the first array point;

[0033] S210, using an interpolation compensation algorithm to interpolate the average light compensation difference under the coordinates of each first array point into a full-screen compensation difference of each pixel in the full screen;

[0034] S215 , compensating the full-screen compensation difference of each pixel on the full screen to the equal gray value of the whiteboard image to obtain the full-screen average light gray value.

[0035] Accordingly, step S300 includes the following steps:

[0036] S305, the LCD screen loads and displays the second dot matrix image and covers the light-homogenizing film to transmit the light source to form a second dot matrix light-transmitting image;

[0037] S310, dividing the image into X*Y acquisition grids with each array point as the center on the second dot matrix light transmission image;

[0038] S315, the shooting unit closely aligns the center of the second dot matrix light-transmitting image with the center point of the central grid;

[0039] S320, the LCD screen loads a light-averaging image showing that all pixels have a full-screen light-averaging grayscale value and forms a light-averaging transparent image;

[0040] S325, the shooting unit collects the uniform light transmission image at close range and obtains the average grayscale value of the pixels collected in the central square as a reference grayscale value.

[0041] Preferably, the X*Y collection grids are 3*3, or 5*5, or 7*7.

[0042] Accordingly, step S400 includes the following steps:

[0043] S405, the LCD screen loads and displays the second dot matrix image again and covers the light-homogenizing film to transmit the light source to form a second dot matrix light-transmitting image;

[0044] S410, the shooting unit closely aligns the center of the second dot matrix light transmission image with the non-center Nth square;

[0045] S415, the LCD screen loads again the average light image showing that all pixels have the average light gray value of the entire screen and forms an average light transmission image;

[0046] S420, the shooting unit collects the uniform light transmission image at close range and obtains the average grayscale value of the collected grayscale of each pixel in the non-central square;

[0047] S425, calculating and obtaining the optimized compensation difference between the average gray value and the reference gray value in the non-central square.

[0048] Accordingly, step S500 includes the following steps:

[0049] S505, using an interpolation compensation algorithm to interpolate the optimization compensation difference under the coordinates of the second grid point of each grid into the full-screen optimization compensation difference of each pixel of the full screen;

[0050] S510, compensating the full-screen optimization compensation difference of the full-screen pixels to the full-screen compensation difference to obtain a target grayscale compensation value.

[0051] A second aspect of the embodiment of the present application provides an LCD three-dimensional printing light-homogenizing device applicable to the above light-homogenizing method, comprising:

[0052] Light source, used to emit ultraviolet light to transmit the LCD screen and the light-homogenizing film to form a light-transmitting image;

[0053] The LCD screen is used to load and display the first dot matrix image, or the second dot matrix image, or the white board image with equal gray value, or the uniform light image, or the calibration image, or the image to be printed;

[0054] A light-homogenizing film is used to cover the LCD screen to form a first dot matrix light-transmitting image, or a second dot matrix light-transmitting image, or a whiteboard light-transmitting image, or a light-homogenizing light-transmitting image, or a light-correcting light-transmitting image;

[0055] A shooting unit, used for collecting pixel grayscale values ​​of a whiteboard image after center alignment with a central matrix point of a first dot matrix light transmission image, or for collecting pixel grayscale values ​​of a uniform light transmission image at close range after center alignment with a central matrix point of a central grid of a second dot matrix light transmission image, or for collecting pixel grayscale values ​​of a uniform light transmission image or a corrected light transmission image at close range after center alignment with a central matrix point in a non-central grid of a second dot matrix light transmission image;

[0056] A data processing module, used to obtain an initial grayscale value, or obtain a mean light compensation difference, or obtain a full-screen compensation difference, or obtain a full-screen mean light grayscale value, or obtain a reference grayscale value, or obtain an average grayscale value, or obtain an optimized compensation difference, or obtain a full-screen optimized compensation difference, or obtain a target grayscale compensation value;

[0057] A memory, used to store a uniform light control program, or to store an initial grayscale value, or to store a uniform light compensation difference, or to store a full-screen compensation difference, or to store a full-screen uniform light grayscale value, or to store a reference grayscale value, or to store an average grayscale value, or to store an optimized compensation difference, or to store a full-screen optimized compensation difference, or to store a target grayscale compensation value;

[0058] The control module is used to control the LCD screen to load and display the first dot matrix image, or the second dot matrix image, or the equal gray value whiteboard image, or the uniform light image, or the correction image, or the image to be printed, or to compensate the target gray compensation value to the image data to be printed and then load it into the LCD screen for light-curing printing.

[0059] A third aspect of the embodiments of the present application provides an LCD light-curing 3D printer, comprising:

[0060] A light source, used for emitting ultraviolet light to transmit the LCD screen and irradiate the photosensitive resin solution in the liquid tank and the photosensitive resin to make it photocured;

[0061] The LCD screen is used to load and display the image to be printed and the image to be printed after the target grayscale compensation value is compensated, and to mask the ultraviolet light emitted by the light source;

[0062] A liquid tank and a photosensitive resin, wherein the bottom of the liquid tank is light-transmissive and the photosensitive resin solution is contained in the tank;

[0063] The molding platform and the driving mechanism, wherein the molding platform is used to attach the cured resin layer during the photosensitive resin solution photocuring molding process to continuously lift and grow the resin layer until the 3D printing is completed, and the driving mechanism is used to drive the molding platform to perform lifting and lowering movements;

[0064] A memory, used to store image data to be printed, target grayscale compensation values ​​obtained after light homogenization in the present invention, and a printing control program;

[0065] A data processing module, used for acquiring image data to be printed, and compensating the target grayscale compensation value to the image data to be printed;

[0066] The control module is used to control the on and off of the light source, control the LCD screen to load and display the image to be printed and the image to be printed that has completed the target grayscale compensation value compensation, and control the driving mechanism to lift the forming platform.

[0067] A fourth aspect of the embodiments of the present application provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the light homogenization method of the present invention.

[0068] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0069] 1. In the first stage of the light averaging correction, compared with the solution of 2020116196154 "A Light Compensation Method for a Photocurable 3D Printer" which requires loading multiple images, the LCD screen in the embodiment of the present application only needs to load two images, namely, a first array dot image and an equal gray value whiteboard image. The coordinate deviation between the known coordinates of each array point in the first dot array image and the acquisition coordinates can be used to obtain the acquisition initial gray value at the known coordinates on the whiteboard image; and based on these acquired initial gray values, the full-screen compensation difference required for the final total light averaging compensation and the full-screen light averaging gray value image required for the second stage can be obtained; it can not only solve the coordinate offset problem caused by the lens distortion of the shooting unit, but also the method idea is simpler and clearer;

[0070] 2. In the second stage of the light averaging correction, the light averaging method of the embodiment of the present application aims to solve the problem of reduced brightness and grayscale of the edge image due to the tilted acquisition angle when the camera is in the middle of the display screen. The entire image is divided into 3*3 acquisition grids, for example, with each array point as the center, and the shooting units are aligned at close range to sequentially acquire the grayscale average value of the edge grids under the full-screen light averaging grayscale value image in the first stage. Such a block-by-block close-range acquisition method can greatly reduce the acquisition error when the shooting unit is located in the center of the image and acquires the grayscale of the edge image at a large tilt angle, so that the final light averaging compensation effect is better.

[0071] 3. In the second stage of the light averaging correction of the light averaging method of the embodiment of the present application, the entire image is divided into, for example, 3*3 acquisition grids with each array point as the center, and the average grayscale value of the edge grid is compared with the reference grayscale value of the average grayscale in the center grid to obtain the optimized compensation difference, which is then interpolated as the full-screen optimized compensation difference. Based on this, the full-screen compensation difference obtained in the first stage of the light averaging correction can be further optimized, so that the final light averaging compensation effect is better;

[0072] 4. In the second stage of the light averaging correction in the light averaging method of the embodiment of the present application, step S450 is added as a feedback adjustment link. Based on the full-screen light averaging grayscale value image obtained in the first stage, feedback is continuously provided to adjust and reduce the difference between the average grayscale value of the edge grid and the reference grayscale value of the average grayscale in the center grid, so that the overall light averaging effect is more averaged, thereby making the final light averaging compensation effect better. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1A This is a flow chart of a light-averaging method 1 according to an embodiment of the present invention;

[0074] Figure 1B This is a flow chart of the light-averaging method 2 according to an embodiment of the present invention;

[0075] Figure 2 The specific overall flow chart of the embodiment of the present invention corresponds to method 1;

[0076] Figure 3 This is a specific partial flow chart corresponding to method 2 in an embodiment of the present invention;

[0077] Figure 4A is a first lattice image that is not distorted in the light homogenization method according to an embodiment of the present invention;

[0078] Figure 4B It is a first dot matrix acquisition image with distortion in the light homogenization method of an embodiment of the present invention;

[0079] Figure 5A Schematic diagram of the offset between the first array point coordinates and the array point acquisition coordinates in the light homogenization method according to an embodiment of the present invention;

[0080] Figure 5B A schematic diagram of the grayscale reduction of the collected brightness caused by the tilted collection angle in the light averaging method according to an embodiment of the present invention;

[0081] Fig. 6A is a whiteboard image with equal grayscale value loaded into the LCD in the light averaging method of an embodiment of the present invention;

[0082] Figure 6B A whiteboard image when LCD pixels are aged in the light averaging method of an embodiment of the present invention;

[0083] Figure 6C Schematic diagram of the inclination angle of collecting the light transmission image of the whiteboard in the light homogenization method according to the embodiment of the present invention;

[0084] Fig.6D This is a schematic diagram of grayscale reduction at the edge of a whiteboard light-transmitting image in the light-homogenizing method according to an embodiment of the present invention;

[0085] Fig. 7A Schematic diagram of the process of obtaining the light averaging compensation difference in the light averaging method according to an embodiment of the present invention;

[0086] Figure 7B The light averaging compensation difference table / full screen compensation difference table required in the light averaging method of the embodiment of the present invention;

[0087] Figure 7C Schematic diagram of the process of obtaining the full-screen average light grayscale value in the average light method according to an embodiment of the present invention;

[0088] Fig.7D The full-screen average light grayscale table required in the average light method of the embodiment of the present invention;

[0089] Fig. 8A is a second undistorted dot matrix image in the light homogenization method according to an embodiment of the present invention;

[0090] Figure 8B Schematic diagram of close-range collection of grayscale values ​​of the center square and edge square in the light averaging method according to an embodiment of the present invention;

[0091] Figure 8C This is a schematic diagram of grayscale values ​​of a central square and an edge square collected at close range in a light averaging method according to an embodiment of the present invention;

[0092] Fig.8D This is a schematic diagram of a captured image with slight distortion when all squares are captured at close range in the light averaging method according to an embodiment of the present invention;

[0093] Fig. 9A It is a grayscale table of all square grids collected at close range in the light averaging method of an embodiment of the present invention;

[0094] Fig. 9B This is a table of average gray values ​​of all squares collected at close range in the light averaging method of an embodiment of the present invention;

[0095] Fig. 9C The optimized compensation difference table required in the light averaging method of the embodiment of the present invention;

[0096] Fig.9D A full-screen optimization compensation difference table required in the light averaging method of an embodiment of the present invention;

[0097] Fig. 10A Schematic diagram of the process of obtaining the target grayscale compensation value in the light averaging method according to an embodiment of the present invention;

[0098] Fig. 10B A table of target grayscale compensation values ​​required in the light averaging method according to an embodiment of the present invention;

[0099] Fig. 10C A schematic diagram of a process of compensating image data to be printed in a light averaging method according to an embodiment of the present invention;

[0100] Fig. 10D is a compensation result of the image data to be printed in the light averaging method according to an embodiment of the present invention;

[0101] Fig.11A An optimized compensation difference table for the scaling process in the light averaging method according to an embodiment of the present invention;

[0102] Fig. 11B is an optimized compensation difference table completed by the scaling process in the light averaging method in an embodiment of the present invention;

[0103] Fig. 11C Schematic diagram of the grayscale compensation process of the correction image in the light averaging method according to an embodiment of the present invention;

[0104] Fig.11D is a grayscale table of a correction image in the light averaging method according to an embodiment of the present invention;

[0105] Fig. 12A is a table of average gray values ​​of all squares after scaling processing in the light averaging method of an embodiment of the present invention;

[0106] Fig. 12B is an optimized compensation difference table after scaling processing in the light averaging method according to an embodiment of the present invention;

[0107] Fig. 12C A full-screen optimization compensation difference table after scaling processing in the light averaging method according to an embodiment of the present invention;

[0108] Fig.12D is a target grayscale compensation value table after scaling processing in the light averaging method according to an embodiment of the present invention;

[0109] Fig.13A This is a schematic diagram of the principle structure of a light homogenizing device according to an embodiment of the present invention;

[0110] Fig. 13B A schematic diagram of loading or displaying an image for the LCD light-curing 3D printing uniform light optimization compensation device of the present invention;

[0111] Fig.14A This is a schematic diagram of the principle structure of a 3D printer according to an embodiment of the present invention;

[0112] Fig. 14B The figure is a schematic diagram of the structure of a computer used to implement the light-averaging method program according to an embodiment of the present invention.

[0113] Description of labels:

[0114] First dot matrix image 41; first matrix point 411; first dot matrix acquisition image 42; first acquisition matrix point 421; second dot matrix image 81; second matrix point 811;

[0115] Light homogenizing device 13; 3D printer 14; computer 15; light source 131; LCD screen 132; light homogenizing film 133; shooting unit 134; data processing module 135; memory 136; control module 137; liquid tank and photosensitive resin 138; molding platform and driving mechanism 139; processor 151; non-transient computer-readable storage medium 152; liquid crystal molecules 1320; digital image 1321; light homogenizing control program 1361; printing control program 1362. DETAILED DESCRIPTION

[0116] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.

[0117] The present invention provides a method and device for LCD three-dimensional printing light averaging, which uses a two-stage light averaging method, wherein in the first stage, a first dot matrix image with a relatively dense dot matrix is ​​first loaded and the acquisition coordinates of each matrix point after distortion are collected, and then a mean value whiteboard image is loaded, and the coordinate deviation between the known coordinates of each matrix point in the first dot matrix image and the acquisition coordinates can be used to obtain the acquisition initial grayscale value at the known coordinates on the whiteboard image; based on these collected initial grayscale values, the full-screen compensation difference required for the final total light averaging compensation and the full-screen light averaging grayscale value image required for the second stage can be obtained; in the second stage, a second dot matrix image with a relatively small dot matrix is ​​first loaded The image is, for example, a 3*3 dot matrix image, and the entire image is divided into X*Y acquisition grids with each dot as the center, for example, 3*3 grids. Then the dot matrix image is loaded and the shooting unit is closely aligned with the center grid, the full-screen average light grayscale value image is switched, the average grayscale of the pixel acquisition in the center grid is acquired as the reference grayscale value, and then the grayscale average value of the edge grids is acquired in sequence by close alignment. Based on these grayscale average values ​​and the reference grayscale values, the optimized compensation difference is obtained, and then interpolated into the full-screen optimized compensation difference. Then it is compensated to the full-screen compensation difference of the first stage, and the target grayscale value for compensating the image to be printed can be obtained.

[0118] The two-stage light averaging method of the present application can not only overcome the problem of inaccurate pixel grayscale acquisition caused by the deviation between the shooting coordinates and the actual coordinates caused by the lens distortion of the shooting unit, but also overcome the problem of reduced acquisition brightness and grayscale of the edge image due to the tilted acquisition angle when the shooting unit is in the middle of shooting; through two-stage compensation and optimization, the problem of poor light averaging effect in the LCD three-dimensional printing process can be solved as much as possible.

[0119] Figure 1A This is a flow chart of a light averaging method 1 according to an embodiment of the present invention. As shown in the figure, a light averaging method for LCD three-dimensional printing includes the following steps:

[0120] S100, obtaining the initial gray value of each pixel at the location of the first array point coordinates in the whiteboard image with equal gray value;

[0121] S200, obtaining the average light compensation difference corresponding to each initial grayscale value, and using the interpolation compensation algorithm to interpolate it into the full-screen compensation difference of each pixel in the full screen, and then compensating the full-screen compensation difference to the equal grayscale value to obtain the full-screen average light grayscale value;

[0122] S300, obtaining the grayscale average value of the pixels in the center square where the center grid point of the second grid point coordinates is located in the full-screen average light grayscale value image as a reference grayscale value;

[0123] S400, obtaining the average gray value of the pixels in the non-center square where the non-center grid point of the second grid point coordinates is located in the full-screen average light gray value image, and obtaining the optimized compensation difference between the average gray value in the non-center square and the reference gray value;

[0124] S500, using an interpolation compensation algorithm to interpolate the optimization compensation difference to a full-screen optimization compensation difference of each pixel on the full screen, and then compensating the full-screen optimization compensation difference to the full-screen compensation difference to obtain a target grayscale compensation value;

[0125] S600, compensating the target grayscale compensation value to the image data to be printed and then loading it into the LCD screen for light-curing printing.

[0126] Figure 1B This is a flow chart of the light averaging method 2 according to an embodiment of the present invention. Figure 1A The light homogenization method further comprises the following steps:

[0127] S100, obtaining the initial gray value of each pixel at the location of the first array point coordinates in the whiteboard image with equal gray value;

[0128] S200, obtaining the average light compensation difference corresponding to each initial grayscale value, and using the interpolation compensation algorithm to interpolate it into the full-screen compensation difference of each pixel in the full screen, and then compensating the full-screen compensation difference to the equal grayscale value to obtain the full-screen average light grayscale value;

[0129] S300, obtaining the grayscale average value of the pixels in the center square where the center grid point of the second grid point coordinates is located in the full-screen average light grayscale value image as a reference grayscale value;

[0130] S400, obtaining the average gray value of the pixels in the non-center square where the non-center grid point of the second grid point coordinates is located in the full-screen average light gray value image, and obtaining the optimized compensation difference between the average gray value in the non-center square and the reference gray value;

[0131] S450, for the optimized compensation difference values ​​that are not within the allowable threshold range in the non-central square, scale them by K times and compensate them to the pixels of the average light image according to the corresponding coordinates of the pixels in the square to form a correction image and repeatedly collect the average gray value in the square to obtain the optimized compensation difference;

[0132] S500, using an interpolation compensation algorithm to interpolate the optimization compensation difference to a full-screen optimization compensation difference of each pixel on the full screen, and then compensating the full-screen optimization compensation difference to the full-screen compensation difference to obtain a target grayscale compensation value;

[0133] S600, compensating the target grayscale compensation value to the image data to be printed and then loading it into the LCD screen for light-curing printing.

[0134] Figure 2 The specific overall flow chart of the embodiment of the present invention corresponds to method 1. As shown in the figure, the step S100 corresponding to method 1 includes the following steps:

[0135] S105, the LCD screen loads and displays the first dot matrix image and covers the light-homogenizing film to transmit the light source to form the first dot matrix light-transmitting image;

[0136] S110, aligning the center of the shooting unit with the central point of the first dot matrix light-transmitting image;

[0137] S115, the shooting unit collects the first dot matrix light transmission image to obtain the first dot matrix collection image and obtains the collection coordinates of each array point;

[0138] S120, the LCD screen loads and displays a whiteboard image in which all pixels have equal gray values ​​and forms a whiteboard light-transmitting image;

[0139] S125, the shooting unit captures the light-transmitting image of the whiteboard and obtains the initial grayscale value of the pixel where the array point acquisition coordinates are located;

[0140] S130 , assigning each initial grayscale value to the array point coordinates according to the mapping relationship between the first array point coordinates and the array point acquisition coordinates.

[0141] Corresponding to step S200 of method 1, the method includes the following steps:

[0142] S205, calculating and obtaining the average light compensation difference value according to the initial gray value under the coordinates of the first array point;

[0143] S210, using an interpolation compensation algorithm to interpolate the average light compensation difference under the coordinates of each first array point into a full-screen compensation difference of each pixel in the full screen;

[0144] S215 , compensating the full-screen compensation difference of each pixel on the full screen to the equal gray value of the whiteboard image to obtain the full-screen average light gray value.

[0145] Corresponding to step S300 of method 1, the method includes the following steps:

[0146] S305, the LCD screen loads and displays the second dot matrix image and covers the light-homogenizing film to transmit the light source to form a second dot matrix light-transmitting image;

[0147] S310, dividing the image into X*Y acquisition grids with each array point as the center on the second dot matrix light transmission image;

[0148] S315, the shooting unit closely aligns the center of the second dot matrix light-transmitting image with the center point of the central grid;

[0149] S320, the LCD screen loads a light-averaging image showing that all pixels have a full-screen light-averaging grayscale value and forms a light-averaging transparent image;

[0150] S325, the shooting unit collects the uniform light transmission image at close range and obtains the average grayscale value of the pixels collected in the central square as a reference grayscale value.

[0151] Corresponding to step S400 of method 1, the method includes the following steps:

[0152] S405, the LCD screen loads and displays the second dot matrix image again and covers the light-homogenizing film to transmit the light source to form a second dot matrix light-transmitting image;

[0153] S410, the shooting unit closely aligns the center of the second dot matrix light transmission image with the non-center Nth square;

[0154] S415, the LCD screen loads again the average light image showing that all pixels have the average light gray value of the entire screen and forms an average light transmission image;

[0155] S420, the shooting unit collects the uniform light transmission image at close range and obtains the average grayscale value of the collected grayscale of each pixel in the non-central square;

[0156] S425, calculating and obtaining the optimized compensation difference between the average gray value and the reference gray value in the non-central square.

[0157] Corresponding to step S500 of method 1, the method includes the following steps:

[0158] S505, using an interpolation compensation algorithm to interpolate the optimization compensation difference under the coordinates of the second grid point of each grid into the full-screen optimization compensation difference of each pixel of the full screen;

[0159] S510, compensating the full-screen optimization compensation difference of the full-screen pixels to the full-screen compensation difference to obtain a target grayscale compensation value.

[0160] The method also includes step S600, compensating the target grayscale compensation value to the image data to be printed and then loading it into the LCD screen for light-curing printing.

[0161] Figure 3 This is a specific partial flow chart corresponding to method 2 in the embodiment of the present invention. As shown in the figure, Figure 2 Only the process after step S400 is shown. Specifically, compared with Figure 2The process after step S400, this figure adds step S450, and corresponds to step S450 of method 2, including the following steps:

[0162] S455, determining whether the optimization compensation difference is within the allowable threshold range; if it is determined that the optimization compensation difference is within the allowable threshold range, proceeding to step S500; if it is determined that the optimization compensation difference is not within the allowable threshold range, proceeding to step S460;

[0163] S460, scaling the optimized compensation difference by K times and then compensating it to the pixels of the uniform light image according to the corresponding coordinates of the pixels in the square to form a correction image;

[0164] S465, the LCD screen loads the display correction image and forms a correction light transmission image;

[0165] S470, the shooting unit collects the corrected light transmission image at close range and obtains the average grayscale value of the collected grayscale of each pixel in the non-central square;

[0166] S475, calculate and obtain the optimized compensation difference between the average gray value and the reference gray value in the non-central square, and then proceed to step S455.

[0167] Figure 4A is the first undistorted dot matrix image in the light averaging method of the embodiment of the present invention. Figure 2 In step S105, it is necessary to load and display the first dot matrix image 41 on the LCD screen and cover the light-homogenizing film to transmit the light source to form a first dot matrix light-transmitting image. The first dot matrix image 41 in the figure is a 6X6 dot matrix; the first dot matrix image 41 loaded and displayed on the LCD screen is the undistorted first dot matrix image 41 shown in this figure, and the spacing between the matrix points in the image in the X-axis or Y-axis direction is equal; accordingly, Figure 2 In step S110, the center of the shooting unit needs to be aligned with the intersection origin of the X-axis and the Y-axis in the figure, that is, the center matrix point. Correspondingly, each matrix point of the first matrix image 41 in the figure is the first matrix point 411, and the LCD screen image coordinates where the center of each first matrix point 411 is located are the first matrix point coordinates.

[0168] Figure 4B This is the first dot matrix captured image with distortion in the light averaging method of the embodiment of the present invention. Figure 2In step S115, when the shooting unit captures the first dot matrix light transmission image to obtain the first dot matrix acquisition image 42 and obtains the acquisition coordinates of 6X6 array points, due to the optical distortion problem caused by the optical lens of the shooting unit, the first dot matrix light transmission image captured by the shooting unit is a distorted image as shown in the local. Correspondingly, each array point of the first dot matrix acquisition image 42 in this figure is the first acquisition array point 421, and the LCD screen image coordinates where the center of each first acquisition array point 421 is located are the array point acquisition coordinates.

[0169] Figure 5A The schematic diagram of the offset between the first array point coordinates and the array point acquisition coordinates in the light averaging method of the embodiment of the present invention is shown in the figure. As shown in the figure, when the acquisition coordinates of each array point in the first array acquisition image 42 and the coordinates of each array point in the first array image 41 are offset, each initial grayscale value can be assigned to the array point coordinate according to the mapping relationship between the first array point coordinates and the array point acquisition coordinates as in step S130; for example, the pixel coordinate corresponding to the first array acquisition coordinate D1' in the figure is (x1, y1), and its pixel acquisition grayscale value is 200, then the acquisition grayscale value corresponding to the first array coordinate D1 mapped by the first array acquisition coordinate D1' is 200; thereby overcoming the problem that the acquisition grayscale caused by optical distortion cannot accurately correspond to the actual pixel coordinates.

[0170] Figure 5B The schematic diagram of the grayscale reduction of the collected brightness caused by the tilted collection angle in the light-homogenizing method of the embodiment of the present invention. As shown in the figure, when the shooting unit 134 is located in the middle of the LCD screen 132 and takes an image of the LCD screen 132, the image on the edges of the LCD screen 132 will have the problem of reduced brightness and grayscale due to the tilted light collection angle; this is because the liquid crystal molecules 1320 in the LCD screen are more conducive to the passage of parallel light, so when the shooting unit 134 collects grayscale and light intensity, it is not easy to collect the image brightness and grayscale on the edges of the LCD screen 132, even after adding the uniform light film 133, because the uniform light film 133 does not have the ability to focus light toward the center, the situation of reduced collected brightness and grayscale will not be improved; this situation has a greater impact on LCD screens with larger formats.

[0171] Fig. 6A This is a whiteboard image with equal grayscale values ​​loaded into the LCD in the light averaging method of the embodiment of the present invention. As shown in the figure, the whiteboard image with equal grayscale values ​​in the figure uses 6X6 squares, and the grayscale of each pixel is 200, which is an example of a full-screen whiteboard image and each equal grayscale value corresponding to the acquisition coordinates of 6X6 array points.

[0172] Figure 6B This is a whiteboard image of LCD pixel aging display in the light averaging method of the embodiment of the present invention. Fig. 6AAfter the image is loaded into the LCD screen, due to pixel aging or manufacturing defects, the transmittance of the three pixels marked with asterisks, such as the grayscale values ​​190, 190, and 180 in the figure, is weaker than that of other positions.

[0173] Figure 6C The schematic diagram of the inclination angle of the whiteboard light transmission image acquisition in the light averaging method of the embodiment of the present invention is shown in the figure. As shown in the figure, the example is that when the shooting unit 134 captures each first array point 411 displayed on the LCD screen 132, the capture angle a of the shooting unit at the center of the screen gradually increases as it extends toward the edge of the screen, and the brightness, i.e., the grayscale, of the image captured by the corresponding shooting unit gradually decreases.

[0174] Fig.6D This is a schematic diagram of grayscale reduction of the edge of the whiteboard light transmission image in the light averaging method of the embodiment of the present invention. Figure 6C The situation shown, Fig.6D : is a pixel grayscale table under the 6X6 array point acquisition coordinates collected by the shooting unit 134. The central area in the table remains normal, and gradually decreases near the outer circle. In this figure, the example shows that the grayscale value of the pixels in the central ring decreases by 10 on average, and the grayscale value of the pixels in the outermost circle decreases by 20 on average, so as to illustrate the initial grayscale value actually collected under the 6X6 array point coordinates; in particular, the grayscale value 170 in the figure is the minimum grayscale value in the table, and this value will be used to calculate the average light compensation difference later.

[0175] Fig. 7A Schematic diagram of the process of obtaining the light averaging compensation difference in the light averaging method according to an embodiment of the present invention. Fig.6D The initial grayscale value table, and the minimum grayscale value 170, will Fig.6D By subtracting 170 from each value in the initial grayscale value table, the average light compensation difference corresponding to each initial grayscale value can be calculated.

[0176] Figure 7B This is the average light compensation difference table / full screen compensation difference table required in the average light method of the embodiment of the present invention. As shown in the figure, the table is Fig. 7A The calculation result of ; the grayscale values ​​0, 10, 0 in the dot-filled square correspond to Figure 6B The three asterisks in the middle mark the pixel positions, indicating that the anomalies of the average light compensation differences at these three locations are also affected by defective pixels.

[0177] In particular, in this method, it should be necessary to continue Figure 7B The average light compensation difference table is interpolated into the full screen compensation difference. The example of the interpolation process is omitted here. In the subsequent specific embodiment description process, Figure 7B The example based on the average light compensation difference table is a full screen compensation difference table.

[0178] Figure 7CThis is a schematic diagram of the process of obtaining the full-screen average light grayscale value in the average light method of the embodiment of the present invention. As shown in the figure, this figure takes 6X6 squares as an example of full-screen pixels, and then combines Figure 2 Step S215, the full screen compensation difference of each pixel of the full screen is compensated to the equal gray value of the whiteboard image to obtain the description of the full screen average light gray value, and the full screen average gray value 200 is subtracted Figure 7B The full-screen compensation difference table specifically illustrated in the example can be used to calculate and obtain the full-screen average light grayscale table corresponding to the full-screen equal grayscale value.

[0179] Fig.7D This is the full screen average light grayscale table required in the average light method of the embodiment of the present invention. As shown in the figure, the table is Figure 7C The calculation result of ; the grayscale values ​​200, 190, 200 in the dot-filled square correspond to Figure 6B The three asterisks in the middle mark the pixel positions, indicating pixels with weak light transmittance due to defective pixels. After light averaging, the grayscale value of this point is enhanced.

[0180] Fig. 8A is the undistorted second dot matrix image in the light averaging method of the embodiment of the present invention. Figure 2 In step S305, it is necessary to load and display the second dot matrix image on the LCD screen and cover the light-homogenizing film to transmit the light source to form a second dot matrix light-transmitting image. The second dot matrix image 81 in the figure is a 3X3 dot matrix; the second dot matrix image 81 loaded and displayed on the LCD screen is the undistorted second dot matrix image 81 shown in this figure, and the spacing between the matrix points in the X-axis or Y-axis direction is equal and the entire screen surface is just divided into squares with 9 matrix points as the center; accordingly, the Figure 2 In step S310, the image is divided into 3*3 acquisition grids with each grid point as the center on the second dot matrix light transmission image; and correspondingly, Figure 2 In step S315, the shooting unit needs to be closely aligned with the center grid point of the second dot matrix light-transmitting image; that is, the cross origin of the X-axis and the Y-axis in the diagram needs to be closely aligned. Accordingly, each grid point of the second dot matrix image in the diagram is the second grid point 811, and the LCD screen image coordinates where the center of each second grid point 811 is located are the second grid point coordinates.

[0181] Figure 8B This is a schematic diagram of the close-range collection of grayscale values ​​of the center square and the edge square in the light averaging method of the embodiment of the present invention. Figure 4B To solve the image distortion problem shown in FIG. 1 , it is necessary to collect the pixel grayscale of each square at a close distance after the center grid point of each square. When the shooting unit 134 collects each second grid point 811 displayed, it is necessary to collect the center grid and the right middle grid once respectively, so as to obtain the following: Figure 8C The collected grayscale values ​​of the two small dashed boxes are shown.

[0182] Figure 8C This is a schematic diagram of the grayscale values ​​of the center square and the edge square collected at close range in the light averaging method of an embodiment of the present invention. As shown in the figure, the grayscale values ​​collected by the two small dotted boxes in the figure are Figure 8B The collection results are shown.

[0183] Fig.8D This is a schematic diagram of a captured image of slight distortion captured at close range in all squares in the light averaging method of an embodiment of the present invention. Figure 8B The acquisition method shown completes the acquisition of the grayscale values ​​in all the squares in turn, and the slightly distorted images of the 9 squares shown in the figure can be acquired at close range. On this basis, when the average grayscale value of the pixels in the squares is acquired, the error is minimal. When the array points of the second dot matrix image are denser, the area of ​​the divided squares is smaller, and when the number of squares is greater, the average grayscale value of the acquired image in the squares is closer to the average grayscale value of the actual image.

[0184] In particular, during the actual acquisition process, the different distances between the shooting unit and the LCD screen during close-range acquisition may cause the range of the image acquired by the shooting unit to exceed or be smaller than the area of ​​a single square grid; if the range of the acquired image exceeds the area of ​​a single square grid, only the pixel coordinate values ​​within the square area need to be retained; if the range of the acquired image is smaller than the area of ​​a single square grid, the average grayscale value of these pixel grayscales can be directly used within the allowable error range, or the acquisition distance between the shooting unit and the LCD screen can be readjusted.

[0185] Fig. 9A This is a grayscale table of all squares collected at close range in the light averaging method of the embodiment of the present invention. Fig.8D For example, after collecting the grayscale values ​​in all squares, we can obtain Fig. 9A The full screen pixel grayscale value of the example.

[0186] Fig. 9B This is a table of average grayscale values ​​of all squares collected at close range in the light averaging method of the embodiment of the present invention. Fig. 9A The full screen pixel grayscale table shown, combined with Figure 2 Step S325 and step S420 obtain the average grayscale value of the pixels in the grid; the average grayscale value table shown in this figure can be obtained.

[0187] Fig. 9C This is the optimized compensation difference table required in the light averaging method of the embodiment of the present invention. Fig. 9B The average gray value table shown in Figure 2Step S425, calculate and obtain the optimized compensation difference between the average grayscale value in the non-central square and the reference grayscale value; and obtain the optimized compensation difference table shown in this figure. In particular, the average grayscale value in the central square is the reference grayscale value, and the optimized compensation difference between the two is 0.

[0188] Fig.9D This is a full screen optimization compensation difference table required in the light averaging method of the embodiment of the present invention. Fig. 9C The optimized compensation difference table shown in the figure is combined with Figure 2 Step S505, using the interpolation compensation algorithm, interpolate the optimization compensation difference under the coordinates of the second grid point of each grid into the full-screen optimization compensation difference of each pixel of the full screen; then the full-screen optimization compensation difference table shown in this figure can be obtained. In particular, the full-screen optimization compensation difference result in this figure is a rough result obtained according to the bilinear interpolation method, which is used for simulation examples.

[0189] Fig. 10A This is a schematic diagram of the process of obtaining the target grayscale compensation value in the light averaging method of an embodiment of the present invention. As shown in the figure, this figure takes 6X6 squares as an example of full-screen pixels, and then combines Figure 2 Step S510, compensating the full screen optimization compensation difference of the full screen pixels to the full screen compensation difference to obtain the target grayscale compensation value; Fig.9D The full screen optimization compensation difference table in Figure 7B Add the full screen compensation difference table in one by one to get Fig. 10B The target grayscale compensation value table is shown.

[0190] Fig. 10B This is a table of target grayscale compensation values ​​required in the light averaging method of the embodiment of the present invention. As shown in the figure, the table is Fig. 7A The calculation result of Figure 2 The target grayscale compensation value obtained in step S510.

[0191] Fig. 10C Schematic diagram of the process of compensating the image data to be printed in the light averaging method of an embodiment of the present invention. As shown in the figure, the image to be printed is an image with a grayscale value of 220 for all pixels on the screen. When performing light averaging correction compensation on the image, the grayscale value of the pixel on the screen is subtracted from Fig. 10B The target grayscale compensation value table in can be obtained as follows Fig. 10D The grayscale table of the mask print image after light homogenization is shown.

[0192] Fig. 10D This is the compensation result of the image data to be printed in the light averaging method of the embodiment of the present invention. As shown in the figure, this figure is the grayscale table of the mask printing image after light averaging, that is, Fig. 10CIn particular, the grayscale values ​​of the three asterisk-marked pixels in the figure are larger than the grayscale values ​​of other pixels in the same circle, so the light transmittance is stronger, which makes up for the light transmittance problem of the pixels caused by the process defects in these three locations. At the same time, it can be seen that the grayscale of other normal pixels is concentrated between 181 and 189, and the overall fluctuation is small, which also achieves the purpose of grayscale averaging.

[0193] Fig.11A This is an optimized compensation difference table for the scaling process in the light averaging method according to an embodiment of the present invention. Fig. 9C The values ​​in the optimization compensation difference table are combined with Figure 2 Step S455, determine whether the optimization compensation difference is within the allowable threshold range; if 0-13 is defined as the allowable threshold range, then all values ​​except the optimization compensation difference 12.5 need to be scaled; combined Figure 2 In step S460, the optimized compensation difference is scaled K times and then compensated to the average light image pixel according to the corresponding coordinates of the pixels in the grid to form a correction image; therefore, all values ​​except the optimized compensation difference 12.5 need to be scaled K times, and the scaling factor K used here is 0.4; then all values ​​except the optimized compensation difference 12.5 are multiplied by 0.4 to obtain the following: Fig. 11B The optimized compensation difference table after the scaling process is completed is shown.

[0194] In particular, the process of multiplying the values ​​except the optimized compensation difference 12.5 by the scaling factor 0.4 in this figure is Figure 2 The result after multiple repetitions of step S405-step S475; specifically, the average grayscale of the 8 squares outside the central square is collected one by one, and the processes of loading and displaying the second dot matrix image, aligning the array points, loading the full-screen average light grayscale image, etc. are repeated; when the optimized compensation difference value obtained by collecting and obtaining the first non-central square is not within the allowable threshold range, the optimized compensation difference value of the square is multiplied by the scaling factor K, and the optimized compensation difference value of the square after scaling is compensated to the full-screen average light grayscale image to form a correction image; if the optimized compensation difference value obtained again is still not within the allowable threshold range, the optimized compensation difference value of the square is multiplied by the scaling factor K again, and the optimized compensation difference value of the square after scaling is compensated to the full-screen average light grayscale image to form a second correction image; until the obtained optimized compensation difference value is within the allowable threshold range; then collect and obtain the next non-central square; until the optimized compensation differences of all non-central squares are within the allowable threshold range, the collection is terminated. The advantage of this method is that the shooting unit only needs to align the center point of each square once until the final qualified optimization compensation difference is obtained. When collecting 9 squares, it only needs to align 9 squares. If the optimization compensation difference is not qualified, it is necessary to re-align the collection, which makes the operation steps too complicated. This method can save the corresponding operation steps.

[0195] Fig. 11B This is the optimized compensation difference table completed by the scaling process in the light averaging method of the embodiment of the present invention. As shown in the figure, the table is Fig.11A The calculation result of Figure 2 The target grayscale compensation value obtained in step S510.

[0196] Fig. 11C Schematic diagram of grayscale compensation process of correction image in the light averaging method of the embodiment of the present invention. Fig.7D The grayscale value of the full screen pixel of the example is subtracted from the value of each square according to the area where the square is located. Fig. 11B Among the values, in the square in the middle left position, since the optimized compensation difference is within the allowable range, there is no need to recalculate the average grayscale value in the square, so the original data is retained.

[0197] Fig.11D is a grayscale table of the correction image in the light averaging method of the embodiment of the present invention. As shown in the figure, the table is Fig. 11C The calculation result of Figure 2 In step S460, the pixels of the uniform light image are compensated to form a grayscale table of the correction image.

[0198] Fig. 12A This is a table of average grayscale values ​​of all squares after scaling in the light averaging method of the embodiment of the present invention. Fig.11D The grayscale table of the correction image in the figure is calculated by grid to obtain the average grayscale value of each value in this figure.

[0199] Fig. 12B This is an optimized compensation difference table after scaling processing in the light averaging method of the embodiment of the present invention. Figure 2 Step S425, calculate and obtain the optimization compensation difference between the average gray value in the non-central square and the reference gray value; then the optimization compensation difference table shown in this figure can be obtained. In particular, the average gray value in the central square is the reference gray value, and the optimization compensation difference between the two is 0. It can be seen from this table that each value is within the set range of 0-13.

[0200] In particular, Figures 11A-12B The data of each square is as follows Figure 3 When the steps S400 to S450 are implemented, the data are not obtained all at once, but are obtained square by square and then collectively illustrated.

[0201] Fig. 12C This is a full-screen optimization compensation difference table after scaling processing in the light averaging method of the embodiment of the present invention. Fig. 12B The optimized compensation difference table shown in the figure is combined with Figure 2Step S505, using the interpolation compensation algorithm, interpolate the optimization compensation difference under the coordinates of the second grid point of each grid into the full-screen optimization compensation difference of each pixel of the full screen; then the full-screen optimization compensation difference table shown in this figure can be obtained. In particular, the full-screen optimization compensation difference result in this figure is a rough result obtained according to the bilinear interpolation method, which is used for simulation examples.

[0202] Fig.12D This is a table of target grayscale compensation values ​​after scaling in the light averaging method of the embodiment of the present invention. As shown in the figure, this figure uses 6X6 squares as an example of full-screen pixels, and then combines Figure 2 Step S510, compensating the full screen optimization compensation difference of the full screen pixels to the full screen compensation difference to obtain the target grayscale compensation value; Fig. 12C The full screen optimization compensation difference table in Figure 7B Add the full screen compensation difference table in one by one to get Fig.12D The target grayscale compensation value table is shown.

[0203] Fig.13A Schematic diagram of the principle structure of the light homogenizing device according to an embodiment of the present invention. As shown in the figure, a light homogenizing device for LCD three-dimensional printing applicable to the light homogenizing method of the present invention comprises:

[0204] A light source 131 is used to emit ultraviolet light to transmit the LCD screen and the light-homogenizing film to form a light-transmitting image;

[0205] LCD screen 132, used for loading and displaying the first dot matrix image, or the second dot matrix image, or the whiteboard image with equal gray value, or the uniform light image, or the calibration image, or the image to be printed;

[0206] The light-homogenizing film 133 is used to cover the LCD screen to form a first dot matrix light-transmitting image, or a second dot matrix light-transmitting image, or a whiteboard light-transmitting image, or a light-homogenizing light-transmitting image, or a correction light-transmitting image;

[0207] The photographing unit 134 is used to collect the pixel grayscale values ​​of the whiteboard image after center alignment with the central matrix point of the first dot matrix light transmission image, or to collect the pixel grayscale values ​​of the uniform light transmission image at a close distance after center alignment with the central matrix point of the central grid of the second dot matrix light transmission image, or to collect the pixel grayscale values ​​of the uniform light transmission image or the corrected light transmission image at a close distance after center alignment with the central matrix point in the non-central grid of the second dot matrix light transmission image;

[0208] The data processing module 135 is used to obtain an initial grayscale value, or obtain an average light compensation difference, or obtain a full-screen compensation difference, or obtain a full-screen average light grayscale value, or obtain a reference grayscale value, or obtain an average grayscale value, or obtain an optimized compensation difference, or obtain a full-screen optimized compensation difference, or obtain a target grayscale compensation value;

[0209] The memory 136 is used to store the light-averaging control program 1361, or store the light-averaging compensation difference, or store the full-screen compensation difference, or store the full-screen light-averaging grayscale value, or store the reference grayscale value, or store the average grayscale value, or store the optimized compensation difference, or store the full-screen optimized compensation difference, or store the target grayscale compensation value;

[0210] The control module 137 is used to control the LCD screen 132 to load and display the first dot matrix image, or the second dot matrix image, or the equal gray value whiteboard image, or the uniform light image, or the correction image, or the image to be printed, or to compensate the target gray compensation value to the image data to be printed and then load it into the LCD screen 132 for light-curing printing.

[0211] Fig. 13B The schematic diagram of loading or displaying an image for the LCD light-curing 3D printing uniform light optimization compensation device of the present invention. As shown in the figure, the control module 137 controls the LCD screen 113 to load and display the first dot matrix image, the second dot matrix image, the uniform gray value and other digital images 1321; the control module 137 controls the light source 131 to transmit the light through the LCD screen 132 and the uniform light film 133 to form a translucent image; in the first stage, the shooting unit 134 aligns the center of the first dot matrix translucent image with the center point and then collects the pixel gray value of the whiteboard image; in the second stage, the second dot matrix image with fewer dots is first loaded, such as a 3*3 dot matrix image, and the entire image is divided into X*Y collection grids with each grid point as the center, such as 3*3 grids, and then the dot matrix image is loaded and the shooting unit 134 is closely aligned with the center grid, and the full-screen uniform gray value image is switched to collect and obtain the pixel collection in the center grid. The average grayscale value is taken as the reference grayscale value, and then the grayscale average value of the edge grid is acquired by close alignment and collection in sequence; the data processing module 135 acquires the optimized compensation difference based on these grayscale average values ​​and the reference grayscale value, and then interpolates it into the full-screen optimized compensation difference; then it is compensated to the full-screen compensation difference of the first stage, and the final target grayscale value for compensating the image to be printed can be obtained; the memory 136 is used to store the uniform light control program 1361, or store the initial grayscale value in the above process, or store the uniform light compensation difference, or store the full-screen compensation difference, or store the full-screen uniform light grayscale value, or store the reference grayscale value, or store the average grayscale value, or store the optimized compensation difference, or store the full-screen optimized compensation difference, or store the target grayscale compensation value and other data.

[0212] Fig.14A This is a schematic diagram of the principle structure of a 3D printer according to an embodiment of the present invention. As shown in the figure, a 3D printer suitable for an embodiment of the light homogenization method according to the present invention comprises:

[0213] The light source 131 is used to emit ultraviolet light to transmit the LCD screen and illuminate the photosensitive resin solution in the liquid tank and the photosensitive resin 138 to make it light-cured;

[0214] The LCD screen 132 is used to load and display the image to be printed and the image to be printed after the target grayscale compensation value is compensated, and to mask the ultraviolet light emitted by the light source 131;

[0215] A liquid tank and a photosensitive resin 138, wherein the bottom of the liquid tank is light-transmissive and the photosensitive resin solution is contained in the tank;

[0216] The molding platform and the driving mechanism 139, wherein the molding platform is used to attach the cured resin layer during the photosensitive resin solution photocuring molding process to continuously lift and grow the resin layer until the 3D printing is completed, and the driving mechanism is used to drive the molding platform to perform lifting and lowering movements;

[0217] The memory 136 is used to store the image data to be printed, the target grayscale compensation value obtained after the light equalization is completed in the present invention, and the printing control program 1362;

[0218] The data processing module 135 is used to obtain the image data to be printed, and to compensate the target grayscale compensation value to the image data to be printed;

[0219] The control module 137 is used to control the on and off of the light source 131, and to control the LCD screen 132 to load and display the image to be printed and the image to be printed that has completed the target grayscale compensation value compensation, and to control the driving mechanism to raise and lower the forming platform.

[0220] Fig. 14B The schematic diagram of the structure of a computer for implementing the light-homogenizing method program of the embodiment of the present invention is shown in the figure. As shown in the figure, the computer 15 includes a processor 151 and a non-transient computer-readable storage medium 152; wherein the light-homogenizing control program 1361 is stored in the computer 15's readable storage medium 152.

[0221] The above embodiments are only descriptions of the preferred implementation modes of the present invention, and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. A method for 3D printing of LCD, characterized in that: The following steps are involved: S100, obtaining the initial gray value of each pixel at the location of the first array point coordinates in the whiteboard image with equal gray value; S200, obtaining the average light compensation difference corresponding to each initial grayscale value, and using the interpolation compensation algorithm to interpolate it into the full-screen compensation difference of each pixel in the full screen, and then compensating the full-screen compensation difference to the equal grayscale value to obtain the full-screen average light grayscale value; S300, obtaining the grayscale average value of the pixels in the center square where the center grid point of the second grid point coordinates is located in the full-screen average light grayscale value image as a reference grayscale value; S400, obtaining the average gray value of the pixels in the non-center square where the non-center grid point of the second grid point coordinates is located in the full-screen average light gray value image, and obtaining the optimized compensation difference between the average gray value in the non-center square and the reference gray value; S500, using an interpolation compensation algorithm to interpolate the optimization compensation difference to a full-screen optimization compensation difference of each pixel on the full screen, and then compensating the full-screen optimization compensation difference to the full-screen compensation difference to obtain a target grayscale compensation value; S600, compensating the target grayscale compensation value to the image data to be printed and then loading it into the LCD screen for light-curing printing.

2. The light homogenization method according to claim 1, characterized in that: The following steps are also included: S450, for the optimized compensation difference that is not within the allowable threshold range in the non-central grid, scale it K times and compensate it to the average light image pixel according to the corresponding coordinates of the pixels in the grid to form a correction map and repeatedly collect the average gray value in the grid to obtain the optimized compensation difference.

3. The light homogenization method according to claim 2, characterized in that: The optimized compensation difference that is not within the allowable threshold range in the non-central square is scaled K times and then compensated to the average light image pixel according to the corresponding coordinates of the pixels in the square to form a correction image and repeatedly collect the average gray value in the square to obtain the optimized compensation difference, including the following steps: S455, determining whether the optimization compensation difference is within the allowable threshold range; if it is determined that the optimization compensation difference is within the allowable threshold range, proceeding to step S500; if it is determined that the optimization compensation difference is not within the allowable threshold range, proceeding to step S460; S460, scaling the optimized compensation difference by K times and then compensating it to the pixels of the uniform light image according to the corresponding coordinates of the pixels in the square to form a correction image; S465, the LCD screen loads the display correction image and forms a correction light transmission image; S470, the shooting unit collects the corrected light transmission image at close range and obtains the average grayscale value of the collected grayscale of each pixel in the non-central square; S475, calculate and obtain the optimized compensation difference between the average gray value and the reference gray value in the non-central square, and then proceed to step S455.

4. The light homogenization method according to claim 1, characterized in that: The method of obtaining the initial grayscale value of each pixel at the location of the first array point coordinates under the whiteboard image with equal grayscale value includes the following steps: S105, the LCD screen loads and displays the first dot matrix image and covers the light-homogenizing film to transmit the light source to form the first dot matrix light-transmitting image; S110, aligning the center of the shooting unit with the central point of the first dot matrix light-transmitting image; S115, the shooting unit collects the first dot matrix light transmission image to obtain the first dot matrix collection image and obtains the collection coordinates of each array point; S120, the LCD screen loads and displays a whiteboard image in which all pixels have equal gray values ​​and forms a whiteboard light-transmitting image; S125, the shooting unit captures the light-transmitting image of the whiteboard and obtains the initial grayscale value of the pixel where the array point acquisition coordinates are located; S130 , assigning each initial grayscale value to the array point coordinates according to the mapping relationship between the first array point coordinates and the array point acquisition coordinates.

5. The light homogenization method according to claim 1, characterized in that: The method of obtaining the average light compensation difference corresponding to each initial grayscale value, interpolating it into the full-screen compensation difference of each pixel of the full screen by using an interpolation compensation algorithm, and then compensating the full-screen compensation difference to an equal grayscale value to obtain the full-screen average light grayscale value includes the following steps: S205, calculating and obtaining the average light compensation difference value according to the initial gray value under the coordinates of the first array point; S210, using an interpolation compensation algorithm to interpolate the average light compensation difference under the coordinates of each first array point into a full-screen compensation difference of each pixel in the full screen; S215 , compensating the full-screen compensation difference of each pixel on the full screen to the equal gray value of the whiteboard image to obtain the full-screen average light gray value.

6. The light homogenization method according to claim 1, characterized in that: The method of obtaining the grayscale average value of pixels in the central square where the center grid point of the second grid point coordinates is located under the full-screen average light grayscale value image as the reference grayscale value includes the following steps: S305, the LCD screen loads and displays the second dot matrix image and covers the light-homogenizing film to transmit the light source to form a second dot matrix light-transmitting image; S310, dividing the image into X*Y acquisition grids with each array point as the center on the second dot matrix light transmission image; S315, the shooting unit closely aligns the center of the second dot matrix light-transmitting image with the center point of the central grid; S320, the LCD screen loads a light-averaging image showing that all pixels have a full-screen light-averaging grayscale value and forms a light-averaging transparent image; S325, the shooting unit collects the uniform light transmission image at close range and obtains the average grayscale value of the pixels collected in the central square as a reference grayscale value.

7. The light homogenization method according to claim 1, characterized in that: The method of obtaining the average grayscale value of pixels in the non-center square where the non-center grid point of the second grid point coordinates is located under the full-screen average light grayscale value image, and obtaining the optimized compensation difference between the average grayscale value in the non-center square and the reference grayscale value, includes the following steps: S405, the LCD screen loads and displays the second dot matrix image again and covers the light-homogenizing film to transmit the light source to form a second dot matrix light-transmitting image; S410, the shooting unit closely aligns the center of the second dot matrix light transmission image with the non-center Nth square; S415, the LCD screen loads again the average light image showing that all pixels have the average light gray value of the entire screen and forms an average light transmission image; S420, the shooting unit collects the uniform light transmission image at close range and obtains the average grayscale value of the collected grayscale of each pixel in the non-central square; S425, calculating and obtaining the optimized compensation difference between the average gray value and the reference gray value in the non-central square.

8. The light homogenization method according to claim 1, characterized in that: The method of using the interpolation compensation algorithm to interpolate the optimization compensation difference into the full-screen optimization compensation difference of each pixel of the full screen, and then compensating the full-screen optimization compensation difference to the full-screen compensation difference to obtain the target grayscale compensation value, includes the following steps: S505, using an interpolation compensation algorithm to interpolate the optimization compensation difference under the coordinates of the second grid point of each grid into the full-screen optimization compensation difference of each pixel of the full screen; S510, compensating the full-screen optimization compensation difference of the full-screen pixels to the full-screen compensation difference to obtain a target grayscale compensation value.

9. A light homogenizing device for LCD three-dimensional printing light homogenizing, applicable to the light homogenizing method of claims 1-8, characterized in that: include: Light source, used to emit ultraviolet light to transmit the LCD screen and the light-homogenizing film to form a light-transmitting image; The LCD screen is used to load and display the first dot matrix image, or the second dot matrix image, or the white board image with equal gray value, or the uniform light image, or the calibration image, or the image to be printed; A light-homogenizing film is used to cover the LCD screen to form a first dot matrix light-transmitting image, or a second dot matrix light-transmitting image, or a whiteboard light-transmitting image, or a light-homogenizing light-transmitting image, or a light-correcting light-transmitting image; A shooting unit, used for collecting pixel grayscale values ​​of a whiteboard image after center alignment with a central matrix point of a first dot matrix light transmission image, or for collecting pixel grayscale values ​​of a uniform light transmission image at close range after center alignment with a central matrix point of a central grid of a second dot matrix light transmission image, or for collecting pixel grayscale values ​​of a uniform light transmission image or a corrected light transmission image at close range after center alignment with a central matrix point in a non-central grid of a second dot matrix light transmission image; A data processing module, used to obtain an initial grayscale value, or obtain a mean light compensation difference, or obtain a full-screen compensation difference, or obtain a full-screen mean light grayscale value, or obtain a reference grayscale value, or obtain an average grayscale value, or obtain an optimized compensation difference, or obtain a full-screen optimized compensation difference, or obtain a target grayscale compensation value; A memory, used to store a uniform light control program, or an initial grayscale value, or a uniform light compensation difference, or a full-screen compensation difference, or a full-screen uniform light grayscale value, or a reference grayscale value, or an average grayscale value, or an optimized compensation difference, or a full-screen optimized compensation difference, or a target grayscale compensation value; The control module is used to control the LCD screen to load and display the first dot matrix image, or the second dot matrix image, or the equal gray value whiteboard image, or the uniform light image, or the correction image, or the image to be printed, or to compensate the target gray compensation value to the image data to be printed and then load it into the LCD screen for light-curing printing.

10. An LCD light-curing 3D printer for three-dimensional printing applicable to the light-homogenizing method of claims 1-8, characterized in that: include: A light source, used for emitting ultraviolet light to transmit the LCD screen and irradiate the photosensitive resin solution in the liquid tank and the photosensitive resin to make it photocured; The LCD screen is used to load and display the image to be printed and the image to be printed after the target grayscale compensation value is compensated, and to mask the ultraviolet light emitted by the light source; A liquid tank and a photosensitive resin, wherein the bottom of the liquid tank is light-transmissive and the photosensitive resin solution is contained in the tank; The molding platform and the driving mechanism, wherein the molding platform is used to attach the cured resin layer during the photosensitive resin solution photocuring molding process to continuously lift and grow the resin layer until the 3D printing is completed, and the driving mechanism is used to drive the molding platform to perform lifting and lowering movements; A memory, used to store image data to be printed, target grayscale compensation values ​​obtained after light homogenization in the present invention, and a printing control program; A data processing module, used for acquiring image data to be printed, and compensating the target grayscale compensation value to the image data to be printed; The control module is used to control the on and off of the light source, control the LCD screen to load and display the image to be printed and the image to be printed that has completed the target grayscale compensation value compensation, and control the driving mechanism to lift the forming platform.

11. A non-transitory computer-readable storage medium, characterized in that The non-transitory computer-readable storage medium stores a light-evening control program, and the light-evening control program enables the computer to execute the method according to any one of claims 1 to 8.