pub struct ICPResult {
pub rotation: DMatrix<f64>,
pub translation: DVector<f64>,
pub iterations: usize,
pub final_error: f64,
pub final_error_mean: f64,
pub initial_error_mean: f64,
pub final_error_median: f64,
pub final_error_p90: f64,
pub inlier_ratio_5cm: f64,
pub relative_error_reduction: f64,
pub point_count: usize,
pub converged: bool,
}Fields§
§rotation: DMatrix<f64>§translation: DVector<f64>§iterations: usize§final_error: f64Sum of nearest-neighbor distances (legacy; scales with point count).
final_error_mean: f64Mean nearest-neighbor distance [m/point]: final_error / point_count.
initial_error_mean: f64Mean nearest-neighbor distance before the first ICP update [m/point].
final_error_median: f64Median nearest-neighbor distance after applying the final transform.
final_error_p90: f6490th percentile nearest-neighbor distance after applying the final transform.
inlier_ratio_5cm: f64Fraction of final associations below 5 cm. Useful as a simple ICP quality diagnostic.
relative_error_reduction: f64Relative reduction from initial to final mean error. Negative values are clamped to 0.
point_count: usize§converged: boolAuto Trait Implementations§
impl Freeze for ICPResult
impl RefUnwindSafe for ICPResult
impl Send for ICPResult
impl Sync for ICPResult
impl Unpin for ICPResult
impl UnsafeUnpin for ICPResult
impl UnwindSafe for ICPResult
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.