OpenCV 2.4.2

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.

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 clustered 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 most strong keypoints have been selected.
 float size
          diameter of the meaningful keypoint neighborhood
 
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 clustered 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 most strong keypoints have been selected. Can be used for further sorting or subsampling


size

public float size
diameter of the meaningful keypoint neighborhood

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