南京大学学报(自然科学版) ›› 2023, Vol. 59 ›› Issue (3): 398412.doi: 10.13232/j.cnki.jnju.2023.03.004
Hao Qu1, Lan Di1(), Jiuzhen Liang2, Hao Liu2
摘要:
针对织物瑕疵检测中复杂纹理区域误判和边缘检测模糊问题,提出一种双端输入型网络架构WNet,使用两个骨干分支分别提取多尺度局部和全局特征,依靠自注意力机制的全局建模能力,在卷积深层网络中补充全局信息,减少深层网络中纹理特征的冗余.为了减少深层网络中局部细节信息的丢失,提出一种轻量级双分支池化金字塔,将浅层多尺度细节特征引入深层模块.搭建多尺度嵌套双分支模块,将各级尺度下不同感受野的特征信息进行融合,该模块更加关注瑕疵特征,可以生成较精确的预测图.实验证明,提出的方法在ZJU?Leaper的四个数据集上的综合评价指标较优,尤其是fmeasure、阳性预测率和阴性预测率较高.
中图分类号:
1 | 马明寅,狄岚,梁久祯. 基于图像校正和模板分割的纺织品瑕疵检测. 南京大学学报(自然科学),2021,57(1):29-41. |
Ma M Y, Di L, Liang J Z. Fabric defect detection based on image correction and template segmentation. Journal of Nanjing University (Natural Science),2021,57(1):29-41. | |
2 | 纪旋,梁久祯,侯振杰,等. 基于模板校正与低秩分解的纺织品瑕疵检测方法. 模式识别与人工智能,2019,32(3):268-277. |
Ji X, Liang J Z, Hou Z J,et al. Fabric defect detection based on template correction and low?rank decomposition. Pattern Recognition and Artificial Intelligence,2019,32(3):268-277. | |
3 | Shi B S, Liang J Z, Di L,et al. Fabric defect detection via low?rank decomposition with gradient information and structured graph algorithm. Information Sciences,2021(546):608-626. |
4 | 刘威,常兴治,梁久祯,等. 基于局部最优分析的纺织品瑕疵检测方法. 模式识别与人工智能,2018,31(2):182-189. |
Liu W, Chang X Z, Liang J Z,et al. Fabric defect detection based on local optimum analysis. Pattern Recognition and Artificial Intelligence,2018,31(2):182-189. | |
5 | 龙涵彬,狄岚,梁久祯. 基于畸变校正与视觉显著特征的纺织品瑕疵检测. 模式识别与人工智能,2020,33(12):1122-1134. |
Long H B, Di L, Liang J Z. Fabric defect detection based on distortion correction and visual salient features. Pattern Recognition and Artificial Intelligence,2020,33(12):1122-1134. | |
6 | Liu J H, Wang C Y, Su H,et al. Multistage GAN for fabric defect detection. IEEE Transactions on Image Processing,2020(29):3388-3400. |
7 | Chen M Q, Yu L J, Zhi C,et al. Improved faster R?CNN for fabric defect detection based on Gabor filter with Genetic Algorithm optimization. Computers in Industry,2022(134):103551. |
8 | Jing J F, Wang Z, R?tsch M,et al. Mobile?unet:An efficient convolutional neural network for fabric defect detection. Textile Research Journal,2022,92(1-2):30-42. |
9 | Srivastava N, Hinton G, Krizhevsky A,et al. Dropout:A simple way to prevent neural networks from overfitting. The Journal of Machine Learning Research,2014,15(1):1929-1958. |
10 | He K M, Zhang X Y, Ren S Q,et al. Deep residual learning for image recognition∥Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Las Vegas,NV,USA:IEEE,2016:770-778. |
11 | Huang G, Liu Z, Van Der Maaten L,et al. Densely connected convolutional networks∥Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Honolulu,HI,USA:IEEE,2017:2261-2269. |
12 | Long J, Shelhamer E, Darrell T. Fully convolutional networks for semantic segmentation∥Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Boston,MA,USA:IEEE,2015:3431-3440. |
13 | Chen L C, Papandreou G, Kokkinos I,et al. DeepLab:Semantic image segmentation with deep convolutional nets,atrous convolution,and fully connected CRFs. IEEE Transactions on Pattern Analysis and Machine Intelligence,2018,40(4):834-848. |
14 | Chen L C, Zhu Y K, Papandreou G,et al. Encoder?decoder with atrous separable convolution for semantic image segmentation∥European Conference on Computer Vision. Springer Berlin Heidelberg,2018:833-851. |
15 | Vaswani A, Shazeer N, Parmar N,et al. Attention is all you need∥Proceedings of the 31st International Conference on Neural Information Processing Systems. Long Beach,CA,USA:ACM,2017:6000-6010. |
16 | Dosovitskiy A, Beyer L, Kolesnikov A,et al. An image is worth 16×16 words:Transformers for image recognition at scale∥The 9th International Conference on Learning Representations. Vienna,Austria:ICLR,2021:435-457. |
17 | Liu Z, Lin Y T, Cao Y,et al. Swin transformer:Hierarchical vision transformer using shifted windows∥2021 IEEE/CVF International Conference on Computer Vision. Montreal,Canada:IEEE,2021:9992-10002. |
18 | Tian X, Xu K, Yang X,et al. Bi?directional object?context prioritization learning for saliency ranking∥Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. New Orleans,LA,USA:IEEE,2022:5872-5881. |
19 | Lin T Y, Dollár P, Girshick R,et al. Feature pyramid networks for object detection∥Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Honolulu,HI,USA:IEEE,2017:936-944. |
20 | Hou Q B, Cheng M M, Hu X W,et al. Deeply supervised salient object detection with short connections∥Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Honolulu,HI,USA:IEEE,2017:5300-5309. |
21 | Zhao H S, Shi J P, Qi X J,et al. Pyramid scene parsing network∥Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Honolulu,HI,USA:IEEE,2017:6230-6239. |
22 | Lin T Y, Goyal P, Girshick R,et al. Focal loss for dense object detection∥Proceedings of the IEEE International Conference on Computer Vision. Venice,Italy:IEEE,2017:2999-3007. |
23 | Chen Z X, Zhou H J, Lai J H,et al. Contour?aware loss:Boundary?aware learning for salient object segmentation. IEEE Transactions on Image Processing,2021(30):431-443. |
24 | Wei J, Wang S H, Huang Q M. F3Net:Fusion,feedback and focus for salient object detection∥Proceedings of the AAAI Conference on Artificial Intelligence. Palo Alto,CA,USA:AAAI,2020:12321-12328. |
25 | Ke Y Y, Takahiro T. Recursive contour?saliency blending network for accurate salient object detection∥Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision. Waikoloa,HI,USA:IEEE,2022:1360-1370. |
26 | Tu W C, Liu M Y, Jampani V,et al. Learning superpixels with segmentation?aware affinity loss∥Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Salt Lake City,UT,USA:IEEE,2018:568-576. |
27 | Jiang W Q, Wu Y N, Qiao F S,et al. Model level ensemble for facial action unit recognition at the 3rd ABAW challenge∥Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. New Orleans,LA,USA:IEEE,2022:2336-2343. |
28 | Xie S N, Tu Z W. Holistically?nested edge detection∥2015 IEEE International Conference on Computer Vision. Santiago,Chile:IEEE,2015:1359-1403. |
29 | Qin X B, Zhang Z C, Huang C Y,et al. U2?Net:Going deeper with nested U?structure for salient object detection. Pattern Recognition,2020(106):107404. |
30 | Zhang C K, Feng S Z, Wang X L Q,et al. ZJU?Leaper:A benchmark dataset for fabric defect detection and a comparative study. IEEE Transactions on Artificial Intelligence,2020,1(3):219-232. |
31 | Achanta R, Hemami S, Estrada F,et al. Frequency?tuned salient region detection∥Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. Miami,FL,USA:IEEE,2009:1597-1604. |
32 | Liu N, Han J W, Yang M S. PiCANet:Learning pixel?wise contextual attention for saliency detection∥Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. Salt Lake City,UT,USA:IEEE,2018:3089-3098. |
33 | Chen Z Y, Xu Q Q, Cong R M,et al. Global context?aware progressive aggregation network for salient object detection∥Proceedings of the AAAI Conference on Artificial Intelligence. Palo Alto,CA,USA:AAAI,2020:10599-10606. |
34 | Yu S Y, Zhang B F, Xiao J M,et al. Structure?consistent weakly supervised salient object detection with local saliency coherence∥Proceedings of the AAAI Conference on Artificial Intelligence. Palo Alto,CA,USA:AAAI,2021:3234-3242. |
35 | Hussain T, Anwar S, Ullah A,et al. Densely deformable efficient salient object detection network. 2021,arXiv:. |
[1] | 苏雅茜, 崔超然, 曲浩. 基于自注意力移动平均线的时间序列预测[J]. 南京大学学报(自然科学版), 2022, 58(4): 649-657. |
[2] | 顾健伟, 曾 诚, 邹恩岑, 陈 扬, 沈 艺, 陆 悠, 奚雪峰. 基于双向注意力流和自注意力结合的机器阅读理解[J]. 南京大学学报(自然科学版), 2019, 55(1): 125-132. |
|