The ability to determine if an apple is bruised and to provide quantitative and objective descriptions of the degree of bruising is not the only important basis for assessing apple quality but also has significance for improving the postharvest handling of apples. In this study, segmented principal component analysis for hyperspectral images in the spectral range of 401 to 1037 nm was carried out, and seven characteristic wavelengths were selected based on the weight coefficients of the principal component images. By using the principal component analysis operations with the selected wavelengths and image processing methods, an accurate recognition algorithm for apple bruises was proposed. For 40 intact samples and 160 bruised samples, the average correct recognition rate was 99.1%. Moreover, this paper obtained the average spectra of 157 segmented bruised regions by applying a binary mask. A characteristic wavelength selection method that combines competitive adaptive reweighted sampling with correlation coefficient methods and supports vector machine modeling methods based on grid parameter optimization was put forward for the classification and identification of the bruising degrees of apples. The results showed that the classification accuracy was as high as 97.5% for the test set. Overall, this study demonstrated that hyperspectral imaging technology can be used to accurately and effectively identify early bruises and determine the bruising degree of apples, which provides a new method for on‐line, nondestructive detection, and grading of early bruises in apples.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.