|
OpenCV 2.4.4 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opencv.features2d.KeyPoint
public class KeyPoint
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
Field Summary | |
---|---|
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 | |
---|---|
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 | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public float angle
public int class_id
public int octave
public Point pt
public float response
public float size
Constructor Detail |
---|
public KeyPoint()
The keypoint constructors
public KeyPoint(float x, float y, float _size)
The keypoint constructors
x
- x-coordinate of the keypointy
- y-coordinate of the keypoint_size
- keypoint diameterpublic KeyPoint(float x, float y, float _size, float _angle)
The keypoint constructors
x
- x-coordinate of the keypointy
- y-coordinate of the keypoint_size
- keypoint diameter_angle
- keypoint orientationpublic KeyPoint(float x, float y, float _size, float _angle, float _response)
The keypoint constructors
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)public KeyPoint(float x, float y, float _size, float _angle, float _response, int _octave)
The keypoint constructors
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 detectedpublic KeyPoint(float x, float y, float _size, float _angle, float _response, int _octave, int _class_id)
The keypoint constructors
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 idMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
OpenCV 2.4.4 Documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |