Spatial subsampling
Thins the cloud by minimum spacing, voxel, random or octree level; writes the result with all attributes to a new LAZ/LAS file.
In the app: Processing › Subsampling › Spatial subsampling…
What does it do?
Spatial: no two remaining points are closer than the given spacing; every removed point lies within that spacing of a remaining point. Voxel grid: from each voxel, the point closest to its center or the centroid (the position is averaged, other attributes come from the point closest to the center). Random: a percentage or point count, separately for each cloud. Octree level: cell size = the cloud's octree cube / 2^level, one point per cell.
Optionally all points of the selected classes are kept. The result is written as <name>_altornek.laz (including unsaved class edits) and can be opened as a layer; the summary gives the point count before → after and the percentage. Thinning in the Analysis card is for mapping products; subsampling speeds up 3D operations such as ICP, M3C2 and surface meshing.
How to use it
- 1Open Processing → Subsampling → Spatial subsampling… and check the clouds.
- 2Choose the method and enter its value.
- 3If needed, use “Protect these classes” to choose classes that are kept entirely.
- 4Set the folder, file name suffix and format (LAZ / LAS), then click Run.
Parameters
| Setting | What it does | Default |
|---|---|---|
| Clouds | Each cloud is written to its own file. | Visible clouds |
| Method | Spatial (minimum point spacing), Voxel grid, Random, Octree level. | Spatial |
| Minimum spacing: | 0.001–1000.000 m. | 0.500 m |
| Voxel size: | 0.001–1000.000 m. | 0.500 m |
| Remaining points: | Point closest to the voxel center, Voxel centroid (position averaged). | Closest to center |
| Percent / Point count | 0.01–100.00 % or 1–2 000 000 000 points. | Percent, 10.00 % (count 1 000 000) |
| Level: | Octree level 1–21; the cell size is shown below. | 10 |
| Protect these classes (keep them entirely): | Protected classes are not thinned. | Off; Custom: 6 |
| Next to the source file / Folder: | Output folder (Browse…). | Next to the source file |
| File name suffix:; LAZ / LAS | The suffix cannot be empty. | _altornek, LAZ |
| Open the result as a layer | The result is added to the scene. | On |
Outputs
- name_altornek.laz / .las (with a _2, _3 suffix if the name exists), with all attributes
- Summary: point count before → after and percentage; cell size for octree
Tips
- Protect sparse but important classes such as wires and poles with “Protect these classes”.
- An alignment transform in memory is not applied to this copy; for aligned data, save the transformed copy first.
- If the source has duplicate points with identical coordinates, the summary shows the selected and written counts separately.