Struct KeyPoint
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Data structure for salient point detectors
[Serializable]
[SuppressMessage("Design", "CA1051: Do not declare visible instance fields")]
public record struct KeyPoint : IEquatable<KeyPoint>
- Implements
- Inherited Members
Remarks
Complete constructor
Constructors
KeyPoint(Point2f, float, float, float, int, int)
Data structure for salient point detectors
public KeyPoint(Point2f Pt, float Size, float Angle = -1, float Response = 0, int Octave = 0, int ClassId = -1)
Parameters
PtPoint2fCoordinate of the point
SizefloatFeature size
AnglefloatFeature orientation in degrees (has negative value if the orientation is not defined/not computed)
ResponsefloatFeature strength (can be used to select only the most prominent key points)
OctaveintScale-space octave in which the feature has been found; may correlate with the size
ClassIdintPoint class (can be used by feature classifiers or object detectors)
Remarks
Complete constructor
KeyPoint(float, float, float, float, float, int, int)
Complete constructor
public KeyPoint(float x, float y, float size, float angle = -1, float response = 0, int octave = 0, int classId = -1)
Parameters
xfloatX-coordinate of the point
yfloatY-coordinate of the point
sizefloatFeature size
anglefloatFeature orientation in degrees (has negative value if the orientation is not defined/not computed)
responsefloatFeature strength (can be used to select only the most prominent key points)
octaveintScale-space octave in which the feature has been found; may correlate with the size
classIdintPoint class (can be used by feature classifiers or object detectors)
Fields
Angle
Feature orientation in degrees (has negative value if the orientation is not defined/not computed)
public float Angle
Field Value
ClassId
Point class (can be used by feature classifiers or object detectors)
public int ClassId
Field Value
Octave
Scale-space octave in which the feature has been found; may correlate with the size
public int Octave
Field Value
Pt
Coordinate of the point
public Point2f Pt
Field Value
Response
Feature strength (can be used to select only the most prominent key points)
public float Response
Field Value
Size
Feature size
public float Size