OpenCV453
公開型 | 公開メンバ関数 | 静的公開メンバ関数 | 全メンバ一覧
cv::xfeatures2d::DAISY クラスabstract

Class implementing DAISY descriptor, described in [Tola10] [詳解]

#include <xfeatures2d.hpp>

cv::Feature2Dを継承しています。

公開型

enum  NormalizationType { NRM_NONE = 100 , NRM_PARTIAL = 101 , NRM_FULL = 102 , NRM_SIFT = 103 }
 

公開メンバ関数

virtual void compute (InputArray image, std::vector< KeyPoint > &keypoints, OutputArray descriptors) CV_OVERRIDE=0
 
virtual void compute (InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, OutputArrayOfArrays descriptors) CV_OVERRIDE
 
virtual void compute (InputArray image, Rect roi, OutputArray descriptors)=0
 
virtual void compute (InputArray image, OutputArray descriptors)=0
 
virtual void GetDescriptor (double y, double x, int orientation, float *descriptor) const =0
 
virtual bool GetDescriptor (double y, double x, int orientation, float *descriptor, double *H) const =0
 
virtual void GetUnnormalizedDescriptor (double y, double x, int orientation, float *descriptor) const =0
 
virtual bool GetUnnormalizedDescriptor (double y, double x, int orientation, float *descriptor, double *H) const =0
 
- 基底クラス cv::Feature2D に属する継承公開メンバ関数
virtual CV_WRAP void detect (InputArray image, CV_OUT std::vector< KeyPoint > &keypoints, InputArray mask=noArray())
 Detects keypoints in an image (first variant) or image set (second variant). [詳解]
 
virtual CV_WRAP void detect (InputArrayOfArrays images, CV_OUT std::vector< std::vector< KeyPoint > > &keypoints, InputArrayOfArrays masks=noArray())
 
virtual CV_WRAP void compute (InputArray image, CV_OUT CV_IN_OUT std::vector< KeyPoint > &keypoints, OutputArray descriptors)
 Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). [詳解]
 
virtual CV_WRAP void compute (InputArrayOfArrays images, CV_OUT CV_IN_OUT std::vector< std::vector< KeyPoint > > &keypoints, OutputArrayOfArrays descriptors)
 
virtual CV_WRAP void detectAndCompute (InputArray image, InputArray mask, CV_OUT std::vector< KeyPoint > &keypoints, OutputArray descriptors, bool useProvidedKeypoints=false)
 
virtual CV_WRAP int descriptorSize () const
 
virtual CV_WRAP int descriptorType () const
 
virtual CV_WRAP int defaultNorm () const
 
CV_WRAP void write (const String &fileName) const
 
CV_WRAP void read (const String &fileName)
 
virtual void write (FileStorage &) const CV_OVERRIDE
 Stores algorithm parameters in a file storage [詳解]
 
virtual CV_WRAP void read (const FileNode &) CV_OVERRIDE
 Reads algorithm parameters from a file storage [詳解]
 
virtual CV_WRAP bool empty () const CV_OVERRIDE
 Return true if detector object is empty [詳解]
 
virtual CV_WRAP String getDefaultName () const CV_OVERRIDE
 
CV_WRAP void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 
- 基底クラス cv::Algorithm に属する継承公開メンバ関数
virtual CV_WRAP void clear ()
 Clears the algorithm state [詳解]
 
CV_WRAP void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
 
virtual CV_WRAP void save (const String &filename) const
 

静的公開メンバ関数

static CV_WRAP Ptr< DAISYcreate (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)
 
- 基底クラス cv::Algorithm に属する継承静的公開メンバ関数
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node [詳解]
 
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file [詳解]
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String [詳解]
 

その他の継承メンバ

- 基底クラス cv::Algorithm に属する継承限定公開メンバ関数
void writeFormat (FileStorage &fs) const
 

詳解

Class implementing DAISY descriptor, described in [Tola10]

引数
radiusradius of the descriptor at the initial scale
q_radiusamount of radial range division quantity
q_thetaamount of angular range division quantity
q_histamount of gradient orientations range division quantity
normchoose 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
Hoptional 3x3 homography matrix used to warp the grid of daisy but sampling keypoints remains unwarped on image
interpolationswitch to disable interpolation for speed improvement at minor quality loss
use_orientationsample patterns using keypoints orientation, disabled by default.

関数詳解

◆ compute() [1/3]

virtual void cv::xfeatures2d::DAISY::compute ( InputArray  image,
OutputArray  descriptors 
)
pure virtual

これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。

引数
imageimage to extract descriptors
descriptorsresulted descriptors array for all image pixels

◆ compute() [2/3]

virtual void cv::xfeatures2d::DAISY::compute ( InputArray  image,
Rect  roi,
OutputArray  descriptors 
)
pure virtual

これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。

引数
imageimage to extract descriptors
roiregion of interest within image
descriptorsresulted descriptors array for roi image pixels

◆ compute() [3/3]

virtual void cv::xfeatures2d::DAISY::compute ( InputArray  image,
std::vector< KeyPoint > &  keypoints,
OutputArray  descriptors 
)
pure virtual

これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。

引数
imageimage to extract descriptors
keypointsof interest within image
descriptorsresulted descriptors array

◆ GetDescriptor() [1/2]

virtual void cv::xfeatures2d::DAISY::GetDescriptor ( double  y,
double  x,
int  orientation,
float *  descriptor 
) const
pure virtual
引数
yposition y on image
xposition x on image
orientationorientation on image (0->360)
descriptorsupplied array for descriptor storage

◆ GetDescriptor() [2/2]

virtual bool cv::xfeatures2d::DAISY::GetDescriptor ( double  y,
double  x,
int  orientation,
float *  descriptor,
double *  H 
) const
pure virtual
引数
yposition y on image
xposition x on image
orientationorientation on image (0->360)
descriptorsupplied array for descriptor storage
Hhomography matrix for warped grid

◆ GetUnnormalizedDescriptor() [1/2]

virtual void cv::xfeatures2d::DAISY::GetUnnormalizedDescriptor ( double  y,
double  x,
int  orientation,
float *  descriptor 
) const
pure virtual
引数
yposition y on image
xposition x on image
orientationorientation on image (0->360)
descriptorsupplied array for descriptor storage

◆ GetUnnormalizedDescriptor() [2/2]

virtual bool cv::xfeatures2d::DAISY::GetUnnormalizedDescriptor ( double  y,
double  x,
int  orientation,
float *  descriptor,
double *  H 
) const
pure virtual
引数
yposition y on image
xposition x on image
orientationorientation on image (0->360)
descriptorsupplied array for descriptor storage
Hhomography matrix for warped grid

このクラス詳解は次のファイルから抽出されました: