Public Types | Public Member Functions | Private Attributes | List of all members
alvar::FernPoseEstimator Class Reference

Pose estimation class for FernImageDetector. More...

#include <FernPoseEstimator.h>

Public Types

typedef std::map< int, alvar::ExternalContainerExternalContainerMap
 
typedef std::vector< CvPoint2D64f > ImagePointVector
 
typedef std::vector< CvPoint3D64f > ModelPointVector
 

Public Member Functions

void calculateFromPointCorrespondences (ModelPointVector &mpts, ImagePointVector &ipts)
 
Camera camera () const
 
void extractPlaneCoordinates (ExternalContainerMap &container)
 
 FernPoseEstimator ()
 
Pose pose () const
 
bool setCalibration (const std::string &filename, int width, int height)
 
void setResolution (int width, int height)
 
void updateFromTrackedPoints (ExternalContainerMap &container)
 
 ~FernPoseEstimator ()
 

Private Attributes

Camera mCamera
 
CameraEC mCameraEC
 
Pose mPose
 

Detailed Description

Pose estimation class for FernImageDetector.

Examples:
SampleMarkerlessDetector.cpp.

Definition at line 49 of file FernPoseEstimator.h.

Member Typedef Documentation

Definition at line 64 of file FernPoseEstimator.h.

typedef std::vector<CvPoint2D64f> alvar::FernPoseEstimator::ImagePointVector

Definition at line 62 of file FernPoseEstimator.h.

typedef std::vector<CvPoint3D64f> alvar::FernPoseEstimator::ModelPointVector

Definition at line 63 of file FernPoseEstimator.h.

Constructor & Destructor Documentation

alvar::FernPoseEstimator::FernPoseEstimator ( )

Definition at line 28 of file FernPoseEstimator.cpp.

alvar::FernPoseEstimator::~FernPoseEstimator ( )

Definition at line 35 of file FernPoseEstimator.cpp.

Member Function Documentation

void alvar::FernPoseEstimator::calculateFromPointCorrespondences ( FernPoseEstimator::ModelPointVector mpts,
FernPoseEstimator::ImagePointVector ipts 
)
Examples:
SampleMarkerlessDetector.cpp.

Definition at line 62 of file FernPoseEstimator.cpp.

Camera alvar::FernPoseEstimator::camera ( ) const
Examples:
SampleMarkerlessDetector.cpp.

Definition at line 44 of file FernPoseEstimator.cpp.

void alvar::FernPoseEstimator::extractPlaneCoordinates ( FernPoseEstimator::ExternalContainerMap container)

Definition at line 72 of file FernPoseEstimator.cpp.

Pose alvar::FernPoseEstimator::pose ( ) const
Examples:
SampleMarkerlessDetector.cpp.

Definition at line 39 of file FernPoseEstimator.cpp.

bool alvar::FernPoseEstimator::setCalibration ( const std::string &  filename,
int  width,
int  height 
)
Examples:
SampleMarkerlessDetector.cpp.

Definition at line 49 of file FernPoseEstimator.cpp.

void alvar::FernPoseEstimator::setResolution ( int  width,
int  height 
)
Examples:
SampleMarkerlessDetector.cpp.

Definition at line 56 of file FernPoseEstimator.cpp.

void alvar::FernPoseEstimator::updateFromTrackedPoints ( FernPoseEstimator::ExternalContainerMap container)

Definition at line 67 of file FernPoseEstimator.cpp.

Member Data Documentation

Camera alvar::FernPoseEstimator::mCamera
private

Definition at line 71 of file FernPoseEstimator.h.

CameraEC alvar::FernPoseEstimator::mCameraEC
private

Definition at line 72 of file FernPoseEstimator.h.

Pose alvar::FernPoseEstimator::mPose
private

Definition at line 70 of file FernPoseEstimator.h.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Mon Jun 10 2019 12:47:04