Defect detection method for printed labels based on adaptive dynamic thresholding

In defect detection for color printed labels, traditional fixed-threshold methods are prone to false alarms and missed detections under illumination variation and complex textures, owing to mechanical vibration, positional offsets, uneven illumination, and local brightness fluctuations. To address this problem, this paper proposes a printed label defect detection method based on adaptive dynamic thresholding. First, a local adaptive dynamic threshold calculation mechanism is constructed from local gray-level differences, structural similarity, and frequency-domain differences, enabling the decision threshold to adapt to local image responses. This suppresses pseudo-anomalous responses in regions with brightness fluctuations or complex textures while enhancing sensitivity to local abnormal variations. Second, a detection model is constructed on the basis of a dual-difference template set consisting of bright and dark templates, and the proposed adaptive dynamic thresholding mechanism is incorporated into this model, enabling adaptive defect discrimination according to local image characteristics. Finally, the dynamic threshold and a static threshold are jointly used for anomalous-pixel discrimination, thereby achieving defect segmentation and localization. Experimental results on 1672 test images from five layout types show that the proposed method achieves an image-level detection accuracy above 99% and a pixel-level mean intersection over union (mIoU) of 46.89%, demonstrating improved accuracy and robustness of printed label defect detection.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-11-23
DOI
https://doi.org/10.1038/s41598-026-81368-2
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Defect detection method for printed labels based on adaptive dynamic thresholding

Jiale Song, Songxiao Cao, Tao Song, Zhipeng Xu et al.
Scientific Reports
Industrial Vision Systems and Defect Detection
article

Defect detection method for printed labels based on adaptive dynamic thresholding

Jiale Song, Songxiao Cao, Tao Song, Zhipeng Xu, Linfeng Zhou, Bin Zhou, Xiaoyuan Mao
article en

Abstract

In defect detection for color printed labels, traditional fixed-threshold methods are prone to false alarms and missed detections under illumination variation and complex textures, owing to mechanical vibration, positional offsets, uneven illumination, and local brightness fluctuations. To address this problem, this paper proposes a printed label defect detection method based on adaptive dynamic thresholding. First, a local adaptive dynamic threshold calculation mechanism is constructed from local gray-level differences, structural similarity, and frequency-domain differences, enabling the decision threshold to adapt to local image responses. This suppresses pseudo-anomalous responses in regions with brightness fluctuations or complex textures while enhancing sensitivity to local abnormal variations. Second, a detection model is constructed on the basis of a dual-difference template set consisting of bright and dark templates, and the proposed adaptive dynamic thresholding mechanism is incorporated into this model, enabling adaptive defect discrimination according to local image characteristics. Finally, the dynamic threshold and a static threshold are jointly used for anomalous-pixel discrimination, thereby achieving defect segmentation and localization. Experimental results on 1672 test images from five layout types show that the proposed method achieves an image-level detection accuracy above 99% and a pixel-level mean intersection over union (mIoU) of 46.89%, demonstrating improved accuracy and robustness of printed label defect detection.

Scientific Reports
Shaoxing University (CN), China Jiliang University (CN)
Natural Science Foundation of Zhejiang Province
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon