基于多头注意力机制的非规则形状鱼片部位分割方法研究
Research on a Part Segmentation Method for Irregularly Shaped Fish Fillets Based on a Multi-Head Attention Mechanism
DOI: 10.12677/sea.2026.155063, PDF,    科研立项经费支持
作者: 赵源善:大连工业大学机械工程及自动化学院,辽宁 大连
关键词: 非规则鱼片;部位分割;PointNet++;多头注意力;深度学习;Irregularly Shaped Fish Fillet; Part Segmentation; PointNet++; Multi-Head Attention; Deep Learning
摘要: 针对非规则形状鱼片不同部位边界特征不明显、自动分割精度不足的问题,以线激光扫描获得的200个三文鱼片点云为研究对象,根据鱼体形态特征将其划分为上鱼背、鱼腹、鱼腩、后段和尾部五个区域,并建立相应的部位分割数据集。在PointNet++第一层集合抽象模块中引入多头注意力机制,强化局部点云特征及不同部位之间的特征联系,构建Multi-PointNet++分割模型。以PointNet++和PointCNN为对比模型开展试验,结果表明,Multi-PointNet++的平均交并比和总体精度分别达到0.822和0.911,较PointNet++分别提高0.042和0.024,较PointCNN分别提高0.029和0.019,其中边界较复杂的后段区域交并比由0.588提高至0.681。该方法能够减少鱼片部位交界区域的误分类,为高价值鱼类的精细化分割提供参考。
Abstract: To address the difficulties in automatically and accurately separating irregularly shaped fish fillets with indistinct boundaries between different parts, a fish fillet part segmentation method based on a multi-head attention-enhanced PointNet++ is proposed. Salmon fillets were scanned using a line laser to obtain surface point clouds. According to their morphological characteristics, each fillet was divided into five regions: upper dorsal, abdominal, belly, posterior, and tail regions. A dataset containing 200 annotated fish fillet point-cloud samples was established. A multi-head attention mechanism was incorporated into the first set abstraction layer of PointNet++ to improve the extraction of local features and correlations among different parts. The Multi-PointNet++ segmentation model was then constructed. Experimental results showed that the proposed model achieved a mean intersection over union (mIoU) of 0.822 and an overall accuracy (OA) of 0.911, representing improvements of 0.042 and 0.024 over the original PointNet++, and improvements of 0.029 and 0.019 over PointCNN, respectively; the IoU of the posterior region, where the boundary was more complex, increased from 0.588 to 0.681. The proposed method effectively reduces misclassification near the boundaries of adjacent parts and provides a technical reference for the fine-grained segmentation of high-value fish.
文章引用:赵源善. 基于多头注意力机制的非规则形状鱼片部位分割方法研究[J]. 软件工程与应用, 2026, 15(5): 678-687. https://doi.org/10.12677/sea.2026.155063

参考文献

[1] Zion, B. (2012) The Use of Computer Vision Technologies in Aquaculture—A Review. Computers and Electronics in Agriculture, 88, 125-132. https//doi.org/10.1016/j.compag.2012.07.010
[2] Saberioon, M., Gholizadeh, A., Cisar, P., Pautsina, A. and Urban, J. (2017) Application of Machine Vision Systems in Aquaculture with Emphasis on Fish: State‐of‐the‐Art and Key Issues. Reviews in Aquaculture, 9, 369-387.
https://doi.org/10.1111/raq.12143
[3] 刘斌, 王凯歌, 李晓蒙, 等. 基于语义部位分割的条纹斑竹鲨鱼体运动姿态解析[J]. 农业工程学报, 2021, 37(3): 179-187.
[4] Feng, G., Wang, H., Chen, M. and Liu, Z. (2023) Accurate Segmentation of Tilapia Fish Body Parts Based on Deeplabv3+ for Advancing Phenotyping Applications. Applied Sciences, 13, Article 9635.
https://doi.org/10.3390/app13179635
[5] Chen, L., Zhu, Y., Papandreou, G., Schroff, F. and Adam, H. (2018) Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation. In: Ferrari, V., Hebert, M., Sminchisescu, C. and Weiss, Y., Eds., Lecture Notes in Computer Science, Springer International Publishing, 833-851.
https://doi.org/10.1007/978-3-030-01234-2_49
[6] Geng, J. (2011) Structured-Light 3D Surface Imaging: A Tutorial. Advances in Optics and Photonics, 3, 128-160.
https://doi.org/10.1364/aop.3.000128
[7] Guo, Y., Wang, H., Hu, Q., Liu, H., Liu, L. and Bennamoun, M. (2021) Deep Learning for 3D Point Clouds: A Survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 43, 4338-4364.
https://doi.org/10.1109/tpami.2020.3005434
[8] Qi, C.R., Su, H., Mo, K., et al. (2017) PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, 21-26 July 2017, 652-660.
[9] Zhang, X., Gong, Z., Liang, X., Sun, W., Ma, J. and Wang, H. (2023) Line Laser Scanning Combined with Machine Learning for Fish Head Cutting Position Identification. Foods, 12, Article 4518.
https://doi.org/10.3390/foods12244518
[10] Li, Y., Bu, R., Sun, M., et al. (2018) PointCNN: Convolution on X-Transformed Points. Advances in Neural Information Processing Systems, 31, 820-830.
[11] Zhao, H., Jiang, L., Fu, C. and Jia, J. (2019) PointWeb: Enhancing Local Neighborhood Features for Point Cloud Processing. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, 15-20 June 2019, 5565-5573.
https://doi.org/10.1109/cvpr.2019.00571
[12] Wu, W., Qi, Z. and Fuxin, L. (2019) PointConv: Deep Convolutional Networks on 3D Point Clouds. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, 15-20 June 2019, 9621-9630.
https://doi.org/10.1109/cvpr.2019.00985
[13] Thomas, H., Qi, C.R., Deschaud, J., Marcotegui, B., Goulette, F. and Guibas, L. (2019) KPConv: Flexible and Deformable Convolution for Point Clouds. 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, 27 October 2019-2 November 2019, 6411-6420.
https://doi.org/10.1109/iccv.2019.00651
[14] Qi, C.R., Yi, L., Su, H., et al. (2017) PointNet++: Deep Hierarchical Feature Learning on Point Sets in a Metric Space. Advances in Neural Information Processing Systems, 30, 5099-5108.
[15] Rusu, R.B. and Cousins, S. (2011) 3D Is Here: Point Cloud Library (PCL). 2011 IEEE International Conference on Robotics and Automation, Shanghai, 9-13 May 2011, 1-4.
https://doi.org/10.1109/icra.2011.5980567
[16] Li, R., Li, X., Heng, P. and Fu, C. (2020) Pointaugment: An Auto-Augmentation Framework for Point Cloud Classification. 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, 13-19 June 2020, 6378-6387.
https://doi.org/10.1109/cvpr42600.2020.00641
[17] Vaswani, A., Shazeer, N., Parmar, N., et al. (2017) Attention Is All You Need. Advances in Neural Information Processing Systems, 30, 5998-6008.
[18] Guo, M., Cai, J., Liu, Z., Mu, T., Martin, R.R. and Hu, S. (2021) PCT: Point Cloud Transformer. Computational Visual Media, 7, 187-199.
https://doi.org/10.1007/s41095-021-0229-5
[19] Zhao, H., Jiang, L., Jia, J., Torr, P. and Koltun, V. (2021) Point Transformer. 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, 10-17 October 2021, 16259-16268.
https://doi.org/10.1109/iccv48922.2021.01595