Abstract: The normalized difference index (NDI) originates from NDVI, which has been widely used in remote sensing applications and to guide the development of NDI in other fields due to its excellent performance; however, injective mapping from the original bands to NDI leads to information loss in land cover classification. When NDI is represented as a simple form, it is, furthermore, prone to premature saturation in specific change detection and variable inversion tasks. In this study, we first propose the radius index (RI), a new index to represent illumination variations by using the missing band information from NDI. Based on RI, we develop a generalized NDI (GND) by adding four positive scaling coefficients to NDI foundation, and the value range and sensitivity of GND are adjusted by these four coefficients, which are derived from the statistical information of the study area. The derivation of these four coefficients is, moreover, reversible, making it possible to interpret the applicable range of the derived set of coefficients. Our experiments demonstrate that: 1) GND is more effective in terms of improving saturation than the traditional indices and 2) mapping the original bands to GND-RI (GND combined with RI) can guide classifiers to learn more generalized features based on spectral information and thus achieve higher classification accuracy both in machine learning and the latest deep learning semantic segmentation models. The data and code for the article can be found at https://github.com/Zoulinx/GND.
Supported datasets:
Supported backbones:
Supported methods:
Please refer to get_started.md for install mmseg-0.24
Clone my git
Download shadow_dataset and sun_dataset
If you need to verify the model accuracy in the paper, download the following four checkpoint file
Place the data and checkpoint as follows:
GND-main
├── configs
├── data
│ ├── RIT-18
│ │ ├── sun
│ │ │ ├── clip_sun_label
│ │ │ ├── clip_sun_index_img
│ │ │ ├── clip_sun_band_img
│ │ ├── shadow
│ │ │ ├── clip_shadow_label
│ │ │ ├── clip_shadow_index_img
│ │ │ ├── clip_shadow_band_img
├── mmseg
├── paper
│ ├── checkpoint
│ │ ├── convnext_band.pth
│ │ ├── convnext_index.pth
│ │ ├── swin_band.pth
│ │ ├── swin_index.pth
├── resources
├── tests
├── tools
...
Check out our train log directly 👋🏻log
Open test.py and modify 24-26 rows
python test.py
Open train.py and modify 23-24 rows
python train.py
We thank openMMlab for the open-source libraries with excellent features.
If you find this project useful in your research, please consider cite:
@ARTICLE{10198490,
author={Zou, Linxin and Wei, Bo},
journal={IEEE Transactions on Geoscience and Remote Sensing},
title={GND-RI: A Normalized Difference Form More Suitable for Remote Sensing Applications},
year={2023},
volume={61},
number={},
pages={1-12},
doi={10.1109/TGRS.2023.3300834}}
This project is released under the Apache 2.0 license.