Templates -- Meow  1.1.4
A C++ template which is unable and also not allowed to compile to obj-file first.
meow::FeaturePointsDetector_Harris< Pixel > Class Template Reference

Harris corner detect. More...

#include "FeaturePointsDetector_Harris.h"

Inheritance diagram for meow::FeaturePointsDetector_Harris< Pixel >:
meow::FeaturePointsDetector< Pixel > meow::ObjBase

Public Types

typedef FeaturePoint< double,
double
MyFeaturePoint
 
typedef std::vector
< MyFeaturePoint
MyFeaturePoints
 

Public Member Functions

 FPD_Harris ()
 constructor 使用預設參數 More...
 
 FPD_Harris (FPD_Harris const &fps)
 constructor 參數複製自另一個 FeaturePointsDetector_Harris More...
 
 ~FPD_Harris ()
 解構子 More...
 
FPD_HarriscopyFrom (FPD_Harris const &fps)
 複製 More...
 
FPD_HarrisreferenceFrom (FPD_Harris const &fps)
 參照 More...
 
double paramK () const
 K. More...
 
double paramR () const
 R. More...
 
double paramW () const
 W. More...
 
double paramN () const
 N. More...
 
double paramG () const
 G. More...
 
double paramL () const
 L. More...
 
size_t paramB () const
 bound More...
 
double paramK (double k)
 K. More...
 
double paramR (double r)
 R. More...
 
double paramW (double w)
 W. More...
 
double paramN (double n)
 N. More...
 
double paramL (double l)
 L. More...
 
double paramG (double g)
 G. More...
 
size_t paramB (size_t b)
 B. More...
 
MyFeaturePoints detect (Bitmap< Pixel > const &bmp) const
 找出特徵點 More...
 
FPD_Harrisoperator= (FPD_Harris const &fps)
 same as copyFrom(fps) More...
 
MyFeaturePoints operator() (Bitmap< Pixel > const &bmp) const
 same as detect(bmp) More...
 
bool write (FILE *f, bool bin, unsigned int fg) const
 寫到檔案裡 More...
 
bool read (FILE *f, bool bin, unsigned int fg)
 將資料讀入 More...
 
ObjBasecreate () const
 new一個自己 More...
 
ObjBasecopyFrom (ObjBase const *b)
 複製資料 More...
 
char const * ctype () const
 回傳class的type More...
 
std::string type () const
 回傳class的type More...
 
- Public Member Functions inherited from meow::FeaturePointsDetector< Pixel >
virtual ~FeaturePointsDetector ()
 
- Public Member Functions inherited from meow::ObjBase
virtual ~ObjBase ()
 

Additional Inherited Members

- Static Public Member Functions inherited from meow::ObjBase
static char const * ctypeBase ()
 用C-style string回傳base的type name More...
 
static std::string typeBase ()
 用std::string回傳base的type name More...
 
- Protected Member Functions inherited from meow::FeaturePointsDetector< Pixel >
 FeaturePointsDetector ()
 
- Protected Member Functions inherited from meow::ObjBase
 ObjBase ()
 

Detailed Description

template<class Pixel>
class meow::FeaturePointsDetector_Harris< Pixel >

Harris corner detect.

Author
cat_leopard

Definition at line 24 of file FeaturePointsDetector_Harris.h.

Member Typedef Documentation

template<class Pixel >
typedef FeaturePoint<double, double> meow::FeaturePointsDetector_Harris< Pixel >::MyFeaturePoint

Definition at line 60 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
typedef std::vector<MyFeaturePoint> meow::FeaturePointsDetector_Harris< Pixel >::MyFeaturePoints

Definition at line 61 of file FeaturePointsDetector_Harris.h.

Constructor & Destructor Documentation

template<class Pixel >
meow::FeaturePointsDetector_Harris< Pixel >::~FPD_Harris ( )
inline

解構子

Definition at line 71 of file FeaturePointsDetector_Harris.h.

Member Function Documentation

template<class Pixel >
FPD_Harris& meow::FeaturePointsDetector_Harris< Pixel >::copyFrom ( FPD_Harris const &  fps)
inline

複製

Definition at line 75 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
ObjBase* meow::FeaturePointsDetector_Harris< Pixel >::copyFrom ( ObjBase const *  b)
inlinevirtual

複製資料

輸入型別是 ObjBase const* 這裡假設實體其實是 FeaturePointsDetector_Harris. 事實上這個method就只是幫忙轉型然後呼叫原本的copyFrom

Parameters
[in]b資料來源
Returns
this

Reimplemented from meow::ObjBase.

Definition at line 329 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
ObjBase* meow::FeaturePointsDetector_Harris< Pixel >::create ( ) const
inlinevirtual

new一個自己

Returns
一個new出來的FeaturePointsDetector_Harris<Pixel>

Reimplemented from meow::ObjBase.

Definition at line 316 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
char const* meow::FeaturePointsDetector_Harris< Pixel >::ctype ( ) const
inlinevirtual

回傳class的type

Returns
char const* 形式的typename

Reimplemented from meow::ObjBase.

Definition at line 337 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
MyFeaturePoints meow::FeaturePointsDetector_Harris< Pixel >::detect ( Bitmap< Pixel > const &  bmp) const
inlinevirtual

找出特徵點

Parameters
[in]bmp要抓特徵點的點陣圖
Returns
std::vector<FeaturePoint<double,double>> 型態的一堆特徵點

Implements meow::FeaturePointsDetector< Pixel >.

Definition at line 168 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
meow::FeaturePointsDetector_Harris< Pixel >::FPD_Harris ( )
inline

constructor 使用預設參數

Definition at line 63 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
meow::FeaturePointsDetector_Harris< Pixel >::FPD_Harris ( FPD_Harris const &  fps)
inline

constructor 參數複製自另一個 FeaturePointsDetector_Harris

Definition at line 67 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
MyFeaturePoints meow::FeaturePointsDetector_Harris< Pixel >::operator() ( Bitmap< Pixel > const &  bmp) const
inline

same as detect(bmp)

Definition at line 290 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
FPD_Harris& meow::FeaturePointsDetector_Harris< Pixel >::operator= ( FPD_Harris const &  fps)
inline

same as copyFrom(fps)

Definition at line 285 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
size_t meow::FeaturePointsDetector_Harris< Pixel >::paramB ( ) const
inline

bound

Definition at line 117 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
size_t meow::FeaturePointsDetector_Harris< Pixel >::paramB ( size_t  b)
inline

B.

Definition at line 158 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramG ( ) const
inline

G.

Definition at line 107 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramG ( double  g)
inline

G.

Definition at line 152 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramK ( ) const
inline

K.

Definition at line 87 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramK ( double  k)
inline

K.

Definition at line 122 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramL ( ) const
inline

L.

Definition at line 112 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramL ( double  l)
inline

L.

Definition at line 146 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramN ( ) const
inline

N.

Definition at line 102 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramN ( double  n)
inline

N.

Definition at line 140 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramR ( ) const
inline

R.

Definition at line 92 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramR ( double  r)
inline

R.

Definition at line 128 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramW ( ) const
inline

W.

Definition at line 97 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
double meow::FeaturePointsDetector_Harris< Pixel >::paramW ( double  w)
inline

W.

Definition at line 134 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
bool meow::FeaturePointsDetector_Harris< Pixel >::read ( FILE *  f,
bool  bin,
unsigned int  fg 
)
inlinevirtual

將資料讀入

未完成

Reimplemented from meow::ObjBase.

Definition at line 307 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
FPD_Harris& meow::FeaturePointsDetector_Harris< Pixel >::referenceFrom ( FPD_Harris const &  fps)
inline

參照

Definition at line 81 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
std::string meow::FeaturePointsDetector_Harris< Pixel >::type ( ) const
inlinevirtual

回傳class的type

Returns
std::string 形式的typename

Reimplemented from meow::ObjBase.

Definition at line 345 of file FeaturePointsDetector_Harris.h.

template<class Pixel >
bool meow::FeaturePointsDetector_Harris< Pixel >::write ( FILE *  f,
bool  bin,
unsigned int  fg 
) const
inlinevirtual

寫到檔案裡

未完成

Reimplemented from meow::ObjBase.

Definition at line 298 of file FeaturePointsDetector_Harris.h.


The documentation for this class was generated from the following file: