pub struct Corner {
pub x: u32,
pub y: u32,
pub score: f32,
}Expand description
A detected corner: its pixel position and its Shi-Tomasi score, the minimum eigenvalue of the mean 3x3 structure tensor.
Scores are in (grey levels / pixel)^2 for 8-bit images and in (input unit / pixel)^2 for f32 images.
Fields§
§x: u32Column in pixels.
y: u32Row in pixels.
score: f32Corner score.
Implementations§
Trait Implementations§
impl Copy for Corner
impl StructuralPartialEq for Corner
Auto Trait Implementations§
impl Freeze for Corner
impl RefUnwindSafe for Corner
impl Send for Corner
impl Sync for Corner
impl Unpin for Corner
impl UnsafeUnpin for Corner
impl UnwindSafe for Corner
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