Public Member Functions | Private Member Functions
P::ModelObject3D Class Reference

#include <ModelObject3D.hh>

List of all members.

Public Member Functions

void AddToModel (Array< KeypointDescriptor * > &keys, Object3D &obj)
void GetPosScaleAngle (double x, double y, double H[9], double &xr, double &yr, double &scale, double &angle)
bool LoadModel (const std::string filename, Object3D &obj)
void MapPoint (double xin, double yin, double H[9], double &xout, double &yout)
void MapPoint (double in[2], double H[9], double out[2])
 ModelObject3D ()
void SaveModel (const char *filename, Object3D &obj)
 ~ModelObject3D ()

Private Member Functions

void ComputeNewHnorm (P::Array< KeypointDescriptor * > &keys, double Hnorm[9])
void InsertMeanShift (Array< KeypointDescriptor * > &keys, P::Array< CodebookEntry * > &codebook, double H[9])

Detailed Description

Create a plane model Map keypoints to zero centered coordinates and create codebook

Definition at line 25 of file ModelObject3D.hh.


Constructor & Destructor Documentation

Definition at line 21 of file ModelObject3D.cc.

Definition at line 26 of file ModelObject3D.cc.


Member Function Documentation

Create new object model

Definition at line 112 of file ModelObject3D.cc.

void P::ModelObject3D::ComputeNewHnorm ( P::Array< KeypointDescriptor * > &  keys,
double  Hnorm[9] 
) [private]

Create new object model

Definition at line 33 of file ModelObject3D.cc.

void P::ModelObject3D::GetPosScaleAngle ( double  x,
double  y,
double  H[9],
double &  xr,
double &  yr,
double &  scale,
double &  angle 
) [inline]

returns angle and scale from homography

Definition at line 78 of file ModelObject3D.hh.

void P::ModelObject3D::InsertMeanShift ( Array< KeypointDescriptor * > &  keys,
P::Array< CodebookEntry * > &  codebook,
double  H[9] 
) [private]

Insert a new keypoint to the codebook

Definition at line 55 of file ModelObject3D.cc.

bool P::ModelObject3D::LoadModel ( const std::string  filename,
Object3D obj 
)

Load 3d object model

Definition at line 157 of file ModelObject3D.cc.

void P::ModelObject3D::MapPoint ( double  xin,
double  yin,
double  H[9],
double &  xout,
double &  yout 
) [inline]

Map a point using an (affine) homography

Parameters:
Hpointer to a 3x3 homography matrix

Definition at line 53 of file ModelObject3D.hh.

void P::ModelObject3D::MapPoint ( double  in[2],
double  H[9],
double  out[2] 
) [inline]

Map a point using an (affine) homography

Parameters:
Hpointer to a 3x3 homography matrix

Definition at line 66 of file ModelObject3D.hh.

void P::ModelObject3D::SaveModel ( const char *  filename,
Object3D obj 
)

Save 3d object model

Definition at line 124 of file ModelObject3D.cc.


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


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:26