PointLess

Statistical outlier removal (SOR)

Statistical Outlier Removal: finds points that lie clearly far from their neighbors (birds, multipath, errors floating in the air); sets them to class 7 or writes a cleaned copy.

In the app: Processing › Cleaning › Statistical outlier removal (SOR)…

What does it do?

For each point, the mean distance to its k nearest neighbors is computed; points whose distance exceeds the threshold of cloud mean + n × standard deviation count as outliers (noise). Neighborhoods are always built from all points; the class choice only limits which points can be declared outliers.

First only the numbers are shown: SOR — result gives the outlier count and percentage per cloud, the mean neighbor distance, σ and the threshold (m). If you confirm, the outliers become class 7 (low point / noise), or a _temiz.laz copy without the outliers is written; optionally the outliers are also written to a _gurultu.laz file.

k neighbors: short mean distanceoutlier: distant neighborsμ + n·σmean neighbor distance
Diagram: SOR: outlier criterion

How to use it

  1. 1Open Processing → Cleaning → Statistical outlier removal (SOR)… and check the clouds.
  2. 2Enter the number of neighbors (k) and the std. deviation multiplier (n); narrow the searched classes if needed.
  3. 3Choose the result: class 7 or a cleaned copy (folder, _gurultu file, open as layer).
  4. 4Click Calculate and check the numbers in the summary window.
  5. 5Apply with “Set … points to class 7” or “Write the cleaned copy”; Cancel changes nothing.

Parameters

SettingWhat it doesDefault
CloudsClouds to process; each is evaluated separately.Visible clouds
Number of neighbors (k):2–200; typically 8–16.12
Std. deviation multiplier (n):Threshold = mean + n × σ; 0.10–20.00, typically 1.0–2.0 (a smaller n removes more points).2.00 × σ
Points that may be outliers:Classes to search (preset or Select…).All classes
ResultSet outlier points to class 7 (low point / noise), undoable and saved with Ctrl+S; Remove the outliers and write the cleaned copy as a new cloud.Class 7
Also write the outliers to a separate file (_noise)Enabled only with the copy option; the file gets the _gurultu suffix.Off
Next to the source file / Folder:Folder for the copy (Browse…).Next to the source file
Open the cleaned cloud as a layerThe written copy is added to the scene.On

Outputs

  • Outliers assigned to class 7 (Ctrl+Z undoes, Ctrl+S makes it permanent)
  • name_temiz.laz: copy without the outliers (with all attributes and unsaved class edits)
  • Optional name_gurultu.laz: the outliers only
  • Summary: outlier count and percentage, mean neighbor distance, σ, threshold

Tips

  • Sparse vegetation can also come out as outliers; narrow the searched classes if needed.
  • Run it before ground classification, DTM, ICP and cloud–cloud distance: isolated outliers spoil the terrain model and the matching.
  • Try the class 7 option first; if you do not like the result, undo it with Ctrl+Z.

Related tools