Calculate a voxel's retained centroid when downsampling a point cloud — Open rectangular block
Calculate a voxel's retained centroid when downsampling a point cloud — a worked case for open rectangular block, with explicit data, a sensitivity comparison and an independent evidence.

The measurement question
Voxel-centroid downsampling replaces points within each occupied three-dimensional cell with their centroid. Suppose one hypothetical voxel contains x coordinates 0.10, 0.14, and 0.22 m, with corresponding y and z coordinates treated in the same way. Its retained x coordinate is 0.15333 m. This differs from using the voxel centre or preserving the first observation. The distinction matters because the output point may be synthetic rather than an original laser return. Choose voxel dimensions according to the features needed downstream, and preserve the full-resolution dataset for measurements or attributes that cannot be meaningfully averaged. A voxel crossing two surfaces may place its centroid between them.
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.

Reproduce the numerical check
Illustrative input data: First point x inside voxel (x1) = 0.1 m; Second point x inside voxel (x2) = 0.14 m; Third point x inside voxel (x3) = 0.22 m; Voxel width (leaf) = 0.5 m.
Calculation: (x1+x2+x3)/3.
Retained voxel centroid x coordinate = 0.15333333 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 first point x inside voxel (x1) from 0.1 to 0.11 m. Re-evaluating the same equation gives retained voxel centroid x coordinate = 0.15666667 m. The arithmetic difference from the baseline is 0.0033333333 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
Use centroid downsampling when a reduced geometric representation suits the next operation, and retain original data for traceability. Set voxel dimensions and attribute rules deliberately so small structures and categorical information are not unintentionally averaged away.
A centroid can fall between separate surfaces or outside their actual sampled patches. Leaf size and origin affect grouping, and averaged classifications, timestamps, return numbers, or identifiers may be meaningless even when averaged coordinates remain useful.
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
Select several occupied voxels and recompute coordinate means from their original points. Compare reduced and original profiles near edges and thin objects, recording point counts, cell dimensions, and any attributes whose aggregation or preservation is required.
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.



