Interpolate one raster sample from four neighbouring cell centres — Independent audit sample
Interpolate one raster sample from four neighbouring cell centres — a worked case for independent audit sample, with explicit data, a sensitivity comparison and an independent evidence.

The measurement question
Bilinear interpolation estimates a continuous value between four grid samples. Suppose local corner values are 100, 104, 108, and 112 m, and the target lies one-quarter across and halfway down the rectangle between their centres. The weights are 0.375, 0.125, 0.375, and 0.125, producing 105 m. This is a useful hand check when a resampled elevation raster differs slightly from the nearest original cell. The interpolation changes the sampling representation; it does not create a newly surveyed elevation. Class identifiers such as land-cover codes should generally avoid this treatment because their numeric order does not represent a continuous physical quantity.
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 reviewer receives only a documented subset of the observations. The subset is selected before looking for favourable results and remains separate from any adjustment or tuning process. The example shows why an auditable selection rule matters as much as the arithmetic reported for it.
Apply the stated selection rule again and check whether it yields the same sample. Include difficult records and exceptions so that the audit is not limited to easy observations.

Reproduce the numerical check
Illustrative input data: Horizontal fractional position (u) = 0.49 fraction; Vertical fractional position (v) = 0.5 fraction; Upper-left value (z00) = 100 m; Upper-right value (z10) = 104 m; Lower-left value (z01) = 108 m; Lower-right value (z11) = 112 m.
Calculation: (1-u)*(1-v)*z00+u*(1-v)*z10+(1-u)*v*z01+u*v*z11.
Bilinearly interpolated elevation = 105.96 m.
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 horizontal fractional position (u) from 0.49 to 0.539 fraction. Re-evaluating the same equation gives bilinearly interpolated elevation = 106.156 m. The arithmetic difference from the baseline is 0.196 m.
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
Use the four-neighbour calculation to explain smooth elevation resampling and to diagnose a selected output pixel. Retain the original raster so subsequent analyses can distinguish measured grid values from values produced by interpolation.
Bilinear interpolation smooths local variation and cannot preserve sharp discontinuities automatically. Missing neighbours, masked cells, changed grid origins, and reprojection footprints require the software's documented rules rather than an assumed four-value average.
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
Locate the output centre in source-grid coordinates, record its four contributors and fractional offsets, and recompute the weighted value. Confirm the weights sum to one and check how the implementation treats missing contributors.
Deliver the sample rule, the complete inventory and the audit findings. Identify which conclusions refer to the sample and which require further evidence from the full population.
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.



