Plugin icon

Bathymetrix-AI

Plugin ID: 4513

A professional QGIS research toolkit for Satellite-Derived Bathymetry (SDB), integrating Sentinel-2 STAC imagery downloading & temporal compositing, multispectral SDB modeling, and ICESat-2 LiDAR via Auto-ML.

Download latest
Versions JSON
Latest version

BATHYMETRIX-AI: ADVANCED SDB TOOLKIT & COASTAL DYNAMICS
================================================================================

Bathymetrix-AI is a professional QGIS research toolkit for high-precision Satellite-Derived Bathymetry (SDB). The toolkit integrates multispectral satellite imagery with ICESat-2 (ATL24) LiDAR bathymetry through a modular and adaptive Machine Learning framework. It automates the end-to-end SDB processing pipeline while maintaining full control over data quality, model selection, spatial refinement, uncertainty estimation, and scientific validation.


--------------------------------------------------------------------------------
πŸ”¬ SCIENTIFIC METHODOLOGY β€” CORE 5-PHASE SYSTEM (SDB SINGLE MASTERFLOW)
--------------------------------------------------------------------------------

The SDB Single Masterflow provides a complete end-to-end processing pipeline for a single satellite scene:

Phase 01 β†’ Phase 02 β†’ Phase 03 β†’ Phase 04 β†’ Phase 05


PHASE 01: ADVANCED PRE-PROCESSING

Prepares satellite imagery for bathymetric modeling by isolating the aquatic domain, reducing radiometric interference, and generating depth-sensitive spectral features.

- Sun-Glint Removal:
Removes surface reflections using the Hedley model, with robust handling of NaN and Inf values.

- Water Segmentation:
Uses NDWI, MNDWI, and NWI with adaptive thresholding to isolate the aquatic domain.

- Deep Water OSW Filtering:
Identifies and removes deep-water areas unsuitable for optical bathymetry using:

(1) Automated Knee-Point Extinction [Recommended].
(2) Turbidity-Invariant Log-Ratio Extinction using NDTI.
(3) Multi-Otsu / GMM 3D Spectral Clustering.
(4) Connected-Component Topological Cleaning.
(5) Manual Polygon ROI & Custom OSW Polygon.

- OSW Boundary Extraction:
Exports Optically Shallow Water boundaries as GeoPackage vectors while preserving the source CRS.

- Log-Ratio Features & Spectral Indices:
Generates depth-sensitive features, including Blue/Green Log-Ratio and additional spectral indices.


PHASE 02: ROBUST FILTERING

Improves training data quality by identifying and removing noisy observations, outliers, and environmental artifacts.

- Noise Removal:
Supports Linear RANSAC, Least-Squares (LS) Variance Fit, and Huber Variance Fit, with optional bypass.

- Dynamic Diagnostic Plotting:
Uses robust percentile-based visualization for variance and trend analysis.


PHASE 03: GLOBAL AUTO-ML & FEATURE ANALYSIS

Automatically evaluates multiple machine-learning approaches instead of relying on one predefined algorithm.

- Feature Analysis:
Pearson/Spearman correlation, Auto-RANSAC, and Auto-Random Forest.

- Algorithm Benchmarking:
Evaluates 15+ regressors, including Random Forest, Gradient Boosting, XGBoost, LightGBM, CatBoost, SVR, and MLP.

- Model Selection & Winner Stability:
Supports seven selection strategies:

(1) Winner Stability via Monte Carlo Sensitivity Simulation.
(2) SDB Composite Score.
(3) Maximum RΒ².
(4) Minimum RMSE.
(5) Minimum wMAPE.
(6) Minimum Absolute Bias.
(7) Minimum MAE.

- Hyperparameter Optimization:
Bayesian Optimization, Grid Search, and Random Search.

- Spatial Cross-Validation:
Independent spatial block cross-validation.

- Ensemble Blending:
Standard Average, Median, Stacking, and Uncertainty-Weighted Pixel Fusion.

- Memory-Efficient Prediction:
Chunk-based raster prediction for large satellite images.

- Customization:
Advanced controls for model parameters and optimization settings.


PHASE 04: ADAPTIVE REFINEMENT

Corrects local errors remaining after global machine-learning prediction.

- Decoupled Refinement Architecture:
Independent Depth Variance Correction and Spatial Residual Error Modeling.

- Spatial Residual Correction:
Models spatial differences between predicted and observed depths.

- Zero-Mean Centered Spatial Residuals:
Applies robust residual processing and spatial weighting to reduce local bias.

- Spatial Residual Modeling:
Robust KNN, Standard KNN, and Gaussian Process / Kriging.

- Spatial Cross-Validation:
Independent spatial validation of residual models.

- Adaptive Re-training & Pixel Fusion:
Integrates model predictions with spatial error information.

- IHO Standards Assessment:
Evaluates results against IHO S-44 Order 1a/2 Total Vertical Uncertainty criteria.


PHASE 05: VALIDATION & REPORTING

Provides independent scientific assessment of the final bathymetric result.

- Independent Accuracy Assessment:
Evaluates model performance using unseen validation points.

- Performance Metrics:
RΒ², RMSE, and wMAPE.

- IHO S-44 Assessment:
Evaluates compliance with applicable Order 1a/2 TVU criteria.

- Interactive Validation Dashboard:
Generates HTML dashboards containing model leaderboards, validation metrics, diagnostic plots, and summary information.


--------------------------------------------------------------------------------
πŸš€ MASTERFLOWS & STANDALONE MODULES
--------------------------------------------------------------------------------

1. SDB Single Masterflow:
One Scene β†’ Pre-processing β†’ Filtering β†’ AI Modeling β†’ Adaptive Refinement β†’ Validation β†’ One Final SDB Map.

2. SDB SpatioSpectral Masterflow:
Multiple Scenes β†’ Independent SDB Modeling β†’ Scene Evaluation β†’ Best Scene Selection / Weighted Median / Weighted Mean / Median / Mean β†’ One Consolidated SDB Map.

3. SDB SpatioTemporal Masterflow:
Multiple Years β†’ Global Spatiotemporal AI Modeling β†’ Year-Specific Adaptive Refinement β†’ Temporal Series of SDB Maps.

4. Coastal Dynamics Analysis (Module 06):
Analyzes Net Bathymetric Change, Morphological Stability Index (MSI), Statistical Level of Detection (StatCD), Erosion and Accretion, Shoreline Movement, Volumetric Sediment Tracking, and Target ROI Analytics.

5. ICESat-2 Downloader:
Queries, filters, and downloads ICESat-2 ATL24 bathymetric observations directly from NSIDC.

6. Tidal Datum Converter:
Converts and vertically aligns bathymetric observations between tidal reference datums using NASA GSFC GOT4.10c tidal modeling.


--------------------------------------------------------------------------------
πŸ“Š PERFORMANCE METRICS
--------------------------------------------------------------------------------

- RΒ² (Coefficient of Determination):
Measures goodness of fit between predicted and observed depths.

- RMSE (Root Mean Square Error):
Measures average vertical prediction error in meters.

- wMAPE (Weighted Mean Absolute Percentage Error):
Measures relative error across depth intervals.

- IHO S-44 Standards:
Evaluates results against Order 1a and Order 2 TVU criteria.


--------------------------------------------------------------------------------
🎯 MASTERFLOW SELECTION GUIDE
--------------------------------------------------------------------------------

- SDB Single Masterflow:
One Scene β†’ One SDB.

- SDB SpatioSpectral Masterflow:
Multiple Scenes β†’ Evaluate / Select / Aggregate β†’ One SDB.

- SDB SpatioTemporal Masterflow:
Multiple Years β†’ Global Temporal AI β†’ SDB for Each Year.

- Coastal Dynamics Analysis:
Yearly SDB β†’ Bathymetric Change & Morphological Analysis.


--------------------------------------------------------------------------------
πŸ“š SCIENTIFIC REFERENCES
--------------------------------------------------------------------------------

- Stumpf et al. (2003):
Determination of shallow water depth with high-resolution satellite imagery.

- Hedley et al. (2005):
Simple and robust removal of sun glint for high-resolution imagery.

- Fischler & Bolles (1981):
Random Sample Consensus (RANSAC) for model fitting.

- Zhang et al. (2021):
Adaptive variance fitting for satellite bathymetry noise reduction.

- Alevizos (2020):
Spatial residual refinement and error compensation in shallow coastal waters.

- Wheaton et al. (2010):
Accounting for uncertainty in DEMs from repeat topographic surveys.


--------------------------------------------------------------------------------
πŸ“– SOFTWARE CITATION
--------------------------------------------------------------------------------

Nasef M. Aly. (2026).
Nasef2017/Bathymetrix-AI: Bathymetrix_AI V7.9 (Version v7.9).
[Computer software]. Zenodo.
https://doi.org/10.5281/zenodo.22539469


================================================================================
DEVELOPMENT & ACKNOWLEDGMENT
================================================================================

Developed by Mohamed Aly Nasef for scientific research, coastal mapping, bathymetric analysis, and hydrographic applications.

Code architecture, algorithms, and technical documentation significantly enhanced and optimized using Google Gemini AI.

================================================================================

Version QGIS >= QGIS <= Date
8.0 - 3.22.0 4.99.0 39 nasefmaly 2026-10-27T12:33:13.171762+00:00
7.9 - 3.22.0 4.99.0 789 nasefmaly 2026-09-07T06:20:02.661942+00:00
7.7 - 3.22.0 4.99.0 173 nasefmaly 2026-09-01T16:25:10.845578+00:00
7.5 - 3.22.0 4.99.0 158 nasefmaly 2026-08-30T12:10:30.810237+00:00
7.2 - 3.22.0 4.99.0 270 nasefmaly 2026-08-20T03:25:35.391308+00:00
7.1 - 3.22.0 4.99.0 145 nasefmaly 2026-08-18T11:57:49.328943+00:00
7.0 - 3.22.0 4.99.0 158 nasefmaly 2026-08-14T09:35:26.071826+00:00
6.5 - 3.22.0 4.99.0 308 nasefmaly 2026-08-06T19:14:17.227002+00:00
6.4 - 3.22.0 4.99.0 202 nasefmaly 2026-08-02T17:24:23.951318+00:00
6.3 - 3.22.0 4.99.0 435 nasefmaly 2026-07-16T11:33:37.071600+00:00
6.1 - 3.22.0 4.99.0 406 nasefmaly 2026-07-10T15:12:44.772453+00:00
6.0 - 3.22.0 4.99.0 193 nasefmaly 2026-07-07T15:38:19.664382+00:00
5.2 - 3.22.0 4.99.0 192 nasefmaly 2026-07-02T08:43:33.163448+00:00
5.1 - 3.22.0 4.99.0 273 nasefmaly 2026-06-23T18:21:19.150571+00:00
5.0 - 3.22.0 4.99.0 216 nasefmaly 2026-06-21T08:44:36.916673+00:00
4.8 - 3.22.0 4.99.0 465 nasefmaly 2026-05-25T22:49:03.248788+00:00
4.7 - 3.22.0 4.99.0 380 nasefmaly 2026-05-09T11:24:06.990974+00:00
4.6 - 3.22.0 3.99.0 321 nasefmaly 2026-04-23T12:20:30.150107+00:00
4.5 - 3.22.0 3.99.0 164 nasefmaly 2026-04-22T09:58:17.735258+00:00
4.4 - 3.22.0 3.99.0 145 nasefmaly 2026-04-22T08:00:50.708322+00:00
4.3 - 3.22.0 3.99.0 313 nasefmaly 2026-04-07T05:01:56.962288+00:00
4.2 - 3.22.0 3.99.0 148 nasefmaly 2026-04-02T18:40:52.819255+00:00
4.1 - 3.22.0 3.99.0 611 nasefmaly 2026-02-22T07:51:22.218820+00:00
4.0 - 3.22.0 3.99.0 480 nasefmaly 2026-01-29T18:50:52.978416+00:00
3.3 - 3.22.0 3.99.0 240 nasefmaly 2026-01-25T19:22:28.905958+00:00
3.2 - 3.22.0 3.99.0 259 nasefmaly 2026-01-12T05:41:05.860406+00:00
3.1 - 3.22.0 3.99.0 168 nasefmaly 2026-01-11T05:43:49.931487+00:00
3.0 - 3.22.0 3.99.0 255 nasefmaly 2025-12-30T15:52:02.168442+00:00