NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Intersection over Union for a Vegetation Mask — Mixed surface materials

Intersection over Union for a Vegetation Mask — a worked case for mixed surface materials, with explicit data, a sensitivity comparison and an independent evidence check.

Intersection over Union for a Vegetation Mask — Mixed surface materials

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

The work area contains several materials with different texture, reflectance or shape. Keep material groups identifiable throughout the review so that a strong result from one group does not conceal a weak result from another. The input data below describe the constructed comparison, not a universal material property.

Inspect at least one independent sample in each material group relevant to the decision. Record missing evidence as missing rather than replacing it with a neighbouring group mean.

Crop rows and exposed soil in a JIRCAS research plot in Niamey
Crop rows and exposed soil in a JIRCAS research plot in Niamey.Source: JIRCAS Library from Tsukuba, Japan · CC BY 2.0

Reproduce the numerical check

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

Calculation: intersection / union.

Vegetation-mask intersection over union = 0.72727273 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 960 to 1,056 pixels. Re-evaluating the same equation gives vegetation-mask intersection over union = 0.8 fraction. The arithmetic difference from the baseline is 0.072727273 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 the material grouping and the observation identifiers used in each calculation. State which groups were suitable for a quantitative result and which were only documented visually.

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