VLTIF
CS426FinalProject
Tuple Class Reference

#include <PointTracker.h>

List of all members.

Public Member Functions

 Tuple ()
 Default Constructor.
 Tuple (const Point2f &pt)
 Parameterized Constructor.

Public Attributes

Point2f centroid
 Center of point.
size_t found
 Detection Status Code.
double strength
 Strength/stability of point.
size_t span
 Number of frames the point has existed.

Detailed Description

Class which contains relevant information for keypoints. The point, if it was detected in the frame, the strength / stability of the point, and the length of time is has existed in the video.

Definition at line 43 of file PointTracker.h.


Constructor & Destructor Documentation

Tuple::Tuple ( )

Default Constructor.

Sets the centroid to the origin with no strengh.

Default Constructor

Definition at line 25 of file PointTracker.cpp.

             : centroid(Point2f(0, 0)), found(0), strength(0), span(0) {

}
Tuple::Tuple ( const Point2f &  pt)

Parameterized Constructor.

Create a default point with no strength

Parameters:
ptPoint

Definition at line 33 of file PointTracker.cpp.

                              : centroid(pt), found(1), strength(0), span(0) {

}

Member Data Documentation

Point2f Tuple::centroid

Center of point.

Definition at line 53 of file PointTracker.h.

size_t Tuple::found

Detection Status Code.

Definition at line 56 of file PointTracker.h.

size_t Tuple::span

Number of frames the point has existed.

Definition at line 62 of file PointTracker.h.

Strength/stability of point.

Definition at line 59 of file PointTracker.h.


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