Struct FpfhRansacConfig
pub struct FpfhRansacConfig {
pub feature_radius: f32,
pub max_correspondence_distance: f32,
pub ransac_iterations: usize,
pub sample_size: usize,
pub edge_length_tolerance: f32,
pub seed: u64,
}Expand description
Configuration for FpfhRansacRegistration.
Fields§
§feature_radius: f32Radius used to gather neighbors when building FPFH descriptors. Should be noticeably larger than the normal-estimation radius (≈5× point spacing).
max_correspondence_distance: f32Distance below which a transformed source point counts as an inlier.
ransac_iterations: usizeNumber of RANSAC sampling iterations.
sample_size: usizeCorrespondences per RANSAC sample (minimum 3 for a rigid transform).
edge_length_tolerance: f32Pairwise edge lengths in a sample must agree within this relative tolerance, which cheaply rejects geometrically inconsistent samples.
seed: u64Seed for the deterministic RNG, so runs are reproducible.
Implementations§
§impl FpfhRansacConfig
impl FpfhRansacConfig
pub fn with_radius(
feature_radius: f32,
max_correspondence_distance: f32,
) -> FpfhRansacConfig
pub fn with_radius( feature_radius: f32, max_correspondence_distance: f32, ) -> FpfhRansacConfig
Creates a config from the feature radius and inlier distance.
Trait Implementations§
§impl Clone for FpfhRansacConfig
impl Clone for FpfhRansacConfig
§fn clone(&self) -> FpfhRansacConfig
fn clone(&self) -> FpfhRansacConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for FpfhRansacConfig
impl Debug for FpfhRansacConfig
§impl Default for FpfhRansacConfig
impl Default for FpfhRansacConfig
§fn default() -> FpfhRansacConfig
fn default() -> FpfhRansacConfig
Returns the “default value” for a type. Read more
§impl PartialEq for FpfhRansacConfig
impl PartialEq for FpfhRansacConfig
impl Copy for FpfhRansacConfig
impl StructuralPartialEq for FpfhRansacConfig
Auto Trait Implementations§
impl Freeze for FpfhRansacConfig
impl RefUnwindSafe for FpfhRansacConfig
impl Send for FpfhRansacConfig
impl Sync for FpfhRansacConfig
impl Unpin for FpfhRansacConfig
impl UnsafeUnpin for FpfhRansacConfig
impl UnwindSafe for FpfhRansacConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more