Hyperspectral imaging to identify flour doped in white pepper powder
Hyperspectral imaging to identify flour doped in white pepper powder
author: Gavin
2022-01-06

Pepper powder can not only be used as a seasoning, but also has high medicinal value. As the economic value of pepper increases, adulterated pepper products have also been reported on the market in recent years. The color of white pepper powder is very close to that of flour. If a small amount of flour is mixed into white pepper powder, it is difficult to distinguish by human vision or smell. Therefore, it is necessary to use hyperspectral imaging technology to predict the content of flour in white pepper powder and locate the flour Incorporation site in white pepper powder. This study provides a reference method for realizing the rapid, non-destructive and visual identification of the true and false white pepper.
Principle
Hyperspectral imaging can not only obtain material spectrum information, but also spatial location information. Therefore, the use of hyperspectral imaging technology provides the possibility to locate the adulterants. The near-infrared spectrometer combines the partial least squares method and the PLSR method to establish a quantitative analysis and prediction model for the content of flour in white pepper powder. The spectral data was substituted into the regression model of PLSR to obtain the concentration value of the white pepper powder doped with flour. Finally, the correlation coefficient method and the maximum and minimum discriminating criteria were used to mark the position of the flour in the original spectral image.
Solution
Spectral collection uses Optosky ATH1010, AATH1010 is low cost hyperspectral camera for industrial application, It it employs CMOS sensor and the spectral range is 380-1000nm。
Principle
Hyperspectral imaging can not only obtain material spectrum information, but also spatial location information. Therefore, the use of hyperspectral imaging technology provides the possibility to locate the adulterants. The near-infrared spectrometer combines the partial least squares method and the PLSR method to establish a quantitative analysis and prediction model for the content of flour in white pepper powder. The spectral data was substituted into the regression model of PLSR to obtain the concentration value of the white pepper powder doped with flour. Finally, the correlation coefficient method and the maximum and minimum discriminating criteria were used to mark the position of the flour in the original spectral image.
Solution
Spectral collection uses Optosky ATH1010, AATH1010 is low cost hyperspectral camera for industrial application, It it employs CMOS sensor and the spectral range is 380-1000nm。
(1).Prepare 60 parts of white pepper, each weighing 500g, use a pulverizer to pulverize the white pepper particles, and then sift through a 60-mesh sieve to obtain a pure white pepper powder sample. The finished product of pure flour was purchased from the supermarket. Use an analytical balance with an accuracy of 0.1 mg to take out 5,000 mg of powder from the prepared white pepper powder sample, and mix the pure flour into the pure white pepper powder according to a gradient of 1% to 60% to 1%; stir the sample with a mixer Evenly mix the flour and white pepper powder to obtain 60 sample powders with different doping concentrations,then take one sample each of pure white pepper powder and pure flour, which constitutes a total of 62 samples. Put the sample into a sample cell with a size of 6.80cm×6.80cm, and use a spatula to repeatedly scrape the surface of the sample cell to make the surface of the sample flat.
(2).In order to reduce the influence of the moisture content of the sample on the spectrum, the sample was dried by a BH-2 blast dryer for 1 hour and then taken out to prepare for hyperspectral scanning.
(3).Spectral collection uses Optosky ATH1010,The computer controls the operation of the camera and the sample stage through the HyperSpectral Image software. The obtained hyperspectral pseudo-color image is shown in Figure 1(b). Figure 1 (b) is a pseudo-color image of RGB three primary colors synthesized by three wavelength points of 680, 550 and 470 nm respectively.

(4).The reflectance curve after calibration of the whiteboard and blackboard is shown in Figure 3. As the wavelength increases, the total reflectance of the sample The body presents a slow upward trend; because the white pepper powder has a greater absorption of the spectrum than flour, as the sample doping concentration increases, the reflectance ratio becomes larger.
(5).In the preprocessing of the spectrum, common methods include decentralization, standard normal transformation, multivariate scattering correction, and the application of the first derivative and second derivative of the Safezky-Golay smoothing. And a compound pretreatment method that combines the above methods in pairs. This work will analyze and compare the effects of eight methods, including no pre-processing, Mean, SNV, MSC, MSC+Mean, MSC+SNV, SAVG1 and SAVG2, on the establishment of the PLSR prediction model. The prediction performance of the PLSR model is evaluated according to the root mean square error of the correction set, the root mean square error of the prediction set, the correlation coefficient of the correction set, and the correlation coefficient of the prediction set. Under different principal components, the smaller the RMSEP value, the larger the RP value, indicating that the prediction performance of the model is better.
Test result
For 42 samples in the calibration set, partial least square regression (PLSR) was used to establish a prediction model for identifying the flour content in white pepper powder, and then the prediction model was used to test the 20 samples in the prediction set. In order to obtain the best prediction model, the original spectral data were analyzed and compared through different prediction processing methods such as Mean, SNV, MSC, MSC+Mean, MSC+SNV, SAVG1 and SAVG2. As shown in Table 1.


Figure 6(a) is a grayscale image of a sample mixed with 25% flour at a wavelength of 550nm. Figure 6(b) shows the position of the flour in the original gray-scale image of Figure 6(a) after using the correlation coefficient method and the maximum and minimum discrimination criteria. The white display part in the figure represents the flour. In order to show the white pepper powder mixed with flour more clearly, the figure 6(b) is converted into a binary image. Black represents white pepper powder and white represents flour. The result is displayed after magnification 7 times. As shown in 7(b). The results of other doping ratios are shown in Figure 7 (a-f).

Conclusion
Hyperspectral scanning was performed on 60 samples in which pure flour was mixed into pure white pepper powder according to a ratio of 1% to 60% and a gradient of 1%. Calculate the average spectrum of each sample. After Mean pretreatment, use the PLSR method to establish a quantitative analysis model for predicting flour content. The RMSEC of the calibration set is 0.83%, and the RMSEP of the prediction set is 2.73%. The prediction sets all have higher correlation coefficients RC = 0.99 and RP = 0.98. PLSR modeling has a better predictive effect. The main reason is that white pepper powder and flour have different light absorption degrees. The light reflection of flour is stronger, while the light absorption of white pepper powder is stronger. Therefore, as the concentration of flour mixed increases, the reflectance of the spectrum becomes larger, showing a stronger correlation coefficient. Experiments show that the use of hyperspectral imaging technology can not only predict the content of flour mixed in white pepper powder, but also locate the position of flour in white pepper powder through spectral data of spatial location points. In the future, we will further study the method of using hyperspectral imaging to identify multiple substances mixed in pepper powder.
Related products
Classification of vegetation diseases and insect pests based on hyperspectral remote sensing data
FieldSpec Spectroradiometer:ATP9110-25
Hyperspectral Camera:ATH1010
Related articles
(1) BansalS, Sinh A, Mangal M, et al. CriticalReviewFoodScience and Nutrition, 2017, 57(6): 1174.[3] Gorgani L, Mohammadim, Najafpur GD, et al. Comprehensive Reviews In Food Science and Food Safety, 2017, 16(1):124.
(2) Hamrapurkar PD, Jadhav K, Zine S. Journal of Applied Pharmaceutical Science, 2011, 1(3): 117.
(3)Paravathy V A, SwethaVP, SheejaTE, et al. Food Biotechnology, 2014, 28(1): 25.
(3).Spectral collection uses Optosky ATH1010,The computer controls the operation of the camera and the sample stage through the HyperSpectral Image software. The obtained hyperspectral pseudo-color image is shown in Figure 1(b). Figure 1 (b) is a pseudo-color image of RGB three primary colors synthesized by three wavelength points of 680, 550 and 470 nm respectively.


(4).The reflectance curve after calibration of the whiteboard and blackboard is shown in Figure 3. As the wavelength increases, the total reflectance of the sample The body presents a slow upward trend; because the white pepper powder has a greater absorption of the spectrum than flour, as the sample doping concentration increases, the reflectance ratio becomes larger.

(5).In the preprocessing of the spectrum, common methods include decentralization, standard normal transformation, multivariate scattering correction, and the application of the first derivative and second derivative of the Safezky-Golay smoothing. And a compound pretreatment method that combines the above methods in pairs. This work will analyze and compare the effects of eight methods, including no pre-processing, Mean, SNV, MSC, MSC+Mean, MSC+SNV, SAVG1 and SAVG2, on the establishment of the PLSR prediction model. The prediction performance of the PLSR model is evaluated according to the root mean square error of the correction set, the root mean square error of the prediction set, the correlation coefficient of the correction set, and the correlation coefficient of the prediction set. Under different principal components, the smaller the RMSEP value, the larger the RP value, indicating that the prediction performance of the model is better.
Test result
For 42 samples in the calibration set, partial least square regression (PLSR) was used to establish a prediction model for identifying the flour content in white pepper powder, and then the prediction model was used to test the 20 samples in the prediction set. In order to obtain the best prediction model, the original spectral data were analyzed and compared through different prediction processing methods such as Mean, SNV, MSC, MSC+Mean, MSC+SNV, SAVG1 and SAVG2. As shown in Table 1.


Figure 6(a) is a grayscale image of a sample mixed with 25% flour at a wavelength of 550nm. Figure 6(b) shows the position of the flour in the original gray-scale image of Figure 6(a) after using the correlation coefficient method and the maximum and minimum discrimination criteria. The white display part in the figure represents the flour. In order to show the white pepper powder mixed with flour more clearly, the figure 6(b) is converted into a binary image. Black represents white pepper powder and white represents flour. The result is displayed after magnification 7 times. As shown in 7(b). The results of other doping ratios are shown in Figure 7 (a-f).

Conclusion
Hyperspectral scanning was performed on 60 samples in which pure flour was mixed into pure white pepper powder according to a ratio of 1% to 60% and a gradient of 1%. Calculate the average spectrum of each sample. After Mean pretreatment, use the PLSR method to establish a quantitative analysis model for predicting flour content. The RMSEC of the calibration set is 0.83%, and the RMSEP of the prediction set is 2.73%. The prediction sets all have higher correlation coefficients RC = 0.99 and RP = 0.98. PLSR modeling has a better predictive effect. The main reason is that white pepper powder and flour have different light absorption degrees. The light reflection of flour is stronger, while the light absorption of white pepper powder is stronger. Therefore, as the concentration of flour mixed increases, the reflectance of the spectrum becomes larger, showing a stronger correlation coefficient. Experiments show that the use of hyperspectral imaging technology can not only predict the content of flour mixed in white pepper powder, but also locate the position of flour in white pepper powder through spectral data of spatial location points. In the future, we will further study the method of using hyperspectral imaging to identify multiple substances mixed in pepper powder.
Related products
Classification of vegetation diseases and insect pests based on hyperspectral remote sensing data
FieldSpec Spectroradiometer:ATP9110-25
Hyperspectral Camera:ATH1010
Related articles
(1) BansalS, Sinh A, Mangal M, et al. CriticalReviewFoodScience and Nutrition, 2017, 57(6): 1174.[3] Gorgani L, Mohammadim, Najafpur GD, et al. Comprehensive Reviews In Food Science and Food Safety, 2017, 16(1):124.
(2) Hamrapurkar PD, Jadhav K, Zine S. Journal of Applied Pharmaceutical Science, 2011, 1(3): 117.
(3)Paravathy V A, SwethaVP, SheejaTE, et al. Food Biotechnology, 2014, 28(1): 25.
Related News
Precision fertilization by UAV for rice at tillering stage in cold region based on hyperspectral remote sensing prescription map
2023-02-01 363New product|recommendation-GF900 UAV-borne laser methane telemetry system
2023-08-30 43Application of UAV-hyperspectral imaging for rice growth monitoring
2023-01-18 502Application of hyperspectral camera in industrial inspection
2023-01-17 331Estimation Scheme of Rice Yield Based on UAV Hyperspectral Images
2023-01-17 278Surveillance of pine wood nematode disease based on satellite remote sensing images
2023-01-16 306UAV forest fire patrol protection plan
2023-01-16 312Application of Hyperspectral Imager in Disguised Target Recognition(part 2)
2023-01-13 348Application of hyperspectral imager in detection of exogenous pests in jujube fruit
2023-01-11 369Application of UAV Hyperspectral in Garbage Sorting
2023-01-10 333Application of Hyperspectral Imager in Disguised Target Recognition(part 1)
2023-01-10 300What is the hyperspectral imaging?
2023-01-05 326Study on the degree of damage to the Asian carlocust with hyperspectral remote sensing model
2023-01-03 294Nitrogen detection in cotton leaves based on hyperspectral
2022-12-23 283FAQ_HYPERSPECTAL IMAGER FAQ
2022-08-22 943Using ATHL9010 to estimate above-ground carbon stocks at the single-tree scale in subtropical forests
2022-02-25 1077Airborne Hyperspectral Imaging in Early Monitoring of Pine Wood Nematode
2022-01-14 868A Study on Eutrophication of Lake Based on Hyper-spectraI Remote
2022-01-07 622Application of Hyperspectral in the Construction of Hongshan Polymetallic Prospecting Model
2022-01-07 576Vegetation Classification of Alpine Grassland in Qinghai Lake Basin Based on HSI hyperspectral remote sensing data
2022-01-07 605