The Normalized Difference Moisture Index (NDMI) detects moisture levels in vegetation using a combination of near-infrared (NIR) and short-wave infrared (SWIR) spectral bands. It is a reliable indicator of water stress in crops. So, to avoid any confusion, NDMI uses a NIR-short-wave infrared band combination and should be treated as a separate index from the NDWI that measures water content of water bodies.

NDMI = (820nm−1600nm)/(820nm+1600nm)