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

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 example contains an upper terrace and a lower work surface. A single reference elevation can hide a substantial change in sensor-to-surface distance. Keep the two surfaces separate during the first comparison and identify which height reference was actually used for every recorded observation.
Compare an independently checked location on each terrace. Do not use a point on the upper surface to claim that the lower surface has the same error or observation geometry.

Reproduce the numerical check
Illustrative input data: Valid sunlit pixels (sunlit_count) = 640 pixels; Sunlit subgroup mean index (sunlit_mean) = 0.71 index units; Pixels excluded as shaded (shaded_count) = 420 pixels; Observed shaded subgroup mean before exclusion (shaded_mean) = 0.406 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.12045283 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 420 to 462 pixels. Re-evaluating the same equation gives increase in reported mean caused only by shadow exclusion = 0.12744828 index units. The arithmetic difference from the baseline is 0.0069954457 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.
Package the height reference, the terrace boundary and the observed transition zone. State where the surface was not directly observed and where a model filled a gap.
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.



