Bohan Huang, Long Xue, Chaoyang Yin, Jing Li, Muhua Liu
{"title":"基于投影变换的球形水果特征区域大小预测方法","authors":"Bohan Huang, Long Xue, Chaoyang Yin, Jing Li, Muhua Liu","doi":"10.1111/jfpe.14730","DOIUrl":null,"url":null,"abstract":"<div>\n \n \n <section>\n \n <p>With the development of machine vision and spectral detection technology, online sorting of fruit internal and external quality has been developed rapidly. However, for spherical fruits, it is difficult to obtain full surface images during sorting, so it is difficult to accurately calculate the size of the surface defects and the ratio of defects to the full surface. In this paper, a full surface line scanning image acquisition device for spherical fruit is proposed. Based on this device, the line scanning hyperspectral image of spherical fruit is collected, and the original image is extracted by feature extraction and background removal. Next, the isometric projection image and the equivalent projection image of the feature image is obtained through cartography projection transformation; The number of feature pixels in the original feature image, the isometric projection image, the equivalent projection image, and the width of the original feature image are used as input parameters to predict the actual defect area with the help of the shallow neural network. In this paper, the equipment and method are verified using three test balls with different diameters and pasting different sizes of identification blocks at different positions on their surfaces. The experimental results show that the prediction accuracy <i>R</i> of the test set of the model is 0.9937, and the <i>RMSE</i> is 0.3391 cm<sup>2</sup>. It can be seen that the method has good prediction accuracy, which can provide a reference for the hyperspectral on-line sorting method of external quality of spherical fruit.</p>\n </section>\n \n <section>\n \n <h3> Practical application</h3>\n \n <p>This method provides an effective solution for the quality sorting production line of spherical fruits. In addition to agricultural product quality testing and food quality testing, similar to the detection of industrial products such as ball balls, the scheme provided in this manuscript can also be used as one of the options.</p>\n \n <p>The method proposed in this manuscript is suitable for all kinds of line scanning equipment, including hyperspectral imager and laser profilometer.</p>\n </section>\n </div>","PeriodicalId":15932,"journal":{"name":"Journal of Food Process Engineering","volume":"47 9","pages":""},"PeriodicalIF":2.7000,"publicationDate":"2024-08-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Feature area size prediction method of spherical fruit based on projection transformation\",\"authors\":\"Bohan Huang, Long Xue, Chaoyang Yin, Jing Li, Muhua Liu\",\"doi\":\"10.1111/jfpe.14730\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div>\\n \\n \\n <section>\\n \\n <p>With the development of machine vision and spectral detection technology, online sorting of fruit internal and external quality has been developed rapidly. However, for spherical fruits, it is difficult to obtain full surface images during sorting, so it is difficult to accurately calculate the size of the surface defects and the ratio of defects to the full surface. In this paper, a full surface line scanning image acquisition device for spherical fruit is proposed. Based on this device, the line scanning hyperspectral image of spherical fruit is collected, and the original image is extracted by feature extraction and background removal. Next, the isometric projection image and the equivalent projection image of the feature image is obtained through cartography projection transformation; The number of feature pixels in the original feature image, the isometric projection image, the equivalent projection image, and the width of the original feature image are used as input parameters to predict the actual defect area with the help of the shallow neural network. In this paper, the equipment and method are verified using three test balls with different diameters and pasting different sizes of identification blocks at different positions on their surfaces. The experimental results show that the prediction accuracy <i>R</i> of the test set of the model is 0.9937, and the <i>RMSE</i> is 0.3391 cm<sup>2</sup>. It can be seen that the method has good prediction accuracy, which can provide a reference for the hyperspectral on-line sorting method of external quality of spherical fruit.</p>\\n </section>\\n \\n <section>\\n \\n <h3> Practical application</h3>\\n \\n <p>This method provides an effective solution for the quality sorting production line of spherical fruits. In addition to agricultural product quality testing and food quality testing, similar to the detection of industrial products such as ball balls, the scheme provided in this manuscript can also be used as one of the options.</p>\\n \\n <p>The method proposed in this manuscript is suitable for all kinds of line scanning equipment, including hyperspectral imager and laser profilometer.</p>\\n </section>\\n </div>\",\"PeriodicalId\":15932,\"journal\":{\"name\":\"Journal of Food Process Engineering\",\"volume\":\"47 9\",\"pages\":\"\"},\"PeriodicalIF\":2.7000,\"publicationDate\":\"2024-08-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Food Process Engineering\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1111/jfpe.14730\",\"RegionNum\":3,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"ENGINEERING, CHEMICAL\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Process Engineering","FirstCategoryId":"97","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1111/jfpe.14730","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ENGINEERING, CHEMICAL","Score":null,"Total":0}
引用次数: 0
摘要
随着机器视觉和光谱检测技术的发展,水果内外部质量的在线分拣技术得到了快速发展。然而,对于球形水果,在分拣过程中很难获得全表面图像,因此很难准确计算表面缺陷的大小和缺陷与全表面的比例。本文提出了一种球形水果全表面线扫描图像采集装置。基于该设备采集球形水果的线扫描高光谱图像,并通过特征提取和背景去除提取原始图像。然后,通过制图投影变换得到特征图像的等距投影图像和等效投影图像;以原始特征图像、等距投影图像、等效投影图像中的特征像素数和原始特征图像的宽度为输入参数,借助浅层神经网络预测实际缺陷区域。本文使用三个不同直径的测试球,并在其表面不同位置粘贴不同大小的识别块,对设备和方法进行了验证。实验结果表明,模型测试集的预测精度 R 为 0.9937,RMSE 为 0.3391 cm2。可见,该方法具有较好的预测精度,可为球形水果外部质量的高光谱在线分选方法提供参考。 实际应用 该方法为球形水果的质量分选生产线提供了有效的解决方案。除农产品质量检测和食品质量检测外,类似于球类等工业产品的检测,本手稿提供的方案也可作为备选方案之一。 本手稿提出的方法适用于各种线扫描设备,包括高光谱成像仪和激光轮廓仪。
Feature area size prediction method of spherical fruit based on projection transformation
With the development of machine vision and spectral detection technology, online sorting of fruit internal and external quality has been developed rapidly. However, for spherical fruits, it is difficult to obtain full surface images during sorting, so it is difficult to accurately calculate the size of the surface defects and the ratio of defects to the full surface. In this paper, a full surface line scanning image acquisition device for spherical fruit is proposed. Based on this device, the line scanning hyperspectral image of spherical fruit is collected, and the original image is extracted by feature extraction and background removal. Next, the isometric projection image and the equivalent projection image of the feature image is obtained through cartography projection transformation; The number of feature pixels in the original feature image, the isometric projection image, the equivalent projection image, and the width of the original feature image are used as input parameters to predict the actual defect area with the help of the shallow neural network. In this paper, the equipment and method are verified using three test balls with different diameters and pasting different sizes of identification blocks at different positions on their surfaces. The experimental results show that the prediction accuracy R of the test set of the model is 0.9937, and the RMSE is 0.3391 cm2. It can be seen that the method has good prediction accuracy, which can provide a reference for the hyperspectral on-line sorting method of external quality of spherical fruit.
Practical application
This method provides an effective solution for the quality sorting production line of spherical fruits. In addition to agricultural product quality testing and food quality testing, similar to the detection of industrial products such as ball balls, the scheme provided in this manuscript can also be used as one of the options.
The method proposed in this manuscript is suitable for all kinds of line scanning equipment, including hyperspectral imager and laser profilometer.
期刊介绍:
This international research journal focuses on the engineering aspects of post-production handling, storage, processing, packaging, and distribution of food. Read by researchers, food and chemical engineers, and industry experts, this is the only international journal specifically devoted to the engineering aspects of food processing. Co-Editors M. Elena Castell-Perez and Rosana Moreira, both of Texas A&M University, welcome papers covering the best original research on applications of engineering principles and concepts to food and food processes.