NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

How Shadow Exclusion Changes a Zone Mean — Small reference patch

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

How Shadow Exclusion Changes a Zone Mean — Small reference patch

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

Only a small independent reference patch is available. It is useful for a local check but may not represent the edges, slopes or material conditions elsewhere. Treat the example as a demonstration of evidence coverage and label every extrapolation beyond the checked patch.

Compare the reference footprint with the complete work area. A good local result supports the checked conditions and does not prove uniform behaviour outside them.

Participants reviewing mapping work at an OpenStreetMap mapathon in Braga
Participants reviewing mapping work at an OpenStreetMap mapathon in Braga.Source: Waldyrious · CC BY-SA 4.0

Reproduce the numerical check

Illustrative input data: Valid sunlit pixels (sunlit_count) = 740 pixels; Sunlit subgroup mean index (sunlit_mean) = 0.735 index units; Pixels excluded as shaded (shaded_count) = 470 pixels; Observed shaded subgroup mean before exclusion (shaded_mean) = 0.421 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.12196694 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 470 to 517 pixels. Re-evaluating the same equation gives increase in reported mean caused only by shadow exclusion = 0.12914718 index units. The arithmetic difference from the baseline is 0.0071802337 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 reference footprint and the conditions it represents. Identify the additional checks needed before extending the conclusion to the complete project.

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