NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

How Shadow Exclusion Changes a Zone Mean — Long narrow corridor

How Shadow Exclusion Changes a Zone Mean — a worked case for long narrow corridor, with explicit data, a sensitivity comparison and an independent evidence check.

How Shadow Exclusion Changes a Zone Mean — Long narrow corridor

The measurement question

Show how missing observations alter the population represented by a statistic. An illustrative field contains 600 valid sunlit pixels with index 0.70 and 400 shaded pixels with index 0.40. The unmasked arithmetic mean is 0.58; excluding all shaded pixels gives 0.70 but retains only 60 percent of the original pixel area. The change is a consequence of selection, not proof that the crop improved. Report both the summary and retained area, and inspect whether the excluded shade hides the parts most relevant to the question. Keep an exclusion category distinct from genuinely observed low crop response.

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 long narrow work area connects several access points. The same nominal settings can behave differently near bends, end sections and abrupt changes in the surrounding scene. Divide the observations into consecutive segments and give each segment its own evidence identifier before making an overall comparison.

Check both ends and at least one intermediate segment independently. A corridor-wide average can conceal an isolated gap, so report the weakest segment as well as the aggregate.

Participants working with mapping data at a CartONG mapathon in Lyon
Participants working with mapping data at a CartONG mapathon in Lyon.Source: DMontagne en résidence · CC BY 4.0

Reproduce the numerical check

Illustrative input data: Valid sunlit pixels (sunlit_count) = 620 pixels; Sunlit subgroup mean index (sunlit_mean) = 0.705 index units; Pixels excluded as shaded (shaded_count) = 410 pixels; Observed shaded subgroup mean before exclusion (shaded_mean) = 0.403 index units.

Calculation: sunlit_mean - (sunlit_count * sunlit_mean + shaded_count * shaded_mean) / (sunlit_count + shaded_count).

Increase in reported mean caused only by shadow exclusion = 0.12021359 index units.

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 pixels excluded as shaded (shaded_count) from 410 to 451 pixels. Re-evaluating the same equation gives increase in reported mean caused only by shadow exclusion = 0.12717274 index units. The arithmetic difference from the baseline is 0.0069591435 index units.

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

Publish the retained-area fraction beside the masked mean. If selection materially changes the conclusion, narrow its scope or request better observations; do not choose the mask solely because its result matches the preferred management explanation.

This arithmetic assumes equal-area pixels and documented valid-data rules. Shade effects vary and are not corrected by assigning every shaded pixel a guessed index. A masked mean cannot represent the excluded region without an additional justified model.

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

Recalculate the two summaries from saved pixel counts and inspect spatial locations of exclusions. Compare independent shaded and sunlit field checks where practical, and retain original raster, mask rule and processing version with the report.

Deliver the segment index, access-point notes and the direction of acquisition. Preserve the link between each accepted segment and its original observations.

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. QGIS API: zonal statistics count,sum and mean ↗
  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