pub trait KeyPointTraitConst {
    fn as_raw_KeyPoint(&self) -> *const c_void;

    fn pt(&self) -> Point2f { ... }
    fn size(&self) -> f32 { ... }
    fn angle(&self) -> f32 { ... }
    fn response(&self) -> f32 { ... }
    fn octave(&self) -> i32 { ... }
    fn class_id(&self) -> i32 { ... }
    fn hash(&self) -> Result<size_t> { ... }
}
Expand description

Constant methods for core::KeyPoint

Required Methods§

Provided Methods§

coordinates of the keypoints

diameter of the meaningful keypoint neighborhood

computed orientation of the keypoint (-1 if not applicable); it’s in [0,360) degrees and measured relative to image coordinate system, ie in clockwise.

the response by which the most strong keypoints have been selected. Can be used for the further sorting or subsampling

octave (pyramid layer) from which the keypoint has been extracted

object class (if the keypoints need to be clustered by an object they belong to)

Implementors§