Spectral detection of maize seed vigor based on machine learning and deep learning
CSTR:
Author:
Affiliation:

College of Electronic Engineering (College of Artificial Intelligence), South China Agricultural University, Guangzhou 510642, China

Clc Number:

S126

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference [28]
  • |
  • Related
  • | | |
  • Comments
    Abstract:

    A three-vigor gradient classification model for maize seeds was constructed using machine learning and deep learning algorithms along with hyperspectral imaging technology to solve the problems of time-consuming and seed damage in the traditional method for detecting seed vigor and to realize the rapid, non-destructive detection of maize seed vigor. 1 012 maize seeds were divided into three vigor gradient samples by artificial aging. The hyperspectral noise was removed with convolution smoothing (SG) and multivariate scattering correction (MSC) after collecting the hyperspectral data of maize seeds. Principal component analysis (PCA) and continuous projection algorithm (CPA) were used for dimensionality reduction of spectral feature, respectively. Three bands including 1 156 nm, 1 191 nm, and 1 463 nm were extracted from the reduced dimensionality band to synthesize a false color image. The texture features of region of interest (ROI) were extracted using local binary mode (LBP) and fused with pure spectral features. Machine learning models including decision tree (DT) and support vector machine (SVM) models constructed based on pure spectral features and the random forest (RF), SVM and extreme gradient lifting tree (XGBoost) models constructed based on fused features were established. Maize seed vigor was predicted by inputting the false color images into five deep learning models including ResNet18, MobileNetV2, DenseNet121, Efficientb0, and Efficientb2. The results showed that the PCA-SVM model performed best for pure spectral features, with a test set accuracy of 92.5% in terms of machine learning methods. The SVM model performed best for fusion features, with a test set accuracy of 93.1%. In terms of deep learning methods, the lightweight MobileNet achieved the highest test set accuracy of 99.5%. The classification activation mapping method based on interpretable gradient indicated that the classification network focused on the bottom or basal region of maize seeds. It will provide some references for the nondestructive detection of maize seed vigor in terms of data sources, deep neural network visual interpretation and machine learning, and deep learning performance analysis.

    Table 2 Accuracy of spectral feature prediction classification
    Table 1 Statistics of seed vigor index of sweet maize
    Table 4 Network performance comparison
    Fig.1 Sweet corn seeds for testing
    Fig.2 Corn seeds at various vitality levels
    Fig.3 Seeds covered with wet sand
    Fig.4 Region of interest selection
    Fig.5 Average spectral curves of different activity gradients
    Fig.6 Scatter plots of the three principal components
    Fig.7 Results of characteristic wavelengths selected
    Fig.8 Schematic diagram of false color image synthesis
    Fig.9 False color image synthesis process
    Fig.10 LBP feature map of corn seeds
    Fig.11 Training accuracy and training loss
    Fig.12 Area of interest in the deep layer of networks
    Table 3 Accuracy of fusion feature prediction classification
    Reference
    [1] 刘敏洁,许昍,王建华,等.基于人工神经网络和二元逻辑回归的甜玉米种子生活力检测模型研究[J].中国农业大学学报,2018,23(7):1-10.LIU M J,XU X,WANG J H,et al.Seed viability testing model of sweet corn based on artificial neural network and binary logistic regression[J].Journal of China Agricultural University,2018,23(7):1-10(in Chinese with English abstract).
    [2] HE X T,FENG X P,SUN D W,et al.Rapid and nondestructive measurement of rice seed vitality of different years using near-infrared hyperspectral imaging[J/OL].Molecules(Basel,Switzerland),2019,24(12):2227[2022-11-27].https://doi.org/10.3390/molecules24122227.
    [3] 李文彬,于秀琪,刘春宇,等.农作物种子活力检测方法研究进展[J].农业灾害研究,2021,11(6):7-8,10.LI W B, YU X Q,LIU C Y,et al.Research progress of crop seed vigor testing methods[J].Journal of agricultural catastrophology,2021,11(6):7-8,10 (in Chinese with English abstract).
    [4] 袁俊,郑雯,祁亨年,等.种子活力光学无损检测技术研究进展[J].作物杂志,2020(5):9-16.YUAN J,ZHENG W,QI H N,et al.Progress in research of optical non-destructive test technology for seed vigor[J].Crops,2020(5):9-16(in Chinese with English abstract).
    [5] 王巧华,马逸霄,付丹丹.基于光谱技术的禽蛋内部品质无损检测研究进展[J].华中农业大学学报,2021,40(6):220-230.WANG Q H,MA Y X,FU D D.Progress of non-destructive detection of poultry egg internal quality based on spectroscopy[J].Journal of Huazhong Agricultural University,2021,40(6):220-230(in Chinese with English abstract).
    [6] 王胜鹏,郑鹏程,桂安辉,等.基于近红外光谱技术的远安黄茶品质快速无损检测方法[J].华中农业大学学报,2022,41(1):238-245.WANG S P,ZHENG P C,GUI A H,et al.Fast and non-destructive quality evaluation of Yuan’an yellow tea based on near-infrared spectroscopy[J].Journal of Huazhong Agricultural University,2022,41(1):238-245(in Chinese with English abstract).
    [7] AL-AMERY M, GENEVE R L, SANCHES M F, et al. Near-infrared spectroscopy used to predict soybean seed germination and vigour[J].Seed science research,2018, 28(3): 245-252.
    [8] FENG L,ZHU S S,ZHANG C,et al.Identification of maize kernel vigor under different accelerated aging times using hyperspectral imaging[J/OL].Molecules (Basel,Switzerland),2018,23(12):3078[2022-11-27].https://doi.org/10.3390/molecules23123078.
    [9] 杨东,王舒卉,吴建华,等.玉米籽粒霉变等级高光谱图像检测方法研究[J].中国粮油学报,2022,37(11):46-53.YANG D,WANG S H,WU J H,et al.Study on hyperspectral image detection method of maize grain mildew grade[J].Journal of the Chinese cereals and oils association,2022,37(11):46-53(in Chinese with English abstract).
    [10] 王承琨,赵鹏,李祥华.采用特征融合的紫檀属内相似树种识别方法研究[J].光谱学与光谱分析,2022,42(7):2247-2254.WANG C K,ZHAO P,LI X H.Similar wood species classification within Pterocarpus genus using feature fusion[J].Spectroscopy and spectral analysis,2022,42(7):2247-2254(in Chinese with English abstract).
    [11] 王佳, 马睿, 马德新.基于深度学习的登海605玉米品种真伪鉴别方法研究[J/OL].中国粮油学报:1-12[2022-11-27].http://kns.cnki.net/kcms/detail/11.2864.TS.20220609.1531.019.html.WANG J,MA R,MA D S.Identification method of Denghai 605 maize varieties based on deep learning[J/OL].Journal of the Chinese cereals and oils association,1-12[2022-11-27].http://kns.cnki.net/kcms/detail/11.2864.TS.20220609.1531.019.html(in Chinese with English abstract).
    [12] PANG L,XIAO J,MA J J,et al.Hyperspectral imaging technology to detect the vigor of thermal-damaged Quercus variabilis seeds[J].Journal of forestry research,2021,32(2):461-469.
    [13] 张超,乔敏,刘哲,等.基于无人机和卫星遥感影像的制种玉米田识别纹理特征尺度优选[J].农业工程学报,2017,33(17):98-104.ZHANG C,QIAO M,LIU Z,et al.Texture scale analysis and identification of seed maize fields based on UAV and satellite remote sensing images[J].Transactions of the CSAE,2017,33(17):98-104(in Chinese with English abstract).
    [14] 宋克臣,颜云辉,陈文辉,等.局部二值模式方法研究与展望[J].自动化学报,2013,39(6):730-744.SONG K C,YAN Y H,CHEN W H,et al.Research and perspective on local binary pattern[J].Acta automatica sinica,2013,39(6):730-744(in Chinese with English abstract).
    [15] DAI L Q,WU L,DONG Q S,et al.Genome-wide association study of field grain drying rate after physiological maturity based on a resequencing approach in elite maize germplasm[J/OL].Euphytica,2017,213(8):182[2022-11-27].https://doi.org/10.1007/s10681-017-1970-9.
    [16] 褚小立.化学计量学方法与分子光谱分析技术[M].北京:化学工业出版社,2011.CHU X L.Molecular spectroscopy analytical technology combined with chemometrics and its applications[M].Beijing:Chemical Industry Press,2011(in Chinese).
    [17] 樊阳阳,裘正军,陈俭,等.基于近红外高光谱成像技术的干制红枣品种鉴别[J].光谱学与光谱分析,2017,37(3):836-840.FAN Y Y,QIU Z J,CHEN J,et al.Identification of varieties of dried red jujubes with near-infrared hyperspectral imaging[J].Spectroscopy and spectral analysis,2017,37(3):836-840(in Chinese with English abstract).
    [18] 杨小玲,由昭红,成芳.高光谱成像技术检测玉米种子成熟度[J].光谱学与光谱分析,2016,36(12):4028-4033.YANG X L,YOU Z H,CHENG F.Study on identification of immature corn seed using hyperspectral imaging[J].Spectroscopy and spectral analysis,2016,36(12):4028-4033(in Chinese with English abstract).
    [19] 王超鹏,黄文倩,樊书祥,等.基于高光谱成像技术与CARS算法的玉米种子含水率检测[J].激光与光电子学进展,2016,53(12):260-267.WANG C P,HUANG W Q,FAN S X,et al.Moisture content detection of maize kernels based on hyperspectral imaging technology and CARS[J].Laser & optoelectronics progress,2016,53(12):260-267(in Chinese with English abstract).
    [20] 刘立新,何迪,李梦珠,等.基于高光谱技术与机器学习的新疆红枣品种鉴别[J].中国激光,2020,47(11):291-298.LIU L X,HE D,LI M Z,et al.Identification of Xinjiang jujube varieties based on hyperspectral technique and machine learning[J].Chinese journal of lasers,2020,47(11):291-298(in Chinese with English abstract).
    [21] DOS SANTOS PEREIRA E V,DE SOUSA FERNANDES D D,DE ARAúJO M C U,et al.In-situ authentication of goat milk in terms of its adulteration with cow milk using a low-cost portable NIR spectrophotometer[J/OL].Microchemical journal,2021,163:105885[2022-11-27].https://doi.org/10.1016/j.microc.2020.105885.
    [22] 邵园园,王永贤,玄冠涛,等.基于高光谱成像的肥城桃品质可视化分析与成熟度检测[J].农业机械学报,2020,51(8):344-350.SHAO Y Y,WANG Y X,XUAN G T,et al.Visual detection of SSC and firmness and maturity prediction for Feicheng peach by using hyperspectral imaging[J].Transactions of the CSAM,2020,51(8):344-350(in Chinese with English abstract).
    [23] 王奕森,夏树涛.集成学习之随机森林算法综述[J].信息通信技术,2018,12(1):49-55.WANG Y S,XIA S T.A survey of random forests algorithms[J].Information and communications technologies,2018,12(1):49-55(in Chinese with English abstract).
    [24] 李占山,刘兆赓.基于XGBoost的特征选择算法[J].通信学报,2019,40(10):101-108.LI Z S,LIU Z G.Feature selection algorithm based on XGBoost[J].Journal on communications,2019,40(10):101-108(in Chinese with English abstract).
    [25] 王冬,王坤,吴静珠,等.基于光谱及成像技术的种子品质无损速测研究进展[J].光谱学与光谱分析,2021,41(1):52-59.WANG D,WANG K,WU J Z,et al.Progress in research on rapid and non-destructive detection of seed quality based on spectroscopy and imaging technology[J].Spectroscopy and spectral analysis,2021,41(1):52-59(in Chinese with English abstract).
    [26] XU P,TAN Q,ZHANG Y P,et al.Research on maize seed classification and recognition based on machine vision and deep learning[J/OL].Agriculture,2022,12(2),232[2022-11-27]. https://doi.org/10.3390/agriculture12020232.
    [27] ZHOU B L,KHOSLA A,LAPEDRIZA A,et al.Learning deep features for discriminative localization[C]//2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).June 27-30,2016,Las Vegas,NV,USA.Las Vegas:IEEE,2016:2921-2929.
    [28] SELVARAJU R R,COGSWELL M,DAS A,et al.Grad-CAM:visual explanations from deep networks via gradient-based localization[J].International journal of computer vision,2020,128(2):336-359.
    Related
    Cited by
Get Citation

丁子予,岳学军,曾凡国,时浩文,彭文,肖佳仪. Spectral detection of maize seed vigor based on machine learning and deep learning[J]. Jorunal of Huazhong Agricultural University,2023,42(3):230-240.

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:November 27,2022
  • Online: June 20,2023
Article QR Code