Combining Hyperspectral Preprocessing and Feature Selection with Machine Learning for Inland Water Quality Parameter Inversion
Highlights
- Constructing a high-precision inversion model for non-optically active parameters based on hyperspectral data and measured water quality parameters.
- We have found a matching preprocessing strategy and feature selection strategy for the inversion model.
- The constructed water quality parameter inversion model provides a usable solution for dynamic monitoring of water health status.
- The preprocessing and feature selection schemes that match the optimal inversion model are not fixed for different water quality parameters.
Abstract
1. Introduction
2. Materials and Methods
2.1. Overview of the Study Area
2.2. Water Sample Collection and Analysis
2.3. Hyperspectral Data Acquisition
2.4. Hyperspectral Data Preprocessing Methods
2.4.1. Abnormal Curve Elimination and Average Value Processing
2.4.2. Scattering Correction of Hyperspectral Data
2.4.3. Hyperspectral Data Smoothing
2.4.4. Hyperspectral Data Differential Processing
2.5. Sensitive Band Screening Method
2.5.1. CARS
2.5.2. VIP
2.5.3. VCPA-IRIV (Hereafter Referred to as V-I)
2.6. Machine Learning Algorithm
2.6.1. BPNN
2.6.2. RR
2.6.3. RF
2.6.4. XGBoost
2.7. Model Accuracy Evaluation Method
2.8. Data Processing Methods
3. Results
3.1. Concentration Characteristics of Water Quality Parameters
3.2. Remote Sensing Reflectance Characteristics
3.2.1. Characteristics of Raw Remote Sensing Reflectance and Reflectance Processed via SNV + S-G
3.2.2. Characteristics of Remote Sensing Reflectance Following Differential Processing
3.2.3. Correlation Analysis Following Differential Processing
3.3. Sensitive Band Selection Based on CARS, VIP and V-I
3.4. Construction of Inversion Models Based on Machine Learning Algorithms
3.5. Model Validation via Independent Datasets


4. Discussion
4.1. Impact of Differential Transformations of Remote Sensing Reflectance on Inversion Models
4.2. Effect of Band Selection on Inversion Models
4.3. Comparison and Analysis of the Inversion Model Results
4.4. Uncertainty Analysis of the Inversion Results
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Conley, D.J.; Paerl, H.W.; Howarth, R.W.; Boesch, D.F.; Seitzinger, S.P.; Havens, K.E.; Lancelot, C.; Likens, G.E. Controlling eutrophication: Nitrogen and phosphorus. Science 2009, 323, 1014–1015. [Google Scholar] [CrossRef] [PubMed]
- Adjovu, G.E.; Stephen, H.; James, D.; Ahmad, S. Overview of the application of remote sensing in effective monitoring of water quality parameters. Remote Sens. 2023, 15, 1938. [Google Scholar] [CrossRef]
- Wang, X.; Yang, W. Water quality monitoring and evaluation using remote sensing techniques in China: A systematic review. Ecosyst. Health Sustain. 2019, 5, 47–56. [Google Scholar] [CrossRef]
- Hou, Y.; Zhang, A.; Lv, R.; Zhao, S.; Ma, J.; Zhang, H.; Li, Z. A study on water quality parameters estimation for urban rivers based on ground hyperspectral remote sensing technology. Environ. Sci. Pollut. Res. 2022, 29, 63640–63654. [Google Scholar] [CrossRef]
- Qi, C.; Huang, S.; Wang, X. Monitoring water quality parameters of Taihu Lake based on remote sensing images and LSTM-RNN. IEEE Access 2020, 8, 188068–188081. [Google Scholar] [CrossRef]
- Cao, Q.; Yu, G.; Qiao, Z. Application and recent progress of inland water monitoring using remote sensing techniques. Environ. Monit. Assess. 2023, 195, 125. [Google Scholar] [CrossRef]
- Ren, J.; Cui, J.; Dong, W.; Xu, M.; Liu, S.; Zhang, J. Remote sensing inversion of typical offshore water quality parameter concentration based on improved SVR algorithm. Remote Sens. 2023, 15, 2104. [Google Scholar] [CrossRef]
- Pan, C.; Luo, Z.; Wei, Z.; Wang, L.; Wang, M.; Peng, Y. Remote Sensing Inversion Technology for the Evaluation of Coastal Water Eutrophication with the Pressure-State-Response Framework. J. Clean. Prod. 2025, 514, 145771. [Google Scholar] [CrossRef]
- Liang, Y.; Yin, F.; Liu, L.; Zhang, Y.; Ashraf, T. Inversion and monitoring of the TP concentration in Taihu Lake using the landsat-8 and sentinel-2 images. Remote Sens. 2022, 14, 6284. [Google Scholar] [CrossRef]
- Ogashawara, I.; Moreno-Madriñán, M.J. Improving inland water quality monitoring through remote sensing techniques. ISPRS Int. J. Geo-Inf. 2014, 3, 1234–1255. [Google Scholar] [CrossRef]
- Chen, B.; Mu, X.; Chen, P.; Wang, B.; Choi, J.; Park, H.; Yang, H. Machine learning-based inversion of water quality parameters in typical reach of the urban river by UAV multispectral data. Ecol. Indic. 2021, 133, 108434. [Google Scholar] [CrossRef]
- Wang, M.; Zhou, C.; Shi, J.; Lin, F.; Li, Y.; Hu, Y.; Zhang, X. Inversion of Water Quality Parameters from UAV Hyperspectral Data Based on Intelligent Algorithm Optimized Backpropagation Neural Networks of a Small Rural River. Remote Sens. 2025, 17, 119. [Google Scholar] [CrossRef]
- Olmanson, L.G.; Brezonik, P.L.; Bauer, M.E. Airborne hyperspectral remote sensing to assess spatial distribution of water quality characteristics in large rivers: The Mississippi River and its tributaries in Minnesota. Remote Sens. Environ. 2013, 130, 254–265. [Google Scholar] [CrossRef]
- Zhao, H.; Song, X.; Yang, G.; Li, Z.; Zhang, D.; Feng, H. Monitoring of nitrogen and grain protein content in winter wheat based on Sentinel-2A data. Remote Sens. 2019, 11, 1724. [Google Scholar] [CrossRef]
- Vaughn, N.R.; König, M.; Hondula, K.L.; Harrison, D.E.; Asner, G.P. Rapid Water Quality Map from Imaging Spectroscopy with a Superpixel Approach to Bio-Optical Inversion. Remote Sens. 2024, 16, 4344. [Google Scholar] [CrossRef]
- Barnes, B.B.; Garcia, R.; Hu, C.; Lee, Z. Multi-band spectral matching inversion algorithm to derive water column properties in optically shallow waters: An optimization of parameterization. Remote Sens. Environ. 2018, 204, 424–438. [Google Scholar] [CrossRef]
- Sun, Y.; Wang, D.; Li, L.; Ning, R.; Yu, S.; Gao, N. Application of remote sensing technology in water quality monitoring: From traditional approaches to artificial intelligence. Water Res. 2024, 267, 122546. [Google Scholar] [CrossRef]
- Pang, Z.; Zhou, Z.; Fu, J.E.; Jiang, W.; Qin, X.; Sun, M. Deep learning-based remote sensing retrieval of inland water quality: A review. J. Hydrol.-Reg. Stud. 2025, 61, 102759. [Google Scholar] [CrossRef]
- Cao, X.; Zhang, J.; Meng, H.; Lai, Y.; Xu, M. Remote sensing inversion of water quality parameters in the Yellow River Delta. Ecol. Indic. 2023, 155, 110914. [Google Scholar] [CrossRef]
- Xu, X.; Pan, J.; Zhang, H.; Lin, H. Progress in Remote Sensing of Heavy Metals in Water. Remote Sens. 2024, 16, 3888. [Google Scholar] [CrossRef]
- Hartmann, A.; Goldscheider, N.; Wagener, T.; Lange, J.; Weiler, M. Karst water resources in a changing world: Review of hydrological modeling approaches. Rev. Geophys. 2014, 52, 218–242. [Google Scholar] [CrossRef]
- Kong, J.; Zhou, Z.; Xie, R.; Chen, Z.; Li, R.; Li, L.; Cao, W. Anthropogenic exogenous nitric and sulfuric acids in karst plateau reservoirs and their impact on carbon sinks. J. Hydrol. 2025, 660, 133394. [Google Scholar] [CrossRef]
- Fang, S.W.; Li, Q.; Wang, R.F. Discussion on the method of searching for safe drinking water in high-sulfate areas of Guizhou Provinces. Carsologica Sin. 2019, 38, 388–393. [Google Scholar]
- Li, Y.; Zhou, Z.; Kong, J.; Wen, C.; Li, S.; Zhang, Y.; Wang, C. Monitoring Chlorophyll-a concentration in karst plateau lakes using Sentinel 2 imagery from a case study of Pingzhai reservoir in Guizhou, China. Eur. J. Remote Sens. 2022, 55, 1–19. [Google Scholar] [CrossRef]
- Che, X.; Tian, Z.; Bi, Z.; Wang, L.; Yin, S. Spectral technology for water quality detection: A review. Appl. Spectrosc. Rev. 2025, 6, 1–26. [Google Scholar] [CrossRef]
- Saberioon, M.; Khosravi, V.; Brom, J.; Gholizadeh, A.; Segl, K. Examining the sensitivity of simulated EnMAP data for estimating chlorophyll-a and total suspended solids in inland waters. Ecol. Inform. 2023, 75, 102058. [Google Scholar] [CrossRef]
- Savitzky, A.; Golay, M.J. Smoothing and differentiation of data by simplified least squares procedures. Anal. Chem. 1964, 36, 1627–1639. [Google Scholar] [CrossRef]
- Ruffin, C.; King, R.L.; Younan, N.H. A combined derivative spectroscopy and Savitzky-Golay filtering method for the analysis of hyperspectral data. GISci. Remote Sens. 2008, 45, 1–15. [Google Scholar] [CrossRef]
- Hong, Y.; Chen, S.; Liu, Y.; Zhang, Y.; Yu, L.; Chen, Y.; Liu, Y. Combination of fractional order derivative and memory-based learning algorithm to improve the estimation accuracy of soil organic matter by visible and near-infrared spectroscopy. Catena 2019, 174, 104–116. [Google Scholar] [CrossRef]
- Wold, S.; Sjöström, M.; Eriksson, L. PLS-regression: A basic tool of chemometrics. Chemom. Intell. Lab. 2001, 58, 109–130. [Google Scholar] [CrossRef]
- Yun, Y.; Bin, J.; Liu, D. A hybrid variable selection strategy based on continuous shrinkage of variable space in multivariate calibration. Anal. Chim. Acta 2019, 1058, 58–69. [Google Scholar] [CrossRef] [PubMed]
- Li, M.; Li, Y.; Yang, C.; Zhu, H.; Zhou, C. A novel interval sparse evolutionary algorithm for efficient spectral variable selection. Anal. Chim. Acta 2025, 1341, 343655. [Google Scholar] [CrossRef] [PubMed]
- Rumelhart, D.E.; Hinton, G.E.; Williams, R.J. Learning representations by back-propagating errors. Nature 1986, 323, 533–536. [Google Scholar] [CrossRef]
- LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef]
- Hoerl, A.E.; Kennard, R.W. Ridge Regression: Biased Estimation for Nonorthogonal Problems. Technometrics 2012, 12, 55–67. [Google Scholar] [CrossRef]
- Démoulin, R.; Gastellu-Etchegorry, J.-P.; Lefebvre, S. Modeling 3D radiative transfer for maize traits retrieval: A growth stage-dependent study on hyperspectral sensitivity to field geometry, soil moisture, and leaf biochemistry. Remote Sens. Environ. 2025, 327, 114784. [Google Scholar] [CrossRef]
- Belgiu, M.; Drăguţ, L. Random forest in remote sensing: A review of applications and future directions. ISPRS. J. Photogramm. Remote Sens. 2016, 114, 24–31. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016. [Google Scholar]
- Yang, B.; Zhang, H.; Lu, X.; Zhang, Y.; Wan, H.; Luo, X.; Zhang, J. Estimation of chlorophyll content of Cinnamomum camphora leaves based on hyperspectral and fractional order differentiation. Int. J. Remote Sens. 2024, 45, 5113–5129. [Google Scholar] [CrossRef]
- McKnight, D.M.; Boyer, E.W.; Westerhoff, P.K.; Doran, P.T.; Kulbe, T.; Andersen, D.T. Spectrofluorometric characterization of dissolved organic matter for indication of precursor organic material and aromaticity. Limnol. Oceanogr. 2001, 46, 38–48. [Google Scholar] [CrossRef]
- Huang, W.; Zhang, Y.; Liu, J. Estimation of ammonia nitrogen in aquaculture ponds using hyperspectral data. ISPRS. J. Photogramm. 2019, 152, 188–198. [Google Scholar]
- Song, K.; Li, L.; Li, S.; Tedesco, L.; Hall, B.; Li, L. Hyperspectral remote sensing of total phosphorus (TP) in three central Indiana water supply reservoirs. Water Air Soil Pollut. 2012, 223, 1481–1502. [Google Scholar] [CrossRef]
- Lim, J.; Choi, M. Assessment of water quality based on Landsat 8 operational land imager associated with human activities in Korea. Environ. Monit. Assess. 2015, 187, 384. [Google Scholar] [CrossRef] [PubMed]
- Somvanshi, S.; Kunwar, P.; Singh, N.B.; Shukla, S.P.; Pathak, V. Integrated remote sensing and GIS approach for water quality analysis of Gomti river, Uttar Pradesh. Int. J. Environ. Sci. 2012, 3, 62–75. [Google Scholar]
- Cao, Q.; Yu, G.L.; Sun, S.J.; Dou, Y.; Li, H.; Qiao, Z.Y. Monitoring water quality of the Haihe River based on ground-based hyperspectral remote sensing. Water 2022, 14, 22. [Google Scholar] [CrossRef]
- Moradi, R.; Berangi, R.; Minaei, B. A survey of regularization strategies for deep models. Artif. Intell. Rev. 2020, 53, 3947–3986. [Google Scholar] [CrossRef]
- Liu, B.; Li, T. A machine-learning-based framework for retrieving water quality parameters in urban rivers using UAV hyperspectral images. Remote Sens. 2024, 16, 905. [Google Scholar] [CrossRef]
- Yu, Y.; Ding, P.; Bian, H.; Wei, J.; Zhang, H. Water quality parameters inversion based on multispectral remote sensing. J. Water Process. Eng. 2025, 73, 107707. [Google Scholar] [CrossRef]
- Yun, Y.; Wang, W.; Deng, B. Using variable combination population analysis for variable selection in multivariate calibration. Anal. Chim. Acta 2015, 862, 14–23. [Google Scholar] [CrossRef]
- Yun, Y.; Wang, W.; Tan, M. A strategy that iteratively retains informative variables for selecting optimal variable subset in multivariate calibration. Anal. Chim. Acta 2014, 807, 36–43. [Google Scholar] [CrossRef]
- Dahiya, A.; Mittal, P.; Sharma, K.Y.; Lilhore, U.K.; Simaiya, S.; Haq, M.A.; Aleisa, M.A.; Alenizi, A. Hybrid parking space prediction model: Integrating ARIMA, Long short-term memory (LSTM), and backpropagation neural network (BPNN) for smart city development. PeerJ Comput. Sci. 2025, 11, e2645. [Google Scholar] [CrossRef]
- Wagle, N.; Acharya, T.D.; Lee, D.H. Comprehensive review on application of machine learning algorithms for water quality parameter estimation using remote sensing data. Sensor Mater. 2020, 32, 3879–3892. [Google Scholar] [CrossRef]
- Ngamile, S.; Madonsela, S.; Kganyago, M. Trends in remote sensing of water quality parameters in inland water bodies: A systematic review. Front. Environ. Sci. 2025, 13, 1549301. [Google Scholar] [CrossRef]
- Peterson, K.T.; Sagan, V.; Sloan, J.J. Deep learning-based water quality estimation and anomaly detection using Landsat-8/Sentinel-2 virtual constellation and cloud computing. GISci. Remote Sens. 2020, 57, 510–525. [Google Scholar] [CrossRef]
- Guo, X.; Cai, W.J.; Zhai, W.; Dai, M.; Wang, Y.; Chen, B. Seasonal variations in the inorganic carbon system in the Pearl River (Zhujiang) estuary. Cont. Shelf Res. 2008, 28, 1424–1434. [Google Scholar] [CrossRef]
- Lu, Q.; Si, W.; Wei, L.; Li, Z.; Ye, S. Retrieval of water quality from UAV-borne hyperspectral imagery: A comparative study of machine learning algorithms. Remote Sens. 2021, 13, 3928. [Google Scholar] [CrossRef]
- Palmer, S.C.; Kutser, T.; Hunter, P.D. Remote sensing of inland waters: Challenges, progress and future directions. Remote Sens. Environ. 2015, 157, 1–8. [Google Scholar] [CrossRef]







| Water Quality Parameters | Differential Order | ||||
|---|---|---|---|---|---|
| 0 Order | 0.5 Order | 1st Order | 1.5 Order | 2nd Order | |
| DIC (mg/L) | 0.36 | 0.56 | 0.81 | 0.85 | 0.69 |
| NH3-N (mg/L) | 0.45 | 0.53 | 0.83 | 0.87 | 0.71 |
| NO3−-N (mg/L) | 0.55 | 0.58 | 0.77 | 0.76 | 0.71 |
| TP (mg/L) | 0.41 | 0.51 | 0.63 | 0.69 | 0.62 |
| Order | Filter Quantity | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CARS | VIP | V-I | ||||||||||
| DIC | NH3-N | NO3−-N | TP | DIC | NH3-N | NO3−-N | TP | DIC | NH3-N | NO3−-N | TP | |
| 0 | 18 | 5 | 8 | 9 | 181 | 326 | 190 | 257 | 26 | 14 | 19 | 12 |
| 0.5 | 17 | 18 | 16 | 18 | 134 | 261 | 214 | 304 | 13 | 17 | 28 | 12 |
| 1 | 10 | 13 | 6 | 12 | 125 | 213 | 217 | 224 | 40 | 19 | 17 | 19 |
| 1.5 | 18 | 6 | 8 | 17 | 107 | 195 | 185 | 203 | 26 | 21 | 18 | 16 |
| 2 | 10 | 15 | 6 | 14 | 74 | 142 | 159 | 217 | 28 | 29 | 21 | 20 |
| Machine Learning Algorithms | Main Hyperparameters | Water Quality Parameters | |||
|---|---|---|---|---|---|
| DIC | NH3-N | NO3−-N | TP | ||
| BPNN | hidden_layer_sizes | 7 | 6 | 6 | 5 |
| learning_rate_init | 0.1 | 0.01 | 0.01 | 0.01 | |
| max_iter | 1000 | 1000 | 1000 | 1000 | |
| tol | 0.0001 | 0.0001 | 0.0001 | 0.0001 | |
| RF | n_estimators | 100 | 100 | 100 | 100 |
| max_depth | None | None | None | None | |
| min_samples leaf | 2 | 5 | 1 | 1 | |
| min_samples_split | 2 | 2 | 5 | 2 | |
| RR | Alpha | 3 | 6 | 2 | 3 |
| degree | 2 | 2 | 2 | 2 | |
| XGBoost | n_estimators | 105 | 100 | 70 | 135 |
| learning_rate | 0.1 | 0.05 | 0.1 | 0.1 | |
| max_depth | 3 | 3 | 6 | 3 | |
| min_child_weight | 2 | 1 | 1 | 2 | |
| gamma | 0 | 0.5 | 0.2 | 0 | |
| Machine Learning Algorithms | Water Quality Parameters | |||
|---|---|---|---|---|
| DIC | NH3-N | NO3−-N | TP | |
| BPNN | V-I—1 | CARS—1 | CARS—0.5 | V-I—1.5 |
| RR | CARS—1.5 | V-I—1.5 | CARS—0.5 | V-I—1 |
| RF | CARS—1.5 | V-I—2 | CARS—1.5 | CARS—1.5 |
| XGBoost | CARS—1.5 | V-I—1.5 | CARS—1.5 | V-I—1.5 |
| Water Quality Parameters | Models (Machine Learning Algorithms—Feature Selection Methods—Differential Order) |
|---|---|
| DIC | BPNN—VIP—0.5 (R2 = 0.564); BPNN—V-I—2 (R2 = 0.730) |
| NO3−-N | XGBoost—V-I—0.5 (R2 = 0.683) |
| TP | BPNN—V-I—0.5 (R2 = 0.586); RR—VIP—2 (R2 = 0.515); XGBoost—CARS—2 (R2 = 0.551) |
| Selection Methods | Numbers | R2 | RMSE | MAE | Selection Methods | Numbers | R2 | RMSE | MAE | ||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CARS | 18 | 0.885 | 1.019 | 1.123 | CARS | 16 | 0.872 | 0.015 | 0.085 | ||
| DIC | VIP | 74 | 0.816 | 2.792 | 1.901 | NH3-N | VIP | 213 | 0.863 | 0.012 | 0.084 |
| V-I | 26 | 0.832 | 1.960 | 1.165 | V-I | 21 | 0.893 | 0.012 | 0.072 | ||
| CARS | 8 | 0.863 | 0.085 | 0.217 | CARS | 17 | 0.802 | 0.0005 | 0.0172 | ||
| NO3−-N | VIP | 185 | 0.813 | 0.082 | 0.243 | TP | VIP | 203 | 0.763 | 0.0005 | 0.0176 |
| V-I | 17 | 0.832 | 0.090 | 0.248 | V-I | 16 | 0.831 | 0.0004 | 0.0167 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Kong, J.; Zhou, Z.; Xie, R.; Zhang, X.; Li, R.; Ding, C. Combining Hyperspectral Preprocessing and Feature Selection with Machine Learning for Inland Water Quality Parameter Inversion. Remote Sens. 2026, 18, 508. https://doi.org/10.3390/rs18030508
Kong J, Zhou Z, Xie R, Zhang X, Li R, Ding C. Combining Hyperspectral Preprocessing and Feature Selection with Machine Learning for Inland Water Quality Parameter Inversion. Remote Sensing. 2026; 18(3):508. https://doi.org/10.3390/rs18030508
Chicago/Turabian StyleKong, Jie, Zhongfa Zhou, Rukai Xie, Xinyue Zhang, Rui Li, and Caixia Ding. 2026. "Combining Hyperspectral Preprocessing and Feature Selection with Machine Learning for Inland Water Quality Parameter Inversion" Remote Sensing 18, no. 3: 508. https://doi.org/10.3390/rs18030508
APA StyleKong, J., Zhou, Z., Xie, R., Zhang, X., Li, R., & Ding, C. (2026). Combining Hyperspectral Preprocessing and Feature Selection with Machine Learning for Inland Water Quality Parameter Inversion. Remote Sensing, 18(3), 508. https://doi.org/10.3390/rs18030508
