Intersection over Union for a Vegetation Mask — Edge of coverage
Intersection over Union for a Vegetation Mask — a worked case for edge of coverage, with explicit data, a sensitivity comparison and an independent evidence check.

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 target lies near the edge of the accepted observation footprint. Fewer usable observations or a one-sided viewing arrangement may make the edge less reliable than the centre. Keep a centre patch as a comparison, but do not use it as a substitute for an edge-specific check.
Reproduce the calculation for centre and edge groups independently. Review the original observation footprint rather than judging completeness from the final map alone.

Reproduce the numerical check
Illustrative input data: Positive pixels shared by prediction and reference (intersection) = 980 pixels; Positive pixels in prediction or reference (union) = 1,360 pixels.
Calculation: intersection / union.
Vegetation-mask intersection over union = 0.72058824 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 980 to 1,078 pixels. Re-evaluating the same equation gives vegetation-mask intersection over union = 0.79264706 fraction. The arithmetic difference from the baseline is 0.072058824 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.
Deliver the accepted coverage boundary and an explicit edge flag. The recipient should be able to distinguish an observed edge from a cosmetically filled border.
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.



