MotionOps.H File Reference

#include "Image/Image.H"
#include "Image/Pixels.H"
#include "Raster/Raster.H"
#include "Robots/Beobot2/Navigation/FOE_Navigation/OpticalFlowTypes.H"
#include "Robots/Beobot2/Navigation/FOE_Navigation/OpticalFlow.H"
Include dependency graph for MotionOps.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

rutz::shared_ptr< OpticalFlowgetCleanOpticFlow (Image< byte > img)
void saveCleanOpticFlow (Image< byte > img)
rutz::shared_ptr< OpticalFlowgetLucasKanadeOpticFlow (Image< byte > image1, Image< byte > image2)
Image< PixRGB< byte > > drawOpticFlow (Image< PixRGB< byte > > img, rutz::shared_ptr< OpticalFlow > flow)
 draw the optic flow given a set of correspondences

Detailed Description

various motion related functions. For example: Lucas&Kanade, Horn&Schunck optical flow

Definition in file MotionOps.H.


Function Documentation

Image<PixRGB<byte> > drawOpticFlow ( Image< PixRGB< byte > >  img,
rutz::shared_ptr< OpticalFlow flow 
)

draw the optic flow given a set of correspondences

Definition at line 308 of file MotionOps.C.

Referenced by PopulationHeadingMap::getFOE().

rutz::shared_ptr<OpticalFlow> getCleanOpticFlow ( Image< byte img  ) 

get clean optical flow using: o(x,y) = 1/Z(x,y)*A(x,y)Trans + B(x,y)Rot

Definition at line 63 of file MotionOps.C.

References Image< T >::getDims(), Image< T >::getHeight(), Image< T >::getWidth(), and height.

Referenced by PopulationHeadingMap::getFOE().

rutz::shared_ptr<OpticalFlow> getLucasKanadeOpticFlow ( Image< byte image1,
Image< byte image2 
)

get the Lucas Kanade optic flow for motion from image1 to image2

Definition at line 207 of file MotionOps.C.

References Image< T >::getDims(), Image< T >::getHeight(), Image< T >::getWidth(), and img2ipl().

Referenced by MotionOpticalFlowChannel::doInput().

Generated on Sun May 8 08:42:47 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3