Abstract
Pomegranate blackheart disease, as an internal disease affecting the global pomegranate industry, is difficult to identify externally and urgently requires non-destructive detection methods for rapid diagnosis. This study established discriminative models for blackheart disease severity in pomegranates by using near-infrared (NIR) spectroscopy and soft X-ray imaging techniques. The results showed that the optimal NIR-based discriminative model, constructed with a Random Forest (RF) algorithm based on spectra preprocessed by the second-derivative (D2) denoising and a Competitive Adaptive Reweighted Sampling (CARS) algorithm, achieved a prediction set accuracy of 86.00%; the optimal soft X-ray imaging-based discriminative model, built with an RF algorithm using textural features extracted from images preprocessed by median filtering and a Contrast-Limited Adaptive Histogram Equalization (CLAHE) algorithm combined with gray-level co-occurrence matrix (GLCM) and gray-gradient co-occurrence matrix (GGCM) algorithms, reached a prediction set accuracy of 93.10%. In terms of model performance, the model based on soft X-ray imaging exhibited superior performance. Both techniques possess distinct advantages and limitations yet enable non-destructive detection of pomegranate blackheart disease. Further technical optimizations in the future could provide enhanced support for the healthy development of the pomegranate industry.