A non-destructive identification method of ginseng based on angular hyperspectral information

By photographing ginseng samples at different angles and using neural networks for radiation correction, the problem of high cost of ginseng identification equipment and fragile samples in the existing technology is solved, and a fast, non-destructive and low-cost identification method is achieved, which is suitable for non-professionals. And has broad application prospects.

CN115082653BActive Publication Date: 2024-10-29AEROSPACE INFORMATION RES INST CAS

Patent Information

Application Number
CN202210710776.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-22
Publication Date
2024-10-29
Estimated Expiration
2042-06-22

Smart Images

  • Figure CN115082653B_ABST
    Figure CN115082653B_ABST
Patent Text Reader

Abstract

The invention relates to a ginseng non-destructive identification method based on angular hyperspectral information. The method comprises: obtaining a ginseng sample with marked year and origin information; photographing the ginseng sample respectively under two angles of an artificial light source using a VNIR spectrometer and a multispectral camera in a darkroom environment to obtain two groups of one-dimensional vector radiance data and two groups of multispectral image data respectively; performing radiation correction on the two groups of one-dimensional vector radiance data to obtain two groups of VNIR hyperspectral reflectance one-dimensional vector data; constructing a neural network with four-way input, inputting the two groups of VNIR hyperspectral reflectance one-dimensional vector data and the two groups of multispectral image data, taking year and origin data as labels, iteratively training the neural network to obtain a trained neural network; and performing non-destructive identification on a to-be-detected ginseng using the trained neural network to obtain the year and origin data of the to-be-detected ginseng.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of spectral information recognition, and in particular to a ginseng non-destructive recognition method based on angular hyperspectral information. Background Art

[0002] Traditional ginseng year identification is mainly reflected in the physical form of the reed head. In recent years, there has been a phenomenon of disguising high-year ginseng with low-year ginseng, making the identification method based on the appearance characteristics of the reed, stem, body, whisker, etc. no longer reliable. Microscopic identification methods based on the content of calcium oxalate cluster crystals in the reed head, mass spectrometry through saponin and other component analysis, liquid chromatography, etc. have high year identification accuracy, but all require damage to the ginseng sample; laser-induced breakdown spectroscopy technology has less damage to micro-sampling, but requires complex processes such as purification, drying, grinding, and high-pressure pressing. The same method of trait observation, chemical fingerprinting, spectral analysis, molecular recognition, etc. are used to identify the origin of ginseng.

[0003] However, the above methods all require a certain amount of experience or professional knowledge, and are not suitable for non-professionals. At the same time, the sample is easily damaged during the identification process. Therefore, for ginseng medicinal materials with high economic value, it is urgent to develop a rapid and non-destructive detection method.

[0004] Currently, although there are applications that utilize hyperspectral imaging, they do not use angular information, and no low-cost options are made, and important spectral ranges are not distinguished, resulting in high hardware manufacturing costs. Summary of the invention

[0005] The purpose of the present invention is to provide a non-destructive identification method for ginseng based on angular hyperspectral information, aiming to design a low-cost method that combines angular, spectral and spatial information for identifying the year and origin of ginseng, which is not only suitable for non-professionals, but also has the advantages of being non-destructive and low-cost.

[0006] The technical solution adopted by the present invention to solve the above technical problems is to provide a ginseng non-destructive identification method based on angle hyperspectral information, the method comprising:

[0007] Obtain ginseng samples with year and origin information;

[0008] In a darkroom environment, two artificial light sources at different angles are used for illumination, and a white plate with a reflection characteristic close to that of a Lambertian body is placed on a black track to achieve radiation correction, wherein the ginseng sample is placed on the black track;

[0009] Using a visible light / near infrared VNIR spectrometer and a multispectral camera, photographing the ginseng sample at a first angle of an artificial light source, respectively, to obtain first one-dimensional vector radiance data and first multispectral image data;

[0010] Using a VNIR spectrometer and a multispectral camera, photographing the ginseng sample at a second angle of the artificial light source, respectively, to obtain second one-dimensional vector radiance data and second multispectral image data;

[0011] The two sets of one-dimensional vector radiance data are radiated and corrected using the following formula to obtain two sets of VNIR hyperspectral reflectance one-dimensional vector data ρ λ , where λ is the electromagnetic wavelength, DN λ is the VNIR hyperspectral radiance value, E(DN wbλ ) is the VNIR hyperspectral radiance of the white board;

[0012]

[0013] Constructing a neural network with four inputs, inputting the two sets of VNIR hyperspectral reflectance one-dimensional vector data using a fully connected neural network, inputting the two sets of multispectral image data using a convolutional neural network, using the year and origin data as labels, iteratively training the neural network, and obtaining a trained neural network;

[0014] The trained neural network is used to perform non-destructive identification on the ginseng to be tested, and the year and origin data of the ginseng to be tested are obtained.

[0015] In a possible implementation, the VNIR spectrometer has 108 spectral bands, and the multi-spectral camera has four bands: blue, green, red, and near infrared.

[0016] In a possible implementation, the geometric parameters and radiation parameters of the VNIR spectrometer and the multi-spectral camera are set to fixed values.

[0017] In a possible implementation, the geometric parameters include focal length, and the radiation parameters include gain and exposure time.

[0018] In a possible implementation, the VNIR hyperspectral reflectance one-dimensional vector data and the multispectral image data are divided into a training sample data set and an independent verification data set in a ratio of 3:1 for training the neural network.

[0019] In a possible implementation, the equipment used includes: a VNIR spectrometer, a multi-spectral camera, and two sets of artificial light sources.

[0020] The present invention proposes a non-destructive identification method for ginseng based on angular hyperspectral information. As a low-cost method for identifying the year and origin of ginseng by combining angular, spectral and spatial information, the shooting of ginseng samples at two angles is achieved by two sets of low-cost lighting, rather than two sets of expensive hyperspectral equipment, which reduces the cost of the entire system equipment. It is not only suitable for non-professionals, but also has the advantages of non-destructive and low-cost. At the same time, the present invention can be used not only for ginseng, but also for any object with angular, spectral and spatial characteristics that requires non-destructive identification, and has good application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A schematic diagram of a scene of photographing a ginseng sample in a method for non-destructive ginseng identification based on angular hyperspectral information disclosed in an embodiment of the present invention;

[0022] Figure 2 A flowchart of a ginseng lossless identification method based on angular hyperspectral information disclosed in an embodiment of the present invention;

[0023] Figure 3 A graph showing the relationship between wavelength and the amount of useful information for ginseng identification disclosed in an embodiment of the present invention;

[0024] Figure 4 The ginseng hyperspectral reflectance curve after VNIR data correction disclosed in the embodiment of the present invention;

[0025] Figure 5 A schematic diagram of the structure of a neural network for lossless identification of ginseng disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0026] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments.

[0027] Figure 1 A schematic diagram of a scene of photographing ginseng samples in a method for non-destructive ginseng identification based on angular hyperspectral information disclosed in an embodiment of the present invention. The entire set of spectral equipment includes a non-imaging visible light / near infrared VNIR (Visible and Near Infrared, covering 400nm-1000nm, a total of 108 spectral bands) spectrometer, a multispectral camera (four bands of blue, green, red, and near infrared), two sets of artificial light sources at different angles, and a white board with a reflection characteristic close to that of a Lambertian body is placed on the black track to achieve radiation correction.

[0028] The geometric parameters and radiation parameters of the VNIR spectrometer and multispectral camera are set to fixed values. The geometric parameters include focal length, and the radiation parameters include gain and exposure time. The VNIR spectrometer provides spectral information, the multispectral camera provides imaging space information, and two sets of artificial light sources at different angles provide angle information.

[0029] Figure 2 The present invention discloses a flowchart of a method for lossless identification of ginseng based on angular hyperspectral information according to an embodiment of the present invention.

[0030] In step S201, ginseng samples with marked year and origin information are obtained to provide training data for the neural network.

[0031] In step S202, Figure 1 The shooting scene is arranged in the manner shown. In a darkroom environment, artificial light is used for illumination, and a white plate with a reflection characteristic close to that of a Lambertian body is placed on the black track to achieve radiation correction. At the same time, a ginseng sample is placed on the black track for shooting.

[0032] In step S203, the ginseng sample is photographed respectively at a first angle of an artificial light source using a VNIR spectrometer and a multispectral camera to obtain first one-dimensional vector radiance data and first multispectral image data respectively.

[0033] In step S204, the ginseng sample is photographed respectively at a second angle of the artificial light source using a VNIR spectrometer and a multispectral camera to obtain second one-dimensional vector radiance data and second multispectral image data respectively.

[0034] Among them, the visible light / near infrared VNIR band with the largest amount of information was used. Figure 3 It can be seen from the experimental comparison results of the importance of bands shown that the amount of useful information for ginseng identification in the visible light / near infrared VNIR band is better than that in the shortwave infrared SWIR band.

[0035] In step S205, two sets of one-dimensional vector radiance data of each ginseng sample are radiantly corrected using formula (1) to obtain two sets of VNIR hyperspectral reflectance one-dimensional vector data ρ λ :

[0036]

[0037] Where λ is the electromagnetic wavelength, DN λ is the VNIR hyperspectral radiance value, E(DN wbλ ) is the VNIR hyperspectral radiance of the white board. The corrected hyperspectral reflectance curve is as follows: Figure 4 shown.

[0038] In step S206, a neural network with four inputs is constructed. Two sets of VNIR hyperspectral reflectance one-dimensional vector data are input using a fully connected neural network, and two sets of multispectral image data are input using a convolutional neural network. The year and origin data are used as labels, and the neural network is iteratively trained to obtain a trained neural network. The structural diagram of the neural network is shown in Figure 5 As shown, the rectangle represents a fully connected neural network and the cube represents a convolutional neural network.

[0039] Specifically, the VNIR hyperspectral reflectance one-dimensional vector data and multispectral image data are divided into two parts, a training sample data set and an independent verification data set, in a ratio of 3:1. The hyperspectral reflectance and multispectral images of the training data set are used as input, and the year and origin information of ginseng annotated are used as output. The neural network is trained and fitted, and finally the year and origin information of ginseng can be given at the same time, and independently verified through the verification sample data set.

[0040] In step S207, a trained and verified high-precision neural network is used as a detection tool for the year and origin of ginseng to perform non-destructive identification on the ginseng to be detected, and the year and origin data of the ginseng to be detected are obtained.

[0041] In a specific embodiment, according to Figure 2 In the whole process of ginseng identification, the artificial light source used includes two lighting devices at different angles, and spectral imaging equipment is not used to reduce the required hardware cost.

[0042] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A non-destructive identification method of ginseng based on angular hyperspectral information, characterized in that: The method comprises: Obtain ginseng samples that have been labeled with year and origin information; In a darkroom environment, two artificial light sources at different angles are used for illumination, and a white plate with a reflection characteristic close to that of a Lambertian body is placed on a black track to achieve radiation correction, wherein the ginseng sample is placed on the black track; Using a visible light / near infrared VNIR spectrometer and a multispectral camera, photographing the ginseng sample at a first angle of an artificial light source, respectively, to obtain first one-dimensional vector radiance data and first multispectral image data; Using a VNIR spectrometer and a multispectral camera, photographing the ginseng sample at a second angle of the artificial light source, respectively, to obtain second one-dimensional vector radiance data and second multispectral image data; The two sets of one-dimensional vector radiance data are radiated and corrected using the following formula to obtain two sets of VNIR hyperspectral reflectance one-dimensional vector data ρ λ , where λ is the electromagnetic wavelength, DN λ is the VNIR hyperspectral radiance value, E(DN wbλ ) is the VNIR hyperspectral radiance of the white board; Constructing a neural network with four inputs, inputting the two sets of VNIR hyperspectral reflectance one-dimensional vector data using a fully connected neural network, inputting the two sets of multispectral image data using a convolutional neural network, using the year and origin data as labels, iteratively training the neural network, and obtaining a trained neural network; The trained neural network is used to perform non-destructive identification on the ginseng to be tested, and the year and origin data of the ginseng to be tested are obtained.

2. The method according to claim 1, characterized in that The VNIR spectrometer has 108 spectral bands, and the multi-spectral camera has four bands: blue, green, red, and near infrared.

3. The method according to claim 1, characterized in that The geometric parameters and radiation parameters of the VNIR spectrometer and the multispectral camera are all set to fixed values.

4. The method according to claim 3, characterized in that The geometric parameters include focal length, and the radiation parameters include gain and exposure time.

5. The method according to claim 1, characterized in that The VNIR hyperspectral reflectance one-dimensional vector data and multispectral image data are divided into a training sample data set and an independent verification data set in a ratio of 3:1 for training the neural network.

6. The method according to any one of claims 1 to 5, characterized in that: The equipment used includes: VNIR spectrometer, multispectral camera and two sets of artificial light sources.

Citation Information

Patent Citations

  • Radiation correction method of frame-type FPI hyperspectral image

    CN109974854A

  • Synchronous correction method for field measurement spectra of ground object spectrometer

    CN111272664A

  • Method and device for quickly judging dry matters of fruits on trees

    CN114062282A

  • Device and method for quickly acquiring high-resolution spectral image

    WO2022042084A1

Cited By

  • Deep learning-based wild ginseng top rhizome body detection and quality grade classification method and system

    CN117011614A

  • Deep learning-based wild ginseng rootlet detection and quality grade classification method and system

    CN117011614B