Peanuts with fungal contamination may contain aflatoxin, a highly carcinogenic substance. We propose the use of hyperspectral imaging to quickly and noninvasively identify fungi-contaminated peanuts. The spectral data and spatial information of hyperspectral images were exploited to improve identification accuracy. In addition, successive projection was adopted to select the bands sensitive to fungal contamination. Furthermore, the joint sparse representation based classification (JSRC), which considers neighboring pixels as belonging to the same class, was adopted, and the support vector machine (SVM) classifier was used for comparison. Experimental results show that JSRC outperforms SVM regarding robustness against random noise and considering pixels at the edge of the peanut kernel. The classification accuracy of JSRC reached 99.2% and 98.8% at pixel scale, at least 98.4% and 96.8% at kernel scale for two peanut varieties, retrieving more accurate and consistent results than SVM. Moreover, fungicontaminated peanuts were correctly marked in both learning and test images.
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.