Table of Contents

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

Pt Point2f

Coordinate of the point

Size float

Feature size

Angle float

Feature orientation in degrees (has negative value if the orientation is not defined/not computed)

Response float

Feature strength (can be used to select only the most prominent key points)

Octave int

Scale-space octave in which the feature has been found; may correlate with the size

ClassId int

Point 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

x float

X-coordinate of the point

y float

Y-coordinate of the point

size float

Feature size

angle float

Feature orientation in degrees (has negative value if the orientation is not defined/not computed)

response float

Feature strength (can be used to select only the most prominent key points)

octave int

Scale-space octave in which the feature has been found; may correlate with the size

classId int

Point 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

float

ClassId

Point class (can be used by feature classifiers or object detectors)

public int ClassId

Field Value

int

Octave

Scale-space octave in which the feature has been found; may correlate with the size

public int Octave

Field Value

int

Pt

Coordinate of the point

public Point2f Pt

Field Value

Point2f

Response

Feature strength (can be used to select only the most prominent key points)

public float Response

Field Value

float

Size

Feature size

public float Size

Field Value

float