BaseFeature2D#
- class BaseFeature2D(kp: list | ndarray | None = None, des: ndarray | None = None, scale: bool = False, orient: bool = False, image: ndarray | None = None)[source]#
A 2D point feature class
Methods
distance(other[, metric])Distance between feature sets
draw(image, *args[, ax, filled, color, ...])Draw features into image
draw2(image[, color, type])drawKeypoints(image[, drawing, isift, ...])Render keypoints into image
drawMatches(im1, sift1, im2, sift2, matches, ...)filter(**kwargs)Filter features
gridify(nbins, nfeat)Sort features into grid
list()List matches
match(other[, ratio, crosscheck, metric, ...])Match point features
plot(*args[, ax, filled, color, alpha, ...])Plot features using Matplotlib
sort([by, descending, inplace])Sort features
subset([N])Select subset of features
support(images[, N])Find support region
table()Print features in tabular form
Attributes
descriptorDescriptor of feature
idImage id for feature point
octaveOctave of feature
orientationOrientation of feature
pFeature coordinates
scaleScale of feature
strengthStrength of feature
uHorizontal coordinate of feature point
vVertical coordinate of feature point