Multispectral Sensors: Beyond Visible Light
A standard camera records three wide channels — red, green, blue — and stops at the edge of human vision. A multispectral camera records four to ten narrow bands spread across visible and invisible wavelengths, including red edge and near-infrared, where living vegetation behaves nothing like it does to the eye. That extra spectral information is what lets an agricultural drone distinguish a healthy crop from a nitrogen-starved one before the damage is visible from the cab of a truck.
This lesson covers what each common band measures, how NDVI and its variants are computed and interpreted, how multispectral differs from hyperspectral in cost and data volume, and how to turn index rasters into zone maps and management recommendations.
Bands and what they reveal
Photosynthetic leaves absorb red and blue light for energy and scatter near-infrared light strongly out of the leaf structure — the spongy mesophyll is essentially a scattering medium at those wavelengths. The transition region between red absorption and near-infrared scattering is the red edge, and its slope shifts early under stress, often days before chlorosis shows to the eye. Each band in a multispectral payload exists to sample one part of that story.
| Band | Center wavelength | What it captures |
|---|---|---|
| Blue | 490 nm | Atmospheric correction, water bodies |
| Green | 560 nm | Peak reflectance of healthy vegetation |
| Red | 668 nm | Chlorophyll absorption for NDVI |
| Red edge | 717 nm | Early stress response for NDRE |
| NIR | 842 nm | Leaf structure scattering, biomass |
| NIR2 | 865 nm | Second NIR for atmospheric robustness |
Because bands are narrow — 10 to 50 nanometers wide — radiometric calibration matters. Sun sensor or calibrated panel inputs convert raw digital numbers into reflectance so flights taken on different days remain comparable. Without that step, a cloudy Tuesday and a clear Thursday produce indexes that cannot be differenced meaningfully.
Computing vegetation indices
Indexes compress two or more bands into a single normalized number, which makes patterns legible and thresholds defensible. NDVI is the workhorse: near-infrared minus red, divided by their sum, bounded between minus one and plus one. Values near zero indicate bare soil, 0.2 to 0.4 sparse or stressed cover, 0.5 to 0.7 healthy canopy, and above 0.7 dense vigorous growth.
NDRE swaps the red band for red edge, which keeps it sensitive in dense canopies where NDVI saturates. SAVI adds a soil brightness adjustment factor for sparse early-season cover. EVI adds blue-band atmospheric correction for regional studies. Choosing among them is a question about the scene, not about sophistication.
import numpy as np
class MultispectralAnalyzer:
"""Compute vegetation indices from reflectance bands."""
def __init__(self, red, nir, red_edge=None, green=None):
self.red = np.asarray(red, dtype=float)
self.nir = np.asarray(nir, dtype=float)
self.red_edge = np.asarray(red_edge, dtype=float) if red_edge is not None else None
self.green = np.asarray(green, dtype=float) if green is not None else None
@staticmethod
def _safe_divide(num, den):
den = np.where(np.abs(den) < 1e-10, 1e-10, den)
return num / den
def ndvi(self):
return self._safe_divide(self.nir - self.red, self.nir + self.red)
def ndre(self):
if self.red_edge is None:
raise ValueError("red edge band required for NDRE")
return self._safe_divide(self.nir - self.red_edge, self.nir + self.red_edge)
def savi(self, L=0.5):
return self._safe_divide((self.nir - self.red) * (1 + L),
self.nir + self.red + L)
def classify(self, ndvi):
classes = np.zeros_like(ndvi, dtype=int)
classes[ndvi >= 0.1] = 1
classes[ndvi >= 0.3] = 2
classes[ndvi >= 0.5] = 3
classes[ndvi >= 0.7] = 4
return classes
np.random.seed(42)
red = np.random.uniform(0.05, 0.15, (100, 100))
nir = np.random.uniform(0.30, 0.60, (100, 100))
red[40:60, 40:60] = 0.25 # stressed patch reflects more red
nir[40:60, 40:60] = 0.15 # and scatters less NIR
analyzer = MultispectralAnalyzer(red=red, nir=nir)
ndvi = analyzer.ndvi()
health = analyzer.classify(ndvi)
print(f"NDVI range {ndvi.min():.3f} to {ndvi.max():.3f}, mean {ndvi.mean():.3f}")
print(f"pixel counts per class: {np.bincount(health.flatten())}")
Guard against division by zero everywhere: shadowed water and dark asphalt can drive both bands near zero, and a silent divide yields NaN pixels that poison downstream statistics.
Multispectral versus hyperspectral
The distinction is band count and continuity. Multispectral systems capture a handful of wide, discrete bands chosen for specific indexes. Hyperspectral systems capture hundreds of contiguous narrow bands across a continuous range, preserving full spectral shape for material identification.
| Feature | Multispectral | Hyperspectral |
|---|---|---|
| Bands | 4–10 | 100–300 |
| Bandwidth | 10–50 nm | 5–10 nm |
| Data per flight | 10–100 MB | 1–10 GB |
| Cost | 5k–50k USD | 50k–200k+ USD |
| Processing | Straightforward | Specialized pipelines |
| Best for | Agriculture, routine survey | Mineralogy, research, sorting |
For crop scouting, multispectral wins decisively: the indexes you need require two to five bands, the data lands in existing GIS workflows, and a fixed-wing platform can cover a square kilometer in an afternoon. Hyperspectral earns its cost only when the question is "what material is this" rather than "how healthy is this."
From index rasters to field zones
A mean NDVI for a whole field hides the variability that actually drives decisions. Tiling the raster into zones, classifying each against thresholds, and ranking the results by area and severity produces an actionable map.
from collections import defaultdict
class CropHealthMapper:
"""Turn NDVI rasters into zones and management recommendations."""
THRESHOLDS = [(0.60, "Excellent"), (0.40, "Good"),
(0.20, "Fair"), (0.10, "Poor"), (-1.0, "Critical")]
@classmethod
def classify(cls, mean_ndvi):
for floor, label in cls.THRESHOLDS:
if mean_ndvi >= floor:
return label
return "Critical"
@classmethod
def zones(cls, ndvi_map, grid=20):
height, width = ndvi_map.shape
result = {}
for i in range(0, height, grid):
for j in range(0, width, grid):
block = ndvi_map[i:i + grid, j:j + grid]
if block.size == 0:
continue
mean = float(np.mean(block))
result[f"r{i // grid}c{j // grid}"] = {
"mean": mean,
"std": float(np.std(block)),
"min": float(np.min(block)),
"status": cls.classify(mean),
}
return result
@classmethod
def recommend(cls, zones):
actions = []
poor = [z for z, d in zones.items() if d["mean"] < 0.3]
if poor:
actions.append({"priority": "HIGH",
"action": "irrigate or fertilize",
"zones": poor[:10],
"reason": "mean NDVI below 0.3"})
uneven = [z for z, d in zones.items() if d["std"] > 0.15]
if uneven:
actions.append({"priority": "MEDIUM",
"action": "investigate variability",
"zones": uneven[:10],
"reason": "high within-zone NDVI variance"})
return actions
np.random.seed(42)
ndvi_map = np.random.normal(0.5, 0.15, (120, 120))
ndvi_map[20:45, 60:90] = 0.15 # irrigation failure
ndvi_map[80:95, 10:30] = 0.72 # vigorous canopy
zones = CropHealthMapper.zones(ndvi_map, grid=20)
actions = CropHealthMapper.recommend(zones)
counts = defaultdict(int)
for data in zones.values():
counts[data["status"]] += 1
print(f"zones: {len(zones)} -> {dict(counts)}")
for action in actions:
print(f"[{action['priority']}] {action['action']}: {action['reason']} "
f"({len(action['zones'])} zones)")
Pair zone maps with ground truth before acting: soil type, planting date, and drainage all shift baseline NDVI, and a legitimately darker zone will otherwise trigger a false recommendation.
Mission design for index quality
Index quality is won or lost in the field, not in the notebook. Maintain consistent altitude for uniform ground sampling distance, hold overlap near 80 percent across and 70 percent along flight lines for reliable stitching, and fly when the sun is high and stable because reflectance indexes assume consistent illumination. Calibrate against a reflectance panel at the start and end of every session.
Watch the calendar as well as the sky. Growth stage determines what a threshold means: NDVI of 0.4 during emergence may be excellent, while the same value at full canopy signals collapse. Record growth stage with the flight, and always compare a field against its own history rather than against universal constants.
From flight lines to a scouting report
The deliverable a grower acts on is not a raster — it is a short list of zones with locations, areas, and suggested actions. Getting there means stitching calibrated band images into one mosaic per band, registering bands to each other so pixels line up across wavelengths, computing indexes on the aligned stack, and only then zoning the result. Registration errors as small as a few pixels blur red against near-infrared and quietly corrupt every index computed from the pair, so check alignment visually before trusting numbers.
Once the index raster exists, convert zones into shapefiles or geojson polygons with area attributes, then rank them. A practical report orders zones by severity weighted by hectares: a two-hectare patch of poor canopy outranks a four-square-meter depression that the classification also flagged. Attach a thumbnail crop of each zone so an agronomist can recognize it from the cab, and attach the previous flight's value for the same zone where history exists — the trend distinguishes a field recovering from one sliding further behind.
Close the loop with field scouting. Send the top zones with coordinates to a tablet, record what is actually on the ground — irrigation failure, pest pressure, soil variation, drainage — and feed those labels back as validation. Over a season this calibration set tells you which thresholds and which index choice fit your crops, which is the difference between a colorful map and an operational tool that pays for the sensor.
Common Mistakes
Computing indexes from raw uncalibrated digital numbers
Fix: Convert to reflectance with a calibrated panel or sun sensor; otherwise flights are not comparable.
Relying on NDVI alone in dense canopy
Fix: Add NDRE with the red edge band to retain sensitivity after NDVI saturates.
Treating thresholds as universal across growth stages
Fix: Baseline each field against its own history and current growth stage.
Ignoring cloud shadows in stitched mosaics
Fix: Mask shadowed tiles or fly under clear skies; shadows depress indexes and fake stress patterns.
Best Practices
- Calibrate with a reflectance panel at the start and end of every flight session.
- Fly at solar noon under clear skies for the most consistent illumination between passes.
- Record band centers, bandwidth, and calibration metadata alongside every deliverable.
- Validate index findings with tissue samples or field scouting before prescribing input changes.
- Retain raw band rasters so alternative indexes can be computed later without reflights.
Key Takeaways
- Multispectral sensors capture 4–10 narrow bands including red edge and near-infrared, the wavelengths that reveal plant physiology invisible to RGB cameras.
- NDVI equals NIR minus red divided by their sum; NDRE substitutes red edge for dense canopies, and SAVI corrects for bare soil at low cover.
- Hyperspectral trades simplicity for 100-plus contiguous bands — choose multispectral unless you need material identification.
- Reflectance calibration and consistent flight conditions are prerequisites for indexes that can be compared across time.
- Decisions come from zone maps with ground-truthed baselines, not from single index numbers or universal thresholds.