BRISKFeature#
- class BRISKFeature(kp: list | ndarray | None = None, des: ndarray | None = None, scale: bool = False, orient: bool = False, image: ndarray | None = None)[source]#
Create set of BRISK point features

Create set of 2D point features
- Parameters:
kp (list of N elements, optional) – list of
opencv.KeyPointobjects, one per feature, defaults to Nonedes (ndarray(N,M), optional) – Feature descriptor, each is an M-vector, defaults to None
scale (bool, optional) – features have an inherent scale, defaults to False
orient (bool, optional) – features have an inherent orientation, defaults to False
A
BaseFeature2Dobject:has a length, the number of feature points it contains
can be sliced to extract a subset of features
This object behaves like a list, allowing indexing, slicing and iteration over individual features. It also supports a number of convenience methods.
Note
OpenCV consider feature points as
opencv.KeyPointobjects and the descriptors as a multirow NumPy array. This class provides a more convenient abstraction.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
Properties
Descriptor of feature
Image id for feature point
Octave of feature
Orientation of feature
Feature coordinates
Scale of feature
Strength of feature
Horizontal coordinate of feature point
Vertical coordinate of feature point