Home▸AI & Machine Learning▸Spectral Angle Mapper on a Crop Canopy: Spectra, Angle Map and ROC Curve (2D)

Spectral Angle Mapper on a Crop Canopy: Spectra, Angle Map and ROC Curve (2D)

Reflectance spectra of healthy and diseased leaf and the mixed pixel, a plan map of the canopy coloured by the real spectrum with the SAM detections, and the ROC curve. The same model as the 3D field.

AI & Machine Learning2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Spectral Angle Mapper on a Crop Canopy: Spectra, Angle Map and ROC Curve (2D) ↗ Open standalone

A hyperspectral camera scans a field of crop plants while a leaf disease spreads from a few seeds by logistic growth and contact with neighbours. Each plant is a mixture of a healthy and a diseased reflectance spectrum, and the Spectral Angle Mapper compares its spectrum with the healthy reference by the angle between the two vectors, so a change of lighting does not matter. Change the growth rate, spread, sensor noise, number of bands, shading and angle threshold to see detections, false alarms, precision, recall and the ROC curve, or switch the sensor to plain RGB. A Blender-built field, plants and gantry camera, with numerical checks of the angle and the logistic law built in.

⚙ Under the hood

Reflectance spectra of healthy and diseased leaf and the mixed pixel, a plan map of the canopy coloured by the real spectrum with the SAM detections, and the ROC curve. The same model as the 3D field.

Spectral Angle MapperHyperspectral ImagingPlant DiseaseLogistic GrowthROC Curve

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)