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

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 | |
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.
| OpticalFlow::OpticalFlow | ( | std::vector< rutz::shared_ptr< FlowVector > > | flowVectors, | |
| Dims | dims | |||
| ) |
Constructor taking in sparse flow vector.
| 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.
| flow | field of the image |
Definition at line 56 of file OpticalFlow.C.
| OpticalFlow::~OpticalFlow | ( | ) |
Destructor.
Definition at line 67 of file OpticalFlow.C.
| Image< float > OpticalFlow::getDirectionField | ( | ) |
get the direction field
Definition at line 201 of file OpticalFlow.C.
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.
1.6.3