Select Outliers: select stray points in a point cloud to delete them

Find and delete stray points of a scan before you build a mesh

5 min read
In the app
  • PointsSelect Outliers

Select Outliers finds the stray points of a point cloud: small separate clusters, points with few neighbours, points far from the scanned surface and, if the cloud has normals, points whose normals look away from their neighbours. It selects them so that you can check them and delete them in one click. Clean a scan this way before you thin it out or turn it into a mesh: stray points become spikes and bumps on the mesh.

Select Outliers: Where to Find

How to remove outliers

  1. Select one point cloud in the Scene tree.
  2. Click Points › Select Outliers. MeshInspector searches for outliers at once with the current settings, selects them and shows them in red.
  3. Look at the number next to each type of outlier. Turn off the types you do not want to delete, and adjust the settings if too many or too few points are selected.
  4. Click Delete. The selected points are deleted from the cloud, and the selection is cleared. Undo (Ctrl+Z, or Cmd+Z on macOS) returns the deleted points.

Select Outliers: Panel

Average Points Radius

Average Points Radius sets the size of the neighbourhood in which MeshInspector looks at each point. The value is a number of points: MeshInspector finds the radius of a ball that contains this many points on average, and uses this radius for the checks below. The default is 20, the range is 5 to 100. When you change the value, the search runs again. Few Neighbors counts the neighbours inside this radius, so when you change Average Points Radius, check Max Neighbors too.

Types of outliers

Under Average Points Radius, the panel lists the types of outliers. Each type has a checkbox, a counter and a gear button:

  • The checkbox adds the points of this type to the selection or removes them from it. All types are on by default. The selection combines all types that are on.
  • The counter shows how many points of this type were found: red when there are any, green when there are none.
  • The gear button opens the settings of this type. Change the value and click Apply to search again with it, or Discard to return the previous value. Click the gear button again to close the settings.
Type What it finds Setting (default)
Small Components Separate groups of points that have this many points or fewer Max Outlier Component Size (20), from 1 to 200 points
Few Neighbors Points that have this many neighbours or fewer within the radius Max Neighbors (7), from 0 to twice the Average Points Radius minus 1
Far from Surface Points that are at least this far from the approximate surface around them, as a share of the radius Min Height Ratio (0.3), from 0.01 to 0.8
Look Away Points whose normal differs from the average normal around them by at least this angle Min Angle Diff (60°), from 0° to 180°

Look Away appears only if the cloud has normals. To use it on a cloud without normals, compute them first with Make Normals.

The Select Outliers panel for a scan with normals: four types of outliers including Look Away, with 629 Far from Surface and 849 Look Away points found, and the Look Away Settings window with Min Angle Diff set to 60°.

In this scan of a part with normals, the default settings found no small components and no points with few neighbours, 629 points far from the surface and 849 points whose normals look away. Together they gave 1,437 selected points out of 56,089: a point found by two checks is selected once. After Delete, 54,652 points were left.

While MeshInspector is running, the tool keeps the settings you used last.

Small Components

Small Components finds isolated groups of points, such as debris that floats around the scan. In Small Components Settings, Max Outlier Component Size is the largest group that still counts as an outlier: MeshInspector searches for groups of this many points or fewer.

Select Outliers: Small Components

To make separate objects from the parts of a cloud instead of deleting the small ones, use To Components.

Few Neighbors

Few Neighbors finds points in sparse areas: points that have only a few other points within the radius. In Few Neighbors Settings:

  • Max Neighbors is the largest number of neighbours that a point can have and still count as an outlier.
  • The histogram shows how the points of the cloud are distributed by the number of neighbours. Hover over a bar to see the number of neighbours, the number of points and their share of the cloud. Click a bar to set Max Neighbors to its value.
  • The green marker shows the current Max Neighbors. The points at or below it count as outliers.

Select Outliers: Few Neighbors

Far from Surface

Far from Surface finds points that stick out of the scanned surface, such as noise above or below it. In Far from Surface Settings, Min Height Ratio is the smallest distance from the approximate surface, as a share of the radius, at which a point counts as an outlier. A larger value selects fewer points.

Select Outliers: Far from Surface

Look Away

Look Away finds points whose normals point in a different direction than the normals of the points around them. In its settings, Min Angle Diff is the smallest difference between the normals at which a point counts as an outlier. A larger angle selects fewer points.

Deleting outliers

When the selection looks right, click Delete. The selected points are deleted from the cloud at once.

Select Outliers: Result

In this example, 62,309 points were selected and deleted: the cloud went from 267,565 to 205,256 points, almost a quarter of it. On a real scan, check the counters before you delete: if one type selects a large share of the cloud, for example points on sharp edges or in sparse but valid areas, turn it off or change its setting.

Scans to Mesh has the same outlier settings in its Remove Outliers step.

After cleaning, you can thin out the cloud with Sample Points and build a mesh with Points to Mesh.

Customize Consent Preferences

We use cookies and similar technologies, such as local storage. You will find detailed information about all of them under each consent category below.

To learn more about how Google processes personal information, visit: Google privacy policy

Always Active