When two vegetation indices are the same number twice over

A 2025 wetland study correlates eight Sentinel-2 indices and finds GNDVI and NDWI at r = -1.00. We show with fibub's spectral index maths that this pair is an algebraic identity, and which of its other correlations are forced by the formulas.

Satellite vegetation indices are cheap to make and easy to multiply: one scene gives you NDVI, SAVI, EVI, NDWI and a dozen more, and it is tempting to treat them as separate measurements of a wetland. A 2025 paper in Earth did the careful thing and asked how much the indices of a Ukrainian mire actually tell you that the others do not, correlating eight of them over eight summers of Sentinel-2. One number in its table stands out: GNDVI and NDWI at r = −1.00. That is not a strong relationship, it is an identity, and this article shows with the spectral index calculator‘s own maths why that pair can never give anything else, which of the paper’s other correlations are forced by the formulas, and what the one scale-dependent index in the set does when its reflectance scaling is wrong. For the steps either side, stack and inspect raw bands with the band combiner and get correlation matrices out of an exported table with the CSV profiler.

The paper in brief

The authors mapped vegetation condition in the Cheremske mire of Volyn Polissya, a protected peatland of about 2,976 ha with bog peat over 10 m thick. They built median summer composites from 533 Sentinel-2 Level-2A images for 2017 to 2024, keeping scenes under 10 % cloud, and worked out eight indices per year: NDVI, GNDVI, NDRE, SAVI, MSAVI, EVI and NDWI. They then correlated the indices with each other, ran a principal component analysis and clustered the mire into three zones (K = 3, within-cluster sum of squares 169.834, silhouette 0.408).

Their interrelationship table is the interesting part. Some pairs are nearly interchangeable: SAVI and MSAVI at 0.99, NDVI and GNDVI at 0.98, NDVI and NDWI at −0.98 and GNDVI and NDWI at −1.00. Others are not: EVI against NDVI is only 0.47, and EVI against GNDVI 0.39. The authors read this as EVI carrying information the others miss, and recommend using a small set of complementary indices rather than all of them.

Checked with the tools

The paper publishes no reflectance values, so there is nothing of its data to recompute. What we can do instead is ask what the formulas themselves allow. We built a simulated wetland scene, 4,200 pixels of six cover types (open water, sphagnum bog, sedge fen, wet meadow, pine forest, bare peat) with plausible Sentinel-2 surface reflectances and ±15 % scatter (all our assumption), and pushed it through the real index functions the tool uses, then correlated the results with the same Pearson routine that powers the CSV profiler.

GNDVI and NDWI are one index, written twice. NDWI is (Green − NIR) ÷ (Green + NIR). GNDVI is (NIR − Green) ÷ (NIR + Green). Swapping the two bands in a normalised difference flips its sign and nothing else, so GNDVI = −NDWI pixel by pixel. Across our 4,200 simulated pixels the largest value of |GNDVI + NDWI| is exactly 0, and the correlation is exactly −1 (Figure 2). It stays −1 after any averaging, because the mean of a negative is the negative of the mean, so a yearly composite, a reserve-wide mean or a time series cannot break it. The paper’s reported −1.00 is therefore a check on its own arithmetic, not a finding about the mire. The same identity explains the paper’s seventh principal component, where GNDVI and NDWI both load about 0.707: that direction is GNDVI + NDWI, which is identically zero, so PC7 is the null direction of a matrix with a perfectly collinear pair in it.

NDVI and SAVI are almost, but not quite, the same number. With L = 0.5, SAVI = 1.5 × (NIR − Red) ÷ (NIR + Red + 0.5). Write s = NIR + Red; then SAVI = 1.5 × NDVI × s ÷ (s + 0.5), so for a fixed s the two are exactly proportional. Only the spread of s loosens the relation. In our scene (mean s = 0.307) the pixels sit close to that line (Figure 1) and the correlation is 0.975; the paper reports 0.86, which is what you get when the brightness range is wider than ours or when the averaging is done differently. There is no reflectance scene in which NDVI and SAVI are weakly related.

Three vegetation indices, same pixelsThree vegetation indices, same pixels-0.500.51-0.5-0.2500.250.50.751NDVIIndex valueSAVI (r = 0.98)EVI (r = 0.97)fibub.com
Figure 1. Our simulated wetland scene (4,200 pixels, six cover types, one pixel in 110 drawn) through the Spectral index calculator's own index maths. SAVI tracks NDVI almost exactly (the dashed line is SAVI worked out from NDVI alone, holding NIR + Red at the scene mean); EVI does not, because its blue-band denominator changes from pixel to pixel. Not the paper's data.

EVI is the only index in the set that is not scale-free. The normalised differences divide reflectance by reflectance, so they do not care whether a band arrives as reflectance (0 to 1) or as a digital number (0 to 10,000). EVI does: its denominator is NIR + 6 Red − 7.5 Blue + 1, and that 1 is only right for reflectance between 0 and 1. We ran our scene twice through the tool’s EVI, once as reflectance and once as unscaled digital numbers (reflectance × 10,000). As reflectance, EVI correlates 0.967 with NDVI and runs from −0.08 to 0.68. As digital numbers, it runs from 0.11 to 2.87, outside EVI’s own range, and its correlation with NDVI falls to 0.86. We cannot tell from the paper how its EVI was scaled; we can say that an EVI that disagrees this much with NDVI is worth checking against the band scaling first, and that any EVI above 1 is a scaling bug. This is exactly what the tool’s Scale (reflectance = DN × scale + offset) field is for.

Correlations are a property of the window, not of the index. Over our whole scene NDWI and MNDWI correlate 0.954; over the vegetated pixels only (NDVI above 0.2, 3,205 of them) that falls to 0.102, because the water pixels that drove the agreement are gone. Index correlations published without the cover range they were measured over cannot be compared between studies.

GNDVI against NDWI: one line, not a correlationGNDVI against NDWI: one line, not a correlation-1-0.500.51-1-0.500.5NDWI = (Green − NIR) ÷ (Green + NIR)Index valueGNDVI (r = -1.0000)NDVI (r = -0.97)fibub.com
Figure 2. The same scene (one pixel in 80 drawn): GNDVI plotted against NDWI lies on a perfect straight line of slope −1, because the two indices are the same expression with the bands swapped. NDVI against NDWI is tight but genuinely curved.
Pair Paper (8 summer composites) Our simulated pixels Forced by the formulas?
GNDVI vs NDWI −1.00 −1 exactly Yes: GNDVI = −NDWI
NDVI vs GNDVI 0.98 0.972 Partly: both rise with NIR
NDVI vs NDWI −0.98 −0.972 Partly: mirror of the pair above
NDVI vs SAVI 0.86 0.975 Yes: SAVI = 1.5·NDVI·s/(s+0.5)
SAVI vs NDWI −0.84 −0.911 Partly
EVI vs NDVI 0.47 0.967 as reflectance, 0.864 from unscaled DN No: depends on blue and on scaling

How we made the graphs

Both charts and every number above come from scripts/blog-figures/spectral-index-correlations-wetland-sentinel-2.mjs in fibub’s public code. It calls INDICES, computeIndex and stats from src/lib/sci/spectral.ts, the maths behind the spectral index calculator (GNDVI is its custom normalised difference with band a = NIR and band b = Green), and pearson from src/lib/sci/csvprofile.ts, which powers the CSV profiler.

The paper supplied the index list and its correlation values. The six cover types, their reflectances, the ±15 % scatter, the eight “yearly” vigour factors and the NDVI > 0.2 cut are our assumptions: nothing in the figures is the paper’s data. The example-scene numbers in “Check it yourself” come from the same generator the tool page uses for its example.

How we test the maths

On every change to fibub, tests/sci.mjs checks the index maths against values worked out by hand from one pixel with known reflectances (blue 0.04, green 0.08, red 0.05, NIR 0.40, SWIR1 0.20, SWIR2 0.10):

  • NDVI must be 0.35 ÷ 0.45, NDWI −0.32 ÷ 0.48, MNDWI −0.12 ÷ 0.28, NBR 0.3 ÷ 0.5 and NDBI −0.2 ÷ 0.6.
  • EVI must be 2.5 × 0.35 ÷ (0.4 + 0.3 − 0.3 + 1), and SAVI with L = 0.5 must be 1.5 × 0.35 ÷ 0.95.
  • With Landsat’s collection-2 scaling (scale 0.0000275, offset −0.2), a DN pair of 20,000 and 9,000 must give NDVI (0.35 − 0.0475) ÷ (0.35 + 0.0475), so the scale and offset are applied before the index, not after.
  • New with this article, in tests/sci-tools/spectral-index-calculator.mjs: on a 2,000-pixel random scene the tool’s custom index with band a = NIR and band b = Green must equal minus its NDWI to the last bit, every index must be unchanged when all bands are multiplied by 10,000 except EVI, and EVI from unscaled digital numbers must exceed 1.

Check it yourself

On the spectral index calculator page, with no files of your own:

  1. Press Use the example scene (a made-up 200 × 150 scene of six reflectance bands at 30 m).
  2. Leave Index on NDVI. The result line reads Mean NDVI 0.44; the values card gives mean 0.444, min −0.376, max 0.893, standard deviation 0.390.
  3. Change Index to NDWI (open water): mean −0.413, min −0.762, max 0.589.
  4. Change Index to Custom and set Custom: band a to Band 4: NIR and Custom: band b to Band 2: green. That is GNDVI. Mean 0.413, min −0.589, max 0.762: every number is the NDWI line with its sign flipped.
  5. Now swap the two custom bands (a = green, b = NIR) and you are back to NDWI exactly. Two index names, one map.
  6. Set Index to EVI (mean 0.382, max 0.897), then type 10000 in Scale (reflectance = DN × scale + offset) to pretend the bands arrived as digital numbers. EVI’s mean leaves its legal range, while NDVI in step 2 does not move at all.

What researchers can use it for

  • Screen an index set before you publish its correlation matrix. Compute your candidate indices on one scene with the tool; any pair at exactly ±1 is the same index twice, and belongs in a footnote, not a table.
  • Check the band scaling in a pipeline. An EVI outside −1 to 1, or an EVI that disagrees with NDVI while SAVI does not, points at the scale and offset rather than the vegetation.
  • Report the cover range with the correlation. Threshold the index in the tool, count the pixels above and below, and say which covers the correlation was measured over; ours moved from 0.95 to 0.10 on the same scene.
  • Teach why SAVI exists. The relation SAVI = 1.5 × NDVI × s ÷ (s + 0.5) makes the soil-brightness term visible in one line, and the tool’s L field lets a class watch it move.
  • Prepare a table for a correlation run by exporting Sample as CSV from the tool and profiling it in the CSV profiler, which gives the Pearson and Spearman matrices.

The fine print

  • Our scene is simulated; the paper publishes no reflectance values, so no number here is a recomputation of its data.
  • NDRE and MSAVI, two of the paper’s eight indices, are not in the tool’s list (NDRE needs a red-edge band), so we could not include them. SAVI vs MSAVI at 0.99 is very likely another near-identity, since MSAVI is a soil-adjusted NDVI with a self-adjusting L.
  • The paper’s correlations are between yearly composite values, ours between pixels of one scene; the two are not the same quantity, which is part of the point.
  • We do not know how the paper scaled its EVI. The scaling demonstration shows what the formula does, not what the authors did.
  • The paper’s own text gives two different summer windows (1 June to 31 August and 1 July to 31 August) for the composites.

Sources

  • Melnyk, O. and Brunn, A. (2025), Analysis of Spectral Index Interrelationships for Vegetation Condition Assessment on the Example of Wetlands in Volyn Polissya, Ukraine, Earth 6(2): 28, doi:10.3390/earth6020028. Licence CC BY 4.0, taken from the Crossref record (the MDPI page's rights metadata says CC BY 3.0), checked 2026-11-24; no correction or retraction in Crossref. Values used here: Sentinel-2 Level-2A median summer composites, 533 images, 2017-2024, cloud cover under 10 %; K-means with K = 3, SSE 169.834, silhouette 0.408; and the reported correlations NDVI-GNDVI 0.98, NDVI-NDRE 0.93, NDVI-SAVI 0.86, NDVI-MSAVI 0.83, SAVI-MSAVI 0.99, NDVI-NDWI -0.98, GNDVI-NDWI -1.00, SAVI-NDWI -0.84, EVI-NDVI 0.47, EVI-SAVI 0.72, with PC7 loadings of about 0.707 for GNDVI and NDWI.
  • Index definitions as implemented in fibub: NDVI (Rouse et al. 1974), SAVI with L = 0.5 (Huete 1988), EVI (Huete et al. 2002), NDWI (McFeeters 1996), MNDWI (Xu 2006). GNDVI (Gitelson et al. 1996) is the normalised difference of NIR and green.

If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.

Tools in this article

Read next