OpticalFlow Class Reference

#include <Robots/Beobot2/Navigation/FOE_Navigation/OpticalFlow.H>

Collaboration diagram for OpticalFlow:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Constructor, assigment and destructor

 OpticalFlow (std::vector< rutz::shared_ptr< FlowVector > > flowVectors, Dims dims)
 Constructor taking in sparse flow vector.
 OpticalFlow (lobot::triple< Image< float >, Image< float >, Image< float > > flowField)
 Constructor taking in dense flow field.
 ~OpticalFlow ()
 Destructor.
Access functions

std::vector< rutz::shared_ptr
< FlowVector > > 
getFlowVectors ()
 get the flow vectors
std::vector< Point2D< float > > getFlowLocations ()
 get the flow vector locations
Dims getImageDims ()
 get the image dimensions
lobot::triple< Image< float >
, Image< float >, Image< float > > 
getFlowField ()
 get the flow field
Image< float > getDirectionField ()
 get the direction field
Image< float > getVectorLengthField ()
 get the vector length field
Image< float > getFlowStrengthField ()
 get the strength field

Detailed Description

an Optical flow class that can return both: a vector of FlowVector: for sparse flow (note: also feed in image size) or a triple of images for direction, length, and strength

Definition at line 96 of file OpticalFlow.H.


Constructor & Destructor Documentation

OpticalFlow::OpticalFlow ( std::vector< rutz::shared_ptr< FlowVector > >  flowVectors,
Dims  dims 
)

Constructor taking in sparse flow vector.

Parameters:
flow the vector of flow vectors in the image
dims size of the image

Definition at line 42 of file OpticalFlow.C.

OpticalFlow::OpticalFlow ( lobot::triple< Image< float >, Image< float >, Image< float > >  flowField  ) 

Constructor taking in dense flow field.

Parameters:
flow field of the image

Definition at line 56 of file OpticalFlow.C.

OpticalFlow::~OpticalFlow (  ) 

Destructor.

Definition at line 67 of file OpticalFlow.C.


Member Function Documentation

Image< float > OpticalFlow::getDirectionField (  ) 

get the direction field

Definition at line 201 of file OpticalFlow.C.

lobot::triple< Image< float >, Image< float >, Image< float > > OpticalFlow::getFlowField (  ) 

get the flow field

Definition at line 189 of file OpticalFlow.C.

std::vector< Point2D< float > > OpticalFlow::getFlowLocations (  ) 

get the flow vector locations

Definition at line 88 of file OpticalFlow.C.

Image< float > OpticalFlow::getFlowStrengthField (  ) 

get the strength field

Definition at line 225 of file OpticalFlow.C.

std::vector< rutz::shared_ptr< FlowVector > > OpticalFlow::getFlowVectors (  ) 

get the flow vectors

Definition at line 100 of file OpticalFlow.C.

Dims OpticalFlow::getImageDims (  ) 

get the image dimensions

Definition at line 112 of file OpticalFlow.C.

Image< float > OpticalFlow::getVectorLengthField (  ) 

get the vector length field

Definition at line 213 of file OpticalFlow.C.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:38 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3