Powder bed monitoring image brightness uniformity correction method, device, system and computer readable storage medium

By using the low-frequency spatial illumination distribution and brightness normalization benchmark of the powder bed background image for pixel-by-pixel correction, the problem of uneven brightness in powder bed monitoring images is solved, and image uniformity correction without the need for a dedicated target is achieved, thereby improving the consistency and comparability of image analysis.

CN123181231APending Publication Date: 2026-11-27GUANGDONG AOPUTE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611542840.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In powder bed additive manufacturing, the powder bed monitoring images captured by the camera are affected by the lighting source and lens, resulting in low-frequency spatial brightness unevenness. This affects the comparability and analytical consistency of images at different locations. Furthermore, existing methods require special targets and cannot adapt to changes in the light source.

Method used

By using the background image of the powder bed after powder spreading and before laser exposure, pixel-by-pixel correction is performed by acquiring the low-frequency spatial illumination distribution and brightness normalization benchmark to establish a spatial illumination reference that matches the imaging conditions of the powder bed monitoring image, thereby reducing the impact of uneven brightness.

Benefits of technology

Image brightness uniformity correction can be achieved without a dedicated target, improving the comparability between image positions and the consistency of downstream analysis, reducing the impact of single-frame anomalies and high-frequency textures, maintaining the overall brightness benchmark, and reducing the risk of illumination field mismatch.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181231A_ABST
    Figure CN123181231A_ABST
Patent Text Reader

Abstract

The application discloses a kind of powder bed monitoring image brightness uniformity correction method, device, system and computer readable storage medium.The method obtains the powder bed background image formed after powder laying is completed in powder bed type additive manufacturing process before laser exposure and the powder bed monitoring image obtained under the same imaging condition, according to the powder bed background image, obtains the illumination field S that characterizes low-frequency spatial illumination distribution, determines the brightness normalization reference k, and according to the pixel value of powder bed monitoring image, the illumination field value of corresponding position and the brightness normalization reference k correction pixel value is determined, and the brightness uniformity correction image is obtained.The application uses the powder bed background image naturally formed in production process as spatial illumination self-reference, does not need to set special target, and can improve the applicability of correction process by multiple frames robust calibration, numerical safety processing and drift trigger re-calibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of additive manufacturing process monitoring and machine vision image processing technology, and in particular to a method, apparatus, system, and computer-readable storage medium for correcting the brightness uniformity of powder bed monitoring images. Background Technology

[0002] In powder bed additive manufacturing processes such as laser powder bed melting and selective laser melting, an area array camera and illumination source can be installed in the forming chamber to acquire powder bed images and analyze powder spreading, forming, or defects. However, due to factors such as spatial attenuation of illumination source illuminance, lens vignetting, and the optical response of the fixed imaging station, the powder bed monitoring images acquired by the camera may exhibit low-frequency spatial brightness unevenness. This unevenness causes similar or identical powder bed conditions to display different grayscale responses at different image locations, thus affecting the comparability of monitoring images across different spatial locations and the consistency of input for subsequent analysis.

[0003] Conventional flat-field correction can establish a brightness reference using a dedicated target. However, deploying a dedicated target in powder bed additive manufacturing equipment may require pausing the production process, and the optical path and illumination conditions corresponding to the dedicated target may not be consistent with the actual powder bed imaging conditions during equipment operation. When the light source condition or imaging conditions change, the static brightness reference may gradually become mismatched with the current imaging state.

[0004] Therefore, there is an urgent need for a method to obtain a spatial illumination reference that matches the powder bed monitoring image by utilizing images naturally formed during the production process without setting up a dedicated target or requiring special shutdown for calibration, and to correct the brightness uniformity of the powder bed monitoring image accordingly, in order to overcome the above-mentioned defects. Summary of the Invention

[0005] The purpose of this invention is to provide a method, apparatus, system, and computer-readable storage medium for correcting the brightness uniformity of powder bed monitoring images, so as to obtain a spatial illumination reference using a powder bed background image formed after powder spreading and before laser exposure in powder bed additive manufacturing processes, thereby reducing the influence of low-frequency spatial illumination distribution on the brightness uniformity of powder bed monitoring images.

[0006] To achieve this objective, the present invention adopts the following technical solution: In a first aspect, the present invention provides a method for correcting the brightness uniformity of a powder bed monitoring image, comprising the following steps: S1. Obtain the powder bed background image formed after powder spreading and before laser exposure in the powder bed additive manufacturing process, and obtain the powder bed monitoring image obtained under the same imaging conditions as the powder bed background image; S2. Based on the background image of the powder bed, obtain the illumination field S that characterizes the low-frequency spatial illumination distribution; S3. Determine the luminance normalization reference k corresponding to the illumination field S; S4. For each pixel in the powder bed monitoring image, based on the pixel value, the brightness normalization reference k, and the illumination field value at the position corresponding to the pixel in the illumination field S, determine the correction pixel value according to the correction relationship that is positively correlated with the brightness normalization reference k and negatively correlated with the illumination field value, and obtain the brightness uniformity correction image based on the correction pixel value corresponding to each pixel.

[0007] In some implementations, step S1 involves acquiring a powder bed background image formed after powder spreading and before laser exposure in a powder bed additive manufacturing process, including acquiring N powder bed background images, where N ≥ 3.

[0008] In some implementations, before obtaining the illumination field S from N background images of the powder bed, the median of each pixel of the N background images of the powder bed is taken to obtain a median frame per pixel; the mean absolute deviation of each background image of the powder bed relative to the median frame per pixel is calculated, and the median of the mean absolute deviation of each background image of the powder bed is determined as the median deviation; background images of the powder bed with a mean absolute deviation greater than ratio times the median deviation are judged as bad frames and discarded, where ratio is the bad frame judgment ratio, and the value ranges from 1.2 to 3.0.

[0009] In some implementations, after removing bad frames, it is determined whether the number of remaining powder bed background images is less than half of the total number of powder bed background images before removal; if so, an error is reported and the current calibration process is exited, and no illumination field S is generated.

[0010] In some implementations, the median of each pixel in N powder bed background images is taken to obtain a median image M, and the median image M is used as the processing object to obtain the illumination field S.

[0011] In some implementations, Gaussian filtering is performed on the powder bed background image, or on the median image M obtained by taking the median of multiple powder bed background images pixel by pixel, to obtain the illumination field S; wherein, the standard deviation of the Gaussian filter σ=H / D, H is the image height of the powder bed background image, and the value of D ranges from 16 to 64.

[0012] In some implementations, the illumination field S is obtained by performing one of the following processing on the powder bed background image, or on the median image M obtained by taking the median of multiple powder bed background images pixel by pixel: mean filtering, morphological filtering, or polynomial surface fitting.

[0013] In some implementations, after obtaining the illumination field S, a lower bound truncation is performed on the illumination field S according to the following formula: S = max(S, floor × mean(S)); Where floor is the lower limit coefficient, mean(S) represents the average value of all illumination field values ​​in illumination field S, and max represents updating the illumination field values ​​in illumination field S that are less than floor×mean(S) to floor×mean(S). The lower limit coefficient floor can range from 0.02 to 0.2.

[0014] In some implementations, the average value mean(S) of each illumination field value in the illumination field S is calculated, and mean(S) is determined as the luminance normalization reference k.

[0015] In some implementations, the maximum value of each illumination field value in the illumination field S, max(S), median(S), or a specified fixed value is determined as the luminance normalization reference k.

[0016] In some implementations, the illumination field S, the luminance normalization reference k, the source frame list of the powder bed background image, the calibration parameters actually used when obtaining and processing the illumination field S, and the removal record of the powder bed background image are persisted as calibration results.

[0017] In some implementations, the illumination field S is updated based on the reacquired powder bed background image, and the brightness normalization reference k used before recalibration is used as the brightness normalization reference k corresponding to the updated illumination field S.

[0018] In some implementations, the powder bed monitoring image is denoted as T, and the brightness uniformity correction image is denoted as C. The powder bed monitoring image T is corrected pixel by pixel according to the formula C=clip(T / S×k), and the value of each corrected pixel is limited to the quantization range of the powder bed monitoring image T by clip, thus obtaining the brightness uniformity correction image C.

[0019] In some implementations, for the original saturated pixels in the powder bed monitoring image, their corrected pixel values ​​are determined as their original pixel values, and the original saturated pixels are not corrected according to the correction relationship.

[0020] In some implementations, a new powder bed background image is acquired, and based on the new powder bed background image and the currently used illumination field S, a brightness drift index representing the relative shift of the overall mean and a shape drift index representing the standard deviation of the normalized ratio field are calculated; the brightness drift index and the shape drift index are compared with their corresponding drift thresholds, and illumination drift is determined to have occurred when either index exceeds its corresponding drift threshold.

[0021] In some implementations, when either the brightness drift index or the shape drift index exceeds its corresponding drift threshold, the illumination field S is recalibrated and updated using the most recent N powder bed background images, and the brightness normalization reference k used before recalibration is used as the historical brightness normalization reference.

[0022] In some implementations, for the correction of the nth layer, a single toner bed background image formed after the nth layer is laid and before laser exposure, and a corresponding printed image of the same layer are obtained, wherein the number of toner bed background images used for the nth layer is N=1; the illumination field S corresponding to the nth layer is obtained based on the single toner bed background image; the pre-persisted global historical brightness normalization reference is used as the brightness normalization reference k corresponding to the nth layer, and the brightness uniformity correction of the printed image of the same layer is performed using the illumination field S corresponding to the nth layer and the brightness normalization reference k.

[0023] In a second aspect, the present invention provides a brightness uniformity correction device for powder bed monitoring images, comprising: The image acquisition module is used to acquire the powder bed background image formed after powder spreading and before laser exposure in powder bed additive manufacturing processes, and to acquire the powder bed monitoring image obtained under the same imaging conditions as the powder bed background image; The illumination field determination module is used to obtain the illumination field S, which characterizes the low-frequency spatial illumination distribution, based on the powder bed background image. The reference determination module is used to determine the luminance normalization reference k corresponding to the illumination field S; The image correction module is used to determine the correction pixel value for each pixel in the powder bed monitoring image based on the pixel value, the brightness normalization reference k, and the illumination field value at the position corresponding to the pixel in the illumination field S, according to the correction relationship that is positively correlated with the brightness normalization reference k and inversely correlated with the illumination field value, and obtain the brightness uniformity correction image based on the correction pixel value corresponding to each pixel.

[0024] Thirdly, the present invention provides a brightness uniformity correction system for powder bed monitoring images, comprising: powder bed; The powder spreading and shaping unit is used to create the powder bed background state after powder spreading and before laser exposure; Lighting unit for illuminating the powder bed; The imaging unit is used to acquire a powder bed background image and a powder bed monitoring image corresponding to the powder bed background state under the same imaging conditions; The processing unit is used to acquire the background image of the powder bed and the monitoring image of the powder bed collected by the imaging unit, obtain the illumination field S representing the low-frequency spatial illumination distribution based on the background image of the powder bed, determine the brightness normalization reference k corresponding to the illumination field S, and for each pixel in the monitoring image of the powder bed, determine the correction pixel value according to the pixel value of the pixel, the brightness normalization reference k and the illumination field value at the position corresponding to the pixel in the illumination field S, according to the correction relationship that is positively correlated with the brightness normalization reference k and inversely correlated with the illumination field value, and obtain the brightness uniformity correction image based on the correction pixel value corresponding to each pixel.

[0025] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor performs the above-described method for correcting the brightness uniformity of a powder bed monitoring image.

[0026] Compared with the prior art, the present invention has the following beneficial effects: This invention addresses several key aspects. Firstly, it utilizes the naturally formed powder bed background image from powder bed additive manufacturing processes to establish a spatial illumination reference that matches the imaging conditions of the powder bed monitoring image, eliminating the need for a dedicated target. Secondly, by extracting low-frequency spatial illumination distribution from the powder bed background image and performing pixel-by-pixel correction using a brightness normalization benchmark, it reduces the impact of fixed spatial brightness unevenness on the powder bed monitoring image, improving the comparability between different image locations and downstream analysis inputs. Thirdly, multi-frame median processing, abnormal frame handling, and low-frequency extraction reduce the impact of single-frame anomalies and high-frequency powder texture on illumination field estimation. Fourthly, illumination field lower limit truncation, output cropping, and original saturated pixel preservation limit numerical anomalies caused by excessively small denominators, output exceeding limits, and loss of saturation information. Finally, by using historical brightness normalization benchmarks when updating the illumination field and triggering recalibration based on illumination drift, it helps maintain the overall brightness benchmark across different calibration periods and reduces the risk of continuing to use mismatched illumination fields.

[0027] The present invention has other features and advantages, which will be apparent from or will be set forth in detail in the accompanying drawings and the following detailed description, which together serve to explain the particular principles of the invention. Attached Figure Description

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

[0029] Figure 1 This is a flowchart of the powder bed monitoring image brightness uniformity correction method according to Embodiment 1 of the present invention.

[0030] Figure 2 This is a logical schematic diagram of one embodiment of the powder bed monitoring image brightness uniformity correction method of the present invention.

[0031] Figure 3 This is a schematic diagram of the multi-frame robust calibration and bad frame processing in Embodiment 1 of the present invention.

[0032] Figure 4 This is a schematic diagram of the closed-loop process of illumination drift detection and recalibration in Embodiment 1 of the present invention.

[0033] Figure 5 This is a color six-dimensional composite image of the powder bed monitoring image before and after correction, the gain map, and the brightness profile in Embodiment 1 of the present invention.

[0034] Figure 6 This is a structural block diagram of the powder bed monitoring image brightness uniformity correction device according to Embodiment 2 of the present invention.

[0035] Figure 7 This is a schematic diagram of the main view structure of the powder bed monitoring image brightness uniformity correction system according to Embodiment 3 of the present invention.

[0036] Figure 8 This is a top view schematic diagram of the powder bed monitoring image brightness uniformity correction system according to Embodiment 3 of the present invention. Detailed Implementation

[0037] To illustrate the possible application scenarios, technical principles, implementable specific solutions, and achievable objectives and effects of this application in detail, the following description, in conjunction with the listed specific embodiments and accompanying drawings, provides a detailed explanation. The embodiments described herein are merely illustrative of the technical solutions of this application and are therefore intended to limit the scope of protection of this application.

[0038] Example 1 Please see Figures 1-5 In this embodiment, the powder bed monitoring image brightness uniformity correction method processes both the powder bed background image and the powder bed monitoring image, which are technical images with defined pixel position relationships. The illumination field S obtained from the powder bed background image corresponds to the image pixel position, and the brightness normalization reference k is the brightness scale reference corresponding to the illumination field S. The output is a brightness uniformity corrected image.

[0039] The method in this embodiment is generally as follows: Figure 2 As shown, it includes calibration parameter generation, online pixel-by-pixel correction and illumination field maintenance, and can optionally perform single-frame updates within the same layer; Figure 3 This demonstrates the multi-frame robust calibration and bad frame handling process. Figure 4 The process of light drift detection and recalibration is shown.

[0040] Please see Figure 1 The following will describe in detail each step of the powder bed monitoring image brightness uniformity correction method of this embodiment.

[0041] S1. Obtain the powder bed background image formed after powder spreading and before laser exposure in the powder bed additive manufacturing process, and obtain the powder bed monitoring image obtained under the same imaging conditions as the powder bed background image.

[0042] Specifically, in the layer-by-layer production process of powder bed additive manufacturing, the powder spreading device forms the powder surface of the current layer in the forming area. Before the laser selectively exposes the current layer, the imaging unit acquires a powder bed background image. This powder surface can serve as a self-reference surface that naturally appears in the production process. Since the powder bed background image is formed after powder spreading and before laser exposure, it can carry the spatial response of the current imaging optical path and illumination state without the need for a separate dedicated target.

[0043] Furthermore, in this embodiment, the powder bed monitoring image and the powder bed background image are obtained under the same imaging conditions. It is understood that "same imaging conditions" here means that both share the corresponding imaging optical path and illumination conditions, allowing the low-frequency spatial illumination distribution reflected in the powder bed background image to be used for correction of the powder bed monitoring image. The powder bed monitoring image can be a printed layer image after laser exposure, or it can be other powder bed images to be corrected obtained under the corresponding imaging conditions during the powder bed monitoring process.

[0044] S2. Based on the background image of the powder bed, obtain the illumination field S that characterizes the low-frequency spatial illumination distribution.

[0045] Specifically, each illumination field value in the illumination field S corresponds to a pixel position in the powder bed background image. The low-frequency spatial illumination distribution is used to characterize the brightness distribution that varies significantly relative to powder texture, local particle differences, or single-pixel fluctuations, such as the brightness distribution caused by spatial attenuation of the illumination source and lens vignetting. Low-frequency processing can be performed directly on a single powder bed background image, or multiple powder bed background images can be robustly synthesized first, and then low-frequency processing can be performed on the synthesized image. The specific methods of multi-frame processing and low-frequency processing will be described later in this embodiment.

[0046] S3. Determine the luminance normalization reference k corresponding to the illumination field S.

[0047] In one implementation, the average value mean(S) of each illumination field value in the illumination field S is calculated, and k = mean(S) is set, where the brightness normalization reference is used to determine the corrected overall brightness scale.

[0048] In other implementations, the maximum value max(S), the median value median(S), or a specified fixed value among the illumination field values ​​in the illumination field S can be determined as the luminance normalization reference k. It should be noted that the above methods are parallel alternatives, and one of them can be selected according to the luminance scale maintenance requirements, without requiring simultaneous execution.

[0049] S4. For each pixel in the powder bed monitoring image, based on the pixel value, the brightness normalization reference k, and the illumination field value at the position corresponding to the pixel in the illumination field S, determine the correction pixel value according to the correction relationship that is positively correlated with the brightness normalization reference k and negatively correlated with the illumination field value, and obtain the brightness uniformity correction image based on the correction pixel value corresponding to each pixel.

[0050] Specifically, if the powder bed monitoring image is denoted as T and the brightness uniformity correction image is denoted as C, then pixel-by-pixel correction can be performed according to the following formula: C = clip(T / S×k).

[0051] In the formula, T / S represents the pixel-wise ratio between the pixel value in the powder bed monitoring image and the illumination field value at the corresponding position in the illumination field S, k is used to set the overall brightness scale of the output, and clip is used to limit the corrected pixel value within the quantization range of the powder bed monitoring image T.

[0052] For example, when T is an 8-bit image, the quantization range can be 0-255. For other quantization bit depths, clip corresponds to the valid range of that quantization bit depth.

[0053] It is understandable that if the pixel-by-pixel correction gain is denoted as G, then G = k / S, and the aforementioned correction relationship can also be equivalently expressed as C = clip(T × G). This equivalent form is used to illustrate the mathematical relationship between the correction gain and k and S without adding independent processing steps.

[0054] For example, Figure 5 A single color six-panel composite image is used to show the image before correction, the image after correction, the gain map, and the brightness profiles in the horizontal, vertical, and diagonal directions. The gain map in the image corresponds to the spatial distribution of G=k / S.

[0055] As can be observed from the images and profiles before and after correction, the low-frequency spatial brightness fluctuations in the corrected image are suppressed compared to the uncorrected image, and the gain map shows a correspondingly larger gain in the relatively darker areas of the original image. It should be noted that... Figure 5 This is used to illustrate the spatial correction relationship under a single sample, but does not limit the color scale values, coordinates or single sample curves therein to parameters necessary for the implementation of this invention, nor does it make any general commitment to quantitative performance.

[0056] Please see Figure 3 The following will provide a detailed explanation of how this embodiment obtains the illumination field S using multiple powder bed background images.

[0057] First, after the powder is spread but before laser exposure, N background images of the powder bed are acquired, where N ≥ 3. Multiple background images of the powder bed are acquired sequentially under appropriate imaging conditions to reduce the impact of random anomalies in a single image on the illumination field estimation.

[0058] In one implementation, the median image M can be obtained by directly taking the median of each pixel from N background images of the powder bed, and then using the median image M as the processing object to obtain the illumination field S. This implementation does not require the execution of bad frame removal.

[0059] As an alternative implementation, bad frame removal can be performed before illumination field estimation. Specifically, the median of each pixel in the N toner bed background images is taken to obtain the pixel-by-pixel median frame. For each toner bed background image, the absolute deviation of each pixel in the image relative to the corresponding pixel in the pixel-by-pixel median frame is calculated, and the average of these absolute deviations is taken to obtain the mean absolute deviation corresponding to the toner bed background image. Then, the median of the mean absolute deviations corresponding to the N toner bed background images is taken, and the result is determined as the median deviation.

[0060] The mean absolute deviation corresponding to any powder bed background image is compared with the median deviation multiplied by a ratio. When the mean absolute deviation is greater than the median deviation multiplied by a ratio, the corresponding powder bed background image is identified as a bad frame and discarded. Here, ratio is the bad frame identification ratio, with a value ranging from 1.2 to 3.0. This process excludes images that are obviously abnormal compared to most background images by judging image-level deviation.

[0061] Furthermore, after removing bad frames, it is determined whether the number of remaining powder bed background images is less than half of the total number of powder bed background images before removal. If it is less than half, it indicates that the effective number of current calibration inputs is insufficient, an error is reported, and the current calibration process is exited, and no illumination field S is generated. It should be noted that this failure condition strictly corresponds to "less than half" and does not impose additional limitations on the processing when the remaining number is exactly half in this embodiment.

[0062] If the number of remaining background images of the powder bed meets the conditions for continued calibration, then the median of each pixel of the remaining background images of the powder bed is taken to obtain the median image M, and the median image M is used as the processing object to obtain the illumination field S. The pixel-by-pixel median processing is used to suppress local random anomalies that have not been completely eliminated by the aforementioned image-level bad frame judgment.

[0063] Subsequently, a large-scale low-pass processing is performed on the median image M. In one implementation, a Gaussian filter is applied to the median image M to obtain the illumination field S. The standard deviation of the Gaussian filter is σ = H / D, where H is the image height of the powder bed background image, and D ranges from 16 to 64. By correlating the filtering scale with the image height, the low-frequency extraction scale can be adjusted accordingly with the image size.

[0064] In implementations where N=1 or without multi-frame synthesis, the aforementioned Gaussian filtering can be directly applied to a single powder bed background image. As an alternative to Gaussian filtering, mean filtering, morphological filtering, or polynomial surface fitting can also be applied to the powder bed background image or median image M to obtain an illumination field S characterizing the low-frequency spatial illumination distribution. These processing methods all aim to filter out high-frequency textures on the powder bed surface while preserving the low-frequency spatial brightness distribution.

[0065] The field lower limit truncation, output cropping, and original saturated pixel preservation methods of this embodiment will be described in detail below.

[0066] The illumination field S serves as the denominator in the pixel-by-pixel correction relationship. When the illumination field value is too small at some locations, the correction gain at the corresponding locations may be too large. Therefore, after obtaining the illumination field S, a lower bound truncation can be applied to the illumination field S according to the following formula: S = max(S, floor × mean(S)).

[0067] In the formula, floor is the lower limit coefficient, mean(S) represents the average value of each illumination field value in illumination field S; max means that illumination field values ​​in illumination field S that are less than floor×mean(S) are updated to floor×mean(S), while keeping the illumination field values ​​that are not less than the lower limit unchanged. The value of floor ranges from 0.02 to 0.2.

[0068] It is understandable that when k = mean(S), the maximum corrected gain after the lower limit is truncation is no greater than 1 / floor; when k takes max(S), median(S) or a specified fixed value, the corresponding upper limit of gain is determined by the ratio between k and floor × mean(S), so 1 / floor is not used as a fixed upper limit that holds true for all values ​​of k.

[0069] After calculating the corrected pixel values, the corrected pixel values ​​are limited to the quantization range of the powder bed monitoring image T by clipping, so as to avoid the output pixel values ​​exceeding the effective range.

[0070] It is worth noting that for the original saturated pixels in the powder bed monitoring image, their corrected pixel values ​​are determined as their original pixel values, and they are not corrected again according to the aforementioned correction relationship. Information exceeding the saturation upper limit in the original saturated pixels has been lost, and maintaining their original values ​​can avoid generating grayscale information that cannot be supported by the original image through correction calculations.

[0071] The parameter persistence section of this embodiment explains the persistence of calibration results and the maintenance of the luminance reference during illumination field updates.

[0072] After determining the illumination field S and the luminance normalization reference k, the illumination field S, the luminance normalization reference k, the source frame list of the powder bed background image, the calibration parameters actually used when obtaining and processing the illumination field S, and the removal records of the powder bed background image are persisted as calibration results.

[0073] The calibration parameters may include the actual number of background images used, the bad frame detection factor, low-frequency processing parameters, and the lower limit coefficient. The persistent illumination field S and the brightness normalization reference k can be used for subsequent powder bed monitoring image correction. The source frame list, actual parameters, and rejection records are used to retain the source and processing information of the corresponding calibration results.

[0074] When updating the illumination field S based on the reacquired powder bed background image, the brightness normalization reference k used before recalibration is adopted as the brightness normalization reference k corresponding to the updated illumination field S.

[0075] It is worth noting that the updated illumination field S reflects the current spatial illumination distribution, while the historical brightness normalization benchmark k is used to maintain the existing overall brightness scale. Therefore, the updating of the spatial brightness field and the maintenance of the overall brightness benchmark can be performed separately. This embodiment does not limit the persistent file format, version control method, or interface protocol.

[0076] Please see Figure 4 The following will provide a detailed description of the light drift detection and recalibration in the powder bed additive manufacturing process of this embodiment.

[0077] During the layer-by-layer production process, a new powder bed background image is acquired, and luminance drift and shape drift indices are calculated based on the new powder bed background image and the currently used illumination field S. The luminance drift index can be denoted as β, and the shape drift index as γ. The luminance drift index characterizes the relative shift of the new powder bed background image to the overall mean of the current illumination field S, while the shape drift index characterizes the standard deviation of the normalized ratio field, reflecting the overall luminance change and the spatial distribution shape change, respectively.

[0078] The brightness drift index β and the shape drift index γ are compared with their respective drift thresholds. Illumination drift is determined to have occurred when β exceeds its corresponding drift threshold or γ exceeds its corresponding drift threshold. Figure 4 The judgment relationship is that recalibration can be triggered as long as any one indicator exceeds the corresponding threshold, without requiring both indicators to exceed the threshold at the same time.

[0079] After determining that illumination drift has occurred, the illumination field S is recalibrated and updated using N recent background images of the powder bed, and the brightness normalization benchmark k used before recalibration is used as the historical brightness normalization benchmark. If neither indicator exceeds its corresponding drift threshold, the current illumination field S is maintained, online correction of the powder bed monitoring image is continued, and the process proceeds to the next production stage.

[0080] It should be noted that the brightness drift index and the shape drift index are responsible for judging the overall mean change and the spatial shape change, respectively. This embodiment does not limit the two to using the same threshold, nor does it impose further limitations on the normalization ratio direction, effective pixel mask, outlier handling, window length of the most recent N images, triggering cooling or failure retry beyond the above functional relationship.

[0081] Please see Figure 2 The following will provide a detailed explanation of how this embodiment uses single-frame self-reference correction for the nth layer.

[0082] After the powder is spread in the nth layer and before laser exposure, acquire a powder bed background image for that layer; under the corresponding imaging conditions, acquire the printed image of the same layer corresponding to this single powder bed background image. The number of powder bed background images used for the nth layer is N=1.

[0083] The illumination field S corresponding to the nth layer is obtained from the single powder bed background image. Since N=1, this embodiment does not perform bad frame removal that depends on the statistical relationship of multiple powder bed background images; low-frequency processing can be directly performed on the single powder bed background image, and the lower limit of the illumination field can be truncated as needed.

[0084] The pre-persistent global historical brightness normalization benchmark is used as the brightness normalization benchmark k for the nth layer. The brightness uniformity correction of the printed image on the same layer is then performed using the illumination field S corresponding to the nth layer and the brightness normalization benchmark k. Thus, the spatial illumination field of each layer can be obtained from the background image of the same layer, while the overall brightness scale of each layer continues to use the global historical brightness normalization benchmark. This embodiment can associate the background image of the toner bed and the printed image on the same layer based on the layer identifier, but does not limit the file name format, association failure handling, or specific timing protocol.

[0085] Example 2 Please see Figure 6 The powder bed monitoring image brightness uniformity correction device 100 in this embodiment includes: Image acquisition module 110 acquires a powder bed background image formed after powder spreading and before laser exposure in a powder bed additive manufacturing process, and acquires a powder bed monitoring image obtained under the same imaging conditions as the powder bed background image. Image acquisition module 110 provides the powder bed background image to illumination field determination module 120, and provides the powder bed monitoring image to image correction module 140.

[0086] The illumination field determination module 120 obtains an illumination field S characterizing the low-frequency spatial illumination distribution based on the powder bed background image, and provides the illumination field S to the reference determination module 130 and the image correction module 140. The illumination field determination module 120 can perform corresponding processing in multi-frame bad frame removal, pixel-by-pixel median processing, low-frequency filtering, and illumination field lower limit truncation.

[0087] The reference determination module 130 determines the luminance normalization reference k corresponding to the illumination field S and provides the luminance normalization reference k to the image correction module 140. The reference determination module 130 can also read or save historical luminance normalization references in conjunction with the storage function.

[0088] The image correction module 140, for each pixel in the powder bed monitoring image, determines the correction pixel value according to the pixel value, the brightness normalization reference k, and the illumination field value at the corresponding position in the illumination field S, following a correction relationship that is positively correlated with the brightness normalization reference k and inversely correlated with the illumination field value. Based on the correction pixel values ​​for each pixel, the image correction module 140 obtains a brightness uniformity corrected image. The image correction module 140 can output the brightness uniformity corrected image to subsequent defect analysis functions or a human-machine interface.

[0089] It is understandable that the above modules are divided according to the functions they perform, and it is not required that each module be implemented by physically separate hardware; two or more modules can be executed by the same processor or edge computing device, or they can be implemented by multiple processing resources without changing the corresponding input, output and processing relationships.

[0090] Example 3 Please see Figure 7 and Figure 8 The powder bed monitoring image brightness uniformity correction system 200 of this embodiment includes: Powder bed 210; The powder spreading and forming unit includes a forming substrate 221 and a powder spreading device. The powder spreading device is used to spread powder layer by layer in the forming area corresponding to the forming substrate 221, and to form a powder bed background state before laser exposure after the powder spreading is completed. After the powder bed background state is acquired by the imaging unit, the powder spreading and forming unit can continue to perform the laser selective melting process of the corresponding layer.

[0091] The illumination unit 230, used to illuminate the toner bed, in one implementation includes at least four strip light sources 231 arranged around the imaging optical axis above the toner bed, forming a square-shaped illumination area. It is understood that the spatial illuminance attenuation of the strip light sources 231, together with the vignetting of the lens 242, may constitute a source of low-frequency brightness distribution in the toner bed image.

[0092] Imaging unit 240 includes an area array camera 241 and a lens 242. The imaging optical axis of the area array camera 241 can be perpendicular to the powder bed or forming substrate 221 and is located in the center of the area surrounded by multiple strip light sources 231. The working distance between the area array camera 241 and the lens 242 and the powder bed is... Figure 7 The image is denoted as L. Imaging unit 240 acquires background images and monitoring images of the powder bed corresponding to the background state of the powder bed under the corresponding imaging conditions.

[0093] The processing unit 250 acquires the background image of the powder bed and the monitoring image of the powder bed collected by the imaging unit. Based on the background image of the powder bed, it obtains the illumination field S characterizing the low-frequency spatial illumination distribution, determines the brightness normalization reference k corresponding to the illumination field S, and for each pixel in the monitoring image of the powder bed, it determines the correction pixel value according to the pixel value of the pixel, the brightness normalization reference k, and the illumination field value at the position corresponding to the pixel in the illumination field S, in accordance with the correction relationship that is positively correlated with the brightness normalization reference k and inversely correlated with the illumination field value at the corresponding position, thereby obtaining a brightness uniformity correction image.

[0094] Specifically, the processing unit 250 in this embodiment can be implemented by a processor or an edge computing device, and can be used in conjunction with storage functions to persist the illumination field S, the brightness normalization reference k, the source frame list, calibration parameters, and the culling records.

[0095] Furthermore, the processing unit 250 can also output brightness uniformity correction images and corresponding uniformity information to subsequent defect analysis functions or human-machine interfaces.

[0096] It is worth noting that, Figure 7 and Figure 8 Used to illustrate the relative arrangement and functional cooperation of the entities, without limiting the power supply, triggering, communication or control connections not shown.

[0097] Example 4 The computer-readable storage medium of this embodiment stores a computer program, which, when executed by a processor, causes the processor to perform the powder bed monitoring image brightness uniformity correction method described in Embodiment 1.

[0098] Specifically, when the computer program is executed by the processor, it causes the processor to perform the steps of the method described in Embodiment 1, and can perform one or more of the following processes: multi-frame robust calibration, numerical safety processing, calibration result persistence, illumination drift detection, recalibration, or same-layer single-frame update. The computer-readable storage medium is used to carry the corresponding program instructions, and its specific type is not limited.

[0099] Combination Figures 1-8This invention addresses several key issues. First, it utilizes the naturally formed background image of the powder bed in additive manufacturing processes to establish a spatial illumination reference that matches the imaging conditions of the powder bed monitoring image, eliminating the need for a dedicated target. Second, by extracting low-frequency spatial illumination distribution from the powder bed background image and performing pixel-by-pixel correction using a brightness normalization benchmark, it reduces the impact of fixed spatial brightness unevenness on the powder bed monitoring image, improving the comparability between different image locations and downstream analysis inputs. Third, multi-frame median processing, abnormal frame handling, and low-frequency extraction reduce the impact of single-frame anomalies and high-frequency textures of powder particles on illumination field estimation. Fourth, illumination field lower limit truncation, output cropping, and original saturated pixel preservation limit numerical anomalies caused by excessively small denominators, output exceeding limits, and loss of saturation information. Finally, by using historical brightness normalization benchmarks when updating the illumination field and triggering recalibration based on illumination drift, it helps maintain the overall brightness benchmark across different calibration periods and reduces the risk of continuing to use mismatched illumination fields.

[0100] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for correcting the brightness uniformity of a powder bed monitoring image, characterized in that, Includes the following steps: Acquire a powder bed background image formed after powder spreading and before laser exposure in a powder bed additive manufacturing process, and acquire a powder bed monitoring image obtained under the same imaging conditions as the powder bed background image; Based on the powder bed background image, obtain the illumination field S characterizing the low-frequency spatial illumination distribution; Determine the luminance normalization reference k corresponding to the illumination field S; For each pixel in the powder bed monitoring image, a correction pixel value is determined according to the pixel value of the pixel, the brightness normalization reference k, and the illumination field value at the position corresponding to the pixel in the illumination field S, based on a correction relationship that is positively correlated with the brightness normalization reference k and inversely correlated with the illumination field value. A brightness uniformity correction image is then obtained based on the correction pixel value corresponding to each pixel.

2. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, The acquisition of the powder bed background image formed after powder spreading and before laser exposure in the powder bed additive manufacturing process includes acquiring N powder bed background images, where N≥3.

3. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 2, characterized in that, Before obtaining the illumination field S based on N images of the powder bed background, the following steps are also included: The median of each pixel in the N images of the powder bed background is taken to obtain the median frame. The mean absolute deviation of each of the powder bed background images relative to the pixel-by-pixel median frame is calculated, and the median of the mean absolute deviation of each of the powder bed background images is determined as the median deviation. Background images of powder beds that have an average absolute deviation greater than the median deviation by a factor of ratio are identified as bad frames and removed. Here, ratio is the bad frame identification factor, and its value ranges from 1.2 to 3.

0.

4. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 3, characterized in that, After removing the bad frames, determine whether the number of remaining powder bed background images is less than half of the total number of powder bed background images before removal; if so, report an error and exit the current calibration process, and do not generate the illumination field S.

5. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 2, characterized in that, The step of obtaining the illumination field S characterizing the low-frequency spatial illumination distribution based on the powder bed background image specifically includes: The median image M is obtained by taking the median value of each pixel from the N background images of the powder bed, and the median image M is used as the processing object to obtain the illumination field S.

6. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, The step of obtaining the illumination field S characterizing the low-frequency spatial illumination distribution based on the powder bed background image specifically includes: Gaussian filtering is performed on the powder bed background image, or on the median image M obtained by taking the median of each pixel of multiple powder bed background images, to obtain the illumination field S; Wherein, the standard deviation of the Gaussian filter σ = H / D, H is the image height of the powder bed background image, and the value of D ranges from 16 to 64.

7. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, The step of obtaining the illumination field S characterizing the low-frequency spatial illumination distribution based on the powder bed background image specifically includes: The illumination field S is obtained by performing one of the following processing methods on the background image of the powder bed, or on the median image M obtained by taking the median of each pixel of multiple background images of the powder bed: mean filtering, morphological filtering, or polynomial surface fitting.

8. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, After obtaining the illumination field S, the process also includes: The illumination field S is truncated to a lower bound according to the following formula: S = max(S, floor × mean(S)); Where floor is the lower limit coefficient, mean(S) represents the average value of each illumination field value in the illumination field S, and max represents updating the illumination field values ​​in the illumination field S that are less than floor×mean(S) to floor×mean(S).

9. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 8, characterized in that, The lower limit coefficient floor ranges from 0.02 to 0.

2.

10. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, The determination of the luminance normalization reference k corresponding to the illumination field S specifically includes: Calculate the average value mean(S) of each illumination field value in the illumination field S, and determine mean(S) as the brightness normalization reference k.

11. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, The determination of the luminance normalization reference k corresponding to the illumination field S specifically includes: The maximum value of each illumination field value in the illumination field S, max(S), median(S), or a specified fixed value is determined as the luminance normalization reference k.

12. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, It also includes the following steps: The illumination field S, the brightness normalization reference k, the source frame list of the powder bed background image, the calibration parameters actually used when obtaining and processing the illumination field S, and the removal records of the powder bed background image are persisted as calibration results.

13. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, It also includes the following steps: The illumination field S is updated based on the newly acquired powder bed background image, and the brightness normalization reference k used before recalibration is adopted as the brightness normalization reference k corresponding to the updated illumination field S.

14. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, The powder bed monitoring image is denoted as T, and the brightness uniformity correction image is denoted as C; The process of determining the corrected pixel values ​​and obtaining the brightness uniformity corrected image specifically includes: The powder bed monitoring image T is corrected pixel by pixel according to the formula C=clip(T / S×k), and the value of each corrected pixel is limited to the quantization range of the powder bed monitoring image T by clip, so as to obtain the brightness uniformity correction image C.

15. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, When determining the correction pixel value for each pixel in the powder bed monitoring image, for the original saturated pixel in the powder bed monitoring image, its correction pixel value is determined as its original pixel value, and the original saturated pixel is not corrected according to the correction relationship.

16. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, It also includes the following steps: A new powder bed background image is acquired, and based on the new powder bed background image and the currently used illumination field S, a brightness drift index representing the relative shift of the overall mean and a shape drift index representing the standard deviation of the normalized ratio field are calculated. The brightness drift index and the shape drift index are compared with their corresponding drift thresholds, and illumination drift is determined to have occurred when either index exceeds the corresponding drift threshold.

17. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 16, characterized in that, When either the brightness drift index or the shape drift index exceeds its corresponding drift threshold, the illumination field S is recalibrated and updated using the most recent N powder bed background images, and the brightness normalization reference k used before recalibration is used as the historical brightness normalization reference.

18. The method for correcting the brightness uniformity of powder bed monitoring images as described in claim 1, characterized in that, For the correction of the nth layer, the acquisition of the powder bed background image and the powder bed monitoring image includes acquiring a single powder bed background image formed after the powder is spread in the nth layer and before laser exposure, as well as the same layer printed image corresponding to the single powder bed background image, wherein the number of powder bed background images used for the nth layer is N=1; The step of obtaining the illumination field S characterizing the low-frequency spatial illumination distribution based on the powder bed background image specifically involves obtaining the illumination field S corresponding to the nth layer based on the single powder bed background image. The determination of the brightness normalization reference k corresponding to the illumination field S specifically involves using the pre-persisted global historical brightness normalization reference as the brightness normalization reference k corresponding to the nth layer, and using the illumination field S corresponding to the nth layer and the brightness normalization reference k to perform brightness uniformity correction on the printed image of the same layer.

19. A device for correcting the brightness uniformity of a powder bed monitoring image, characterized in that, include: The image acquisition module is used to acquire a powder bed background image formed after powder spreading and before laser exposure in a powder bed additive manufacturing process, and to acquire a powder bed monitoring image obtained under the same imaging conditions as the powder bed background image; The illumination field determination module is used to obtain the illumination field S characterizing the low-frequency spatial illumination distribution based on the powder bed background image; A reference determination module is used to determine the luminance normalization reference k corresponding to the illumination field S; The image correction module is used to determine the correction pixel value for each pixel in the powder bed monitoring image according to the pixel value of the pixel, the brightness normalization reference k, and the illumination field value of the position corresponding to the pixel in the illumination field S, in accordance with the correction relationship that is positively correlated with the brightness normalization reference k and inversely correlated with the illumination field value, and to obtain a brightness uniformity correction image based on the correction pixel value corresponding to each pixel.

20. A system for correcting the brightness uniformity of powder bed monitoring images, characterized in that, include: powder bed; The powder spreading and shaping unit is used to create the powder bed background state after powder spreading and before laser exposure; A lighting unit for illuminating the powder bed; The imaging unit is used to acquire a powder bed background image and a powder bed monitoring image corresponding to the powder bed background state under the same imaging conditions; The processing unit is configured to acquire the background image of the powder bed and the monitoring image of the powder bed collected by the imaging unit, obtain an illumination field S representing the low-frequency spatial illumination distribution based on the background image of the powder bed, determine the brightness normalization reference k corresponding to the illumination field S, and for each pixel in the monitoring image of the powder bed, determine a correction pixel value based on the pixel value of the pixel, the brightness normalization reference k, and the illumination field value at the position corresponding to the pixel in the illumination field S, according to a correction relationship that is positively correlated with the brightness normalization reference k and inversely correlated with the illumination field value, and obtain a brightness uniformity correction image based on the correction pixel value corresponding to each pixel.

21. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the processor performs the powder bed monitoring image brightness uniformity correction method as described in any one of claims 1-18.