Normalized Difference Moisture Index
Vegetation moisture index sensitive to changes in vegetation water content. Useful for drought monitoring, irrigation management, and fire risk assessment.
Used in crop monitoring, water detection, and fire & burn mapping.
When to use
- Time-series monitoring of crop health, growth stages, and stress detection
- Land cover classification and vegetation type discrimination
- Biomass estimation and net primary productivity studies
- Drought impact assessment over agricultural and forest areas
- Phenology tracking — green-up, peak season, and senescence
- Vegetation Moisture Content
- Drought Monitoring
Limitations
- Saturates in dense canopies (LAI > 3) — values plateau and lose discrimination ability
- Sensitive to atmospheric scattering, especially blue-band haze
- Soil background contaminates measurements in sparsely vegetated areas
- Sun-sensor geometry (BRDF effects) introduces variability across acquisitions
- Cloud cover and shadows produce invalid pixels that need masking
What the values mean
| Surface type | Typical NDMI |
|---|---|
| Open water, snow | -0.3 to -0.1 |
| Bare soil, urban | -0.1 to 0.2 |
| Sparse or stressed crops | 0.2 to 0.4 |
| Healthy crops, grassland | 0.4 to 0.7 |
| Dense forest, peak season | 0.7 to 0.9 |
General Formula
Sensor-Specific Formulas
Most-used sensors — click to show code below
| Sensor | Provider | Formula | Band Mapping |
|---|---|---|---|
| SPACEWILL | (NIR1 - SWIR) / (NIR1 + SWIR) | NIR→NIR1, SWIR→SWIR | |
| MAXAR | (NIR1 - SWIR2) / (NIR1 + SWIR2) | NIR→NIR1, SWIR→SWIR2 |
Spectral Band Visualization — SuperView-2
Code Examples
Adapted for SuperView-2 bands —
Frequently Asked Questions
What is the NDMI (Normalized Difference Moisture Index) and when should I use it?
Vegetation moisture index sensitive to changes in vegetation water content. Useful for drought monitoring, irrigation management, and fire risk assessment. Vegetation indices quantify plant health, biomass, and photosynthetic activity by exploiting the contrast between how plants absorb visible light for photosynthesis and reflect near-infrared radiation from their cellular structure. NDMI is particularly suited for vegetation moisture content, drought monitoring, fire risk assessment. The general formula is (820nm - 1600nm) / (820nm + 1600nm), which requires NIR and SWIR spectral bands.
Which satellite sensors can I use to calculate NDMI?
NDMI is supported by 2 satellite sensors in our database, including SuperView-2, WorldView 3. Each sensor uses different band designations — for example, SuperView-2 uses the formula (NIR1 - SWIR) / (NIR1 + SWIR), while WorldView 3 uses (NIR1 - SWIR2) / (NIR1 + SWIR2). Select a sensor above to see its specific band mapping.
What spectral bands does NDMI require and why?
NDMI requires NIR (820 nm), SWIR (1600 nm). Vegetation strongly absorbs red light for photosynthesis while reflecting near-infrared light from its mesophyll cell structure, making this contrast a reliable indicator of plant vigour.
How do I calculate NDMI in Python or R?
Both Python and R code samples are provided above. In Python, use rasterio to load individual band GeoTIFF files and numpy for the arithmetic. In R, the terra package handles raster operations efficiently. The key is to load bands as floating-point arrays to avoid integer division, and to handle division-by-zero cases where the denominator equals zero. For production use, consider applying a valid data mask to exclude no-data pixels before calculation.
How does NDMI compare to NDVI and other vegetation indices?
While NDVI is the most common vegetation index, NDMI provides complementary information that NDVI cannot capture on its own. The choice of index depends on your application, sensor availability, and atmospheric conditions.
NDMI vs other vegetation indices
| Index | Name | How it differs |
|---|---|---|
| ARI | Anthocyanin Reflectance Index | Alternative vegetation index — different band combination |
| mARI | Modified Anthocyanin Reflectance Index | Refined formulation for specific conditions |
| ARVI | Atmospherically Resistant Vegetation Index | Atmospherically corrected version |
| ARVI2 | Atmospherically Resistant Vegetation Index 2 | Atmospherically corrected version |
Related Vegetation Indices
References
Need help choosing?
Ask our AI assistant for sensor recommendations, code examples, or how NDMI compares to other indices for your specific use case.