pub trait KeyPointTraitConst {
// Required method
fn as_raw_KeyPoint(&self) -> *const c_void;
// Provided methods
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§
fn as_raw_KeyPoint(&self) -> *const c_void
Provided Methods§
Sourcefn angle(&self) -> f32
fn angle(&self) -> f32
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.
Sourcefn response(&self) -> f32
fn response(&self) -> f32
the response by which the most strong keypoints have been selected. Can be used for the further sorting or subsampling
Sourcefn class_id(&self) -> i32
fn class_id(&self) -> i32
object class (if the keypoints need to be clustered by an object they belong to)