Apple Tree Distance and Volume Measurement Using LiDAR and RGB-D Imaging
Md Rejaul Karim, Md Nasim Reza, Arnab Majumder, Dae-Hyun Lee, Sun-Ok ChungLiDAR (Light Detection and Ranging) and RGB-D camera imaging have emerged as essential tools in agricultural applications, particularly for plant size and distance measurements, enabling non-destructive, cost-effective, and precise estimation. The objective of this study was to measure the plant canopy dimensions and distance between apples using commercial LiDAR, and an RGB-D camera with a speed sprayer platform was used to determine whether LiDAR provides a higher measurement accuracy under field conditions. Data were collected in an apple orchard in Muju, Republic of Korea. Commercial 3D LiDAR, a terminal box, an RGB-D camera, a microcontroller, a power supply, and individual display monitors were integrated into a customized data acquisition (DAQ) box for LiDAR point cloud (PCD), RGB, and depth imagery data collection. Commercial software was used for data acquisition, data conversion (pcap to PCD), segmentation of regions of interest (ROI), and pre-processing of data. PCD processing and measurement consisted of data frame selection, data conversion, outlier removal, downsampling, denoising, ground point removal by filtering, voxelization, and density map generation using an open access programming language script. Depth image processing included importing raw data, shaping metadata using intrinsic camera parameters, visualizing depth images, extracting depth points, and measuring the plant canopy at the pixel level. RGB image analysis involved grayscale conversion, thresholding, segmentation of ROI, contour preparation, noise removal, and binary masking for eliminating the background. Estimated results were compared to measured results. LiDAR measurements showed the closest agreement with the measured results for plant height, canopy volume, plant spacing, and row distance, outperforming both RGB and depth imaging. Under field conditions, plant spacing and row distance were estimated with accuracies of 97.5% and 94.7%, respectively, exhibiting higher measurement accuracies than RGB and depth imagery data results. Despite some discrepancies due to complex plant geometry and dynamic data collection, the results support data collection strategies critical for precision horticulture.