machinevisiontoolbox.ImagePointFeatures.BRIEFFeature
- class machinevisiontoolbox.ImagePointFeatures.BRIEFFeature(kp=None, des=None, scale=False, orient=False, image=None)[source]
Create set of BRIEF point features

- __init__(kp=None, des=None, scale=False, orient=False, image=None)
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
__init__([kp, des, scale, orient, image])Create set of 2D point features
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, flags])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