|
OpenCV 2.4.3 (RC) | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opencv.features2d.FeatureDetector
public class FeatureDetector
Abstract base class for 2D image feature detectors.
class CV_EXPORTS FeatureDetector
// C++ code:
public:
virtual ~FeatureDetector();
void detect(const Mat& image, vector
const Mat& mask=Mat()) const;
void detect(const vector
vector
const vector
virtual void read(const FileNode&);
virtual void write(FileStorage&) const;
static Ptr
protected:...
};
Field Summary | |
---|---|
static int |
BRISK
|
static int |
DENSE
|
static int |
DYNAMIC_BRISK
|
static int |
DYNAMIC_DENSE
|
static int |
DYNAMIC_FAST
|
static int |
DYNAMIC_GFTT
|
static int |
DYNAMIC_HARRIS
|
static int |
DYNAMIC_MSER
|
static int |
DYNAMIC_ORB
|
static int |
DYNAMIC_SIFT
|
static int |
DYNAMIC_SIMPLEBLOB
|
static int |
DYNAMIC_STAR
|
static int |
DYNAMIC_SURF
|
static int |
FAST
|
static int |
GFTT
|
static int |
GRID_BRISK
|
static int |
GRID_DENSE
|
static int |
GRID_FAST
|
static int |
GRID_GFTT
|
static int |
GRID_HARRIS
|
static int |
GRID_MSER
|
static int |
GRID_ORB
|
static int |
GRID_SIFT
|
static int |
GRID_SIMPLEBLOB
|
static int |
GRID_STAR
|
static int |
GRID_SURF
|
static int |
GRIDRETECTOR
|
static int |
HARRIS
|
static int |
MSER
|
protected long |
nativeObj
|
static int |
ORB
|
static int |
PYRAMID_BRISK
|
static int |
PYRAMID_DENSE
|
static int |
PYRAMID_FAST
|
static int |
PYRAMID_GFTT
|
static int |
PYRAMID_HARRIS
|
static int |
PYRAMID_MSER
|
static int |
PYRAMID_ORB
|
static int |
PYRAMID_SIFT
|
static int |
PYRAMID_SIMPLEBLOB
|
static int |
PYRAMID_STAR
|
static int |
PYRAMID_SURF
|
static int |
SIFT
|
static int |
SIMPLEBLOB
|
static int |
STAR
|
static int |
SURF
|
Constructor Summary | |
---|---|
protected |
FeatureDetector(long addr)
|
Method Summary | |
---|---|
static FeatureDetector |
create(int detectorType)
Creates a feature detector by its name. |
void |
detect(java.util.List<Mat> images,
java.util.List<MatOfKeyPoint> keypoints)
Detects keypoints in an image (first variant) or image set (second variant). |
void |
detect(java.util.List<Mat> images,
java.util.List<MatOfKeyPoint> keypoints,
java.util.List<Mat> masks)
Detects keypoints in an image (first variant) or image set (second variant). |
void |
detect(Mat image,
MatOfKeyPoint keypoints)
Detects keypoints in an image (first variant) or image set (second variant). |
void |
detect(Mat image,
MatOfKeyPoint keypoints,
Mat mask)
Detects keypoints in an image (first variant) or image set (second variant). |
boolean |
empty()
|
protected void |
finalize()
|
void |
read(java.lang.String fileName)
|
void |
write(java.lang.String fileName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BRISK
public static final int DENSE
public static final int DYNAMIC_BRISK
public static final int DYNAMIC_DENSE
public static final int DYNAMIC_FAST
public static final int DYNAMIC_GFTT
public static final int DYNAMIC_HARRIS
public static final int DYNAMIC_MSER
public static final int DYNAMIC_ORB
public static final int DYNAMIC_SIFT
public static final int DYNAMIC_SIMPLEBLOB
public static final int DYNAMIC_STAR
public static final int DYNAMIC_SURF
public static final int FAST
public static final int GFTT
public static final int GRID_BRISK
public static final int GRID_DENSE
public static final int GRID_FAST
public static final int GRID_GFTT
public static final int GRID_HARRIS
public static final int GRID_MSER
public static final int GRID_ORB
public static final int GRID_SIFT
public static final int GRID_SIMPLEBLOB
public static final int GRID_STAR
public static final int GRID_SURF
public static final int GRIDRETECTOR
public static final int HARRIS
public static final int MSER
protected final long nativeObj
public static final int ORB
public static final int PYRAMID_BRISK
public static final int PYRAMID_DENSE
public static final int PYRAMID_FAST
public static final int PYRAMID_GFTT
public static final int PYRAMID_HARRIS
public static final int PYRAMID_MSER
public static final int PYRAMID_ORB
public static final int PYRAMID_SIFT
public static final int PYRAMID_SIMPLEBLOB
public static final int PYRAMID_STAR
public static final int PYRAMID_SURF
public static final int SIFT
public static final int SIMPLEBLOB
public static final int STAR
public static final int SURF
Constructor Detail |
---|
protected FeatureDetector(long addr)
Method Detail |
---|
public static FeatureDetector create(int detectorType)
Creates a feature detector by its name.
The following detector types are supported:
"FAST"
-- "FastFeatureDetector"
"STAR"
-- "StarFeatureDetector"
"SIFT"
-- "SIFT" (nonfree module)
"SURF"
-- "SURF" (nonfree module)
"ORB"
-- "ORB"
"MSER"
-- "MSER"
"GFTT"
-- "GoodFeaturesToTrackDetector"
"HARRIS"
-- "GoodFeaturesToTrackDetector" with Harris
detector enabled
"Dense"
-- "DenseFeatureDetector"
"SimpleBlob"
-- "SimpleBlobDetector"
Also a combined format is supported: feature detector adapter name
("Grid"
-- "GridAdaptedFeatureDetector", "Pyramid"
-- "PyramidAdaptedFeatureDetector") + feature detector name (see above), for
example: "GridFAST"
, "PyramidSTAR"
.
detectorType
- Feature detector type.public void detect(java.util.List<Mat> images, java.util.List<MatOfKeyPoint> keypoints)
Detects keypoints in an image (first variant) or image set (second variant).
images
- Image set.keypoints
- The detected keypoints. In the second variant of the method
keypoints[i]
is a set of keypoints detected in images[i]
.public void detect(java.util.List<Mat> images, java.util.List<MatOfKeyPoint> keypoints, java.util.List<Mat> masks)
Detects keypoints in an image (first variant) or image set (second variant).
images
- Image set.keypoints
- The detected keypoints. In the second variant of the method
keypoints[i]
is a set of keypoints detected in images[i]
.masks
- Masks for each input image specifying where to look for
keypoints (optional). masks[i]
is a mask for images[i]
.public void detect(Mat image, MatOfKeyPoint keypoints)
Detects keypoints in an image (first variant) or image set (second variant).
image
- Image.keypoints
- The detected keypoints. In the second variant of the method
keypoints[i]
is a set of keypoints detected in images[i]
.public void detect(Mat image, MatOfKeyPoint keypoints, Mat mask)
Detects keypoints in an image (first variant) or image set (second variant).
image
- Image.keypoints
- The detected keypoints. In the second variant of the method
keypoints[i]
is a set of keypoints detected in images[i]
.mask
- Mask specifying where to look for keypoints (optional). It must
be a 8-bit integer matrix with non-zero values in the region of interest.public boolean empty()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void read(java.lang.String fileName)
public void write(java.lang.String fileName)
|
Official OpenCV 2.4 Documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |