Octree\Resample

From CloudCompare wiki
Revision as of 00:13, 18 February 2015 by Daniel (talk | contribs) (Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This tool is accessible via the 'Edit > Octree > Resample' menu.

Description

Resamples a cloud by replacing all the points inside each cell of the octree (at a given level of subdivision) by their gravity center.

The level of subdivision at which the process is applied is chosen to (roughly) match the expected number of output points specified by the user.

Edit > Octree > Resample (example)

Warning: this method creates a new cloud with points that are not necessarily at the same position in space as the input cloud points. Therefore it is not possible to keep the various features attached to the input points (color, normal, scalar values, etc.). If you want to keep those features (as well as the points original positions) you should consider using the Subsample method instead.