org.opencv.features2d
public class KeyPoint extends java.lang.Object
Data structure for salient point detectors.
coordinates of the keypoint
diameter of the meaningful keypoint neighborhood
// C++ code:
computed orientation of the keypoint (-1 if not applicable). Its possible
values are in a range [0,360) degrees. It is measured relative to image
coordinate system (y-axis is directed downward), ie in clockwise.
the response by which the most strong keypoints have been selected. Can be
used for further sorting or subsampling
octave (pyramid layer) from which the keypoint has been extracted
object id that can be used to clustered keypoints by an object they belong to
- See Also:
- org.opencv.features2d.KeyPoint
-
-
Field Summary
Fields
Modifier and Type
Field and Description
float
angle
Computed orientation of the keypoint (-1 if not applicable).
int
class_id
Object ID, that can be used to cluster keypoints by an object they
belong to.
int
octave
Octave (pyramid layer), from which the keypoint has been extracted.
Point
pt
Coordinates of the keypoint.
float
response
The response, by which the strongest keypoints have been selected.
float
size
Diameter of the useful keypoint adjacent area.
-
Constructor Summary
Constructors
Constructor and Description
KeyPoint()
The keypoint constructors
KeyPoint(float x,
float y,
float _size)
The keypoint constructors
KeyPoint(float x,
float y,
float _size,
float _angle)
The keypoint constructors
KeyPoint(float x,
float y,
float _size,
float _angle,
float _response)
The keypoint constructors
KeyPoint(float x,
float y,
float _size,
float _angle,
float _response,
int _octave)
The keypoint constructors
KeyPoint(float x,
float y,
float _size,
float _angle,
float _response,
int _octave,
int _class_id)
The keypoint constructors
-
Method Summary
Methods
Modifier and Type
Method and Description
java.lang.String
toString()
-
-
Field Detail
-
angle
public float angle
Computed orientation of the keypoint (-1 if not applicable).
-
class_id
public int class_id
Object ID, that can be used to cluster keypoints by an object they
belong to.
-
octave
public int octave
Octave (pyramid layer), from which the keypoint has been extracted.
-
pt
public Point pt
Coordinates of the keypoint.
-
response
public float response
The response, by which the strongest keypoints have been selected. Can
be used for further sorting or subsampling.
-
size
public float size
Diameter of the useful keypoint adjacent area.
-
Constructor Detail
-
KeyPoint
public KeyPoint()
The keypoint constructors
-
KeyPoint
public KeyPoint(float x,
float y,
float _size)
The keypoint constructors
- Parameters:
x
- x-coordinate of the keypointy
- y-coordinate of the keypoint_size
- keypoint diameter- See Also:
- org.opencv.features2d.KeyPoint.KeyPoint
-
KeyPoint
public KeyPoint(float x,
float y,
float _size,
float _angle)
The keypoint constructors
- Parameters:
x
- x-coordinate of the keypointy
- y-coordinate of the keypoint_size
- keypoint diameter_angle
- keypoint orientation- See Also:
- org.opencv.features2d.KeyPoint.KeyPoint
-
KeyPoint
public KeyPoint(float x,
float y,
float _size,
float _angle,
float _response)
The keypoint constructors
- Parameters:
x
- x-coordinate of the keypointy
- y-coordinate of the keypoint_size
- keypoint diameter_angle
- keypoint orientation_response
- keypoint detector response on the keypoint (that is,
strength of the keypoint)- See Also:
- org.opencv.features2d.KeyPoint.KeyPoint
-
KeyPoint
public KeyPoint(float x,
float y,
float _size,
float _angle,
float _response,
int _octave)
The keypoint constructors
- Parameters:
x
- x-coordinate of the keypointy
- y-coordinate of the keypoint_size
- keypoint diameter_angle
- keypoint orientation_response
- keypoint detector response on the keypoint (that is,
strength of the keypoint)_octave
- pyramid octave in which the keypoint has been detected- See Also:
- org.opencv.features2d.KeyPoint.KeyPoint
-
KeyPoint
public KeyPoint(float x,
float y,
float _size,
float _angle,
float _response,
int _octave,
int _class_id)
The keypoint constructors
- Parameters:
x
- x-coordinate of the keypointy
- y-coordinate of the keypoint_size
- keypoint diameter_angle
- keypoint orientation_response
- keypoint detector response on the keypoint (that is,
strength of the keypoint)_octave
- pyramid octave in which the keypoint has been detected_class_id
- object id- See Also:
- org.opencv.features2d.KeyPoint.KeyPoint