NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

How Shadow Exclusion Changes a Zone Mean — Partial shadow

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

How Shadow Exclusion Changes a Zone Mean — Partial shadow

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

The work surface includes a shadow boundary crossing otherwise similar material. A change in illumination can create an apparent difference that should not automatically be interpreted as a physical change. Tag observations by illumination condition and keep a reference patch visible in both groups where practical.

Recompute the check for lit and shaded observations separately. A pooled value can be numerically reproducible while still hiding a systematic difference between the groups.

Hands annotating a paper map at a Development Seed mapping event
Hands annotating a paper map at a Development Seed mapping event.Source: Development Seed · CC BY 2.0

Reproduce the numerical check

Illustrative input data: Valid sunlit pixels (sunlit_count) = 700 pixels; Sunlit subgroup mean index (sunlit_mean) = 0.725 index units; Pixels excluded as shaded (shaded_count) = 450 pixels; Observed shaded subgroup mean before exclusion (shaded_mean) = 0.415 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.12130435 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 450 to 495 pixels. Re-evaluating the same equation gives increase in reported mean caused only by shadow exclusion = 0.12841004 index units. The arithmetic difference from the baseline is 0.007105694 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.

Supply the illumination grouping, the acquisition times and representative original observations. Explain whether the comparison is between like conditions or across an unresolved lighting change.

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