pub struct GicpConfig {
pub max_iterations: usize,
pub max_correspondence_distance: f32,
pub k_neighbors: usize,
pub epsilon: f64,
pub transformation_epsilon: f64,
pub fitness_epsilon: f64,
pub min_correspondences: usize,
pub initial_guess: Isometry3<f32>,
pub covariance_radius: Option<f32>,
}Expand description
Configuration for Generalized ICP (plane-to-plane).
GICP models each point’s local surface as an anisotropic Gaussian and minimizes the Mahalanobis distance between correspondences, combining the robustness of point-to-plane ICP for both clouds. Local covariances are estimated from k-nearest neighbors and regularized toward planar disks.
Fields§
§max_iterations: usizeMaximum number of GICP iterations.
max_correspondence_distance: f32Maximum correspondence distance.
k_neighbors: usizeNumber of neighbors used to estimate per-point covariance.
epsilon: f64Planar regularization: eigenvalue assigned along the surface normal.
transformation_epsilon: f64Stop when the transform update is smaller than this threshold.
fitness_epsilon: f64Stop when the fitness is smaller than this threshold.
min_correspondences: usizeMinimum number of correspondences required per iteration.
initial_guess: Isometry3<f32>Initial transform guess mapping source into target frame.
covariance_radius: Option<f32>When set (and the register-gicp-gpu feature is enabled), estimate
per-point covariances on the GPU using a uniform grid neighbor search of
this radius instead of the CPU KD-tree. Falls back to CPU on GPU errors.
Implementations§
Source§impl GicpConfig
impl GicpConfig
Sourcepub fn with_correspondence_distance(max_correspondence_distance: f32) -> Self
pub fn with_correspondence_distance(max_correspondence_distance: f32) -> Self
Creates a config with the given correspondence distance.
Trait Implementations§
Source§impl Clone for GicpConfig
impl Clone for GicpConfig
Source§fn clone(&self) -> GicpConfig
fn clone(&self) -> GicpConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GicpConfig
impl Debug for GicpConfig
Source§impl Default for GicpConfig
impl Default for GicpConfig
Source§impl PartialEq for GicpConfig
impl PartialEq for GicpConfig
Source§fn eq(&self, other: &GicpConfig) -> bool
fn eq(&self, other: &GicpConfig) -> bool
self and other values to be equal, and is used by ==.