Robust Local Optical Flow Libary Documentation  V 1.2
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
Enumerations | Functions
RLOFSample.cpp File Reference

RLOF sample implementation. More...

#include <OpticalFlow/RLOFTools.hpp>
#include <iostream>

Go to the source code of this file.

Enumerations

enum  TrackerType { DENSE = 0, GFT }
 

Functions

void demo ()
 Demo programm. More...
 
int main (int argc, char **argv)
 

Detailed Description

RLOF sample implementation.

Provide a sample implementation, how to use the RLOF libary.

Version
1.2
Date
04.05.2012
Author
Tobias Senst

Definition in file RLOFSample.cpp.

Enumeration Type Documentation

Enum to select feature selection method for the sample programm

Enumerator
DENSE 

Compute for each pixel of the input image motion vectors.

GFT 

Detect features with the Good Features To Track method and compute motion vectors for these features.

Definition at line 107 of file RLOFSample.cpp.

Function Documentation

void demo ( )

Demo programm.

Sample to demonstrate the usage of the RLOF libary. The programm designed to compute the motion vectors of:

  • a dense motion field
  • feature points selected by a Good Feature to Track method with the GPU or CPU version of the PLK/RLOF methods providen by the libary.

Definition at line 117 of file RLOFSample.cpp.

Referenced by main().

int main ( int  argc,
char **  argv 
)
Parameters
argcIgnored
argvIgnored
Returns
standart programm return vaule

Definition at line 224 of file RLOFSample.cpp.