@Namespace(value="cv::xfeatures2d") @Properties(inherit=opencv_xfeatures2d.class) public class DAISY extends Feature2D
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
NRM_FULL
enum cv::xfeatures2d::DAISY::NormalizationType
|
static int |
NRM_NONE
enum cv::xfeatures2d::DAISY::NormalizationType
|
static int |
NRM_PARTIAL
enum cv::xfeatures2d::DAISY::NormalizationType
|
static int |
NRM_SIFT
enum cv::xfeatures2d::DAISY::NormalizationType
|
Constructor and Description |
---|
DAISY(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
compute(GpuMat image,
GpuMat descriptors) |
void |
compute(GpuMat image,
KeyPointVector keypoints,
GpuMat descriptors) |
void |
compute(GpuMat image,
Rect roi,
GpuMat descriptors) |
void |
compute(GpuMatVector images,
KeyPointVectorVector keypoints,
GpuMatVector descriptors) |
void |
compute(Mat image,
KeyPointVector keypoints,
Mat descriptors)
\overload
|
void |
compute(Mat image,
Mat descriptors)
\overload
|
void |
compute(Mat image,
Rect roi,
Mat descriptors)
\overload
|
void |
compute(MatVector images,
KeyPointVectorVector keypoints,
MatVector descriptors)
\overload
|
void |
compute(UMat image,
KeyPointVector keypoints,
UMat descriptors) |
void |
compute(UMat image,
Rect roi,
UMat descriptors) |
void |
compute(UMat image,
UMat descriptors) |
void |
compute(UMatVector images,
KeyPointVectorVector keypoints,
UMatVector descriptors) |
static DAISY |
create() |
static DAISY |
create(float radius,
int q_radius,
int q_theta,
int q_hist,
int norm,
GpuMat H,
boolean interpolation,
boolean use_orientation) |
static DAISY |
create(float radius,
int q_radius,
int q_theta,
int q_hist,
int norm,
Mat H,
boolean interpolation,
boolean use_orientation) |
static DAISY |
create(float radius,
int q_radius,
int q_theta,
int q_hist,
int norm,
UMat H,
boolean interpolation,
boolean use_orientation) |
void |
GetDescriptor(double y,
double x,
int orientation,
float[] descriptor) |
boolean |
GetDescriptor(double y,
double x,
int orientation,
float[] descriptor,
double[] H) |
void |
GetDescriptor(double y,
double x,
int orientation,
FloatBuffer descriptor) |
boolean |
GetDescriptor(double y,
double x,
int orientation,
FloatBuffer descriptor,
DoubleBuffer H) |
void |
GetDescriptor(double y,
double x,
int orientation,
FloatPointer descriptor) |
boolean |
GetDescriptor(double y,
double x,
int orientation,
FloatPointer descriptor,
DoublePointer H) |
void |
GetUnnormalizedDescriptor(double y,
double x,
int orientation,
float[] descriptor) |
boolean |
GetUnnormalizedDescriptor(double y,
double x,
int orientation,
float[] descriptor,
double[] H) |
void |
GetUnnormalizedDescriptor(double y,
double x,
int orientation,
FloatBuffer descriptor) |
boolean |
GetUnnormalizedDescriptor(double y,
double x,
int orientation,
FloatBuffer descriptor,
DoubleBuffer H) |
void |
GetUnnormalizedDescriptor(double y,
double x,
int orientation,
FloatPointer descriptor) |
boolean |
GetUnnormalizedDescriptor(double y,
double x,
int orientation,
FloatPointer descriptor,
DoublePointer H) |
defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, empty, getDefaultName, position, read, read, read, write, write, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final int NRM_NONE
public static final int NRM_PARTIAL
public static final int NRM_FULL
public static final int NRM_SIFT
public DAISY(Pointer p)
Pointer.Pointer(Pointer)
.@opencv_core.Ptr public static DAISY create(float radius, int q_radius, int q_theta, int q_hist, @Cast(value="cv::xfeatures2d::DAISY::NormalizationType") int norm, @ByVal(nullValue="cv::InputArray(cv::noArray())") Mat H, @Cast(value="bool") boolean interpolation, @Cast(value="bool") boolean use_orientation)
@opencv_core.Ptr public static DAISY create()
@opencv_core.Ptr public static DAISY create(float radius, int q_radius, int q_theta, int q_hist, @Cast(value="cv::xfeatures2d::DAISY::NormalizationType") int norm, @ByVal(nullValue="cv::InputArray(cv::noArray())") UMat H, @Cast(value="bool") boolean interpolation, @Cast(value="bool") boolean use_orientation)
@opencv_core.Ptr public static DAISY create(float radius, int q_radius, int q_theta, int q_hist, @Cast(value="cv::xfeatures2d::DAISY::NormalizationType") int norm, @ByVal(nullValue="cv::InputArray(cv::noArray())") GpuMat H, @Cast(value="bool") boolean interpolation, @Cast(value="bool") boolean use_orientation)
public void compute(@ByVal Mat image, @ByRef KeyPointVector keypoints, @ByVal Mat descriptors)
public void compute(@ByVal UMat image, @ByRef KeyPointVector keypoints, @ByVal UMat descriptors)
public void compute(@ByVal GpuMat image, @ByRef KeyPointVector keypoints, @ByVal GpuMat descriptors)
public void compute(@ByVal MatVector images, @ByRef KeyPointVectorVector keypoints, @ByVal MatVector descriptors)
Feature2D
compute
in class Feature2D
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 compute(@ByVal UMatVector images, @ByRef KeyPointVectorVector keypoints, @ByVal UMatVector descriptors)
public void compute(@ByVal GpuMatVector images, @ByRef KeyPointVectorVector keypoints, @ByVal GpuMatVector descriptors)
public void compute(@ByVal Mat image, @ByVal Rect roi, @ByVal Mat descriptors)
image
- image to extract descriptorsroi
- region of interest within imagedescriptors
- resulted descriptors array for roi image pixelspublic void compute(@ByVal Mat image, @ByVal Mat descriptors)
image
- image to extract descriptorsdescriptors
- resulted descriptors array for all image pixelspublic void GetDescriptor(double y, double x, int orientation, FloatPointer descriptor)
y
- position y on imagex
- position x on imageorientation
- orientation on image (0->360)descriptor
- supplied array for descriptor storagepublic void GetDescriptor(double y, double x, int orientation, FloatBuffer descriptor)
public void GetDescriptor(double y, double x, int orientation, float[] descriptor)
@Cast(value="bool") public boolean GetDescriptor(double y, double x, int orientation, FloatPointer descriptor, DoublePointer H)
y
- position y on imagex
- position x on imageorientation
- orientation on image (0->360)descriptor
- supplied array for descriptor storageH
- homography matrix for warped grid@Cast(value="bool") public boolean GetDescriptor(double y, double x, int orientation, FloatBuffer descriptor, DoubleBuffer H)
@Cast(value="bool") public boolean GetDescriptor(double y, double x, int orientation, float[] descriptor, double[] H)
public void GetUnnormalizedDescriptor(double y, double x, int orientation, FloatPointer descriptor)
y
- position y on imagex
- position x on imageorientation
- orientation on image (0->360)descriptor
- supplied array for descriptor storagepublic void GetUnnormalizedDescriptor(double y, double x, int orientation, FloatBuffer descriptor)
public void GetUnnormalizedDescriptor(double y, double x, int orientation, float[] descriptor)
@Cast(value="bool") public boolean GetUnnormalizedDescriptor(double y, double x, int orientation, FloatPointer descriptor, DoublePointer H)
y
- position y on imagex
- position x on imageorientation
- orientation on image (0->360)descriptor
- supplied array for descriptor storageH
- homography matrix for warped grid@Cast(value="bool") public boolean GetUnnormalizedDescriptor(double y, double x, int orientation, FloatBuffer descriptor, DoubleBuffer H)
Copyright © 2020. All rights reserved.