ThreeCrate Algorithms
High-performance algorithms for 3D point cloud and mesh processing.
Features
- Point Cloud Processing: Filtering, downsampling, and outlier removal
- Registration: ICP (Iterative Closest Point) algorithm for point cloud alignment
- Segmentation: RANSAC plane segmentation and clustering algorithms
- Spatial Queries: K-nearest neighbor search and spatial indexing
- Normal Estimation: Surface normal computation for point clouds
- Parallel Processing: Multi-threaded algorithms using Rayon
Usage
Add this to your Cargo.toml
:
[]
= "0.1.0"
= "0.1.0"
Example
use ;
use ;
// Load or create point clouds
let source = from_points;
let target = from_points;
// ICP registration
let result = icp_registration?;
println!;
// Estimate normals
let normals = estimate_normals?;
// RANSAC plane segmentation
let plane_result = plane_segmentation_ransac?;
println!;
Algorithms
- ICP Registration: Point cloud alignment using iterative closest point
- RANSAC Segmentation: Robust plane fitting and outlier detection
- Normal Estimation: Surface normal computation using local neighborhoods
- Filtering: Statistical outlier removal and radius filtering
- Spatial Indexing: KD-tree and R-tree based spatial queries
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.