public class DescriptorMatcher extends Algorithm
Modifier and Type | Field and Description |
---|---|
static int |
BRUTEFORCE |
static int |
BRUTEFORCE_HAMMING |
static int |
BRUTEFORCE_HAMMINGLUT |
static int |
BRUTEFORCE_L1 |
static int |
BRUTEFORCE_SL2 |
static int |
FLANNBASED |
Modifier | Constructor and Description |
---|---|
protected |
DescriptorMatcher(long addr) |
Modifier and Type | Method and Description |
---|---|
static DescriptorMatcher |
__fromPtr__(long addr) |
void |
add(java.util.List<Mat> descriptors) |
void |
clear() |
DescriptorMatcher |
clone() |
DescriptorMatcher |
clone(boolean emptyTrainData) |
static DescriptorMatcher |
create(int matcherType) |
static DescriptorMatcher |
create(java.lang.String descriptorMatcherType) |
boolean |
empty() |
protected void |
finalize() |
java.util.List<Mat> |
getTrainDescriptors() |
boolean |
isMaskSupported() |
void |
knnMatch(Mat queryDescriptors,
java.util.List<MatOfDMatch> matches,
int k) |
void |
knnMatch(Mat queryDescriptors,
java.util.List<MatOfDMatch> matches,
int k,
java.util.List<Mat> masks,
boolean compactResult) |
void |
knnMatch(Mat queryDescriptors,
Mat trainDescriptors,
java.util.List<MatOfDMatch> matches,
int k) |
void |
knnMatch(Mat queryDescriptors,
Mat trainDescriptors,
java.util.List<MatOfDMatch> matches,
int k,
Mat mask,
boolean compactResult) |
void |
match(Mat queryDescriptors,
Mat trainDescriptors,
MatOfDMatch matches) |
void |
match(Mat queryDescriptors,
Mat trainDescriptors,
MatOfDMatch matches,
Mat mask) |
void |
match(Mat queryDescriptors,
MatOfDMatch matches) |
void |
match(Mat queryDescriptors,
MatOfDMatch matches,
java.util.List<Mat> masks) |
void |
radiusMatch(Mat queryDescriptors,
java.util.List<MatOfDMatch> matches,
float maxDistance) |
void |
radiusMatch(Mat queryDescriptors,
java.util.List<MatOfDMatch> matches,
float maxDistance,
java.util.List<Mat> masks,
boolean compactResult) |
void |
radiusMatch(Mat queryDescriptors,
Mat trainDescriptors,
java.util.List<MatOfDMatch> matches,
float maxDistance) |
void |
radiusMatch(Mat queryDescriptors,
Mat trainDescriptors,
java.util.List<MatOfDMatch> matches,
float maxDistance,
Mat mask,
boolean compactResult) |
void |
read(java.lang.String fileName) |
void |
train() |
void |
write(java.lang.String fileName) |
getDefaultName, getNativeObjAddr, save
public static final int FLANNBASED
public static final int BRUTEFORCE
public static final int BRUTEFORCE_L1
public static final int BRUTEFORCE_HAMMING
public static final int BRUTEFORCE_HAMMINGLUT
public static final int BRUTEFORCE_SL2
public static DescriptorMatcher __fromPtr__(long addr)
public DescriptorMatcher clone(boolean emptyTrainData)
public DescriptorMatcher clone()
clone
in class java.lang.Object
public static DescriptorMatcher create(java.lang.String descriptorMatcherType)
public static DescriptorMatcher create(int matcherType)
public boolean isMaskSupported()
public java.util.List<Mat> getTrainDescriptors()
public void add(java.util.List<Mat> descriptors)
public void knnMatch(Mat queryDescriptors, Mat trainDescriptors, java.util.List<MatOfDMatch> matches, int k, Mat mask, boolean compactResult)
public void knnMatch(Mat queryDescriptors, Mat trainDescriptors, java.util.List<MatOfDMatch> matches, int k)
public void knnMatch(Mat queryDescriptors, java.util.List<MatOfDMatch> matches, int k, java.util.List<Mat> masks, boolean compactResult)
public void knnMatch(Mat queryDescriptors, java.util.List<MatOfDMatch> matches, int k)
public void match(Mat queryDescriptors, Mat trainDescriptors, MatOfDMatch matches, Mat mask)
public void match(Mat queryDescriptors, Mat trainDescriptors, MatOfDMatch matches)
public void match(Mat queryDescriptors, MatOfDMatch matches, java.util.List<Mat> masks)
public void match(Mat queryDescriptors, MatOfDMatch matches)
public void radiusMatch(Mat queryDescriptors, Mat trainDescriptors, java.util.List<MatOfDMatch> matches, float maxDistance, Mat mask, boolean compactResult)
public void radiusMatch(Mat queryDescriptors, Mat trainDescriptors, java.util.List<MatOfDMatch> matches, float maxDistance)
public void radiusMatch(Mat queryDescriptors, java.util.List<MatOfDMatch> matches, float maxDistance, java.util.List<Mat> masks, boolean compactResult)
public void radiusMatch(Mat queryDescriptors, java.util.List<MatOfDMatch> matches, float maxDistance)
public void read(java.lang.String fileName)
public void train()
public void write(java.lang.String fileName)
Generated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2