Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
P::KeypointDescriptor Class Reference

#include <KeypointDescriptor.hh>

Inheritance diagram for P::KeypointDescriptor:
Inheritance graph
[legend]

List of all members.

Public Types

enum  Type {
  DOG_SIFT, LOWE_DOG_SIFT, MSER_SIFT, UVMSER_SIFT,
  HESLAP_SIFT, MAX_TYPE, UNDEF = MAX_TYPE
}

Public Member Functions

void Add (float *desc)
void AllocVec (unsigned s)
void Copy (KeypointDescriptor *k)
void CopyVec (KeypointDescriptor *k)
float DistSqr (float *desc1, float *desc2, unsigned cnt)
void Div (float num)
unsigned GetSize ()
float GetThr ()
Type GetType ()
float * GetVec ()
float GetVec (unsigned i)
bool GetVoteCenter (KeypointDescriptor *current, Vector2 &v, double &delta_angle, double &delta_scale)
bool Have3D ()
 KeypointDescriptor ()
 KeypointDescriptor (Type t)
 KeypointDescriptor (KeypointDescriptor *k)
 KeypointDescriptor (Type t, double x, double y, float s, float a)
 KeypointDescriptor (Type t, double x, double y, float s, float a, float _m11, float _m12, float _m21, float _m22)
float Match (KeypointDescriptor *k)
void MatchSift (KeypointDescriptor *k, float thr, float &dist)
void Mul (float num)
void ProjectBgMask (KeypointDescriptor *model, IplImage *img, float w)
void ProjectMask (KeypointDescriptor *model, IplImage *img, float w)
void ProjectOccl (P::Vector2 &center, float scale, float angle, IplImage *img, float w)
void ProjectPatch (KeypointDescriptor *model, IplImage *img)
void ReadDescriptor (ifstream &in, unsigned size_in)
void ReadKeypoint (ifstream &in)
void SaveMask (IplImage *img)
void SavePatch (IplImage *img)
void SetError (float e)
void SetPos (float x, float y, float z)
void SetReliability (float f)
void SetZero ()
void WriteDescriptor (ofstream &out)
void WriteKeypoint (ofstream &out)
 ~KeypointDescriptor ()

Static Public Member Functions

static void Draw (IplImage *img, KeypointDescriptor &k, CvScalar col)
static Type EnumType (const char *type_name)
static void LoadAll (ifstream &is, KeypointDescriptor &k)
static void SaveAll (ofstream &os, const KeypointDescriptor &k)
static const char * TypeName (Type t)

Public Attributes

IplImage * bgmask
unsigned chainCnt
unsigned chainId
unsigned cnt_err
unsigned cnt_pos
unsigned cnt_rel
unsigned flags
IplImage * mask
float mean_error
unsigned occNum
P::Vector2 p_rect
IplImage * patch
CvMat * pos
float reliability
unsigned size
Type type
float var_error
float * vec

Static Public Attributes

static float COL_THR
static float DOG_SIFT_THR = .2
static float HESLAP_SIFT_THR = 30000
static const unsigned KEDE_DELETE = 0x01
static const unsigned KEDE_DETECTED = 0x04
static const unsigned KEDE_INSERT = 0x02
static float LOWE_DOG_SIFT_THR = 50000
static float MSER_SIFT_THR = 40000

Detailed Description

Definition at line 34 of file KeypointDescriptor.hh.


Member Enumeration Documentation

Enumerator:
DOG_SIFT 
LOWE_DOG_SIFT 
MSER_SIFT 
UVMSER_SIFT 
HESLAP_SIFT 
MAX_TYPE 
UNDEF 

Definition at line 37 of file KeypointDescriptor.hh.


Constructor & Destructor Documentation

Constructor/Destructor

Definition at line 58 of file KeypointDescriptor.cc.

Definition at line 81 of file KeypointDescriptor.cc.

Definition at line 115 of file KeypointDescriptor.cc.

P::KeypointDescriptor::KeypointDescriptor ( Type  t,
double  x,
double  y,
float  s,
float  a 
)

Definition at line 129 of file KeypointDescriptor.cc.

P::KeypointDescriptor::KeypointDescriptor ( Type  t,
double  x,
double  y,
float  s,
float  a,
float  _m11,
float  _m12,
float  _m21,
float  _m22 
)

Definition at line 153 of file KeypointDescriptor.cc.

Definition at line 106 of file KeypointDescriptor.cc.


Member Function Documentation

void P::KeypointDescriptor::Add ( float *  desc) [inline]

Add two descriptors

Definition at line 230 of file KeypointDescriptor.hh.

void P::KeypointDescriptor::AllocVec ( unsigned  s) [inline]

Definition at line 148 of file KeypointDescriptor.hh.

Definition at line 165 of file KeypointDescriptor.hh.

Definition at line 155 of file KeypointDescriptor.hh.

float P::KeypointDescriptor::DistSqr ( float *  desc1,
float *  desc2,
unsigned  cnt 
) [inline]

Return squared distance between two keypoint descriptors.

Definition at line 214 of file KeypointDescriptor.hh.

void P::KeypointDescriptor::Div ( float  num) [inline]

Devide a descriptor by ..

Definition at line 256 of file KeypointDescriptor.hh.

void P::KeypointDescriptor::Draw ( IplImage *  img,
KeypointDescriptor k,
CvScalar  col 
) [static]

draw a keypoint

Definition at line 403 of file KeypointDescriptor.cc.

KeypointDescriptor::Type P::KeypointDescriptor::EnumType ( const char *  type_name) [static]

* Return the enum type of a given gestalt type name.

Definition at line 45 of file KeypointDescriptor.cc.

unsigned P::KeypointDescriptor::GetSize ( ) [inline]

Definition at line 119 of file KeypointDescriptor.hh.

float P::KeypointDescriptor::GetThr ( ) [inline]

Definition at line 312 of file KeypointDescriptor.hh.

Definition at line 118 of file KeypointDescriptor.hh.

float* P::KeypointDescriptor::GetVec ( ) [inline]

Definition at line 116 of file KeypointDescriptor.hh.

float P::KeypointDescriptor::GetVec ( unsigned  i) [inline]

Definition at line 117 of file KeypointDescriptor.hh.

bool P::KeypointDescriptor::GetVoteCenter ( KeypointDescriptor current,
Vector2 v,
double &  delta_angle,
double &  delta_scale 
)

vote for an object

Definition at line 181 of file KeypointDescriptor.cc.

bool P::KeypointDescriptor::Have3D ( ) [inline]

Definition at line 120 of file KeypointDescriptor.hh.

void P::KeypointDescriptor::LoadAll ( ifstream &  is,
KeypointDescriptor k 
) [static]

Definition at line 600 of file KeypointDescriptor.cc.

match two keypoints

Definition at line 367 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::MatchSift ( KeypointDescriptor k,
float  thr,
float &  dist 
) [inline]

MatchSift tests the euclidean distance of the sift descriptor

Definition at line 284 of file KeypointDescriptor.hh.

void P::KeypointDescriptor::Mul ( float  num) [inline]

Multiply a descriptor with ..

Definition at line 269 of file KeypointDescriptor.hh.

void P::KeypointDescriptor::ProjectBgMask ( KeypointDescriptor model,
IplImage *  img,
float  w 
)

project probability of each pixel to a voting image using a stored mask

Definition at line 250 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::ProjectMask ( KeypointDescriptor model,
IplImage *  img,
float  w 
)

project probability of each pixel to a voting image using a stored mask

Definition at line 223 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::ProjectOccl ( P::Vector2 center,
float  scale,
float  angle,
IplImage *  img,
float  w 
)

estimate the location of the interest point with respect to center and project the patch

Definition at line 278 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::ProjectPatch ( KeypointDescriptor model,
IplImage *  img 
)

Affine projection of the patch to img

Definition at line 341 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::ReadDescriptor ( ifstream &  in,
unsigned  size_in 
)

Definition at line 453 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::ReadKeypoint ( ifstream &  in)

read/write keypoints

Definition at line 434 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::SaveAll ( ofstream &  os,
const KeypointDescriptor k 
) [static]

Definition at line 583 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::SaveMask ( IplImage *  img)

store a mask obj/background pixel

Definition at line 196 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::SavePatch ( IplImage *  img)

save affine normalised patch

Definition at line 311 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::SetError ( float  e) [inline]

set mean error and variance

Definition at line 303 of file KeypointDescriptor.hh.

void P::KeypointDescriptor::SetPos ( float  x,
float  y,
float  z 
) [inline]

Definition at line 338 of file KeypointDescriptor.hh.

void P::KeypointDescriptor::SetReliability ( float  f) [inline]

compute statistics of keypoint detection (mean number of detections of a keypoint in an image sequence

Definition at line 294 of file KeypointDescriptor.hh.

void P::KeypointDescriptor::SetZero ( ) [inline]

Set a descriptor to 0

Definition at line 243 of file KeypointDescriptor.hh.

const char * P::KeypointDescriptor::TypeName ( Type  t) [static]

Returns the name of a given gestalt type.

Definition at line 37 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::WriteDescriptor ( ofstream &  out)

Definition at line 470 of file KeypointDescriptor.cc.

void P::KeypointDescriptor::WriteKeypoint ( ofstream &  out)

Definition at line 463 of file KeypointDescriptor.cc.


Member Data Documentation

Definition at line 71 of file KeypointDescriptor.hh.

Definition at line 84 of file KeypointDescriptor.hh.

Definition at line 83 of file KeypointDescriptor.hh.

Definition at line 79 of file KeypointDescriptor.hh.

Definition at line 67 of file KeypointDescriptor.hh.

Definition at line 76 of file KeypointDescriptor.hh.

Definition at line 51 of file KeypointDescriptor.hh.

Definition at line 48 of file KeypointDescriptor.hh.

Definition at line 60 of file KeypointDescriptor.hh.

Definition at line 52 of file KeypointDescriptor.hh.

const unsigned P::KeypointDescriptor::KEDE_DELETE = 0x01 [static]

Definition at line 56 of file KeypointDescriptor.hh.

const unsigned P::KeypointDescriptor::KEDE_DETECTED = 0x04 [static]

Definition at line 58 of file KeypointDescriptor.hh.

const unsigned P::KeypointDescriptor::KEDE_INSERT = 0x02 [static]

Definition at line 57 of file KeypointDescriptor.hh.

Definition at line 49 of file KeypointDescriptor.hh.

Definition at line 70 of file KeypointDescriptor.hh.

Definition at line 77 of file KeypointDescriptor.hh.

float P::KeypointDescriptor::MSER_SIFT_THR = 40000 [static]

Definition at line 50 of file KeypointDescriptor.hh.

Definition at line 81 of file KeypointDescriptor.hh.

Definition at line 68 of file KeypointDescriptor.hh.

Definition at line 72 of file KeypointDescriptor.hh.

Definition at line 66 of file KeypointDescriptor.hh.

Definition at line 75 of file KeypointDescriptor.hh.

Definition at line 64 of file KeypointDescriptor.hh.

Definition at line 62 of file KeypointDescriptor.hh.

Definition at line 78 of file KeypointDescriptor.hh.

Definition at line 63 of file KeypointDescriptor.hh.


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


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:13