MATLAB File Help: cv.DescriptorExtractor Index
cv.DescriptorExtractor

Common interface of 2D image Descriptor Extractors.

Class for computing descriptors for image keypoints.

Extractors of keypoint descriptors in OpenCV have wrappers with a common interface that enables you to easily switch between different algorithms solving the same problem. This section is devoted to computing descriptors represented as vectors in a multidimensional space. All objects that implement the vector descriptor extractors inherit the DescriptorExtractor interface.

In this interface, a keypoint descriptor can be represented as a dense, fixed-dimension vector of a basic type. Most descriptors follow this pattern as it simplifies computing distances between descriptors. Therefore, a collection of descriptors is represented as a matrix, where each row is a keypoint descriptor.

Example

detector = cv.FeatureDetector('ORB');
keypoints = detector.detect(img);
extractor = cv.DescriptorExtractor('ORB');
descriptors = extractor.compute(img, keypoints);
See also
Class Details
Superclasses handle
Sealed false
Construct on load false
Constructor Summary
DescriptorExtractor Creates a descriptor extractor by name. 
Property Summary
Type Type of the extractor 
id Object ID 
Method Summary
  addlistener Add listener for event. 
  clear Clears the algorithm state 
  compute Computes the descriptors for a set of keypoints detected in an image or image set. 
  defaultNorm Returns the default norm type 
  delete Destructor 
  descriptorSize Returns the descriptor size in bytes 
  descriptorType Returns the descriptor type 
  empty Checks if detector object is empty. 
  eq == (EQ) Test handle equality. 
  findobj Find objects matching specified conditions. 
  findprop Find property of MATLAB handle object. 
  ge >= (GE) Greater than or equal relation for handles. 
  getDefaultName Returns the algorithm string identifier 
  gt > (GT) Greater than relation for handles. 
Sealed   isvalid Test handle validity. 
  le <= (LE) Less than or equal relation for handles. 
  load Loads algorithm from a file or a string 
  lt < (LT) Less than relation for handles. 
  ne ~= (NE) Not equal relation for handles. 
  notify Notify listeners of event. 
  save Saves the algorithm parameters to a file 
  typeid Name of the C++ type (RTTI)