Calculate normalised point-to-plane distance for LiDAR inlier testing — Mixed surface materials
Calculate normalised point-to-plane distance for LiDAR inlier testing — a worked case for mixed surface materials, with explicit data, a sensitivity comparison and an independent.

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 work area contains several materials with different texture, reflectance or shape. Keep material groups identifiable throughout the review so that a strong result from one group does not conceal a weak result from another. The input data below describe the constructed comparison, not a universal material property.
Inspect at least one independent sample in each material group relevant to the decision. Record missing evidence as missing rather than replacing it with a neighbouring group mean.

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.054 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.054 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.054 to 11.0594 m. Re-evaluating the same equation gives normalised perpendicular plane distance = 1.0594 m. The arithmetic difference from the baseline is 1.0054 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.
Provide the material grouping and the observation identifiers used in each calculation. State which groups were suitable for a quantitative result and which were only documented visually.
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.



