Black Heart Detection in White Radish by Hyperspectral Transmittance Imaging Combined with Chemometric Analysis and a Successive Projections Algorithm

Radishes with black hearts will lose edible value and cause food safety problems, so it is important to detect and remove the defective ones before processing and consumption. A hyperspectral transmittance imaging system with 420 wavelengths was developed to capture images from white radishes. A successive-projections algorithm (SPA) was applied with 10 wavelengths selected to distinguish defective radishes with black hearts from normal samples. Pearson linear correlation coefficients were calculated to further refine the set of wavelengths with 4 wavelengths determined. Four chemometric classifiers were developed for classification of normal and defective radishes, using 420, 10 and 4 wavelengths as input variables. The overall classifying accuracy based on the four classifiers were 95.6%–100%. The highest classification with 100% was obtained with a back propagation artificial neural network (BPANN) for both calibration and prediction using 420 and 10 wavelengths. Overall accuracies of 98.4% and 97.8% were obtained for calibration and prediction, respectively, with Fisher's linear discriminant analysis (FLDA) based on 4 wavelengths, and was better than the other three classifiers. This indicated that the developed hyperspectral transmittance imaging was suitable for black heart detection in white radishes with the optimal wavelengths, which has potential for fast on-line discrimination before food processing or reaching storage shelves.


Introduction
White radish, as the second most common vegetable in China and a rich source of glucose, carotenoids, starch, and other nutrients, has been cultivated for thousands of years.It is mainly consumed in fresh and processed products and may be pickled or dried [1].Black heart is an internal defect seen in postharvest radishes which is due to lack of boron, waterlogging, anoxia in soil, and black rot during growth [2].Generally, with this condition there are no obvious symptoms in the external appearance, but it is characterized by black dry rot in the medulla and the formation of voids.Although the white matter can be consumed when the diseased part is removed, the yield and quality declines greatly, and radish production has suffered serious losses as a result.Because the defects are internal, human visual inspection has limitations in evaluating the defects, which is time-consuming, subjective, and costly.Hence, an effective nondestructive inspection technology is valuable and necessary for efficient removal of defective radishes before they enter the market.
Many nondestructive sensing techniques, like spectroscopy, acoustics, and X-ray imaging, have been reported for internal quality inspection of fruits and vegetables [3][4][5][6].Among these methods, substantial work has focused on using near-infrared spectroscopy (NIRS) to inspect internal defects, like brown core in Chinese pears [7], brown heart in Braeburn apples [8,9] and in Conference pears [10], translucent flesh disorder in mangosteen [11], black air-cavity defects in Japanese radishes [12], and mealiness in apples [13].Although NIRS is a fast, nondestructive, and effective method for measuring multiple quality attributes simultaneously [14], its measurement only gives an approximate quantification of the total light on a limited area and does not provide spatially resolved information.Hence, NIRS may not comprehensively evaluate internal defects in fruits and vegetables that may occur locally along the cavity [15].
Recently, hyperspectral imaging has entered wide use for evaluating the quality and safety of food and agricultural products [16][17][18].Characterized as a rapid, nondestructive, and chemical-free method, hyperspectral imaging can simultaneously offer spatial information and spectral signals from one object, with the combination of conventional imaging and spectroscopy.The information obtained forms a three-dimensional data cube and can be processed to detect, identify, and quantify imaged objects in more detail than either traditional imaging or spectroscopic techniques [19].Recently, considerable applications of hyperspectral imaging have been reported for the evaluation of internal quality in fruits and vegetables.For example, Cen et al. [20] reported internal defect detection of cucumbers during pickling using hyperspectral imaging for real-time grading.Their previous studies also demonstrated the feasibility of detecting both external characteristics and internal defects of pickling cucumbers [15,21].Pan et al. [22] conducted a study to detect cold injury in peaches.Based on the selected wavelengths and using an artificial neural network, 95.8% discrimination accuracy of chilled peaches was obtained.Huang and Lu [23] carried out apple mealiness detection using hyperspectral scattering imaging.Furthermore, quality attributes like soluble solids content, pH, and firmness can be successfully predicted by hyperspectral imaging [6,[24][25][26].The technique, however, has so far been largely limited to laboratory or benchtop applications because of the cost, huge volume of data, and computing requirements.One way to solve these problems is to identify a few key discriminating wavelengths for real-time implementation and industrial applications, when the selected wavelengths contain approximately the same information as and/or are more efficient than full spectra [27,28].
Therefore, the specific objectives of this study were to: (1) acquire hyperspectral transmittance images of normal and defective radishes over the spectral range of 400-1000 nm; (2) identify the optimal wavelengths for black heart detection using the successive projections algorithm (SPA) and correlation analysis; and (3) develop classification models based on selected wavelengths and compare the classification performance among different classifiers.

White Radish Samples
A number of 502 "Chunguang Type A" white radishes were purchased from a local farm in Jiangsu Province of China.The samples had similar size and shape, and were free of external defects based on visual inspection.The thickness of radish samples was 96 ± 2.94 mm.Because it is difficult to get natural defective samples, black heart was induced by inoculating with Xanthomonas campestris in the middle of the radishes along the longitudinal axis.Xanthomonas campestris, a bacterial pathogen, can harm the leaf and root and cause black heart in the fleshy root of the radish [29].Before inoculation, the Xanthomonas was grown on LB (Luria-Bertani) solid medium at 35 • C and 75% relative humidity for 7 d.Bacterium suspension (3 mL) with a concentration of 4 × 10 4 cells/mL was inoculated into the radishes.To allow black heart to develop, the inoculated samples were stored at 35 • C and 75% relative humidity for 7 d in incubators.Typical normal and defective (with black heart) radishes slices are shown in Figure 1.Prior to the hyperspectral imaging experiments, 247 normal radishes and 255 defective radishes with black heart were obtained for the experiment.

Hyperspectral Imaging System
Figure 2 shows the hyperspectral transmittance imaging system used in our study, with a schematic diagram in Figure 2a and a physical map in Figure 2b.The system consisted of hardware and software components.The hardware component was composed of: a charge-coupled device (CCD) camera (ICL-B1620, Imperx, Boca Raton, FL, USA), a spectrometer (ImSpectorV10E, Spectral imaging, Oulu, Finland) with spectral resolution of 2.8 nm, a variable-focal-length lens, two halogen lamps connected using optical fiber with a direct-current, tunable light source (150 W halogen tungsten lamp controller, 3900ER, Illumination Technologies Inc., East Syracuse, NY, USA), transport unit with a sample holder station, an electronically-controlled, motorized horizontal stage (IRCP0076-ICOMB001, Isuzu, Zhubei, Taiwan), and a computer (Intel E5800 3.2 GHz CPU, 2GB RAM, 256 MB GeForce GT240 GPU, Dell, Round Rock, TX, USA).In order to acquire the transmittance images, the two 90 W halogen lamps were fixed directly below the sample (Figure 2b).The speed of the transport unit and exposure time was set at 2.5 mm/s and 70 ms, respectively.Software developed by Isuzu Optics Corp. (Zhubei, Taiwan) was used for image acquisition and parameter setting.The imaging spectrograph worked in line scanning mode and covered the spectral range of 400-1000 nm.

Image Calibration and Roi Identification
In order to reduce the influence of illumination and dark current of the CCD detectors as well as the differences in camera and physical configuration in the imaging system, raw acquired images

Hyperspectral Imaging System
Figure 2 shows the hyperspectral transmittance imaging system used in our study, with a schematic diagram in Figure 2a and a physical map in Figure 2b.The system consisted of hardware and software components.The hardware component was composed of: a charge-coupled device (CCD) camera (ICL-B1620, Imperx, Boca Raton, FL, USA), a spectrometer (ImSpectorV10E, Spectral imaging, Oulu, Finland) with spectral resolution of 2.8 nm, a variable-focal-length lens, two halogen lamps connected using optical fiber with a direct-current, tunable light source (150 W halogen tungsten lamp controller, 3900ER, Illumination Technologies Inc., East Syracuse, NY, USA), transport unit with a sample holder station, an electronically-controlled, motorized horizontal stage (IRCP0076-ICOMB001, Isuzu, Zhubei, Taiwan), and a computer (Intel E5800 3.2 GHz CPU, 2GB RAM, 256 MB GeForce GT240 GPU, Dell, Round Rock, TX, USA).In order to acquire the transmittance images, the two 90 W halogen lamps were fixed directly below the sample (Figure 2b).The speed of the transport unit and exposure time was set at 2.5 mm/s and 70 ms, respectively.Software developed by Isuzu Optics Corp. (Zhubei, Taiwan) was used for image acquisition and parameter setting.The imaging spectrograph worked in line scanning mode and covered the spectral range of 400-1000 nm.

Hyperspectral Imaging System
Figure 2 shows the hyperspectral transmittance imaging system used in our study, with a schematic diagram in Figure 2a and a physical map in Figure 2b.The system consisted of hardware and software components.The hardware component was composed of: a charge-coupled device (CCD) camera (ICL-B1620, Imperx, Boca Raton, FL, USA), a spectrometer (ImSpectorV10E, Spectral imaging, Oulu, Finland) with spectral resolution of 2.8 nm, a variable-focal-length lens, two halogen lamps connected using optical fiber with a direct-current, tunable light source (150 W halogen tungsten lamp controller, 3900ER, Illumination Technologies Inc., East Syracuse, NY, USA), transport unit with a sample holder station, an electronically-controlled, motorized horizontal stage (IRCP0076-ICOMB001, Isuzu, Zhubei, Taiwan), and a computer (Intel E5800 3.2 GHz CPU, 2GB RAM, 256 MB GeForce GT240 GPU, Dell, Round Rock, TX, USA).In order to acquire the transmittance images, the two 90 W halogen lamps were fixed directly below the sample (Figure 2b).The speed of the transport unit and exposure time was set at 2.5 mm/s and 70 ms, respectively.Software developed by Isuzu Optics Corp. (Zhubei, Taiwan) was used for image acquisition and parameter setting.The imaging spectrograph worked in line scanning mode and covered the spectral range of 400-1000 nm.

Image Calibration and Roi Identification
In order to reduce the influence of illumination and dark current of the CCD detectors as well as the differences in camera and physical configuration in the imaging system, raw acquired images

Image Calibration and Roi Identification
In order to reduce the influence of illumination and dark current of the CCD detectors as well as the differences in camera and physical configuration in the imaging system, raw acquired images (R 0 ) were calibrated by two reference images, dark (R d ) and white (R w ).The dark image (with 0% reflectance) was collected by recording a spectral image after turning off the light source and fully covering the camera lens with its black cap.The white image was acquired from a standard Teflon white reference board (with 99% reflectance).Therefore, the calibrated image (R) was calculated according to the following formula: After image acquisition and calibration, regions of interest (ROIs) in radish samples were identified.In order to extract spectra of each radish, the sub-image at 688 nm, which represents the best contrast between sample and background, was selected from the spectral space, and segregated using global thresholding as a mask to produce an image containing only the radish, avoiding any interference from the background.All images were processed and analyzed individually.The pixels in the mask were used as the region of interest (ROI) to extract spectral data from the calibrated hyperspectral image, and the mean reflectance spectrum of the hyperspectral image was calculated as an average of the spectral values of all pixels in the ROIs.All of the calibrated images were processed and analyzed by accessory image acquisition software and Environment for Visualizing Images software program (ENVI 4.7, Exelis Visual Information Solutions Inc., Redlands, CA, USA, 2010).

Wavelength Selection
In order to reduce co-linearity and redundancy in hyperspectral data, to simplify the complexity of computation, to improve the efficiency of rottenness detection, and to meet the inspection speed required by industry, wavelength selection is a critical and important step.The successive projections algorithm (SPA), a novel variable selection algorithm, is designed to solve the co-linearity problem by selecting variables with minimal redundancy [30].In brief, there are three steps in SPA.First, the algorithm builds candidate subsets of variables with minimum co-linearity as the result of projection operations applied to the columns of the spectral matrix available for the training data.Second, from the results of the multi-linear regression (MLR) model assessed by cross-validation or by applying a separate validation set, the algorithm evaluates candidate subsets of variables on the basis of the value of the root mean square error (RMSE).Finally, a variable elimination procedure is carried out to remove uninformative variables without significant loss of predictive power [31,32].SPA has been successfully applied in hyperspectral image analysis for multivariate calibration in food safety and quality evaluation [33,34].SPA was performed using Matlab software (Version 7.9, The Mathworks Inc., Natick, MA, USA, 2009) in this work.Then a series of wavelengths was formed according to the importance for discriminating black-hearted radishes.After wavelengths selection by SPA, Pearson's linear correlation was applied to further simplify the wavelengths.If the Pearson correlation coefficients were greater than 0.99, one of the wavelengths was selected and used for the next step.Usually, the group of adjacent wavelengths had high coefficients.In such a case, the wavelength of the most importance was selected.Pearson's linear correlation analysis was executed in IBM (International Business Machine) SPSS (Statistical Product and Service Solutions) Statistics (Version 20; IBM Corporation, Armonk, NY, USA, 2011).

Spectra Processing and Chemometric Model Development
Relative spectra were calculated from the ROIs, and spectra pretreatment was required to reduce the random noises, baseline offset, non-uniformity in samples, and surface scattering, thus enhancing the accessibility of information related to the existence of black heart in a white radish.These pretreatment methods included Savitzky-Golay first derivative (SG1), Savitzky-Golay smoothing (SGS), detrend (D), standard normal variate (SNV), multiplicative scatter correction (MSC), autoscale (A), and mean center (M), as well as their combinations, and all were compared.The optimum method was determined based on the overall classification accuracy by a partial least square discrimination analysis model.
After comparisons among the preprocessing procedures, partial least squares discrimination analysis (PLSDA), back propagation artificial neural network (BPANN), and support vector machine (SVM) methods were used to build calibration models for black heart identification.PLSDA is a multivariate inverse least squares discrimination method used for classification and discrimination problems (i.e., supervised classification).This produces essentially the same results as linear discrimination analysis (LDA), but with the noise reduction and variable selection advantages of partial least squares (PLS) [35].BPANN is one of the most widely applied neural network models, as a type of feed-forward, supervised learning network which can adapt its knowledge by adjusting weights, based on the classification error of one or more outputs [36].SVM was developed as a powerful algorithm with state-of-the-art performance in a variety of classification tasks.The algorithm is well-suited to deal with high dimensional data with low sensitivity to the curse of dimensionality.An SVM can search for a hyperplane between itself and the closest samples from each of two classes with maximal distance [37].After optimum wavelengths are selected by SPA, new models of SPA-PLDA, SPA-ANN, and SPA-SVM were evaluated and compared for classification performance of black heart.Furthermore, the commonly used calibration method of Fisher's linear discriminant analysis (FLDA), which is simple and easy in many practical applications (e.g., in-field evaluation), was also incorporated in the model SPA-FLDA.
All calibration models were used to identify black heart in white radish for two classes (i.e., normal and black heart).Using the Kennard-Stone (KS) algorithm [38], all samples were divided into two groups, with two-thirds for the calibration set and one-third for the prediction set.As a result, for the two-class classification, 160 normal and 162 black heart samples were assigned to the calibration set and 87 normal and 93 black heart samples were assigned to the prediction set.Normal samples were labeled as 1, while black heart samples were labeled as 2. Calibration models were developed for the black heart classification, using MATLAB (Version 7.9, The MathWorks Inc., Natick, MA, USA, 2009) with the PLS toolbox (Version 7.9, Eigenvector Research Inc., Wenatchee, WA, USA, 2014).For each class, accuracy was defined as the percentage of predicted normal samples by models to the total normal samples, and predicted black heart samples by models to all black heart samples; the overall accuracy was the percentage of predicted normal plus black heart samples to the total samples.

Mean Spectra for Normal and Defective White Radishes
Figure 3 shows the mean relative transmittance spectra and standard deviations (SD) extracted from the ROIs of normal and black-heart white radishes covering the spectral range of 400-1000 nm.The relative transmittance for samples of both classes increased over the spectral range of 400-690 nm, except for two small valleys at 554 nm and 630 nm.The transmittance decreased sharply from the peak at 690 nm to another lower valley at 740 nm, then increased slightly to a peak at 809 nm, then fell rapidly between 809 nm and 1000 nm.Comparing the relative transmittance spectra between normal and black heart radishes, apparent differences exist in the mean relative transmittance spectra from 500 nm to 900 nm; for instance, a difference of 0.44 in the peak at 690 nm.There was strong absorption in the wavebands of 400-500 nm and 900-1000 nm for all samples.Therefore, the difference between normal and black heart samples provided substantial spectral information for black heart detection and classification.

Spectra Preprocessing Method Selection
Generally, calibration models will perform better if the noise level can be minimized either through hardware improvements or data preprocessing [39].Table 1 shows the discrimination performance between normal and black-heart samples after different spectral preprocessing methods.All single preprocessing methods, except SGS (Savitzky-Golay smoothing), demonstrated better discriminating accuracy for calibration of 98.1%-99.1% and prediction of 96.1%-98.3%than the raw spectra.SGS had the worst performance among all preprocessing methods and was even worse than not preprocessing.This could be because SGS discarded important information for black heart detection in white radishes.Standard normal variate (SNV) had the best accuracy with 99.1% and 98.9% for calibration and prediction, respectively, followed by mean center.SNV is commonly used to eliminate variations in spectral intensity due to light scattering.Mean center helps to enhance the differences between spectra.Their combination was also evaluated for preprocessing the raw spectra.Among all spectral preprocessing combination methods, the highest accuracies of 100% and 99.4% were achieved with calibration and prediction, respectively, using SNV and mean center.Therefore, the combination of the two methods was chosen to preprocess the spectra.

Optimum Wavelength Selection
SPA was first used for the selection of the optimal wavelengths for the discrimination of blackheart white radishes, followed by preprocessing with SNV and mean center.During the SPA selection procedure, the SPA-MLR procedure was used to acquire the RMSE values based on the selected variable subsets.In the toolbox, the maximum number of variables selected by SPA was set as 27, because the number of variables reached 27, the RMSE value was lowest.As shown in Figure 4a, the RMSE values gradually decreased as the number of selected wavelengths increased from 1 to 11.When the number exceeded 10, RMSE did not perceptibly change.Using 10 selected wavelengths for the MLR model (solid square markers), the root mean square error (RMSE) reached its optimal values

Spectra Preprocessing Method Selection
Generally, calibration models will perform better if the noise level can be minimized either through hardware improvements or data preprocessing [39].Table 1 shows the discrimination performance between normal and black-heart samples after different spectral preprocessing methods.All single preprocessing methods, except SGS (Savitzky-Golay smoothing), demonstrated better discriminating accuracy for calibration of 98.1%-99.1% and prediction of 96.1%-98.3%than the raw spectra.SGS had the worst performance among all preprocessing methods and was even worse than not preprocessing.This could be because SGS discarded important information for black heart detection in white radishes.Standard normal variate (SNV) had the best accuracy with 99.1% and 98.9% for calibration and prediction, respectively, followed by mean center.SNV is commonly used to eliminate variations in spectral intensity due to light scattering.Mean center helps to enhance the differences between spectra.Their combination was also evaluated for preprocessing the raw spectra.Among all spectral preprocessing combination methods, the highest accuracies of 100% and 99.4% were achieved with calibration and prediction, respectively, using SNV and mean center.Therefore, the combination of the two methods was chosen to preprocess the spectra.

Optimum Wavelength Selection
SPA was first used for the selection of the optimal wavelengths for the discrimination of blackheart white radishes, followed by preprocessing with SNV and mean center.During the SPA selection procedure, the SPA-MLR procedure was used to acquire the RMSE values based on the selected variable subsets.In the toolbox, the maximum number of variables selected by SPA was set as 27, because the number of variables reached 27, the RMSE value was lowest.As shown in Figure 4a, the RMSE values gradually decreased as the number of selected wavelengths increased from 1 to 11.When the number exceeded 10, RMSE did not perceptibly change.Using 10 selected wavelengths for the MLR model (solid square markers), the root mean square error (RMSE) reached its optimal values (0.15834) for the two-class discrimination.The selected ten optimal wavelengths designated by open or solid circle markers and their distribution in the typical preprocessed spectral curves are shown in Figure 4b. Figure 4b shows the spectral curves of single normal and black-heart radishes respectively after preprocessing using SNV+ mean center.In order of importance in the projection procedure, the wavelengths were 642, 629, 655, 730, 611, 809, 724, 738, 545 and 564 nm.
(0.15834) for the two-class discrimination.The selected ten optimal wavelengths designated by open or solid circle markers and their distribution in the typical preprocessed spectral curves are shown in Figure 4b. Figure 4b shows the spectral curves of single normal and black-heart radishes respectively after preprocessing using SNV+ mean center.In order of importance in the projection procedure, the wavelengths were 642, 629, 655, 730, 611, 809, 724, 738, 545 and 564 nm.In order to further reduce the number of input wavelengths, Pearson's linear correlation coefficients and probability levels were analyzed in Table 2.There were very high and positive correlations among the 10 wavelengths with coefficients in the range of 0.843-1.000.Furthermore, the correlations among the groups of 545 nm and 564 nm; 611 nm, 629 nm, 642 nm, and 655 nm; 724 nm, 730 nm, and 738 nm were extremely high with coefficients exceeding 0.990.This cross-correlation indicates that one of the wavelengths in each group can provide the same information as the other wavelengths in the group.Therefore, in line with the importance in the projection procedure in SPA, 642 nm, 730 nm, 809 nm, and 545 nm were selected (designated by open circle markers in Figure 4b) to build the classification model, in which their correlation coefficients were in the range of 0.843-0.987.Models developed using those four wavelengths will be compared with other models based on the ten wavelength inputs and the full wavelengths inputs.
prediction performance with overall accuracies of 95.6%-100% for discriminating black-heart white radishes.When using the full spectrum of 420 wavelengths, three models including PLS-DA, SVM, and ANN had high overall accuracies with 100% for calibration and 98.9%-100% for prediction.There was one normal radish misclassified as defective for prediction by PLS-DA, and two defective radishes misclassified as normal for prediction by SVM.Furthermore, ANN had the best results with an overall accuracy of 100% for both calibration and prediction.To verify detection performance based on the selected wavelength for further on-line or real-time inspection systems, spectral responses including ten and four wavelengths were separately evaluated for classification between normal and defective radishes, based on the PLS-DA, SVM, ANN, and FLDA models.With ten wavelengths as inputs, the models achieved overall accuracies of 99.7%-100% and 98.9%-100% for calibration and prediction, respectively.ANN gave the highest overall accuracy of 100% for both calibration and prediction.SVM had a relatively low overall accuracy due to misclassification by recognizing one defective radish as normal and one normal radish as defective.PLS-DA and FLDA had the same overall accuracy with 99.7% and 99.4% for calibration and prediction, respectively, although they had slight discriminating differences between normal and defective classes.While using four wavelengths, the overall classification accuracy decreased slightly to 97.2%-98.8%for calibration and 95.6%-97.8%for prediction.Among the four models, FLDA had the best results with overall accuracy of 98.4% for calibration and 97.8% for prediction.
Compared with full spectrum-based models, models based on select highly discriminant wavelengths (i.e., the best 10 and reduced 4 wavelengths) achieved slightly lower overall accuracy for discriminating between normal and defective white radishes.However, models based on fewer wavelengths were more suitable for on-line or real-time applications, and the loss was only slight; for example, using four wavelengths (reduction of 99.5% of the input variables) only resulted in a 2.8% decrease of overall accuracy for prediction based on ANN.With respect to different models, ANN, as a nonlinear model obtained the best discriminating performance not only using full wavelengths but also using selected wavelengths (i.e., 10 and 4) for both calibration and prediction.However, it had less overall accuracy than FLDA for prediction.For the on-line or real-time field, FLDA could have the most potential for discrimination of normal and black-heart white radishes using just four wavelengths.

Conclusions
This study demonstrated the capability of hyperspectral transmittance imaging for detecting black heart in white radishes.The combination of SNV and mean center was determined as the best spectral preprocessing method.Optimal wavelengths were selected by a successive projection algorithm (SPA) and Pearson linear correlation coefficients (PLCC).Ten wavelengths selected by SPA and four wavelengths further selected by PLCC, as well as the full spectrum (420 wavebands), were used to build classification models.The prediction performance in the four models of PLS-DA, SVM, ANN, and FLDA were compared, and all had good results with overall discriminating accuracy of 95.6%-100%.With the full-spectrum and best 10 wavelengths as inputs, ANN presented the highest overall accuracy of 100%.On the basis of the reduced four wavelengths, FLDA obtained better results than the other models for both calibration and prediction.Overall, these results demonstrated that hyperspectral transmittance imaging was suitable for detecting black heart in white radishes when combined with the PLS-DA, SVM, ANN, and FLDA models.A simple FLDA model using four wavelengths shows promise for fast, real-time monitoring of internal defects, namely black heart in white radishes.
Appl.Sci.2016, 6, 249 3 of 11 humidity for 7 d.Bacterium suspension (3 mL) with a concentration of 4 × 10 4 cells/mL was inoculated into the radishes.To allow black heart to develop, the inoculated samples were stored at 35 °C and 75% relative humidity for 7 d in incubators.Typical normal and defective (with black heart) radishes slices are shown in Figure 1.Prior to the hyperspectral imaging experiments, 247 normal radishes and 255 defective radishes with black heart were obtained for the experiment.
Appl.Sci.2016, 6, 249 3 of 11 humidity for 7 d.Bacterium suspension (3 mL) with a concentration of 4 × 10 4 cells/mL was inoculated into the radishes.To allow black heart to develop, the inoculated samples were stored at 35 °C and 75% relative humidity for 7 d in incubators.Typical normal and defective (with black heart) radishes slices are shown in Figure 1.Prior to the hyperspectral imaging experiments, 247 normal radishes and 255 defective radishes with black heart were obtained for the experiment.

Figure 3 .
Figure 3. Mean relative transmittance spectra and standard deviation (SD) calculated from the regions of interest (ROIs) of all the normal and defective white radishes.

Figure 3 .
Figure 3. Mean relative transmittance spectra and standard deviation (SD) calculated from the regions of interest (ROIs) of all the normal and defective white radishes.

Figure 4 .
Figure 4.The RMSE (root mean square error) plot (a) and selected wavelengths (designated by open and solid circle markers); (b) by SPA (successive projections algorithm) with spectral preprocessing using SNV+ MC (mean center).

Table 1 .
Comparison of the different preprocessing methods based on partial least squares discrimination analysis (PLSDA) models.

Table 1 .
Comparison of the different preprocessing methods based on partial least squares discrimination analysis (PLSDA) models.

Table 3 .
Classification results (%) for normal and defective radishes with black heart based on transmittance using four models.