pub struct KeyPoint(pub Point2<f64>);
Expand description
A point on an image frame. This type should be used when the point location is on the image frame in pixel coordinates. This means the keypoint is neither undistorted nor normalized.
For calibrated coordinates, use a type that implements Bearing
.
This can be a type from a camera model crate (like cv-pinhole
), or
it can be the Unit<Vector3<f64>>
type, which implements bearing.
Tuple Fields§
§0: Point2<f64>
Trait Implementations§
Source§impl ImagePoint for KeyPoint
impl ImagePoint for KeyPoint
Source§fn image_point(&self) -> Point2<f64>
fn image_point(&self) -> Point2<f64>
Retrieves the point on the image
Source§impl PartialOrd for KeyPoint
impl PartialOrd for KeyPoint
impl Copy for KeyPoint
impl StructuralPartialEq for KeyPoint
Auto Trait Implementations§
impl Freeze for KeyPoint
impl RefUnwindSafe for KeyPoint
impl Send for KeyPoint
impl Sync for KeyPoint
impl Unpin for KeyPoint
impl UnwindSafe for KeyPoint
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,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§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 moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.