A printing pattern background removal method, device and storage medium for DTG

By using multi-scale background pixel recognition and dynamic threshold judgment, combined with edge gradient feature processing and multi-resolution fusion technology, the problem of edge jaggedness and detail loss in low-contrast image background removal is solved, improving computational efficiency and achieving efficient and accurate background removal results.

CN120278908BActive Publication Date: 2026-11-27GUANGZHOU SENYANG ELECTRONIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510392531.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2026-11-27
Estimated Expiration
2045-03-28

AI Technical Summary

Technical Problem

Existing technologies suffer from jagged edges, loss of detail, and low computational efficiency when removing backgrounds from low-contrast images.

Method used

By employing multi-scale background pixel recognition, dynamic threshold judgment, edge gradient feature processing, and multi-resolution fusion techniques, combined with morphological operations and GPU acceleration technology, efficient background removal of images can be achieved.

Benefits of technology

It improves the accuracy of background pixel recognition, reduces false positives and false negatives, maintains the integrity and detail of image edges, improves computational efficiency, and ensures thorough background removal and image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120278908B_ABST
    Figure CN120278908B_ABST
Patent Text Reader

Abstract

The application discloses a printing pattern background removal method and device for DTG and a storage medium, relates to the technical field of digital printing, and enhances the contrast and detail features of an image by converting the image to a LAB color space and histogram equalization preprocessing; performs joint morphological operation on a transparency channel matrix and the original image by using multi-scale open operation and matching close operation, retains image details and optimizes edge transition; adopts a multi-resolution fusion technology to construct an image pyramid, realizes cross-level feature fusion, improves edge smoothing effect, simultaneously introduces an integrity detection mechanism to ensure the thoroughness and accuracy of background removal, and further processes image subblocks in parallel by using multi-thread or GPU acceleration technology to improve calculation efficiency. The method effectively solves the problem of low-contrast image background removal, significantly improves the printing quality and production efficiency of a printing pattern, and has a good application prospect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital printing technology, and more specifically, to a method, apparatus, and storage medium for removing background from printed patterns for DTG. Background Technology

[0002] In scenarios such as garment customization and large-scale industrial garment printing, the application of digital direct-to-garment (DTG) printing technology is becoming increasingly popular. Typically, to save ink, improve printing efficiency, and ensure the clarity and aesthetics of the printed pattern, it is necessary to remove the solid-color background of the printed pattern and retain only the foreground pattern. Currently, image thresholding is a commonly used background removal method. Its principle is to select one or more thresholds based on the grayscale or color distribution of the image to divide pixels into background and foreground categories. For high-contrast images, this method can quickly and effectively separate the background and foreground, and the technology is mature and simple to implement. However, when processing low-contrast images, the color transition between the foreground and background is relatively smooth, and the difference in pixel grayscale values ​​is small. Traditional thresholding techniques are difficult to accurately identify background pixels. If applied forcibly, it may lead to jagged edges or distortion when there is low contrast between the edges of the foreground image and the background image, affecting details. In addition, traditional methods lack a mechanism to protect image details when processing complex patterns, and are prone to losing some subtle but important pattern information, affecting the final printing quality.

[0003] To address these issues, researchers have conducted extensive research. Some methods attempt to improve threshold selection algorithms, such as using Otsu's method or iterative methods to dynamically determine the threshold, in order to adapt to the background removal needs of different images. However, these improvements are still limited to single-scale pixel judgment and cannot fully consider the multi-scale features and local characteristics of the image. The improvement in processing low-contrast areas is limited. Some methods introduce edge detection technology to repair edges after removing the background. However, these methods often require additional computational resources, and the repair effect depends on the accuracy of edge detection, making it difficult to guarantee a stable improvement in overall image quality.

[0004] Therefore, existing technologies suffer from problems such as jagged edges, loss of detail, and low computational efficiency when processing low-contrast image background removal. Summary of the Invention

[0005] In order to overcome the problems of jagged edges, loss of detail, and low computational efficiency in the processing of low-contrast image background removal, the present invention discloses a method, device and storage medium for removing printed pattern backgrounds for DTG, which can effectively solve the above-mentioned technical problems.

[0006] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:

[0007] A method for removing the background of printed patterns for DTG includes the following steps:

[0008] Input the image to be processed and convert it to a standard format with a preset color space;

[0009] Multi-scale background pixel recognition is performed on the image, the color channels of the image are separated, and each pixel is determined to be a background color based on a dynamic threshold to generate a transparency channel matrix.

[0010] Based on the edge gradient features of the image, the corresponding structuring element is selected, and joint morphological operations are performed on the transparency channel matrix and the original image.

[0011] Multi-resolution fusion technology is used to smooth the edges of the processed image, and output a printing-specific image file with a transparency channel;

[0012] The transparency channel of the output image is checked for integrity. If residual background pixels are detected, the process returns to the step of multi-scale background pixel identification of the image, the threshold is readjusted and processed.

[0013] The image is divided into multiple sub-blocks, and the above-mentioned multi-scale background pixel recognition to edge smoothing steps are performed synchronously on each sub-block using multi-threading or GPU acceleration technology. Finally, the processing results are merged.

[0014] Preferably, the dynamic threshold determination specifically includes:

[0015] Calculate the initial background threshold T0 based on the global color gamut distribution of the image;

[0016] The image is divided into N×N sub-regions, and the chromaticity variance of each sub-region is detected.

[0017] When the chromaticity variance of a sub-region exceeds the preset fluctuation threshold, the local adaptive algorithm is used to update the judgment threshold of the region to T1, where T1 = T0 × (1 + α·σ), α is the adjustment coefficient, and σ is the regional chromaticity standard deviation.

[0018] Preferably, the local adaptive algorithm further includes:

[0019] When the threshold difference between adjacent sub-regions exceeds the preset tolerance, the boundary transition processing module is activated to generate a gradient band with a width of K pixels between adjacent sub-regions. The transparency of the gradient band is smoothly transitioned according to the function β·arctan(d), where d is the distance to the boundary and β is the transition coefficient.

[0020] Preferably, the morphological optimization process includes:

[0021] Perform a multi-scale opening operation on the transparency channel matrix, and the set of structuring element sizes is multi-scale;

[0022] Simultaneously, a matching closing operation is performed on the RGB channels of the original image. The number of operations, n, is determined by the image resolution and satisfies n = [log2(W×H) / 1000], where W and H are the width and height of the image in pixels.

[0023] Preferably, it also includes edge enhancement processing:

[0024] Extract the Sobel edge feature map of the image after the closing operation;

[0025] The edge feature map is convolved and fused with the alpha channel matrix to generate the corrected alpha channel.

[0026] Preferably, converting the image to a standard format in a preset color space includes:

[0027] Convert the original RGB image to XYZ space;

[0028] Transformation to LAB space using a nonlinear transformation matrix;

[0029] Perform histogram equalization on the L channel.

[0030] Preferably, the edge smoothing of the processed image using multi-resolution fusion technology includes:

[0031] Construct an image pyramid consisting of an original resolution layer, a 1 / 2 downsampling layer, and a 1 / 4 downsampling layer;

[0032] Perform edge-preserving filtering at each level;

[0033] Wavelet transform is used for cross-level feature fusion, and the fusion weight is determined by the signal-to-noise ratio of each level.

[0034] Preferably, it further includes a pretreatment step:

[0035] Detect suspected pattern regions in the image; when the region area is less than a preset threshold, activate the microstructure enhancement module.

[0036] The microstructure enhancement module generates high-resolution texture features through a generative adversarial network and performs alpha mixing with the original image.

[0037] An electronic device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the above-described method for removing the background of printed patterns.

[0038] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method for removing the background of a printed pattern.

[0039] Compared with existing technologies, the beneficial effects of this invention are as follows: This method, through multi-scale background pixel recognition, can comprehensively consider the multi-scale features and local characteristics of the image, avoiding the limitations of single-scale judgment. Simultaneously, it calculates the initial background threshold based on the global color gamut distribution of the image, and when the chromaticity variance of a sub-region exceeds a preset fluctuation threshold, it uses a local adaptive algorithm to update the judgment threshold for that region. This judgment method makes the recognition of background pixels more accurate, effectively reducing false positives and false negatives, and preventing the loss of details caused by incomplete or excessive background removal at the source. After background removal, in order to optimize image edges and preserve details, this method selects corresponding structuring elements based on the image's edge gradient features, performs joint morphological operations on the alpha channel matrix and the original image, and combines multi-scale opening operations and matching closing operations. This not only removes noise and isolated points in the image but also maintains the edge integrity and detail features of the image. Furthermore, by extracting the Sobel edge feature map of the image and convolving and fusing it with the alpha channel matrix, a corrected alpha channel is generated. This method enhances edge processing, resulting in clearer and smoother image edges and resolving the jagged edge issue. To further improve edge smoothing, it employs multi-resolution fusion technology to construct an image pyramid. Edge-preserving filtering is performed at different levels, and cross-level feature fusion is achieved through wavelet transform. This fully utilizes image information at different resolutions, enabling more refined edge smoothing while preserving important image details. Furthermore, an integrity detection mechanism is introduced to check the transparency channel of the output image. If residual background pixels are found, the threshold is automatically readjusted and processed, ensuring thorough and accurate background removal and further improving image quality. Addressing the issue of low computational efficiency, this method divides the image into multiple sub-blocks and uses multi-threading or GPU acceleration technology to synchronously perform multi-scale background pixel identification and edge smoothing steps on each sub-block. Finally, the processing results are merged. Through parallel processing, the multi-core resources of the computer are fully utilized, shortening processing time and improving overall computational efficiency, thus meeting the demand for efficient background removal technology in actual production. Attached Figure Description

[0040] To more clearly illustrate the embodiments of the present invention or the technical solutions in 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 merely exemplary. For those skilled in the art, other embodiments can be derived from the provided drawings without creative effort.

[0041] Figure 1 This is a flowchart of a method for removing the background of printed patterns for DTG.

[0042] Figure 2This is a step-by-step diagram of a method for removing the background of printed patterns used in DTG. Detailed Implementation

[0043] The accompanying drawings are for illustrative purposes only and should not be construed as limiting the scope of this patent.

[0044] To better illustrate this embodiment, some parts in the accompanying drawings may be omitted, enlarged, or reduced, and do not represent the actual product dimensions;

[0045] It will be understood by those skilled in the art that certain well-known structures and their descriptions may be omitted in the accompanying drawings.

[0046] The technical solution of the present invention will be further described below with reference to the accompanying drawings and embodiments.

[0047] Example

[0048] A computer equipped with an Intel Core i7-10700K processor, an NVIDIA GeForce RTX 3080 GPU, and 32GB of memory.

[0049] The system uses a Windows 10 operating system, a Python 3.8 programming environment, and image processing libraries such as OpenCV, NumPy, and scikit-image, as well as the PyTorch framework to implement the Generative Adversarial Network (GAN) component.

[0050] For a method of removing printed pattern backgrounds for DTG, please refer to [link / reference]. Figure 1-2 This includes the following steps:

[0051] Input the image to be processed and convert it to a standard format with a preset color space;

[0052] Multi-scale background pixel recognition is performed on the image, the color channels of the image are separated, and each pixel is determined to be a background color based on a dynamic threshold to generate a transparency channel matrix.

[0053] Based on the edge gradient features of the image, the corresponding structuring element is selected, and joint morphological operations are performed on the transparency channel matrix and the original image.

[0054] Multi-resolution fusion technology is used to smooth the edges of the processed image, and output a printing-specific image file with a transparency channel;

[0055] The transparency channel of the output image is checked for integrity. If residual background pixels are detected, the process returns to the step of multi-scale background pixel identification of the image, the threshold is readjusted and processed.

[0056] The image is divided into multiple sub-blocks, and the above-mentioned multi-scale background pixel recognition to edge smoothing steps are performed synchronously on each sub-block using multi-threading or GPU acceleration technology. Finally, the processing results are merged.

[0057] The dynamic threshold determination specifically includes:

[0058] Calculate the initial background threshold T0 based on the global color gamut distribution of the image;

[0059] The image is divided into N×N sub-regions, and the chromaticity variance of each sub-region is detected.

[0060] When the chromaticity variance of a sub-region exceeds the preset fluctuation threshold, the local adaptive algorithm is used to update the judgment threshold of the region to T1, where T1 = T0 × (1 + α·σ), α is the adjustment coefficient, and σ is the regional chromaticity standard deviation.

[0061] The local adaptive algorithm also includes:

[0062] When the threshold difference between adjacent sub-regions exceeds the preset tolerance, the boundary transition processing module is activated to generate a gradient band with a width of K pixels between adjacent sub-regions. The transparency of the gradient band is smoothly transitioned according to the function β·arctan(d), where d is the distance to the boundary and β is the transition coefficient.

[0063] The morphological optimization process includes:

[0064] Perform a multi-scale opening operation on the transparency channel matrix, with the structuring element size set being a multi-scale size, such as {3×3, 5×5, 7×7};

[0065] Simultaneously, a matching closing operation is performed on the RGB channels of the original image. The number of operations, n, is determined by the image resolution and satisfies n = [log2(W×H) / 1000], where W and H are the width and height of the image in pixels.

[0066] It also includes edge enhancement processing:

[0067] Extract the Sobel edge feature map of the image after the closing operation;

[0068] The edge feature map is convolved and fused with the alpha channel matrix to generate the corrected alpha channel.

[0069] The process of converting the image to a standard format with a preset color space includes:

[0070] Convert the original RGB image to XYZ space;

[0071] Transformation to LAB space using a nonlinear transformation matrix;

[0072] Perform histogram equalization on the L channel.

[0073] The step of using multi-resolution fusion technology to smooth the edges of the processed image includes:

[0074] Construct an image pyramid consisting of an original resolution layer, a 1 / 2 downsampling layer, and a 1 / 4 downsampling layer;

[0075] Perform edge-preserving filtering at each level;

[0076] Wavelet transform is used for cross-level feature fusion, and the fusion weight is determined by the signal-to-noise ratio of each level.

[0077] It also includes a preprocessing step:

[0078] Detect suspected pattern regions in the image; when the region area is less than a preset threshold, activate the microstructure enhancement module.

[0079] The microstructure enhancement module generates high-resolution texture features through a generative adversarial network and performs alpha mixing with the original image.

[0080] An electronic device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the above-described method for removing the background of printed patterns.

[0081] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method for removing the background of a printed pattern.

[0082] In practice,

[0083] Use the OpenCV library to read the TIFF format image file to be processed.

[0084] The specific steps to convert an image from its original RGB format to a standard format with a preset color space are as follows:

[0085] First, convert the RGB image to the XYZ color space. The conversion formula is as follows:

[0086] X = 0.4124R + 0.3576G + 0.1805B

[0087] Y = 0.2126R + 0.7152G + 0.0722B

[0088] Z = 0.0193R + 0.1192G + 0.9505B

[0089] Then, the XYZ color space is converted to LAB color space using a non-linear transformation matrix, where the L channel represents luminance, and the A and B channels represent the chromaticity components of green-red and blue-yellow, respectively. Histogram equalization is performed on the L channel to enhance the contrast of the image and make the subsequent background removal operation more accurate.

[0090] We statistically analyze the global color gamut distribution of an image in the LAB color space, focusing on the brightness histogram of the L channel.

[0091] Calculate the initial background threshold T giobal The threshold is automatically determined by the Otsu algorithm, which can divide image pixels into two categories: background and foreground, thereby maximizing the variance between the two categories.

[0092] The image is divided into N×N (N is 16 in this embodiment) sub-region grids.

[0093] For each sub-region, calculate its chromaticity variance, which is the average variance of the pixel values ​​in the A and B channels.

[0094] When the chromaticity variance of a sub-region exceeds a preset fluctuation threshold, such as 0.05, a local adaptive algorithm is used to update the judgment threshold T for that region. local The formula is:

[0095] T local =T giobal ×(1+α·δ)

[0096] Where α is the adjustment coefficient (0.8 in this embodiment), and σ is the standard deviation of the chromaticity of the sub-region.

[0097] Iterate through each pixel of the image, separate the LAB color channels, and determine the dynamic threshold T based on the sub-region. local Determine whether each pixel is the background color.

[0098] If a pixel belongs to the background color, the corresponding position in the transparency channel matrix is ​​set to 0 (completely transparent); otherwise, a certain transparency value (between 0 and 255) is set according to the similarity between the pixel and the background color to achieve a smooth transition.

[0099] The generated transparency channel is merged with the original RGB image to form an RGBA format image, completing the initial background removal.

[0100] The corresponding structural element is selected based on the edge gradient features of the image. For example, a circular structural element is used for areas with relatively smooth edges, while a rectangular or cross-shaped structural element is used for areas with rich edge details.

[0101] Multi-scale opening operations are performed on the transparency channel matrix. The set of structuring element sizes is {3×3, 5×5, 7×7}. The opening operation first performs erosion to remove small background noise points, and then performs dilation to restore the continuity of the foreground region. Structuring elements of different sizes are used to process detailed features of different sizes.

[0102] Simultaneously, a matching closing operation is performed on the RGB channels of the original image. The number of operations, n, is determined by the image resolution, satisfying:

[0103]

[0104] Where W and H are the image width and height in pixels, and round means rounding to the nearest integer.

[0105] The closing operation first performs an expansion operation to enhance the connectivity of the foreground region, and then performs an erosion operation to remove any holes that may be generated inside the foreground region, making the foreground region more compact and complete.

[0106] After the closing operation, the Sobel operator is used to extract the edge feature map of the image, calculate the gradients in the horizontal and vertical directions respectively, and then synthesize the edge intensity map.

[0107] The edge feature map is convolved and fused with the alpha channel matrix to generate the corrected alpha channel. A 3×3 Gaussian kernel is used for the convolution to achieve a smooth edge transition while highlighting edge details.

[0108] An image pyramid is constructed, consisting of an original resolution layer, a 1 / 2 downsampling layer, and a 1 / 4 downsampling layer. Edge-preserving filters, such as guided filters, are applied to each layer of the image to smooth the image while preserving edge details.

[0109] Wavelet transform is performed on the processed images at each level to decompose them into low-frequency sub-bands and high-frequency sub-bands. The fusion weight is calculated based on the signal-to-noise ratio of each level, with the level having a higher signal-to-noise ratio and thus a larger weight in the fusion. The low-frequency and high-frequency sub-bands of different levels are weighted and fused, and the final fused image is obtained through inverse wavelet transform, achieving edge smoothing under multiple resolutions and further improving image quality.

[0110] The transparency channel of the output image is inspected for integrity. A connected component analysis method is used to identify possible residual background pixel regions. If residual background pixels are detected, their position and size information are recorded.

[0111] Based on the distribution of residual background pixels, return to the multi-scale background pixel recognition step and fine-tune the dynamic threshold of the corresponding region. For example, for regions with a lot of residual background, appropriately lower the local threshold to more strictly identify background pixels; for foreground detail regions that may be misjudged as background, appropriately increase the threshold to avoid over-removal, and re-execute the background removal and subsequent processing flow until the transparency channel integrity detection is passed.

[0112] The image is divided into multiple sub-blocks of equal size. In this embodiment, the sub-block size is set to 256×256 pixels to balance processing efficiency and memory usage. Using multi-threading technology, a thread is allocated to each sub-block to simultaneously perform the above-mentioned multi-scale background pixel recognition to edge smoothing steps. For computationally intensive operations, such as texture feature generation and wavelet transform of generative adversarial networks (GANs), GPU acceleration technology is used to significantly improve the processing speed through the CUDA parallel computing platform.

[0113] Finally, the processing results of each sub-block are merged to generate a complete background-removed image file for printing. The processed image is then compared with the original image and the results of other background removal methods to observe the preservation of foreground details, edge smoothness, and the thoroughness of background removal.

[0114] Objective metrics such as peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM) of the processed image are calculated and compared with the original image to quantitatively evaluate the degree of image quality preservation. The accuracy and recall of background removal are statistically analyzed. Accuracy reflects the proportion of correctly removed background pixels, and recall reflects the proportion of correctly retained foreground pixels. The overall performance of the method is then evaluated.

[0115] The same or similar labels correspond to the same or similar parts;

[0116] The terms used to describe positional relationships in the accompanying drawings are for illustrative purposes only and should not be construed as limiting this patent.

[0117] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the implementation of the present invention. For those skilled in the art, other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all implementation methods here. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the claims of the present invention.

Claims

1. A method for removing the background of printed patterns for DTG, characterized in that, Includes the following steps: Input the image to be processed and convert it to a standard format with a preset color space; Multi-scale background pixel recognition is performed on the image, the color channels of the image are separated, and each pixel is determined to be the background color based on a dynamic threshold to generate a transparency channel matrix. Based on the edge gradient features of the image, the corresponding structural element is selected, and joint morphological operations are performed on the transparency channel matrix and the original image. Multi-resolution fusion technology is used to smooth the edges of the processed image, and output a printing-specific image file with a transparency channel; The transparency channel of the output image is checked for integrity. If residual background pixels are detected, the process returns to the step of multi-scale background pixel identification of the image, the threshold is readjusted and processed. The image is divided into multiple sub-blocks, and the above-mentioned multi-scale background pixel recognition to edge smoothing steps are performed synchronously on each sub-block using multi-threading or GPU acceleration technology. Finally, the processing results are merged. The dynamic threshold determination specifically includes: Calculate the initial background threshold based on the global color gamut distribution of the image. ; The image is divided into N×N sub-regions, and the chromaticity variance of each sub-region is detected. When the chromaticity variance of a sub-region exceeds a preset fluctuation threshold, a local adaptive algorithm is used to update the judgment threshold for that region. ,in, α is the adjustment coefficient, and σ is the standard deviation of regional chromaticity; Performing morphological optimization processing includes: Perform a multi-scale opening operation on the transparency channel matrix, and the set of structuring element sizes is multi-scale; Simultaneously, a matching closing operation is performed on the RGB channels of the original image. The number of operations, n, is determined by the image resolution, satisfying... , where W and H are the image width and height in pixels.

2. The method for removing the background of a printed pattern according to claim 1, characterized in that, The local adaptive algorithm also includes: When the threshold difference between adjacent sub-regions exceeds the preset tolerance, the boundary transition processing module is activated to generate a gradient band with a width of K pixels between adjacent sub-regions. The transparency of the gradient band is smoothly transitioned according to the function β·arctan(d), where d is the distance to the boundary and β is the transition coefficient.

3. The method for removing the background of a printed pattern according to claim 1, characterized in that, It also includes edge enhancement processing: Extract the Sobel edge feature map of the image after the closing operation; The edge feature map is convolved and fused with the alpha channel matrix to generate the corrected alpha channel.

4. The method for removing the background of a printed pattern according to claim 1, characterized in that, The standard format for converting an image to a preset color space includes: Convert the original RGB image to XYZ space; Transformation to LAB space using a nonlinear transformation matrix; Perform histogram equalization on the L channel.

5. The method for removing the background of a printed pattern according to claim 1, characterized in that, The step of using multi-resolution fusion technology to smooth the edges of the processed image includes: Construct an image pyramid consisting of an original resolution layer, a 1 / 2 downsampling layer, and a 1 / 4 downsampling layer; Perform edge-preserving filtering at each level; Wavelet transform is used for cross-level feature fusion, and the fusion weight is determined by the signal-to-noise ratio of each level.

6. The method for removing the background of a printed pattern according to claim 1, characterized in that, It also includes a preprocessing step: Detect suspected pattern regions in the image; when the region area is less than a preset threshold, activate the microstructure enhancement module. The microstructure enhancement module generates high-resolution texture features through a generative adversarial network and performs alpha mixing with the original image.

7. An electronic device, characterized in that, The method includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the printed pattern background removal method according to any one of claims 1-6.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the printing pattern background removal method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Self-adaptive image segmentation method based on Otsu method and K-means method

    CN111340815A

  • Infrared image enhancement method and system based on hybrid filtering decomposition and image fusion

    CN117830134A