Feature extraction method, model training method, detection method of fruit spectrum
摘要:
A feature extraction method of fruit spectrum includes taking a vector of each wavelength point in spectrum of samples as source data, and acquiring a sorting of all vectors by processing the source data by SPA; according to the sorting of the vectors, acquiring distribution points of each sample on a coordinate system; acquiring classification results of the samples by destructive analysis, and acquiring a number of first sample categories; acquiring a first Euclidean distance between the first sample categories; according to a sorting of the wavelength points, acquiring distribution points of each sample on the coordinate system; acquiring a number of second sample categories; acquiring a second Euclidean distance between the second sample categories; determining whether the first Euclidean distance is less than the second Euclidean distance; determine a (M+2)-th vector to be valid or invalid based on a comparison result.
信息查询
0/0