Expand description
A module containing various mapping-algorithms for point clouds.
Modules§
- double_
precision - Contains pregenerated functions for double precision point cloud mapping-algorithms.
- single_
precision - Contains pregenerated functions for single precision point cloud mapping-algorithms.
Structs§
- ICPConfiguration
- A struct specifying configuration options for an ICP algorithm.
- ICPConfiguration
Builder - A Builder-pattern struct for safely constructing an
ICPConfiguration
struct. - ICPSuccess
- Contains the resulting transform, the resulting Mean Squared Error, and the number of iterations taken for a successful ICP convergence.
Enums§
- ICPError
- An error type containing the various errors that might arise during an ICP algorithm, when compiling with the
std
feature, it will also derivethiserror::Error
.
Functions§
- calculate_
point_ cloud_ center - Calculates the mean(centroid) of the point cloud.
- downsample_
point_ cloud_ voxel - Downsample a points cloud, returning a new point cloud, with all points within each voxel combined into their mean.
- find_
nearest_ neighbour_ naive - Finds the closest matching target point to the passed source point.
- generate_
point_ cloud - Generates a randomized points cloud within a specified spherical range.
- icp
- A free-form version of the ICP function, allowing for any input and output, under the constraints of the function
- icp_
iteration - A single iteration of the ICP function, allowing for any input and output, usually used for debugging or visualization
- lex_
sort - Sorts a copy of the point cloud in lexicographical order.
- lex_
sort_ in_ place - Sorts a point cloud in lexicographical order. Modifies the inserted slice in place.
- lex_
sort_ ref - Sorts the point cloud in lexicographical order, returning a
Vec
of references to the original points, in order.. - transform_
point_ cloud - Transform a point cloud, returning a transformed copy. This function does not mutate the original point cloud.
Type Aliases§
- ICPResult
- A type alias for the result of an ICP algorithm, containing either the successful result or an error.