|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
Uses LMS optic flow and motion compensation at each level
Variables:
- IPConvSymC filter;
-
subsampling filter
- BooleanT verbose;
-
- RealT scale;
-
- RealT vec_subsample;
-
top-level motion vector display subsampling factor
- RealT noise;
-
- IntT region;
-
- BooleanT erode;
-
if true, fitering operations erode motion field
- LMSOpticFlowC optical_flow;
-
- IndexC top_level;
-
Methods:
- MultiScaleMotionC(const IPConvSymC<RealT,RealT> & Filter,const LMSOpticFlowC Flow)
-
Constructor:
| Filter | subsampling antialias filter |
| Flow | optical flow engine |
|
- MultiScaleMotionC & SetFilterErode(BooleanT Erode)
-
Set subsample filter resize to erode (Erode==true) or no erosion (Erode==false)
- NumImageC<Vector2dC> Estimate(const PairC<NumImageC<RealT>> & im,IndexC Levels = 3)
-
Generates optical flow field from a pair of images, using not
more than "Levels" levels of hierarchy
- MultiScaleMotionC Verbose(RealT VectorScale = 1,RealT VectorSubsample = 1)
-
Image, PostScript and data files of the o/p from each level are written
| VectorScale | rescales motion vectors and ellipses in Postscript images |
| VectorSubsample | subsamples the displayed motion vectors; e.g. =4 will subsample the vectors by 4 at level 0, by 2 at level 1, full fesolution at level 2 |
|
- NumImageC<Vector2dC> EstimateRecursive(const PairC<NumImageC<RealT>> & im,IndexC Levels)
-
recursively generates optical flow field from a pair of images, using not
more than "Levels" levels of hierarchy
- NumImageC<Vector2dC> BottomLevel(const impairT & im_pair,IndexC times)
-
|
Programmer:Bill Christmas, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|