Calculate normalised point-to-plane distance for LiDAR inlier testing — Client handoff review
Calculate normalised point-to-plane distance for LiDAR inlier testing — a worked case for client handoff review, with explicit data, a sensitivity comparison and an independent evidence.

The measurement question
Plane fitting requires a geometric distance rather than an unnormalised plane-equation value. For a hypothetical plane 2z−20=0 and point (3,4,10.03), the absolute algebraic residual is 0.06, but the perpendicular distance is 0.06/2=0.03 m. A 0.05 m inlier threshold would accept this point. Multiplying every plane coefficient by ten should not change the geometric distance or the classification. This example is useful when reviewing robust plane segmentation of roofs, walls, or calibration surfaces. A distance threshold must reflect measurement support and the intended surface scale; it should not force genuinely curved or rough surfaces into a falsely tidy plane.
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 calculation is being prepared for a recipient who did not collect the data. The package must explain the observation conditions and the limits of the conclusion without relying on an undocumented conversation. Use stable identifiers so that a question about a result can be traced back to its original evidence.
Ask a second reviewer to reproduce the example from the delivered inputs alone. Any missing unit, reference definition or selection rule is a handoff defect even if the arithmetic is correct.

Reproduce the numerical check
Illustrative input data: Plane x coefficient (a) = 0 dimensionless; Plane y coefficient (b) = 0 dimensionless; Plane z coefficient (c) = 2 dimensionless; Plane constant (d) = -20 m; Point x (x) = 3 m; Point y (y) = 4 m; Point z (z) = 10.072 m; Illustrative inlier threshold (threshold) = 0.05 m.
Calculation: abs(a*x+b*y+c*z+d)/sqrt(a**2+b**2+c**2).
Normalised perpendicular plane distance = 0.072 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 point z (z) from 10.072 to 11.0792 m. Re-evaluating the same equation gives normalised perpendicular plane distance = 1.0792 m. The arithmetic difference from the baseline is 1.0072 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
Normalise residuals before using a metric distance threshold, and select the threshold for the expected surface and measurement conditions. Inspect the spatial support of accepted points so isolated patches do not become an unjustified single plane.
A robust fit can select the wrong dominant surface or absorb real roughness when thresholds are broad. Small patches, mixed planes, vegetation, and correlated noise require geometric review; a low residual alone does not establish a reliable roof or ground class.
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
Scale plane coefficients and confirm distances remain unchanged, then test points at known offsets. Inspect withheld surface points, the inlier footprint, and residual directionality, checking that the fitted plane corresponds to the intended physical surface.
Deliver the accepted result, the raw evidence manifest, calculation settings and unresolved questions. Separate measured values, derived values and illustrative assumptions in the final record.
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.



