@Namespace(value="cv") public static class opencv_features2d.Feature2D extends opencv_core.Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_features2d.Feature2D()
Default native constructor.
|
opencv_features2d.Feature2D(long size)
Native array allocator.
|
opencv_features2d.Feature2D(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
compute(opencv_core.Mat image,
opencv_core.KeyPointVector keypoints,
opencv_core.Mat descriptors)
\brief Computes the descriptors for a set of keypoints detected in an image (first variant) or image set
(second variant).
|
void |
compute(opencv_core.MatVector images,
opencv_core.KeyPointVectorVector keypoints,
opencv_core.MatVector descriptors)
\overload
|
int |
defaultNorm() |
int |
descriptorSize() |
int |
descriptorType() |
void |
detect(opencv_core.Mat image,
opencv_core.KeyPointVector keypoints) |
void |
detect(opencv_core.Mat image,
opencv_core.KeyPointVector keypoints,
opencv_core.Mat mask)
\brief Detects keypoints in an image (first variant) or image set (second variant).
|
void |
detect(opencv_core.MatVector images,
opencv_core.KeyPointVectorVector keypoints) |
void |
detect(opencv_core.MatVector images,
opencv_core.KeyPointVectorVector keypoints,
opencv_core.MatVector masks)
\overload
|
void |
detectAndCompute(opencv_core.Mat image,
opencv_core.Mat mask,
opencv_core.KeyPointVector keypoints,
opencv_core.Mat descriptors) |
void |
detectAndCompute(opencv_core.Mat image,
opencv_core.Mat mask,
opencv_core.KeyPointVector keypoints,
opencv_core.Mat descriptors,
boolean useProvidedKeypoints)
Detects keypoints and computes the descriptors
|
boolean |
empty()
Return true if detector object is empty
|
opencv_features2d.Feature2D |
position(long position) |
clear, 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_features2d.Feature2D()
public opencv_features2d.Feature2D(long size)
Pointer.position(long).public opencv_features2d.Feature2D(Pointer p)
Pointer.Pointer(Pointer).public opencv_features2d.Feature2D position(long position)
position in class opencv_core.Algorithmpublic void detect(@ByVal opencv_core.Mat image, @ByRef opencv_core.KeyPointVector keypoints, @ByVal(nullValue="cv::noArray()") opencv_core.Mat mask)
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 void detect(@ByVal opencv_core.Mat image, @ByRef opencv_core.KeyPointVector keypoints)
public void detect(@ByVal opencv_core.MatVector images, @ByRef opencv_core.KeyPointVectorVector keypoints, @ByVal(nullValue="cv::noArray()") opencv_core.MatVector masks)
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(@ByVal opencv_core.MatVector images, @ByRef opencv_core.KeyPointVectorVector keypoints)
public void compute(@ByVal opencv_core.Mat image, @ByRef opencv_core.KeyPointVector keypoints, @ByVal opencv_core.Mat descriptors)
image - Image.keypoints - Input collection of keypoints. Keypoints for which a descriptor cannot be
computed are removed. Sometimes new keypoints can be added, for example: SIFT duplicates keypoint
with several dominant orientations (for each orientation).descriptors - Computed descriptors. In the second variant of the method descriptors[i] are
descriptors computed for a keypoints[i]. Row j is the keypoints (or keypoints[i]) is the
descriptor for keypoint j-th keypoint.public void compute(@ByVal opencv_core.MatVector images, @ByRef opencv_core.KeyPointVectorVector keypoints, @ByVal opencv_core.MatVector descriptors)
images - Image set.keypoints - Input collection of keypoints. Keypoints for which a descriptor cannot be
computed are removed. Sometimes new keypoints can be added, for example: SIFT duplicates keypoint
with several dominant orientations (for each orientation).descriptors - Computed descriptors. In the second variant of the method descriptors[i] are
descriptors computed for a keypoints[i]. Row j is the keypoints (or keypoints[i]) is the
descriptor for keypoint j-th keypoint.public void detectAndCompute(@ByVal opencv_core.Mat image, @ByVal opencv_core.Mat mask, @ByRef opencv_core.KeyPointVector keypoints, @ByVal opencv_core.Mat descriptors, @Cast(value="bool") boolean useProvidedKeypoints)
public void detectAndCompute(@ByVal opencv_core.Mat image, @ByVal opencv_core.Mat mask, @ByRef opencv_core.KeyPointVector keypoints, @ByVal opencv_core.Mat descriptors)
public int descriptorSize()
public int descriptorType()
public int defaultNorm()
@Cast(value="bool") public boolean empty()
empty in class opencv_core.AlgorithmCopyright © 2016. All rights reserved.