OpenCV 2.4.3 (RC)

org.opencv.features2d
Class KeyPoint

java.lang.Object
  extended by org.opencv.features2d.KeyPoint

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
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

See Also:
org.opencv.features2d.KeyPoint.KeyPoint

KeyPoint

public KeyPoint(float x,
                float y,
                float _size)

The keypoint constructors

Parameters:
x - x-coordinate of the keypoint
y - 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 keypoint
y - 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 keypoint
y - 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 keypoint
y - 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 keypoint
y - 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
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Official OpenCV 2.4 Documentation