Authors: Kai Qi | Wenbin Wu | Shuai Wang | Yuanjie Mu | Qian Song | Fengyun Wang | Yangyang Fan | Wenjie Feng | Rui Li | Longsheng Fu
Source: International journal of agricultural and biological engineering (article, 2024-01-01)
Field: Chemistry — Analytical Chemistry

Novel method for selecting the regions of interest in hyperspectral images of apples with random poses on the sorting line Recent approaches to the internal quality inspection of apples with the application of hyperspectral imaging technology are highly cost-intensive because of labor involvement for the data collection on a fixed posture and manual selection of the region of interest (RoI). In addition, several studies have repeated the data acquisition for the same apple. Current methods cannot meet the automation requirements of the sorting line. Therefore, this study proposed a novel method for automatically selecting RoI in hyperspectral images of apples with random poses. Firstly, the preliminary RoI selection of apple hyperspectral image was carried out, followed by the performance of histogram statistics of each pixel with spectral intensity at 700 nm wavelength. The top 40% area of the spectral intensity was reserved to obtain the magnitude relationship of the spectral intensity of each pixel point and a morphological erosion operation. Original apple RoI was acquired and overexposed pixels were removed with spectral intensity greater than 3900 (maximum 4095) in the reserved area at 700 nm. Secondly, the relationship between apple size and prediction accuracy was measured for the in-depth RoI analysis. A partial least square regression (PLSR) model was established between the average spectrum and apple sugar content of RoI with different sizes. Finally, the established model with the top 70% of the spectral intensity achieved the best prediction accuracy. Non-destructive estimation of apple sugar content was performed through hyperspectral imaging technology with reference to the proposed RoI selection method. A competitive adaptive reweighted sampling algorithm along the PLSR (CARS-PLSR) model was established after black-and-white correction and standard normal transformation (SNV) preprocessing and obtained the highest prediction accuracy. The determination coefficient of cross-validation (Rcv) and root mean square error of cross-validation (RMSECV) were 0.9595 and 0.3203°Brix, respectively. The determination coefficient of prediction (Rp) was 0.9308, and the root mean square error of prediction (RMSEP) was 0.4681°Brix. Results proved that the auto-selection of RoI is an efficient and accurate method, which can provide a foundation in practical application for online apple grading systems with hyperspectral imaging technology. Keywords: apple, hyperspectral imaging, nondestructive detection, region of interest, sugar content DOI: 10.25165/j.ijabe.20251801.9062 Citation: Qi K K, Wu W B, Wang S, Mu Y J, Song Q, Wang F Y, et al. Novel method for selecting the regions of interest in hyperspectral images of apples with random poses on the sorting line. Int J Agric & Biol Eng, 2025; 18(1): 199–207. Hyperspectral imaging ; Sorting ; Line (geometry) ; Artificial intelligence ; Computer science ; Pattern recognition (psychology) ; Computer vision ; Mathematics ; Remote sensing ; Geography ; Algorithm ; Geometry Spectroscopy and Chemometric Analyses