Package org.opencv.xfeatures2d
Class BriefDescriptorExtractor
java.lang.Object
org.opencv.core.Algorithm
org.opencv.features2d.Feature2D
org.opencv.xfeatures2d.BriefDescriptorExtractor
Class for computing BRIEF descriptors described in CITE: calon2010 .
bytes legth of the descriptor in bytes, valid values are: 16, 32 (default) or 64 .
use_orientation sample patterns using keypoints orientation, disabled by default.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BriefDescriptorExtractor
__fromPtr__
(long addr) static BriefDescriptorExtractor
create()
static BriefDescriptorExtractor
create
(int bytes) static BriefDescriptorExtractor
create
(int bytes, boolean use_orientation) protected void
finalize()
Returns the algorithm string identifier.int
boolean
void
setDescriptorSize
(int bytes) void
setUseOrientation
(boolean use_orientation) Methods inherited from class org.opencv.features2d.Feature2D
compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detectAndCompute, detectAndCompute, empty, read, write
Methods inherited from class org.opencv.core.Algorithm
clear, getNativeObjAddr, save
-
Constructor Details
-
BriefDescriptorExtractor
protected BriefDescriptorExtractor(long addr)
-
-
Method Details
-
__fromPtr__
-
create
-
create
-
create
-
setDescriptorSize
public void setDescriptorSize(int bytes) -
getDescriptorSize
public int getDescriptorSize() -
setUseOrientation
public void setUseOrientation(boolean use_orientation) -
getUseOrientation
public boolean getUseOrientation() -
getDefaultName
Description copied from class:Algorithm
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.- Overrides:
getDefaultName
in classFeature2D
- Returns:
- automatically generated
-
finalize
-