Public Member Functions | Public Attributes
alvar::ProjPoints Struct Reference

Simple structure for collecting 2D and 3D points e.g. for camera calibration. More...

#include <Camera.h>

List of all members.

Public Member Functions

bool AddPointsUsingChessboard (IplImage *image, double etalon_square_size, int etalon_rows, int etalon_columns, bool visualize)
 Add elements to object_points , image_points and point_counts using Chessboard pattern.
bool AddPointsUsingMarkers (std::vector< PointDouble > &marker_corners, std::vector< PointDouble > &marker_corners_img, IplImage *image)
 Add elements to object_points , image_points and point_counts using detected markers.
void Reset ()
 Reset object_points , image_points and point_counts.

Public Attributes

int height
std::vector< CvPoint2D64fimage_points
 Detected 2D object points If point_counts[0] == 10, then the first 10 points are detected in the first frame. If point_counts[1] == 6, then the next 6 of these points are detected in the next frame... etc.
std::vector< CvPoint3D64f > object_points
 3D object points corresponding with the detected 2D image points.
std::vector< int > point_counts
 Vector indicating how many points are detected for each frame.
int width

Detailed Description

Simple structure for collecting 2D and 3D points e.g. for camera calibration.

Examples:
SampleCamCalib.cpp.

Definition at line 53 of file Camera.h.


Member Function Documentation

bool alvar::ProjPoints::AddPointsUsingChessboard ( IplImage *  image,
double  etalon_square_size,
int  etalon_rows,
int  etalon_columns,
bool  visualize 
)

Add elements to object_points , image_points and point_counts using Chessboard pattern.

Examples:
SampleCamCalib.cpp.

Definition at line 42 of file Camera.cpp.

bool alvar::ProjPoints::AddPointsUsingMarkers ( std::vector< PointDouble > &  marker_corners,
std::vector< PointDouble > &  marker_corners_img,
IplImage *  image 
)

Add elements to object_points , image_points and point_counts using detected markers.

Definition at line 82 of file Camera.cpp.

Reset object_points , image_points and point_counts.

Examples:
SampleCamCalib.cpp.

Definition at line 35 of file Camera.cpp.


Member Data Documentation

Definition at line 55 of file Camera.h.

Detected 2D object points If point_counts[0] == 10, then the first 10 points are detected in the first frame. If point_counts[1] == 6, then the next 6 of these points are detected in the next frame... etc.

Examples:
SampleCamCalib.cpp.

Definition at line 65 of file Camera.h.

std::vector<CvPoint3D64f> alvar::ProjPoints::object_points

3D object points corresponding with the detected 2D image points.

Examples:
SampleCamCalib.cpp.

Definition at line 58 of file Camera.h.

Vector indicating how many points are detected for each frame.

Definition at line 67 of file Camera.h.

Definition at line 54 of file Camera.h.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Sun Oct 5 2014 22:16:27