Reconstructing hyperspectral images of textiles from a single RGB image utilizing the multihead self-attention mechanism

IF 1.6 4区 工程技术 Q2 MATERIALS SCIENCE, TEXTILES
Jianxin Zhang, Jin Ma, Miao Qian, Ming Wang
{"title":"Reconstructing hyperspectral images of textiles from a single RGB image utilizing the multihead self-attention mechanism","authors":"Jianxin Zhang, Jin Ma, Miao Qian, Ming Wang","doi":"10.1177/00405175241268790","DOIUrl":null,"url":null,"abstract":"Hyperspectral images possess abundant information and play a pivotal role in enhancing the accuracy of color difference detection in textiles. However, traditional hyperspectral imaging methods necessitate costly equipment and intricate operational procedures. A novel deep learning model based on a multihead attention mechanism was proposed in this article to facilitate the extensive application of hyperspectral imaging technology in textile quality inspection. This model enabled the reconstruction of the hyperspectral information of plain weave textiles from a single RGB image. In this model, encoder-decoder architecture and pyramid pooling convolutional operations were employed to integrate multiscale features of plain weave cotton-linen textiles. This could capture details and contextual information in textile images more precisely, enhancing the accuracy of hyperspectral image reconstruction. Simultaneously, an attention mechanism was introduced to increase the model’s receptive field and improve its focus on key regions in the input image and feature maps. This resulted in a reduced weighting of redundant information during network learning, leading to an improved feature extraction capability of the network. Through these methods, successful reconstructions of plain weave textiles hyperspectral information from a single RGB image was achieved. Quantitative and qualitative tests were conducted on two datasets, namely, the NTIRE 2020 dataset and a self-made textile dataset, to evaluate the performance of the proposed method. The approach proposed in this article exhibited promising results on both datasets. Specifically, the reconstructed textile hyperspectral images achieved a root mean square error of 0.0344, a peak signal-to-noise ratio of 29.945, a spectral angle mapper of 3.753, and a structural similarity index measure of 0.955 on the textile dataset. In the reconstructed hyperspectral colorimetric experiment, the maximum value of average color difference was 2.641. These results demonstrate that the method can meet the requirements for textile color measurement applications.","PeriodicalId":22323,"journal":{"name":"Textile Research Journal","volume":"14 1","pages":""},"PeriodicalIF":1.6000,"publicationDate":"2024-09-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Textile Research Journal","FirstCategoryId":"88","ListUrlMain":"https://doi.org/10.1177/00405175241268790","RegionNum":4,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MATERIALS SCIENCE, TEXTILES","Score":null,"Total":0}
引用次数: 0

Abstract

Hyperspectral images possess abundant information and play a pivotal role in enhancing the accuracy of color difference detection in textiles. However, traditional hyperspectral imaging methods necessitate costly equipment and intricate operational procedures. A novel deep learning model based on a multihead attention mechanism was proposed in this article to facilitate the extensive application of hyperspectral imaging technology in textile quality inspection. This model enabled the reconstruction of the hyperspectral information of plain weave textiles from a single RGB image. In this model, encoder-decoder architecture and pyramid pooling convolutional operations were employed to integrate multiscale features of plain weave cotton-linen textiles. This could capture details and contextual information in textile images more precisely, enhancing the accuracy of hyperspectral image reconstruction. Simultaneously, an attention mechanism was introduced to increase the model’s receptive field and improve its focus on key regions in the input image and feature maps. This resulted in a reduced weighting of redundant information during network learning, leading to an improved feature extraction capability of the network. Through these methods, successful reconstructions of plain weave textiles hyperspectral information from a single RGB image was achieved. Quantitative and qualitative tests were conducted on two datasets, namely, the NTIRE 2020 dataset and a self-made textile dataset, to evaluate the performance of the proposed method. The approach proposed in this article exhibited promising results on both datasets. Specifically, the reconstructed textile hyperspectral images achieved a root mean square error of 0.0344, a peak signal-to-noise ratio of 29.945, a spectral angle mapper of 3.753, and a structural similarity index measure of 0.955 on the textile dataset. In the reconstructed hyperspectral colorimetric experiment, the maximum value of average color difference was 2.641. These results demonstrate that the method can meet the requirements for textile color measurement applications.
利用多云台自保持机制,从单幅 RGB 图像中重建纺织品的高光谱图像
高光谱图像拥有丰富的信息,在提高纺织品色差检测的准确性方面发挥着举足轻重的作用。然而,传统的高光谱成像方法需要昂贵的设备和复杂的操作程序。本文提出了一种基于多头关注机制的新型深度学习模型,以促进高光谱成像技术在纺织品质量检测中的广泛应用。该模型能够从单一的 RGB 图像中重建平纹纺织品的高光谱信息。在该模型中,编码器-解码器架构和金字塔池化卷积运算被用来整合平纹棉麻纺织品的多尺度特征。这可以更精确地捕捉纺织品图像中的细节和上下文信息,提高高光谱图像重建的准确性。与此同时,还引入了注意力机制,以增加模型的感受野,提高其对输入图像和特征图中关键区域的关注度。这就降低了网络学习过程中冗余信息的权重,从而提高了网络的特征提取能力。通过这些方法,成功地从单幅 RGB 图像中重建了平纹纺织品的高光谱信息。在两个数据集(即 NTIRE 2020 数据集和自制纺织品数据集)上进行了定量和定性测试,以评估所提出方法的性能。本文提出的方法在这两个数据集上都取得了令人满意的结果。具体而言,重建的纺织品高光谱图像在纺织品数据集上的均方根误差为 0.0344,峰值信噪比为 29.945,光谱角度映射为 3.753,结构相似性指数为 0.955。在重建的高光谱测色实验中,平均色差的最大值为 2.641。这些结果表明,该方法可以满足纺织品颜色测量应用的要求。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Textile Research Journal
Textile Research Journal 工程技术-材料科学:纺织
CiteScore
4.00
自引率
21.70%
发文量
309
审稿时长
1.5 months
期刊介绍: The Textile Research Journal is the leading peer reviewed Journal for textile research. It is devoted to the dissemination of fundamental, theoretical and applied scientific knowledge in materials, chemistry, manufacture and system sciences related to fibers, fibrous assemblies and textiles. The Journal serves authors and subscribers worldwide, and it is selective in accepting contributions on the basis of merit, novelty and originality.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信