A method for compensating for laser power and related apparatus

By calculating the average dot density in the laser direct writing device and selecting lasers with large deviations for power compensation, the problem of image color difference caused by the difference in laser output power is solved, and a more uniform image effect is achieved.

CN117891140BActive Publication Date: 2026-11-24SHENZHEN ANTELAND TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410079669.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-19
Publication Date
2026-11-24
Estimated Expiration
2044-01-19

AI Technical Summary

Technical Problem

In laser direct writing equipment, the actual output power of several lasers varies greatly, resulting in significant color differences in the images obtained by exposing the photosensitive coating.

Method used

The image of the laser after exposing the photosensitive coating is captured by a camera device. The average dot density is calculated, and the laser with the largest deviation is selected for power compensation. The laser is exposed repeatedly with different compensation powers, and the final compensation power value is calculated to reduce the color difference of the image.

Benefits of technology

This method achieves uniformity of color difference in images after laser exposure of the photosensitive coating, thereby improving image exposure quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117891140B_ABST
    Figure CN117891140B_ABST
Patent Text Reader

Abstract

This invention provides a laser power compensation method and related equipment. The method includes: Step 1: processing a first grayscale image into a first binary image; Step 2: using a camera device to sequentially capture K regions of each first binary image band, obtaining N groups, each group including K images, for a total of N*K first binary image band blocks; calculating the K first dot densities of each group's K first binary image band blocks; and calculating the average first dot density based on the K first dot densities, obtaining a total of N average first dot densities; Step 3: selecting the laser corresponding to the first dot density average value that deviates significantly from the average first dot density values ​​of the two adjacent first dot densities from the N average first dot densities as the target laser; and performing power compensation on the target laser to make the color difference of the image obtained after exposing the photosensitive coating with N lasers more uniform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of laser direct writing technology, and in particular relates to a laser power compensation method and related equipment. Background Technology

[0002] refer to Figure 1 In the laser direct writing device, a number of lasers (exemplarily 10) are arranged in a row on the crossbeam 101: 102-1 ~ 102-10. A crossbeam 101 is connected to a conveyor belt 103. The two ends of the conveyor belt 103 are respectively fitted onto a driving wheel 104 and a driven wheel 105. The driving wheel 104 is connected to a motor (not shown). The motor drives the driving wheel 104 to rotate clockwise and counterclockwise, thereby causing the upper and lower ends of the crossbeam 101 to move back and forth on the upper horizontal guide rail 106 and the lower horizontal guide rail 107. This causes several lasers to move back and forth to expose the photosensitive coating, resulting in... Figure 2 The image shown is a grayscale image containing several rows of image bars.

[0003] In theory, each laser is designed to have the same output power, such as 10 lasers with a power output of 10²-1. ~ The output power of the 10 lasers designed in series 102-10 is exemplary at 100mW. However, due to unavoidable differences, the actual output power (in mW) of these 10 lasers is, for example, 99.9, 99.8, 100.5, 99.8, 100, 99.7, 99.8, 99.3, 100, and 99.8, respectively. It is understandable that the output power of laser 102-3 (100.5mW) deviates significantly from that of the adjacent lasers 102-2 (99.8mW) and 102-4 (99.8mW). Therefore, if the power of laser 102-3 is not compensated (i.e., adjusted to be close to the power of the two adjacent lasers), the resulting image obtained by exposing the photosensitive coating with these 10 lasers will have a relatively large color difference. Summary of the Invention

[0004] This invention provides a laser power compensation method and apparatus, which aims to solve the problem of large color difference in the image obtained by exposing the photosensitive coating due to the large deviation between the actual output power of at least one of the lasers in a laser direct writing device and that of the adjacent lasers.

[0005] The solution of the present invention is as follows:

[0006] A method for compensating laser power, comprising:

[0007] Step 1: The first grayscale image is processed into a first binary image. The first grayscale image is composed of N first grayscale image bands obtained by exposing the photosensitive coating with N lasers of theoretically equal power distributed in a column in a laser direct writing device. Each first grayscale image band is composed of several rows of image bars exposed by the corresponding laser. The first binary image is composed of the corresponding N first binary image bands. The N first binary image bands are obtained by processing the corresponding N first grayscale image bands.

[0008] Step 2: Use a camera device to sequentially photograph the K regions of each first binary image band to obtain N groups, each group including K images, for a total of N*K first binary image band block images. Calculate the K first halftone dot densities of the K first binary image band block images in each group, and calculate the average first halftone dot density based on the K first halftone dot densities, for a total of N average first halftone dot densities.

[0009] Step 3: From the N average densities of the first halftone dots, select the laser corresponding to the average density of the first halftone dots that deviates significantly from the average densities of the two adjacent first halftone dots as the target laser. Perform power compensation on the target laser to make the color difference of the image obtained after exposing the photosensitive coating with N lasers more uniform.

[0010] Furthermore, step 3 specifically includes:

[0011] Step 31: Set the reference power of the target laser to p milliwatts. After matching the reference power p milliwatts with S different compensation powers, expose the photosensitive coating with the lasers that do not require power compensation to obtain S second grayscale images. Each second grayscale image is composed of N second grayscale image bands obtained by exposing the photosensitive coating with N lasers in sequence, where p is the theoretical power value of each laser.

[0012] Step 32: Process the S second grayscale images into S second binary images;

[0013] Step 33: Arrange the S second binary images side by side in a row, and make the S groups of second binary image bands corresponding to the exposure of the same laser in the same row;

[0014] Step 34: The camera device moves horizontally and sequentially captures the S groups of second binary image bands corresponding to the first laser. For each group of second binary image bands, K different regions are taken to obtain S*K second binary image band block maps.

[0015] Step 35: The camera device then sequentially captures the S groups of second binary image bands corresponding to the second laser. For each group of second binary images, different regions at K are taken to obtain S*K second binary image band block maps, until: The camera device then sequentially captures the S groups of second binary image bands corresponding to the Nth laser. For each group of second binary images, different regions at K are taken to obtain S*K second binary image band block maps;

[0016] Step 36: Calculate the average density of the S target dots corresponding to the target laser. Subtract the average of the two adjacent average densities of the S target dots from the average of the S target dots. The compensation power value corresponding to the smallest absolute value of the result is taken as the final compensation power value. Each target dot density average is obtained by averaging the densities of the K second dots in the corresponding K second binary image band blocks.

[0017] In some embodiments, the camera device includes: a control motherboard, a horizontal motor, a vertical motor, a camera, and dot density detection software built into the control motherboard; under the control of the control motherboard, the camera, driven by the horizontal motor and the vertical motor, sequentially acquires the K region on each first binary image band to obtain N*S*K first binary image band block images;

[0018] The dot density detection software automatically calculates the K first dot densities of the K first binary image band blocks in each first binary image band, and calculates the average of N first dot densities. It also automatically calculates N groups, each group including S second binary image bands captured by the same laser, and each second binary image band including K second binary image band blocks with K second dot densities.

[0019] In some embodiments, the spacing between each pair of adjacent K blocks of the first binary image band in each first binary image band may be the same or different, and the spacing between each pair of adjacent K blocks of the second binary image band in each second binary image band may be the same or different.

[0020] In some embodiments, if the power of the target laser has already been compensated once, the power after the first compensation should be used as the base power when compensating again.

[0021] In some embodiments, S is 5, and the five different compensation power levels are -2, -1, 0, +1, and +2, all in milliwatts.

[0022] Furthermore, it also includes: if the N first grayscale image bands show no obvious color difference upon visual inspection, then the N lasers do not require power compensation.

[0023] In some embodiments, the camera is a CCD camera.

[0024] The present invention also discloses a storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the laser power compensation method described above.

[0025] The present invention also discloses a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the laser power compensation method described above.

[0026] The beneficial technical effects of this invention are as follows: N first grayscale image bands obtained by exposing the photosensitive coating with N lasers in a laser direct-writing device are sequentially combined to form a first grayscale image. These N first grayscale image bands are then processed to obtain N first binary image bands, which are then sequentially combined to form a first binary image. A camera captures K regions of each first binary image band, resulting in K first binary image band block images. Dot density detection software measures the K first dot densities of the K first binary image band block images and calculates the average first dot density based on these K densities. Through this method, the average first dot densities corresponding to the N lasers are calculated. From these N average first dot densities, the first dot density that deviates significantly from the average first dot density of two adjacent first dot densities is selected. The laser corresponding to the value is used as the target laser, and S different levels of compensation power are configured. The laser with the different levels of compensation power, along with the original N-1 lasers, is exposed to the photosensitive coating to obtain S second grayscale images. These S second grayscale images are then processed into S second binary images, each composed of N second binary image bands. A camera captures a block image of the second binary image band at position K of each band. The dot density detection software measures the average of the S target dot densities of the S groups of second binary image bands corresponding to the target laser exposure. The average of each of the S target dot densities is subtracted from the average of its two adjacent second dot densities, and the compensation power value corresponding to the smallest absolute value of the result is used as the final determined compensation power value. Through this method, after power compensation of the laser, the color difference between the image obtained after exposing the photosensitive coating with the other lasers in the laser direct-writing device is more uniform. Attached Figure Description

[0027] Figure 1 A schematic diagram showing N (N is 10 for example) lasers distributed on the crossbeam of a laser direct writing device;

[0028] Figure 2 for Figure 1 The first grayscale image 200, which includes several rows of image bars, is obtained by exposing the photosensitive coating with 10 lasers.

[0029] Figure 3 A flowchart illustrating the laser compensation method of the invention;

[0030] Figure 4 To be Figure 2 The first grayscale image 200 shown is divided into 10 first grayscale image bands 201, each corresponding to one of the 10 lasers. ~ 210;

[0031] Figure 5 To be Figure 4 The first grayscale image 200 shown consists of 10 blocks of first grayscale image 201. ~ After processing, 210 results in 10 first-order binary image bands 301. ~ The first binary image 300 is composed of 310;

[0032] Figure 6 A schematic diagram of four first binary image band blocks captured line by line by camera 401 for each first binary image band;

[0033] Figure 7 This is a schematic diagram of the camera device 400 module;

[0034] Figure 8 This is a schematic diagram showing that the average density of the first halftone dots corresponding to laser number 3 deviates significantly from the average density of the first halftone dots corresponding to laser number 2 and laser number 4 among the 10 average density values ​​of the first halftone dots obtained from 10 first binary image bands.

[0035] Figure 9 Compensate laser #3, which is the target laser, with 5 compensation values ​​-2. ~ After +2, along with the remaining 9 lasers, the 5 second grayscale images obtained by exposing the photosensitive coating in 5 groups are processed into 5 second binary images 500, 600, 700, 800 and 900. The 5 second binary images 500, 600, 700, 800 and 900 are arranged in a row and then captured by camera 401 row by row to form a schematic diagram of 200 second binary images with block diagrams. Detailed Implementation

[0036] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0037] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this invention; the terms "first," "second," and "third" are only used to describe distinctions and should not be construed as indicating or implying relative importance. Furthermore, unless otherwise explicitly specified and limited, the terms "installed," "connected," and "linked" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to the internal communication of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0038] refer to Figure 3 This invention discloses a method for compensating laser power, comprising:

[0039] Step 1: The first grayscale image is processed into a first binary image. The first grayscale image is composed of N first grayscale image bands obtained by exposing the photosensitive coating with N lasers of theoretically equal power distributed in a column in a laser direct writing device. Each first grayscale image band is composed of several rows of image bars exposed by the corresponding laser. The first binary image is composed of the corresponding N first binary image bands. The N first binary image bands are obtained by processing the corresponding N first grayscale image bands.

[0040] Step 2: Use a camera device to sequentially photograph the K regions of each first binary image band to obtain N groups, each group including K images, for a total of N*K first binary image band block images. Calculate the K first halftone dot densities of the K first binary image band block images in each group, and calculate the average first halftone dot density based on the K first halftone dot densities, for a total of N average first halftone dot densities.

[0041] Step 3: From the N average densities of the first halftone dots, select the laser corresponding to the average density of the first halftone dots that deviates significantly from the average densities of the two adjacent first halftone dots as the target laser. Perform power compensation on the target laser to make the color difference of the image obtained after exposing the photosensitive coating with N lasers more uniform.

[0042] refer to Figures 1 to 4 For example, the number N of lasers in a laser direct imaging device is 10, which represents 102-1 lasers. ~102-10, the first grayscale image 200 obtained by exposing the photosensitive coating with these 10 lasers, each theoretically with a power of 100mW, includes 10 first grayscale image bands: namely, first grayscale image band 201. ~ 210, these 10 first grayscale image bands are respectively generated by corresponding lasers 102-1 ~ Ten first grayscale image bands were obtained by exposing the photosensitive coating to 102-10 respectively. ~ The image consists of 210 segments, namely: laser 102-1 exposes the first grayscale image band 201, laser 102-2 exposes the second grayscale image band 202, laser 102-3 exposes the third grayscale image band 203, and so on, laser 102-10 exposes the tenth grayscale image band 210. For example, each grayscale image band contains 3 rows of image bars. For instance, the first grayscale image band 201 is composed of the first to third rows of image bars exposed by the first laser 102-1, the second grayscale image band 202 is composed of the fourth to sixth rows of image bars exposed by the second laser 102-2, the third grayscale image band 203 is composed of the seventh to ninth rows of image bars exposed by the third laser 102-3, and so on, the tenth grayscale image band 210 is composed of the 28th to 30th rows of image bars exposed by the tenth laser 102-10. refer to Figure 4 and Figure 5 First, the first grayscale image 200 is processed into a first binary image 300. The processing method is as follows: Ten grayscale image bands of the first grayscale image 200 are sequentially processed into ten corresponding first binary image bands. These ten first binary image bands are then sequentially combined to form the first binary image 300. For example: the first grayscale image band 201 is processed into the first binary image band 301, the second grayscale image band 202 into the first binary image band 302, the third grayscale image band 203 into the third binary image band 303, and so on, until the tenth grayscale image band 210 is processed into the tenth binary image band 310. These ten first binary image bands sequentially form the first binary image 300. In this application, the method for processing each first grayscale image band into a corresponding first binary image band can be found in patents CN202311050453.0, CN202311050269.6, CN202311050100.0, and CN202311050086.4, and will not be described further here. It should be noted that before step 1, if visual inspection reveals no significant color difference between the 10 first grayscale image bands of the first grayscale image 200, then... Figure 1 None of the 10 lasers in the laser direct writing equipment require power compensation.

[0043] refer to Figure 6 and Figure 7 In the camera device 400, the control motherboard 402 controls the camera 401 to capture K regions of each first binary image band, obtaining K block images of each first binary image band. In this patent application, K is exemplarily taken as 4, meaning the camera 401 captures 4 regions of each first binary image band, obtaining 4 block images of each first binary image band. For example, the control motherboard 402 of the camera device 400 controls the horizontal motor 403 to drive the camera 401 to move horizontally from left to right, capturing 4 regions of the first first binary image band 301, obtaining 4 block images 301A of the first binary image band. ~ 301D. 4 first- and second-valued images with patch diagrams 301A ~ The spacing between any two adjacent frames in 301D can be the same or different. Similarly, for the other nine first binary image blocks, band 302... ~ 310, each of the four first binary images captured by camera 401 is a block image, and the spacing between any two adjacent images can be the same or different.

[0044] When four first- and second-valued image band maps 301A were acquired ~ Following 301D, the dot density detection software located in the control motherboard 402 automatically calculates the band block map 301A of the four first binary images. ~ The first dot density of each frame of 301D is used to obtain four first dot densities. Then, the average first dot density of the first binary image band 301 is automatically calculated based on the four first dot densities. This process continues until camera 401 has acquired four first binary image bands 301A of the first binary image band 301 in a left-to-right order. ~ After 301D, the control motherboard 402 controls the vertical direction motor 404 to drive the camera 401 downward to the right of the second first binary image strip 302. Then, it controls the horizontal direction motor 403 to drive the camera 401 to acquire four first binary image strip block images 302A of the second first binary image strip 302 in a right-to-left order. ~ 302D: Using the same approach as calculating the average dot density of the first halftone dot in the first binary image band 301, calculate the average dot density of the first halftone dot in the second binary image band 302. After camera 401 has acquired four first binary image bands 302A of the second binary image band 302 in a right-to-left order... ~After 302D, the control motherboard 402 controls the vertical motor 404 to move the camera 401 downwards to the left of the third first binary image strip 303. Then, it controls the horizontal motor 403 to move the camera 401 to acquire four first binary image strip block images 303A of the third first binary image strip 303 in a left-to-right sequence. ~ Using the same approach as calculating the mean dot density of the first halftone dot in the first binary image band 301, we can calculate the mean dot density of the first halftone dot in the third binary image band 303. Similarly, the mean dot density of the first halftone dot in each of the remaining seven binary image bands can also be calculated.

[0045] refer to Figure 8 ,because Figure 1 For example, the number of lasers N is 10. After the average density of the 10 first halftone dots in the 10 first binary image bands is calculated, the laser corresponding to the first halftone dot density average value that deviates significantly from the average density of the two adjacent first halftone dots is selected from the 10 first halftone dot density average values ​​and used as the target laser for compensation. Figure 8 Middle, No. 1 ~ Laser No. 10 corresponds to the following Figure 1 10 lasers 102-1 ~ 102-10, that is, laser number 1 corresponds to Figure 1 Lasers 102-1 and 102-2 correspond to lasers 102-2, ..., 10th lasers. Figure 1 Laser 102-10 in the middle. From Figure 8 As can be seen from this, laser number 3 (i.e. Figure 1 The average density of the first dot corresponding to laser 102-3) and the adjacent laser 2 (i.e. Figure 1 Laser 102-2 and Laser 4 (i.e. Figure 1 Laser 102-4) deviated significantly. Therefore, laser 102-3 (number 3) was selected as the target laser for power compensation. It should be noted that... Figure 1 The number of target lasers requiring power compensation is 3, which is merely an example. If, based on the actual measured average first dot density, there are multiple lasers whose average first dot density deviates significantly from that of their two adjacent lasers, then power compensation is required for these multiple target lasers.

[0046] The following describes the method for compensating the power of laser number 3.

[0047] The reference power of laser number 3 is defined as p milliwatts. After matching the reference power p milliwatts with S different compensation powers, along with all the remaining N-1 lasers that do not require compensation, the photosensitive coating is exposed S times to obtain S second grayscale images (not shown). Each second grayscale image is composed of N second grayscale image bands exposed by the N lasers. In this application, the value of p is the same as the theoretical output power of each other laser. Since the theoretical output power of each laser is 100mW for example, p is set to 100mW for example. The S different compensation powers are, for example, five compensation power values: -2, -1, 0, +1, and +2, all in mW. Therefore, the actual powers of laser number 3 (102-3) are 98mW, 99mW, 100mW, 101mW, and 102mW, respectively. When N is 10 (for example), laser 102-3 is combined with the original 9 lasers (N is 10 for example) at the aforementioned 5 different laser powers, resulting in 5 laser groups, each containing 10 lasers. The photosensitive coating is then exposed again using these 5 laser groups to obtain 5 second grayscale images (not shown). It should be noted that, except for laser 102-3 (which has 5 different power values), the power of the other 9 lasers remains constant. (Reference) Figure 9 Five grayscale images were processed to obtain five binary images: binary image 500 (output power of laser #3 is 98mW), binary image 600 (output power of laser #3 is 99mW), binary image 700 (output power of laser #3 is 100mW), binary image 800 (output power of laser #3 is 101mW), and binary image 900 (output power of laser #3 is 102mW). It should be noted that each second binary image is also composed of 10 (N is 10 for example) second binary image bands sequentially. Each second binary image band is obtained by processing the second grayscale image band in the corresponding second grayscale image. In this application, the method of processing each second grayscale image band into the corresponding second binary image band can also be found in patents CN202311050453.0, CN202311050269.6, CN202311050100.0 and CN202311050086.4, and will not be described in detail here. For example, the second binary image 500 is composed of 10 second binary image bands 501. ~510 are stitched together from top to bottom, where the first second binary image band 501 corresponds to the first laser, and the tenth second binary image band 510 corresponds to the tenth laser. The five second binary images are arranged side-by-side in a row, such that the corresponding rows of each second binary image band corresponding to each laser are in the same row. For example, laser number 1 (… Figure 1 The first second binary image band 501 of the second binary image 500, the first second binary image band 601 of the second binary image 600, the first second binary image band 701 of the second binary image 700, the first second binary image band 801 of the second binary image 800, and the first second binary image band 901 of the second binary image 900, corresponding to the laser 102-1, are all located at the top. The camera 401 is in... Figure 7 Driven by the horizontal motor 403, the five first blocks of the second binary image band corresponding to laser No. 1 are acquired in order from left to right. Each second binary image band also takes four regions, that is, the following four blocks of the second binary image band 501 are acquired in sequence: 501A, 501B, 501C and 501D; and the following four blocks of the second binary image band 601 are acquired: 601A, 601B, 501C and 501D. 01B, 601C, and 601D; four block images of the second binary image band 701: 701A, 701B, 701C, and 701D; four block images of the second binary image band 801: 801A, 801B, 801C, and 801D; four block images of the second binary image band 901: 901A, 901B, 901C, and 901D. After acquiring the second binary image band block image 901D, camera 401... Figure 7Driven by the vertical motor 404, the image moves downwards to the second row of the five second binary images corresponding to the second laser. It then acquires five second binary image bands corresponding to the second laser in a right-to-left order. Each second binary image band also captures four regions, specifically: four second binary image band blocks (902A, 902B, 902C, and 902D) in the second row of the second binary image band 900; and four second binary image band blocks (802) in the second row of the second binary image band 800. Block images: 802A, 802B, 802C, and 802D; the second row of the second binary image 700 contains four second binary image blocks of image 702: 702A, 702B, 702C, and 702D; the second row of the second binary image 600 contains four second binary image blocks of image 602: 602A, 602B, 602C, and 602D; the second row of the second binary image 500 contains four second binary image blocks of image 502: 502A, 502B, 502C, and 502D. After camera 401 acquires the second binary image block image 502D, in... Figure 7 Driven by the vertical motor 404, the image moves downwards to the third row of the five second binary images corresponding to the third laser. It then acquires the five third binary image bands corresponding to the third laser in a left-to-right order. Each second binary image band also captures four regions, specifically: the four second binary image bands of the third row of second binary image 500 (503): 503A, 503B, 503C, and 503D; and the four second binary image bands of the third row of second binary image 600 (603). Block images: 603A, 603B, 603C, and 603D; Block images of the four second-binary image bands 703 in the third row of the second-binary image 700: 703A, 703B, 703C, and 703D; Block images of the four second-binary image bands 803 in the third row of the second-binary image 800: 803A, 803B, 803C, and 803D; Block images of the four second-binary image bands 903 in the third row of the second-binary image 900: 903A, 903B, 903C, and 903D. This continues until camera 401 has acquired all the block images of all second-binary image bands corresponding to each laser. Using... Figure 7The dot density detection software in the software detects the second dot density of the second binary image bands in the third row of the above five groups, and the four second binary image band blocks included in each group of the third row of the second binary image bands, and calculates the corresponding target dot density average value accordingly. Specifically, by detecting the four second dot densities of the four second binary image band blocks: 503A, 503B, 503C, and 503D, the first target dot density average value is obtained; by detecting the four second dot densities of the four second binary image band blocks: 603A, 603B, 603C, and 603D, the second target dot density average value is obtained; by detecting the four second dot density values ​​of the four second binary image band blocks: 703A, 703B, 703C, 703D, and 603C, the second target dot density average value is obtained; by detecting the four second binary image band blocks: 703A, 703B, 703C, 703D, 703C ... The average density of the third target halftone dot is obtained by detecting the four second halftone dot density values ​​of 03C and 703D; the average density of the fourth target halftone dot is obtained by detecting the four second halftone dot density values ​​of the four second halftone dot density values ​​of the four second halftone dot density values ​​of 803A, 803B, 803C and 803D respectively; the average density of the fifth target halftone dot is obtained by detecting the four second halftone dot density values ​​of the four second halftone dot density values ​​of 903A, 603B, 603C and 603D respectively.

[0048] The average density of each of the five target dots is compared with the average density of each of its two adjacent second dots. The compensation power value with the smallest difference is taken as the final compensation power. For example, the average density of the first target dot is 40.123%, and the average density of the second dots of its two adjacent lasers is 41.320% and 40.958%. The average density of the second dots of the second laser is (41.320% + 40.958%) / 2, which equals 41.139%. 41.320% - 41.139% = 0.181%. The average density of the second target dot is 41.232%, and the average density of the second dots of its two adjacent lasers is... The average dot density of the second laser is 41.157%, and the average dot density of the fourth laser is 40.645%. Therefore, the average of the average dot densities of the second lasers of the second and fourth lasers is (41.157% + 40.645%) / 2, which equals 40.901%. 41.157% - 40.901% = 0.256%. The average dot density of the third target is 40.754%. Its adjacent lasers have average dot densities of 41.230% and 40.168%. Therefore, the average dot density of the second laser... The average of the second dot density of the optical laser and the average of the second dot density of the fourth laser is (41.230% + 40.168%) / 2, which equals 40.699%. Therefore, 41.230% - 40.699% = 0.531%. The average dot density of the fourth target is 41.276%. The average dot density of its adjacent targets is 41.584% for the second laser and 40.208% for the fourth laser. Therefore, the average of the second dot density of the second laser of the second laser and the average of the second dot density of the fourth laser is (41.230% + 40.168%) / 2, which equals 40.699%. 0.208%) / 2 equals 40.896%, 40.896% - 40.208% = 0.688%; the average dot density of the fifth target is 40.736%, and the average dot density of the second dot density of its adjacent lasers: the average dot density of the second laser is 40.646%, and the average dot density of the second laser is 41.286%. Therefore, the average of the average dot density of the second lasers of the second laser and the average dot density of the second laser is (40.646% + 41.286%) / 2, which equals 40.966%, 40.966% - 40.736% = 0.230%. Among 0.181%, 0.256%, 0.531%, 0.688%, and 0.230%, 0.181% is the smallest. Therefore, the corresponding laser power of 98mW is selected as the determining power, i.e., the compensation power is -2mW.Therefore, after compensating the No. 3 laser with a power of -2mW, the color difference between the image obtained by exposing the photosensitive coating with the No. 3 laser and the images obtained by exposing the photosensitive coating with the adjacent No. 2 and No. 4 lasers is smaller, thus improving the image exposure quality.

[0049] refer to Figure 9 The spacing between adjacent blocks of each second binary image in each row of each second binary image can be the same or different, and is not required here.

[0050] It should be noted that the above five compensation power values: -2, -1, 0, +1, +2 are merely illustrative. The compensation values ​​can also be: -3, -2, -1, 0, +1, +2, +3. Furthermore, if laser number 3 has already been compensated once before, for example, with a compensation value of +8, then when compensating again, the base power p should be 100+8. After configuring the above compensation power values: -2, -1, 0, +1, +2, it becomes: (100+8)-2, (100+8)-1, (100+8), (100+8)+1, (100+8)+2, meaning that laser number 3 has been compensated twice.

[0051] refer to Figure 6 , Figure 7 and Figure 9 The camera's movement route, the spacing between adjacent second binary image blocks acquired in the horizontal direction, and the distance the camera moves in the vertical direction are all preset and pre-stored in the control motherboard.

[0052] Additionally, it should be noted that in this application, the camera is preferably a CCD camera.

[0053] This invention also discloses a storage medium storing a computer program, which, when executed by a processor, implements the steps of the aforementioned laser power compensation method. The storage medium refers to a carrier for storing data. Examples include floppy disks, optical discs, DVDs, hard disks, flash memory, USB flash drives, CF cards, SD cards, MMC cards, SM cards, Memory Sticks, and xD cards. Popular storage media are based on flash memory (NAND flash), such as USB flash drives, CF cards, SD cards, SDHC cards, MMC cards, SM cards, Memory Sticks, and xD cards.

[0054] This invention also discloses a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the aforementioned laser power compensation method. The processor contains a kernel that retrieves corresponding program units from the memory. One or more kernels may be provided. The memory may include non-permanent memory in computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. The memory includes at least one memory chip.

[0055] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for compensating laser power, characterized in that, include: Step 1: Process the first grayscale image into a first binary image. The first grayscale image is composed of N first grayscale image bands obtained by exposing the photosensitive coating with N lasers of theoretically equal power distributed in a column in a laser direct writing device. Each first grayscale image band is composed of several rows of image bars exposed by the corresponding laser. The first binary image is composed of the corresponding N first binary image bands. The N first binary image bands are obtained by processing the corresponding N first grayscale image bands. Step 2: Use a camera device to sequentially photograph the K regions of each first binary image band to obtain N groups, each group including K images, for a total of N*K first binary image band block images. Calculate the K first halftone dot densities of the K first binary image band block images in each group, and calculate the average first halftone dot density based on the K first halftone dot densities, for a total of N average first halftone dot densities. Step 3: From the N average densities of the first halftone dots, select the laser corresponding to the average density of the first halftone dots that deviates significantly from the average densities of the two adjacent first halftone dots as the target laser. Perform power compensation on the target laser to make the color difference of the image obtained after exposing the photosensitive coating with N lasers more uniform.

2. The compensation method as described in claim 1, characterized in that, Step 3 specifically includes: Step 31: Set the reference power of the target laser to p milliwatts. After matching the reference power p milliwatts with S different compensation powers, expose the photosensitive coating with the lasers that do not require power compensation to obtain S second grayscale images. Each second grayscale image is composed of N second grayscale image bands obtained by exposing the photosensitive coating with N lasers in sequence, where p is the theoretical power value of each laser. Step 32: Process the S second grayscale images into S second binary images; Step 33: Arrange the S second binary images side by side in a row, and make the S groups of second binary image bands corresponding to the exposure of the same laser in the same row; Step 34: The camera device moves horizontally and sequentially captures the S groups of second binary image bands corresponding to the first laser. For each group of second binary image bands, K different regions are taken to obtain S*K second binary image band block maps. Step 35: The camera device then sequentially captures the S groups of second binary image bands corresponding to the second laser. For each group of second binary images, different regions at K are taken to obtain S*K second binary image band block maps, until: The camera device then sequentially captures the S groups of second binary image bands corresponding to the Nth laser. For each group of second binary images, different regions at K are taken to obtain S*K second binary image band block maps; Step 36: Calculate the average density of the S target dots corresponding to the target laser. Subtract the average of the two adjacent average densities of the S target dots from the average of the S target dots. The compensation power value corresponding to the smallest absolute value of the result is taken as the final compensation power value. Each target dot density average is obtained by averaging the densities of the K second dots in the corresponding K second binary image band blocks.

3. The compensation method as described in claim 2, characterized in that, The camera device includes: a control motherboard, a horizontal motor, a vertical motor, a camera, and dot density detection software built into the control motherboard; under the control of the control motherboard, the camera, driven by the horizontal motor and the vertical motor, sequentially acquires the K region on each first binary image band, resulting in N*S*K first binary image band block images; The dot density detection software automatically calculates the K first dot densities of the K first binary image band blocks in each first binary image band, and calculates the average of N first dot densities. It also automatically calculates N groups, each group including S second binary image bands captured by the same laser, and each second binary image band including K second binary image band blocks with K second dot densities.

4. The compensation method as described in claim 3, characterized in that, The spacing between any two adjacent images in each of the K first binary image band blocks in each first binary image band is the same or different. The spacing between any two adjacent images in each of the K second binary image band blocks in each second binary image band is the same or different.

5. The compensation method as described in claim 2, characterized in that, If the power of the target laser has already been compensated once, the power after the first compensation should be used as the base power for subsequent compensation.

6. The compensation method as described in claim 2, characterized in that, S is 5, and the five different compensation power levels are -2, -1, 0, +1, and +2, all in milliwatts.

7. The compensation method according to any one of claims 1 to 6, characterized in that, Between step 1, the method further includes: if the N first grayscale image bands show no obvious color difference upon visual inspection, then the N lasers do not need to undergo power compensation.

8. The compensation method as described in claim 2, characterized in that, The camera is a CCD camera.

9. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the processing method as described in any one of claims 1 to 8.

10. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the processing into a method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Image processing method and device

    CN116755298A

  • An image processing method and apparatus

    CN116755299B

  • An image processing method and system

    CN116774536B

  • An image processing method and component

    CN116794940B

  • Laser imaging power control method, cascade control system and related equipment

    CN116482936A