NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Test a point-cloud outlier using mean neighbour distance — Open rectangular block

Test a point-cloud outlier using mean neighbour distance — a worked case for open rectangular block, with explicit data, a sensitivity comparison and an independent evidence check.

Test a point-cloud outlier using mean neighbour distance — Open rectangular block

The measurement question

A statistical outlier filter evaluates each point's mean distance to its selected nearest neighbours. For an illustrative dataset whose pointwise mean distances have global mean 0.12 m and standard deviation 0.03 m, a multiplier of two gives an upper threshold of 0.18 m. A point with mean neighbour distance 0.21 m is therefore a removal candidate under that model. This identifies unusual spatial isolation, not necessarily a bad laser measurement. Valid fence wires, canopy tips, and scan edges may also be sparse. Review the removed set and preserve it separately so filtering choices can be reversed or adjusted when legitimate features are affected.

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: Global mean of pointwise mean distances (mean_distance) = 0.12 m; Global standard deviation of those means (std_distance) = 0.03 m; Standard-deviation multiplier (multiplier) = 2 dimensionless; Candidate point mean neighbour distance (candidate_distance) = 0.21 m.

Calculation: mean_distance+multiplier*std_distance.

Upper mean-neighbour-distance threshold = 0.18 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 standard-deviation multiplier (multiplier) from 2 to 2.2 dimensionless. Re-evaluating the same equation gives upper mean-neighbour-distance threshold = 0.186 m. The arithmetic difference from the baseline is 0.006 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

Treat flagged points as candidates for review and retain their identifiers or a separate removed-point file. Evaluate thin and sparsely sampled features before accepting a global filtering setting across a dataset with strongly varying density.

The filter can remove valid points in sparse regions while retaining dense clusters of erroneous points. Variable density, boundaries, mixed acquisition geometry, and non-Gaussian distance distributions weaken the interpretation of a single global standard-deviation threshold.

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

Recompute mean neighbour distances for selected retained and removed points, then inspect their local geometry. Compare density zones separately and review profiles of wires, edges, vegetation, and isolated objects before accepting the filtered cloud for subsequent analysis.

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. Point Cloud Library StatisticalOutlierRemoval ↗
  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