Class cv::xfeatures2d::DAISY#
Class implementing DAISY descriptor, described in [304]. View details
#include <opencv2/xfeatures2d.hpp>Collaboration diagram for cv::xfeatures2d::DAISY:
Public Types#
enum NormalizationType {
NRM_NONE = 100,
NRM_PARTIAL = 101,
NRM_FULL = 102,
NRM_SIFT = 103
}Public Member Functions#
Public Member Functions inherited from cv::Feature2D
Return |
Name |
Description |
|---|---|---|
|
|
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). |
|
||
|
||
|
||
|
||
|
|
Detects keypoints in an image (first variant) or image set (second variant). |
|
||
|
||
|
Return true if detector object is empty. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
||
|
Stores algorithm parameters in a file storage. |
|
|
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
Class implementing DAISY descriptor, described in Tola10.
- Param radius:
radius of the descriptor at the initial scale
- Param q_radius:
amount of radial range division quantity
- Param q_theta:
amount of angular range division quantity
- Param q_hist:
amount of gradient orientations range division quantity
- Param norm:
choose descriptors normalization type, where DAISY::NRM_NONE will not do any normalization (default), DAISY::NRM_PARTIAL mean that histograms are normalized independently for L2 norm equal to 1.0, DAISY::NRM_FULL mean that descriptors are normalized for L2 norm equal to 1.0, DAISY::NRM_SIFT mean that descriptors are normalized for L2 norm equal to 1.0 but no individual one is bigger than 0.154 as in SIFT
- Param H:
optional 3x3 homography matrix used to warp the grid of daisy but sampling keypoints remains unwarped on image
- Param interpolation:
switch to disable interpolation for speed improvement at minor quality loss
- Param use_orientation:
sample patterns using keypoints orientation, disabled by default.
Member Enumeration Documentation#
enum NormalizationType
|
|
|
|
Member Function Documentation#
create()#
static Ptr< DAISY > cv::xfeatures2d::DAISY::create(
float radius = 15,
int q_radius = 3,
int q_theta = 8,
int q_hist = 8,
DAISY::NormalizationType norm = DAISY::NRM_NONE,
InputArray H = noArray(),
bool interpolation = true,
bool use_orientation = false )
Here is the call graph for this function:
compute()#
void cv::xfeatures2d::DAISY::compute(
InputArray image,
OutputArray descriptors )
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Parameters
image— image to extract descriptorsdescriptors— resulted descriptors array for all image pixels
compute()#
void cv::xfeatures2d::DAISY::compute(
InputArray image,
Rect roi,
OutputArray descriptors )
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Parameters
image— image to extract descriptorsroi— region of interest within imagedescriptors— resulted descriptors array for roi image pixels
compute()#
void cv::xfeatures2d::DAISY::compute(
InputArray image,
std::vector< KeyPoint > & keypoints,
OutputArray descriptors )
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Parameters
image— image to extract descriptorskeypoints— of interest within imagedescriptors— resulted descriptors array
compute()#
void cv::xfeatures2d::DAISY::compute(
InputArrayOfArrays images,
std::vector< std::vector< KeyPoint > > & keypoints,
OutputArrayOfArrays descriptors )
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Parameters
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.
getDefaultName()#
String cv::xfeatures2d::DAISY::getDefaultName()
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
GetDescriptor()#
void cv::xfeatures2d::DAISY::GetDescriptor(
double y,
double x,
int orientation,
float * descriptor )
Parameters
y— position y on imagex— position x on imageorientation— orientation on image (0->360)descriptor— supplied array for descriptor storage
GetDescriptor()#
bool cv::xfeatures2d::DAISY::GetDescriptor(
double y,
double x,
int orientation,
float * descriptor,
double * H )
Parameters
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
getH()#
getInterpolation()#
bool cv::xfeatures2d::DAISY::getInterpolation()
getNorm()#
int cv::xfeatures2d::DAISY::getNorm()
getQHist()#
int cv::xfeatures2d::DAISY::getQHist()
getQRadius()#
int cv::xfeatures2d::DAISY::getQRadius()
getQTheta()#
int cv::xfeatures2d::DAISY::getQTheta()
getRadius()#
float cv::xfeatures2d::DAISY::getRadius()
GetUnnormalizedDescriptor()#
void cv::xfeatures2d::DAISY::GetUnnormalizedDescriptor(
double y,
double x,
int orientation,
float * descriptor )
Parameters
y— position y on imagex— position x on imageorientation— orientation on image (0->360)descriptor— supplied array for descriptor storage
GetUnnormalizedDescriptor()#
bool cv::xfeatures2d::DAISY::GetUnnormalizedDescriptor(
double y,
double x,
int orientation,
float * descriptor,
double * H )
Parameters
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
getUseOrientation()#
bool cv::xfeatures2d::DAISY::getUseOrientation()
setH()#
void cv::xfeatures2d::DAISY::setH(InputArray H)
setInterpolation()#
void cv::xfeatures2d::DAISY::setInterpolation(bool interpolation)
setNorm()#
void cv::xfeatures2d::DAISY::setNorm(int norm)
setQHist()#
void cv::xfeatures2d::DAISY::setQHist(int q_hist)
setQRadius()#
void cv::xfeatures2d::DAISY::setQRadius(int q_radius)
setQTheta()#
void cv::xfeatures2d::DAISY::setQTheta(int q_theta)
setRadius()#
void cv::xfeatures2d::DAISY::setRadius(float radius)
setUseOrientation()#
void cv::xfeatures2d::DAISY::setUseOrientation(bool use_orientation)
Source file#
The documentation for this class was generated from the following file:
opencv2/xfeatures2d.hpp