Spectroscopy and Spectral Analysis, Volume. 44, Issue 7, 1896(2024)

Research on Almond Plumpness Detection Method Based on Terahertz Imaging Technology and Feature Extraction Method

HU Jun1, L Hao-hao1, QIAO Peng1, HE Yong2, and LIU Yan-de1、*
Author Affiliations
  • 1[in Chinese]
  • 2[in Chinese]
  • show less

    As a kind of nutrient-rich nut,it is of great economic value and practical significance to test the quality of almonds. Because of the almond hard shell,it is difficult for traditional detection methods to realize internal detection.In this paper,the emerging terahertz transmission imaging detection technology is used to study almond plumpness detection. Firstly,the terahertz spectral images of almonds with different fullness are acquired. Secondly,the terahertz spectra of sample free region,empty shell region and full almond region are extracted,respectively. To improve the accuracy of the model and reduce the computational effort,Competitive Adaptive Reweighting Sampling (CARS),Uninformative Variable Elimination (UVE),Successive Projections Algorithm (SPA),Monte Carlo Uninformative Variable Elimination (MCUVE) and Genetic Algorithm (GA) for feature extraction of terahertz spectral information. The corresponding Least squares support vector machine (LS-SVM),Random forest (RF) and K-nearest neighbor (KNN) qualitative discriminant models are established to detect and identify the full and empty regions of almonds.In addition,the terahertz feature image was to jpg format and then to RGB format,the shell image and kernel image were separated by G-channel extraction and image binarization,and the ratio of shell kernel pixels in the terahertz feature image was detected. The image of shell and kernel were separated by contour extraction and image binarization. The actual plumpness was the ratio of shell kernel pixels in the original image. The terahertz transmission imaging techniques feasibility for detecting the almonds plumpness was proved by calculating the error between the detection plumpness and the actual plumpness. The established KS-GA-RF model had the best identification effect,with an accuracy of 98.21%. According to the ratio of shell and kernel pixels,the corresponding detection and actual fullness were calculated,respectively,with an error of 16%. This study verified that combining terahertz graph and spectrum could well realize the visual detection of inner kernel plumpness of P. chinensis,providing a new idea for the accurate classification of almonds. It also delivers a theoretical reference for terahertz imaging to detect the plumpness of other nuts and has significant application value.

    Tools

    Get Citation

    Copy Citation Text

    HU Jun, L Hao-hao, QIAO Peng, HE Yong, LIU Yan-de. Research on Almond Plumpness Detection Method Based on Terahertz Imaging Technology and Feature Extraction Method[J]. Spectroscopy and Spectral Analysis, 2024, 44(7): 1896

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Received: Feb. 20, 2023

    Accepted: --

    Published Online: Aug. 28, 2024

    The Author Email: Yan-de LIU (jxliuyd@163.com)

    DOI:10.3964/j.issn.1000-0593(2024)07-1896-09

    Topics