NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Intersection over Union for a Vegetation Mask — Documented parameter change

Intersection over Union for a Vegetation Mask — a worked case for documented parameter change, with explicit data, a sensitivity comparison and an independent evidence check.

Intersection over Union for a Vegetation Mask — Documented parameter change

The measurement question

Compare a predicted vegetation mask with an independently annotated reference using area or equal-area pixel counts. Suppose their intersection contains 800 pixels and their union 1000 pixels: intersection over union is 0.80. Unlike overall pixel agreement, this focuses on the positive region and makes boundary differences visible. Overlay disagreements to inspect omitted small plants, included weeds and mixed field-edge pixels. Use several representative conditions rather than only a clean demonstration patch. The metric describes agreement with the chosen reference mask; it does not establish plant species, crop health, or the accuracy of an agricultural treatment recommendation.

This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.

Case conditions and evidence

A single processing or acquisition parameter changes between two controlled runs. The comparison keeps a copy of the original configuration and identifies every unchanged input. If another condition changed at the same time, record it as a confounder instead of attributing the entire difference to one parameter.

Re-run a small fixed test set with both configurations. Compare the outputs with the task-specific independent evidence and keep any conflicting result for review.

Grass and crop research plots with visible plot boundaries
Grass and crop research plots with visible plot boundaries.Source: Michael Dibb · CC BY-SA 2.0

Reproduce the numerical check

Illustrative input data: Positive pixels shared by prediction and reference (intersection) = 1,060 pixels; Positive pixels in prediction or reference (union) = 1,520 pixels.

Calculation: intersection / union.

Vegetation-mask intersection over union = 0.69736842 fraction.

The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.

Change one assumption

Increase only positive pixels shared by prediction and reference (intersection) from 1,060 to 1,166 pixels. Re-evaluating the same equation gives vegetation-mask intersection over union = 0.76710526 fraction. The arithmetic difference from the baseline is 0.069736842 fraction.

For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.

Interpret the result

Inspect the disagreement map before choosing a mask rule. Decide whether its omissions affect canopy statistics or plant counting, and report results by relevant condition when a single score hides failures in sparse or shaded vegetation.

Use aligned masks with the same extent and class definition. Empty-positive cases need a declared convention. Annotation uncertainty, resampling and pixel size influence boundary agreement, so scores across substantially different resolutions require careful interpretation.

Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.

Independent checks and delivery

Have a reviewer annotate held-out image patches using a written rule. Recompute intersection and union independently, inspect rejected boundary pixels, and retain source imagery and annotation versions so the score can be reproduced.

Provide both configuration files, the fixed test set and the comparison table. Explain the reason for selecting a configuration without presenting a software setting as proof of accuracy.

Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.

Technical references

  1. scikit-learn: jaccard_score ↗
  2. NiVO technical workflow and supporting documentation ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team