Package org.opencv.features2d
Class Feature2D
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.features2d.Feature2D
-
- Direct Known Subclasses:
AgastFeatureDetector
,AKAZE
,BRISK
,FastFeatureDetector
,GFTTDetector
,KAZE
,MSER
,ORB
public class Feature2D extends Algorithm
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Feature2D(long addr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compute(List<Mat> images, List<MatOfKeyPoint> keypoints, List<Mat> descriptors)
void
compute(Mat image, MatOfKeyPoint keypoints, Mat descriptors)
int
defaultNorm()
int
descriptorSize()
int
descriptorType()
void
detect(List<Mat> images, List<MatOfKeyPoint> keypoints)
void
detect(List<Mat> images, List<MatOfKeyPoint> keypoints, List<Mat> masks)
void
detect(Mat image, MatOfKeyPoint keypoints)
void
detect(Mat image, MatOfKeyPoint keypoints, Mat mask)
void
detectAndCompute(Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors)
void
detectAndCompute(Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors, boolean useProvidedKeypoints)
boolean
empty()
protected void
finalize()
void
read(String fileName)
void
write(String fileName)
-
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
-
-
-
-
Method Detail
-
empty
public boolean empty()
-
defaultNorm
public int defaultNorm()
-
descriptorSize
public int descriptorSize()
-
descriptorType
public int descriptorType()
-
compute
public void compute(Mat image, MatOfKeyPoint keypoints, Mat descriptors)
-
compute
public void compute(List<Mat> images, List<MatOfKeyPoint> keypoints, List<Mat> descriptors)
-
detect
public void detect(Mat image, MatOfKeyPoint keypoints, Mat mask)
-
detect
public void detect(Mat image, MatOfKeyPoint keypoints)
-
detect
public void detect(List<Mat> images, List<MatOfKeyPoint> keypoints)
-
detectAndCompute
public void detectAndCompute(Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors, boolean useProvidedKeypoints)
-
detectAndCompute
public void detectAndCompute(Mat image, Mat mask, MatOfKeyPoint keypoints, Mat descriptors)
-
read
public void read(String fileName)
-
write
public void write(String fileName)
-
-