KeyPoint
Objective-C
@interface KeyPoint : NSObject
Swift
class KeyPoint : NSObject
Object representing a point feature found by one of many available keypoint detectors, such as Harris corner detector, FAST, StarDetector, SURF, SIFT etc.
-
Diameter of the useful keypoint adjacent area.
Declaration
Objective-C
@property float size;Swift
var size: Float { get set } -
Computed orientation of the keypoint (-1 if not applicable).
Declaration
Objective-C
@property float angle;Swift
var angle: Float { get set } -
The response, by which the strongest keypoints have been selected. Can be used for further sorting or subsampling.
Declaration
Objective-C
@property float response;Swift
var response: Float { get set } -
Octave (pyramid layer), from which the keypoint has been extracted.
Declaration
Objective-C
@property int octave;Swift
var octave: Int32 { get set } -
Object ID, that can be used to cluster keypoints by an object they belong to.
Declaration
Objective-C
@property int classId;Swift
var classId: Int32 { get set }
-
Declaration
Objective-C
- (instancetype)init;Swift
init() -
Declaration
Objective-C
- (instancetype)initWithX:(float)x y:(float)y size:(float)size angle:(float)angle response:(float)response octave:(int)octave classId:(int)classId;Swift
init(x: Float, y: Float, size: Float, angle: Float, response: Float, octave: Int32, classId: Int32) -
Declaration
Objective-C
- (instancetype)initWithX:(float)x y:(float)y size:(float)size angle:(float)angle response:(float)response octave:(int)octave;Swift
init(x: Float, y: Float, size: Float, angle: Float, response: Float, octave: Int32) -
Declaration
Objective-C
- (instancetype)initWithX:(float)x y:(float)y size:(float)size angle:(float)angle response:(float)response;Swift
init(x: Float, y: Float, size: Float, angle: Float, response: Float) -
Declaration
Objective-C
- (instancetype)initWithX:(float)x y:(float)y size:(float)size angle:(float)angle;Swift
init(x: Float, y: Float, size: Float, angle: Float) -
Declaration
Objective-C
- (instancetype)initWithX:(float)x y:(float)y size:(float)size;Swift
init(x: Float, y: Float, size: Float)
-
Clone object
Declaration
Objective-C
- (nonnull KeyPoint *)clone;Swift
func clone() -> KeyPoint -
Compare for equality
Declaration
Objective-C
- (BOOL)isEqual:(nullable id)other;Swift
func isEqual(_ other: Any?) -> BoolParameters
otherObject to compare
-
Calculate hash value for this object
Declaration
Objective-C
- (NSUInteger)hash;Swift
func hash() -> UInt -
Returns a string that describes the contents of the object
Declaration
Objective-C
- (nonnull NSString *)description;Swift
func description() -> String
View on GitHub
KeyPoint Class Reference