首页 | 本学科首页   官方微博 | 高级检索  
     

农田环境下无人机图像并行拼接识别算法
引用本文:许鑫,张力,岳继博,钟鹤鸣,王颖,刘杰,乔红波. 农田环境下无人机图像并行拼接识别算法[J]. 农业工程学报, 2024, 40(9): 154-163
作者姓名:许鑫  张力  岳继博  钟鹤鸣  王颖  刘杰  乔红波
作者单位:河南农业大学信息与管理科学学院,郑州 450002;全国农业推广技术服务中心,北京 100125
基金项目:国家重点研发计划项目(2022YFD1400302); 国家自然科学基金项目(U2003119)
摘    要:为改善在农田环境下无人机图像计算速度和效率,该研究提出了一种农田环境下无人机图像并行拼接识别算法。利用倒二叉树并行拼接识别算法,通过提取图像拼接中的变换矩阵,实现拼接识别同时进行。根据边缘设备的CPU核心数和图像数量自动将图像拼接识别任务划分为多个子进程,并分配到不同核心上执行,以提高在农田环境下的计算效率。试验结果表明:相同试验环境和数据集条件下,倒二叉树并行拼接算法的拼接耗时相较于商业软件平均减少了60%~90%左右;在农田环境下,倒二叉树并行拼接识别相较于串行拼接识别的耗时减少了70%,图像识别的平均像素交并比提升了10.17个百分点,说明在农田环境下采用多线程倒二叉树并行算法可以更好地利用农田环境下边缘设备的计算资源,大幅提升无人机图像的拼接和识别的速度,为无人机的快速实时监测提供技术支撑。

关 键 词:无人机  遥感  图像处理  全景拼接  多核CPU  多进程
收稿时间:2023-08-25
修稿时间:2024-04-09

Parallel mosaic recognition algorithm for UAV images in farmland environment
XU Xin,ZHANG Li,YUE Jibo,ZHONG Heming,WANG Ying,LIU Jie,QIAO Hongbo. Parallel mosaic recognition algorithm for UAV images in farmland environment[J]. Transactions of the Chinese Society of Agricultural Engineering, 2024, 40(9): 154-163
Authors:XU Xin  ZHANG Li  YUE Jibo  ZHONG Heming  WANG Ying  LIU Jie  QIAO Hongbo
Affiliation:College of Information and Management Science, Henan Agricultural University, Zhengzhou 450002, China;National Technical Service Center for Agricultural Extension, Beijing 100125, China
Abstract:Unmanned aerial vehicle (UAV) remote sensing is widely used in land cover classification, but at present, object recognition of UAV images in farmland environment is cumbersome, requiring manual image stitching to preprocess the image, and finally training the model for recognition. In order to improve the computing speed and efficiency of UAV images in farmland environment, this paper proposes a parallel Mosaic recognition algorithm for UAV images in farmland environment. Firstly, based on SURF algorithm, KNN algorithm and RANSAC algorithm, the panoramic image Mosaic of UAV based on image transformation is realized. Then the inverted binary tree parallel processing algorithm is proposed. The parallel processing algorithm is planned by the idea of divide and conquer, and the image Mosaic recognition task is automatically divided into multiple sub-processes according to the number of CPU cores of the edge device and the number of images. And they are distributed to different computing cores to execute, and to improve the computing efficiency in the field environment. Finally, by extracting the transformation matrix in image Mosaic, the recognition was realized at the same time in the process of image Mosaic, and the recognition results were also spliced by using the transformation matrix. The parallel splicing recognition algorithm greatly improves the efficiency of UAV image splicing recognition, which is of great significance to realize real-time monitoring of UAV images. The experimental data were taken in the Science and Education Park of Henan Agricultural University and the Pest Field Observation Station base of the Ministry of Agriculture and Rural Affairs in Korle, Yuanyang County, Henan Province. In order to increase the diversity of data, Phantom4RTK and Mavic3E were used to avoid the influence of different Uavs on the Mosaic effect. The collected images are RGB three-band images, and the shooting height is about 20-100 m. The resolution of the Sprite 4RTK camera is 5472×3648 pixel, and the resolution of the Imperial 3E camera is 5 280×3 956. The CPU model of the equipment selected for the experiment is i7-11700, the frequency is 2.50 GHz, there are 8 cores and 16 logical processors, and the memory is 64GB. The graphics card of the model training device is NVIDIA A100-PCIE, the neural network is U-Net, and the development framework is Pytorch. The training epoch is 300 rounds, and the backbone network is frozen for training in the first 50 rounds to avoid too much data noise. The batch size (batch_size) is set to 16 and the loss function is the cross entropy loss (CE). Model training significantly reduces the loss value after the start of training and converges at 150 rounds and becomes stable at 200 rounds. The final mIoU of the model training was 89.01%. We use the reverse binary tree parallel stitching algorithm and other stitching algorithms for comparative experiments. The experimental results show that under the same experimental environment and data set, using the inverted binary tree parallel stitching scheme, the stitching time is reduced by about 60%-90% on average compared with commercial software. We test the inverted binary tree parallel splicing recognition algorithm in a farmland environment, and deploy the initially trained model to the device. The experimental results show that compared with the serial Mosaic recognition, the parallel Mosaic recognition of inverted binary tree not only reduces the time consumption by 70%, but also improves the mIoU of image recognition by 10.17%. It shows that in the farmland environment, the multi-threaded inverted binary tree parallel scheme can make better use of the computing resources of edge devices in the farmland environment, greatly improve the speed of UAV image stitching and recognition, and provide technical support for rapid real-time monitoring of UAV.
Keywords:unmanned aerial vehicle  remote sensing  image processing  panoramic stitching  multi-core CPU  multiple processes
点击此处可从《农业工程学报》浏览原始摘要信息
点击此处可从《农业工程学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号