Skip to main content
Log in

Fast detection of water loss and hardness for cucumber using hyperspectral imaging technology

  • Original Paper
  • Published:
Journal of Food Measurement and Characterization Aims and scope Submit manuscript

Abstract

Hardness and water loss are the most important determining factors of the freshness of fruits and vegetables. In order to solve the defects of traditional detection methods, Hyperspectral imaging technology was investigated for fast determination of hardness and water loss of cucumber. The standard normal variate and Savitzky-Golay smoothing preprocessing methods were compared, and then optimal wavelengths were selected by competitive adaptive weighting sampling (CARS). 29 characteristic wavelengths for hardness and 42 characteristic wavelengths for water loss were selected by CARS, respectively. The partial least squares regression (PLSR) prediction models were developed based on the optimal characteristic wavelengths and the full spectrum, respectively. The results of the hardness and water loss PLSR model based on the optimal wavelengths (R2 = 0.9420 and RMSE = 19.5088; R2 = 0.8218 and RMSE = 1.0132) were better than those based on the full bands. Furthermore, visualized maps of hardness and water loss were built based on the generated model function, showing that the hardness and water loss change with prolonged storage time.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Explore related subjects

Discover the latest articles and news from researchers in related subjects, suggested using machine learning.

Data availability

Data transparency.

Code availability

Matlab 2004 and custom code.

References

  1. S.S. Ma, H.C. Yu, Y. Yin, Y.X. Yuan, X. L, S.N. X, Cucumber moisture and hardness hyperspectral characteristic wavelength selection and prediction model establishment. J. Food Mach. 37(2), 145–151 (2020). https://doi.org/10.13652/j.issn.1003-5788.2021.02.025

    Article  Google Scholar 

  2. L. Feng, Research on freshness intelligent recognition of cucumbers and cherry tomatoes based on electronic nose and low-field nuclear magnetic resonance. Jiangnan University Food Science and Engineering, Wuxi, China, 2019

  3. D.S. Zhu, Q.M. Zhang, Y.H. Ge, X.H. Cao, J.R. Li, X.J. Meng, Study on the relationship between moisture and texture changes of Kyoho grapes stored at room temperature after harvest. Sci. Technol. Food Ind. 36(3), 349–352 (2015). https://doi.org/10.13386/j.issn.1002-0306.2015.03.066 (356)

    Article  CAS  Google Scholar 

  4. M. Sun, Y. Fu, R.R. Xu, Y. Zhao, X.,H. Chen, Nondestructive Inspect of Fruit Quality with Hyperspectral Imaging Technology. J. Food Sci. Technol. 31(2), 67–71 (2013)

    Google Scholar 

  5. B.H. Zhang, J.B. Li, S.X. Fan, W.Q. Huang, C. Zhang, Q. Wang, G.D. Xiao, Principles and appliacation of hyperspectral imaging technique in quality and safety inspection of fruits and vegetables. Spectros. Spectr. Anal. 34(10), 2743–2751 (2014). https://doi.org/10.3964/j.issn.1000-0593.2014.10-2743-09

    Article  CAS  Google Scholar 

  6. Y.W. Tian, L. Zhang, Study on the methods of detecting cucumber downy mildew using hyperspectral imaging technology. Phys. Procedia 33, 743–750 (2012). https://doi.org/10.1016/j.phpro.2012.05.130

    Article  CAS  Google Scholar 

  7. R.F. Lua, D.P. Arianab, Detection of fruit fly infestation in pickling cucumbers using a hyperspectral reflectance/transmittance imaging system. Postharvest Biol. Technol. 81, 44–50 (2013). https://doi.org/10.1016/j.postharvbio.2013.02.003

    Article  Google Scholar 

  8. H.Y. Cen, R.F. Lu, D.P. Ariana, Hyperspectral imaging-based classification and wavebands selection for internal defect detection of pickling cucumbers. Food Bioprocess Technol. 7, 1689–1700 (2014). https://doi.org/10.1007/s11947-013-1177-6

    Article  Google Scholar 

  9. H.Y. Cen, R.F. Lu, Q.B. Zhu, F. Mendozae, Nondestructive detection of chilling injury in cucumber fruit using hyperspectral imaging with feature selection and supervised classification. Postharvest Biol. Technol. 111, 352–361 (2016). https://doi.org/10.1016/j.postharvbio.2015.09.027

    Article  Google Scholar 

  10. G.F. Zhao, X.J. Zhang, Study of monitoring the greenhouse cucumber nutritional status based on spectral analysis. Res. Agric. Mech. 8, 18–21 (2013)

    Google Scholar 

  11. X. Zou, X. Zhang, J. Shi, Z. Li, T. Shen, Detection of chlorophyll content distribution in cucumber leaves based on hyperspectral imaging. Trans. Chin. Soc. Agric. Eng. 30(13), 169–175 (2014). https://doi.org/10.3969/j.issn.1002-6819.2014.13.021

    Article  Google Scholar 

  12. Y.H. Li, Z.H. Luo, F.J. Wang, Y.X. Wang, Hyperspectral leaf image-based cucumber disease recognition using the extended collaborative representation model. Sensors 20, 4045 (2020). https://doi.org/10.3390/s20144045

    Article  PubMed Central  Google Scholar 

  13. G.A. Leiva-Valenzuela, R.F. Lu, J.M. Aguilera, Prediction of firmness and soluble solids content of blueberries using hyperspectral reflectance imaging. J. Food Eng. 115, 91–98 (2013). https://doi.org/10.1016/j.jfoodeng.2012.10.001

    Article  Google Scholar 

  14. P. Rajkumar, N. Wang, G. Eimasry, G.S.V. Raghavan, Y. Gariepy, Studies on banana fruit quality and maturity stages using HSI. J. Food Eng. 108(1), 194–200 (2012). https://doi.org/10.1016/j.jfoodeng.2011.05.002

    Article  Google Scholar 

  15. P. Zhang, J.K. Li, X.J. MENG, P. Zhang, B.G. Wang, X.Y. Feng, Study on nondestructive measurement of firmness of Mopan persimmon using visible and near infrared diffuse reflection spectroscopy. Sci. Technol. Food Ind. 32(7), 423–425 (2011). https://doi.org/10.13386/j.issn1002-0306.2011.07.116 (428)

    Article  CAS  Google Scholar 

  16. B.L. Hou, B.C. Li, Y. Zhou, M.T. Zhao, R.J. Hong, D.W. Zhang, Soluble solids content and firmness prediction of pears based on visible-near infrared hyperspectral image. LASER J. 36(10), 70–74 (2015). https://doi.org/10.14016/j.cnki.jgzz.2015.10.070

    Article  Google Scholar 

  17. N. LU, P. Han, J.H. Wang, Prediction on firmness of strawberry based on hyperspectral imaging. Softw. Guide 17(3), 180–182 (2018). https://doi.org/10.11907/rjdk.172845

    Article  Google Scholar 

  18. J. Yang, B.X. Ma, Y.X. Wang, J. Wang, J. Xu, Non-destructive of soluble solids in grape by hyperspectral testing technology. Jiangsu Agric. Sci. 44(6), 401–403 (2016). https://doi.org/10.15889/j.issn.1002-1302.2016.06.118

    Article  Google Scholar 

  19. D. Li, J.G. He, G.S. Liu, X.G. He, S.L. Wang, L.G. Wu, Non-destructive detection of moisture content in gherkin using hyperspectral imaging. Inf. Laser Eng. 43(7), 2393–2397 (2014)

    Google Scholar 

  20. J.Y. Tan, Q. Wang, Influence of different cold storage techniques on qualitr of Dutch cucumber. Acta Agric. Jiangxi 21(5), 128–130 (2009)

    Google Scholar 

  21. T.J. Cai, H. Tang, Overview of the least-squares fitting principle of Savitzky-Golay smoothing filter. Digit. Commun. 1(17), 63–68 (2011). https://doi.org/10.3969/j.issn.1001-3824.2011.01.017 (82)

    Article  Google Scholar 

  22. Y.J. He, D.H. Xie, R.F. Zhong, Research on SG filtering algorithm based on hyperspectral image. J. Capital Normal Univ. (Nat. Sci. Edit.) 39(2), 70–75 (2018). https://doi.org/10.19789/j.1004-9398.2018.02.014

    Article  Google Scholar 

  23. Q.S. Chen, Z.M. Guo, J.W. Zhao, Q. Ouyang, Quantitative analysis of the catechins in green tea by near-infrared spectroscopy and net analyte pretreatment algorithm. J. Infrared Millimeter Waves 28(5), 357–361 (2009). https://doi.org/10.3724/SP.J.1010.2009.00357

    Article  Google Scholar 

  24. Y.H. Liu, Q.Q. Wang, X.W. Gao, A.G. Xie, H.C. Yu, Potential of hyperspectral imaging for nondestructive determination of chlorogenic acid content in Flos Lonicerae. J. Food Process. Eng. 42(6), 2603–2612 (2019). https://doi.org/10.1007/s11694-019-00180-x

    Article  Google Scholar 

  25. W.W. Cheng, D.W. Sun, H.B. Pu, Q.Y. Wei, Characterization of myofibrils cold structural deformation degrees of frozen pork using hyperspectral imaging coupled with spectral angle mapping algorithm. Food Chem. 239, 1001–1008 (2018). https://doi.org/10.1016/j.foodchem.2017.07.011

    Article  CAS  PubMed  Google Scholar 

Download references

Acknowledgements

This work is supported by the National Key R&D Program of China under Grant No.2017YFC1600802 and the Research on Key Technologies for Improving the Quality of Agricultural Products in the Machine Vision System of Henan Province Key Research Project under Grant No.172102210256.The authors acknowledge the support.

Funding

This work was supported by the National Key R&D Program of China and the Research on Key Technologies for Improving the Quality of Agricultural Products in the Machine Vision System of Henan Province Key Research Project (Grant Numbers [No.2017YFC1600802] and [No.172102210256]).

Author information

Authors and Affiliations

Authors

Contributions

YL: Methodology, data processing, and analysis, writing-original draft, experiment. YY: Experiment, supervision. HY: Methodology, writing-review and editing, supervision. YY: Writing-review and editing, data processing.

Corresponding author

Correspondence to Huichun Yu.

Ethics declarations

Conflict of interest

The authors have no conflicts of interest to declare that are relevant to the content of this article.

Ethical approval

Research don’t involve Human Participants and Animals.

Consent to participate

The authors consent to participate.

Consent for publication

The authors consent to publish.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Li, Y., Yin, Y., Yu, H. et al. Fast detection of water loss and hardness for cucumber using hyperspectral imaging technology. Food Measure 16, 76–84 (2022). https://doi.org/10.1007/s11694-021-01130-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11694-021-01130-2

Keywords