A robot point cloud becomes smaller after voxel downsampling. The resulting coordinates are not necessarily a subset of the original measurements. A centroid-based method can create a new representative position for several input points.
That distinction matters when the cloud supports a geometric decision. Fewer displayed points can be useful for computation, but the operation changes the representation. Its voxel size, grid alignment, and averaging rule belong with the resulting geometry.
Define a box and its representative
Consider an original mathematical grid made of cubes 10 mm wide, with boundaries at multiples of 10 mm on each axis. Use half-open cells: a cube includes its lower boundary and excludes its upper boundary.
The cube spanning coordinates from 0 to less than 10 mm in x, y, and z contains two hypothetical points, (1, 1, 1) and (9, 1, 1), with all coordinates in millimeters.
Their centroid is the component-wise mean: (5, 1, 1). The cube's geometric center is (5, 5, 5). These are different points.
The centroid follows the input distribution. The box center follows the chosen grid. Neither should be silently substituted for the other when explaining a downsampling result.
What the software references describe
PCL's VoxelGrid tutorial describes grouping input points into three-dimensional boxes and approximating the points in each box with their centroid. The opened tutorial is labeled 1.15.1-dev; this article does not claim that version is installed in any robot.
Open3D's version 0.19.0 point-cloud tutorial likewise describes an occupied voxel producing one point by averaging the points inside. These descriptions establish the representation used in those tutorials, not a rule that every algorithm with voxel in its name performs the same operation.
The following examples use explicitly declared grids. They do not assume that PCL and Open3D choose identical grid origins, boundary conventions, attributes, or output ordering.
A centroid can fall between real surfaces
Return to the two invented points at x = 1 and x = 9, both with y = z = 1. Imagine they were measured on two separate small surfaces and that no surface exists at x = 5 between them.
Both points still belong to the declared 10 mm cube. Replacing them with their centroid creates a representative at (5, 1, 1), between those surfaces.
The averaging is mathematically correct. It does not prove that the new point is an observed surface location. A downstream process that treats every output coordinate as a fresh optical measurement would lose that distinction.
This is not an argument that every voxel average is unsuitable. On an appropriately sampled local surface, aggregation can be useful. The example identifies a failure of interpretation when a voxel groups geometry that the task needs to keep separate.
Sampling density changes the average
Now place three input points at (1, 1, 1) and one at (9, 1, 1). The centroid's x coordinate becomes (1 + 1 + 1 + 9)/4 = 3 mm, rather than 5 mm.
The bounding extremes stayed at 1 and 9 mm. The representative moved because the input multiplicity changed.
Repeated positions are intentional in this illustration. A real cloud can have unequal sampling density because of viewpoint, acquisition geometry, or combined observations. Averaging points weights the available samples; it does not automatically give every physical surface equal influence.
Nor does averaging four records automatically remove a systematic error shared by all four. A reduction in point count is not, by itself, a demonstrated reduction in measurement uncertainty.
Grid alignment can change the output count
Consider two other hypothetical x coordinates, 9 and 11 mm, with y = z = 1 mm. In a grid with x boundaries at 0, 10, and 20 mm, the points occupy separate cells. Each becomes its own representative.
Shift only the abstract x-grid boundaries to 5 and 15 mm while keeping the same 10 mm cell width. Both points now occupy one cell, whose centroid has x = 10 mm.
The input observations and voxel width are unchanged. The grouping changed because the boundary alignment changed. The output has one representative instead of two.
Consequently, saying only “a 10 mm voxel filter” may not fully identify a reproducible geometric operation. The relevant implementation and grid construction also matter.
Cell width is not minimum point separation
Take points at x = 9.9 and 10.1 mm on opposite sides of the original x = 10 boundary, again with matching y and z. They occupy neighboring cells and remain 0.2 mm apart if each is the only point in its cell.
That distance is far smaller than the 10 mm voxel width. One representative per occupied cell therefore does not impose a universal 10 mm minimum Euclidean separation between output points.
It also does not guarantee that every surface detail wider than 10 mm survives intact. Feature shape, cell alignment, sample distribution, and the selected aggregation affect what remains. A voxel dimension is an algorithm parameter, not a complete task-resolution specification.
Empty cells do not establish free space
A centroid is defined only for a cell containing suitable input points. An empty cell supplies no average of observed coordinates.
Its emptiness could reflect a region outside the acquisition, a hidden region, an unsuccessful return, or physical space without a sampled surface. The downsampled point cloud alone does not distinguish those histories.
Likewise, a collection of centroids is not automatically a connected surface mesh or an occupancy map with validated free-space semantics. Those are further representations with their own assumptions.
Retain the transformation history
For a robot perception record, keep the input coordinate frame and units, voxel dimensions, implementation version, and aggregation method with the output. Preserve the original cloud when the application needs to revisit small features or distinguish observed points from representatives.
The useful explanation is not simply that the cloud is smaller. It is that a declared grouping and averaging operation produced a new geometric description. Understanding that change lets the application assess computational savings alongside the information its task may have merged or discarded.
Image note: The accompanying site-library robot vision scene is a concept illustration. It does not show the invented point sets, a measured downsampling result, or validated surface reconstruction.
Sources checked October 23, 2026:
PCL, Downsampling a PointCloud using a VoxelGrid filter, 1.15.1-dev tutorial as accessed:
https://pointclouds.org/documentation/tutorials/voxel_grid.html
Open3D, Point cloud, Voxel downsampling, version 0.19.0:
https://www.open3d.org/docs/release/tutorial/geometry/pointcloud.html
All grids, point sets, centroids, and interpretation: original ZHILIANHAI editorial analysis.