@Namespace(value="cv::xfeatures2d") public static class opencv_xfeatures2d.SIFT extends opencv_features2d.Feature2D
/** \brief Class for extracting keypoints and computing descriptors using the Scale Invariant Feature Transform (SIFT) algorithm by D. Lowe \cite Lowe04 .
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_xfeatures2d.SIFT()
Default native constructor.
|
opencv_xfeatures2d.SIFT(long size)
Native array allocator.
|
opencv_xfeatures2d.SIFT(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static opencv_xfeatures2d.SIFT |
create() |
static opencv_xfeatures2d.SIFT |
create(int nfeatures,
int nOctaveLayers,
double contrastThreshold,
double edgeThreshold,
double sigma) |
opencv_xfeatures2d.SIFT |
position(long position) |
compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detectAndCompute, detectAndCompute, emptyclear, getDefaultName, read, save, save, writeaddress, asBuffer, asByteBuffer, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, maxBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic opencv_xfeatures2d.SIFT()
public opencv_xfeatures2d.SIFT(long size)
Pointer.position(long).public opencv_xfeatures2d.SIFT(Pointer p)
Pointer.Pointer(Pointer).public opencv_xfeatures2d.SIFT position(long position)
position in class opencv_features2d.Feature2D@opencv_core.Ptr public static opencv_xfeatures2d.SIFT create(int nfeatures, int nOctaveLayers, double contrastThreshold, double edgeThreshold, double sigma)
nfeatures - The number of best features to retain. The features are ranked by their scores
(measured in SIFT algorithm as the local contrast)
nOctaveLayers - The number of layers in each octave. 3 is the value used in D. Lowe paper. The
number of octaves is computed automatically from the image resolution.
contrastThreshold - The contrast threshold used to filter out weak features in semi-uniform
(low-contrast) regions. The larger the threshold, the less features are produced by the detector.
edgeThreshold - The threshold used to filter out edge-like features. Note that the its meaning
is different from the contrastThreshold, i.e. the larger the edgeThreshold, the less features are
filtered out (more features are retained).
sigma - The sigma of the Gaussian applied to the input image at the octave \#0. If your image
is captured with a weak camera with soft lenses, you might want to reduce the number.@opencv_core.Ptr public static opencv_xfeatures2d.SIFT create()
Copyright © 2016. All rights reserved.