#[non_exhaustive]pub struct AxisFitResult {
pub amp: f32,
pub theta1: f32,
pub theta2: f32,
pub sigma_theta1: f32,
pub sigma_theta2: f32,
pub rms: f32,
}Expand description
Result of a two-axis orientation fit at a single corner.
This is the public mirror of the (crate-private) TwoAxisFit used
by the descriptor path. All OrientationMethod variants populate
the same fields.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.amp: f32Bright/dark amplitude |A| (≥ 0) recovered by the fit. Units
are gray levels.
theta1: f32First axis direction, radians in [0, π) (line-direction
representative — see crate::detect::CornerDescriptor).
theta2: f32Second axis direction, radians in (theta1, theta1 + π) ⊂ [0, 2π).
sigma_theta1: f321σ angular uncertainty for theta1 (radians).
sigma_theta2: f321σ angular uncertainty for theta2 (radians).
rms: f32RMS fit residual of the two-axis intensity model (gray levels).
Trait Implementations§
Source§impl Clone for AxisFitResult
impl Clone for AxisFitResult
Source§fn clone(&self) -> AxisFitResult
fn clone(&self) -> AxisFitResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AxisFitResult
impl Debug for AxisFitResult
impl Copy for AxisFitResult
Auto Trait Implementations§
impl Freeze for AxisFitResult
impl RefUnwindSafe for AxisFitResult
impl Send for AxisFitResult
impl Sync for AxisFitResult
impl Unpin for AxisFitResult
impl UnsafeUnpin for AxisFitResult
impl UnwindSafe for AxisFitResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more