NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

How Shadow Exclusion Changes a Zone Mean — Open rectangular block

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

How Shadow Exclusion Changes a Zone Mean — Open rectangular block

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 block has clear edges and an accessible perimeter. The initial dataset is deliberately simple so that a discrepancy can be traced to one input rather than hidden by complex geometry. Place the independent reference outside the adjustment set and record whether the reference represents bare ground or the visible surface.

Use a complete boundary walk and a small independently measured patch to test the assumptions. A neat rectangular footprint is not evidence that every part of the block has usable observations.

Laptop used for an OpenStreetMap editing session in JOSM
Laptop used for an OpenStreetMap editing session in JOSM.Source: Alejandro Escamilla · CC0

Reproduce the numerical check

Illustrative input data: Valid sunlit pixels (sunlit_count) = 600 pixels; Sunlit subgroup mean index (sunlit_mean) = 0.7 index units; Pixels excluded as shaded (shaded_count) = 400 pixels; Observed shaded subgroup mean before exclusion (shaded_mean) = 0.4 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.12 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 400 to 440 pixels. Re-evaluating the same equation gives increase in reported mean caused only by shadow exclusion = 0.12692308 index units. The arithmetic difference from the baseline is 0.0069230769 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.

Retain a boundary mask, a reference-point inventory and a list of excluded areas. The recipient needs to distinguish an observed surface from an interpolation beyond the measured edge.

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