Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SiftData Class Reference

#include <SiftData.h>

Inheritance diagram for SiftData:

Detailed Description

Definition at line 20 of file SiftData.h.

List of all members.

Public Member Functions

 SiftData (ShapeSpace &_space, SiftMatch *_match)
 Constructor.
 SiftData (const SiftData &other)
 Copy constructor.
 ~SiftData ()
 Destructor.
 DATASTUFF_H (SiftData)
Point getCentroid () const
 Centroid. (Virtual in BaseData.).
void setCentroidPt (const Point &other)
virtual BoundingBox2D getBoundingBox () const
 returns the bounding box of the sift object
const PointgetTopLeft () const
 Bounding box points.
const PointgetTopRight () const
const PointgetBottomLeft () const
const PointgetBottomRight () const
virtual bool isMatchFor (const ShapeRoot &other) const
 Match sift objects based on their parameters. (Virtual in BaseData.).
virtual bool isAdmissible () const
 Combine two shapes by taking weighted average depending on confidence level.
virtual bool updateParams (const ShapeRoot &other, bool force=false)
 Update shape parameters after matching to another shape.
virtual void printParams () const
 Print information about this shape. (Virtual in BaseData.).
void applyTransform (const fmat::Transform &Tmat, const ReferenceFrameType_t newref=unspecified)
 Transformations. (Virtual in BaseData.).
virtual void projectToGround (const fmat::Transform &camToBase, const PlaneEquation &groundplane)
 Project to ground.
const PointcenterPt () const
 Center point access function.
virtual unsigned short getDimension () const
int getModelID () const
const std::string & getObjectName () const
const std::string & getModelName () const
double getProbOfMatch () const
double getError () const
double getScale () const
double getOrientation () const
double getColumnTranslation () const
double getRowTranslation () const
const std::vector< keypointPair > & getInliers () const
const void siftMatchPrint () const
void getSiftMatchBoundingBox () const
void displayMatchedFeatures ()
 Display matched features as points in the object's shape space.

int getObjectID () const
 Properties functions.

Static Public Member Functions

static ShapeType_t getStaticType ()
static std::vector< Shape
< SiftData > > 
extractSiftObjects (const Sketch< uchar > &sketch, const SiftTekkotsu &database)
 Extraction.
static std::vector< Shape
< SiftData > > 
extractSiftObjects (const Sketch< uchar > &sketch, const SiftTekkotsu &database, const std::string &objectName)

Private Member Functions

virtual Sketch< bool > * render () const
 Render into a sketch space and return pointer. (Private.).
SiftDataoperator= (const SiftData &)
 don't call

Private Attributes

Point center_pt
SiftMatchmatch

Constructor & Destructor Documentation

SiftData ( ShapeSpace _space,
SiftMatch _match 
)

Constructor.

Definition at line 8 of file SiftData.cc.

SiftData ( const SiftData other  ) 

Copy constructor.

Definition at line 14 of file SiftData.cc.

~SiftData (  ) 

Destructor.

Definition at line 19 of file SiftData.cc.


Member Function Documentation

void applyTransform ( const fmat::Transform Tmat,
const ReferenceFrameType_t  newref = unspecified 
) [virtual]

Transformations. (Virtual in BaseData.).

Implements BaseData.

Definition at line 43 of file SiftData.cc.

const Point& centerPt (  )  const

Center point access function.

Definition at line 70 of file SiftData.h.

DATASTUFF_H ( SiftData   ) 
void displayMatchedFeatures (  ) 

Display matched features as points in the object's shape space.

Definition at line 60 of file SiftData.cc.

static std::vector<Shape<SiftData> > extractSiftObjects ( const Sketch< uchar > &  sketch,
const SiftTekkotsu database,
const std::string &  objectName 
) [static]
static std::vector<Shape<SiftData> > extractSiftObjects ( const Sketch< uchar > &  sketch,
const SiftTekkotsu database 
) [static]

Extraction.

const Point& getBottomLeft (  )  const

Definition at line 50 of file SiftData.h.

const Point& getBottomRight (  )  const

Definition at line 51 of file SiftData.h.

BoundingBox2D getBoundingBox (  )  const [virtual]

returns the bounding box of the sift object

Reimplemented from BaseData.

Definition at line 23 of file SiftData.cc.

Point getCentroid ( void   )  const [virtual]

Centroid. (Virtual in BaseData.).

Implements BaseData.

Definition at line 41 of file SiftData.h.

double getColumnTranslation (  )  const

Definition at line 87 of file SiftData.h.

virtual unsigned short getDimension (  )  const [virtual]

Implements BaseData.

Definition at line 72 of file SiftData.h.

double getError (  )  const

Definition at line 84 of file SiftData.h.

const std::vector<keypointPair>& getInliers (  )  const

Definition at line 89 of file SiftData.h.

int getModelID (  )  const

Definition at line 80 of file SiftData.h.

const std::string& getModelName (  )  const

Definition at line 82 of file SiftData.h.

int getObjectID (  )  const

Properties functions.

Definition at line 76 of file SiftData.h.

Referenced by SiftData::isMatchFor().

const std::string& getObjectName (  )  const

Definition at line 81 of file SiftData.h.

double getOrientation (  )  const

Definition at line 86 of file SiftData.h.

double getProbOfMatch (  )  const

Definition at line 83 of file SiftData.h.

double getRowTranslation (  )  const

Definition at line 88 of file SiftData.h.

double getScale (  )  const

Definition at line 85 of file SiftData.h.

void getSiftMatchBoundingBox (  )  const

Definition at line 91 of file SiftData.h.

static ShapeType_t getStaticType (  )  [static]

Definition at line 36 of file SiftData.h.

const Point& getTopLeft (  )  const

Bounding box points.

Definition at line 48 of file SiftData.h.

const Point& getTopRight (  )  const

Definition at line 49 of file SiftData.h.

virtual bool isAdmissible (  )  const [virtual]

Combine two shapes by taking weighted average depending on confidence level.

Shapes are admissible to the local map if they're large enough not to be noise.

Reimplemented from BaseData.

Definition at line 56 of file SiftData.h.

bool isMatchFor ( const ShapeRoot other  )  const [virtual]

Match sift objects based on their parameters. (Virtual in BaseData.).

Implements BaseData.

Definition at line 27 of file SiftData.cc.

SiftData& operator= ( const SiftData  )  [private]

don't call

void printParams ( void   )  const [virtual]

Print information about this shape. (Virtual in BaseData.).

Implements BaseData.

Definition at line 38 of file SiftData.cc.

void projectToGround ( const fmat::Transform camToBase,
const PlaneEquation groundplane 
) [virtual]

Project to ground.

Implements BaseData.

Definition at line 48 of file SiftData.cc.

Sketch< bool > * render (  )  const [private, virtual]

Render into a sketch space and return pointer. (Private.).

Implements BaseData.

Definition at line 53 of file SiftData.cc.

void setCentroidPt ( const Point other  ) 

Definition at line 42 of file SiftData.h.

const void siftMatchPrint (  )  const

Definition at line 90 of file SiftData.h.

bool updateParams ( const ShapeRoot other,
bool  forceUpdate = false 
) [virtual]

Update shape parameters after matching to another shape.

Implements BaseData.

Definition at line 33 of file SiftData.cc.


Member Data Documentation


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

DualCoding 5.1CVS
Generated Mon May 9 04:56:31 2016 by Doxygen 1.6.3