public static class opencv_features2d.KeyPoint extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_features2d.KeyPoint()
the default constructor
|
opencv_features2d.KeyPoint(float x,
float y,
float _size) |
opencv_features2d.KeyPoint(float x,
float y,
float _size,
float _angle,
float _response,
int _octave,
int _class_id)
another form of the full constructor
|
opencv_features2d.KeyPoint(int size) |
opencv_features2d.KeyPoint(opencv_core.Point2f _pt,
float _size) |
opencv_features2d.KeyPoint(opencv_core.Point2f _pt,
float _size,
float _angle,
float _response,
int _octave,
int _class_id)
the full constructor
|
opencv_features2d.KeyPoint(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
float |
angle()
computed orientation of the keypoint (-1 if not applicable); * it's in [0,360) degrees and measured relative to * image coordinate system, ie in clockwise.
|
opencv_features2d.KeyPoint |
angle(float angle) |
int |
class_id()
object class (if the keypoints need to be clustered by an object they belong to)
|
opencv_features2d.KeyPoint |
class_id(int class_id) |
static void |
convert(opencv_core.Point2f points2f,
opencv_features2d.KeyPoint keypoints) |
static void |
convert(opencv_core.Point2f points2f,
opencv_features2d.KeyPoint keypoints,
float size,
float response,
int octave,
int class_id)
converts vector of points to the vector of keypoints, where each keypoint is assigned the same size and the same orientation
|
static void |
convert(opencv_features2d.KeyPoint keypoints,
opencv_core.Point2f points2f) |
static void |
convert(opencv_features2d.KeyPoint keypoints,
opencv_core.Point2f points2f,
int[] keypointIndexes) |
static void |
convert(opencv_features2d.KeyPoint keypoints,
opencv_core.Point2f points2f,
IntBuffer keypointIndexes) |
static void |
convert(opencv_features2d.KeyPoint keypoints,
opencv_core.Point2f points2f,
IntPointer keypointIndexes)
converts vector of keypoints to vector of points
|
long |
hash() |
int |
octave()
octave (pyramid layer) from which the keypoint has been extracted
|
opencv_features2d.KeyPoint |
octave(int octave) |
static float |
overlap(opencv_features2d.KeyPoint kp1,
opencv_features2d.KeyPoint kp2)
computes overlap for pair of keypoints;
overlap is a ratio between area of keypoint regions intersection and
area of keypoint regions union (now keypoint region is circle)
|
opencv_features2d.KeyPoint |
position(int position) |
opencv_core.Point2f |
pt()
coordinates of the keypoints
|
opencv_features2d.KeyPoint |
pt(opencv_core.Point2f pt) |
float |
response()
the response by which the most strong keypoints have been selected.
|
opencv_features2d.KeyPoint |
response(float response) |
float |
size()
diameter of the meaningful keypoint neighborhood
|
opencv_features2d.KeyPoint |
size(float size) |
address, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic opencv_features2d.KeyPoint(Pointer p)
public opencv_features2d.KeyPoint(int size)
public opencv_features2d.KeyPoint()
public opencv_features2d.KeyPoint(opencv_core.Point2f _pt, float _size, float _angle, float _response, int _octave, int _class_id)
public opencv_features2d.KeyPoint(opencv_core.Point2f _pt, float _size)
public opencv_features2d.KeyPoint(float x,
float y,
float _size,
float _angle,
float _response,
int _octave,
int _class_id)
public opencv_features2d.KeyPoint(float x,
float y,
float _size)
public opencv_features2d.KeyPoint position(int position)
public long hash()
public static void convert(opencv_features2d.KeyPoint keypoints, opencv_core.Point2f points2f, IntPointer keypointIndexes)
public static void convert(opencv_features2d.KeyPoint keypoints, opencv_core.Point2f points2f)
public static void convert(opencv_features2d.KeyPoint keypoints, opencv_core.Point2f points2f, IntBuffer keypointIndexes)
public static void convert(opencv_features2d.KeyPoint keypoints, opencv_core.Point2f points2f, int[] keypointIndexes)
public static void convert(opencv_core.Point2f points2f, opencv_features2d.KeyPoint keypoints, float size, float response, int octave, int class_id)
public static void convert(opencv_core.Point2f points2f, opencv_features2d.KeyPoint keypoints)
public static float overlap(opencv_features2d.KeyPoint kp1, opencv_features2d.KeyPoint kp2)
public opencv_core.Point2f pt()
public opencv_features2d.KeyPoint pt(opencv_core.Point2f pt)
public float size()
public opencv_features2d.KeyPoint size(float size)
public float angle()
public opencv_features2d.KeyPoint angle(float angle)
public float response()
public opencv_features2d.KeyPoint response(float response)
public int octave()
public opencv_features2d.KeyPoint octave(int octave)
public int class_id()
public opencv_features2d.KeyPoint class_id(int class_id)
Copyright © 2014. All Rights Reserved.