Public Member Functions | Public Attributes
cv::gpu::BroxOpticalFlow Class Reference

#include <gpu.hpp>

List of all members.

Public Member Functions

 BroxOpticalFlow (float alpha_, float gamma_, float scale_factor_, int inner_iterations_, int outer_iterations_, int solver_iterations_)
void operator() (const GpuMat &frame0, const GpuMat &frame1, GpuMat &u, GpuMat &v, Stream &stream=Stream::Null())

Public Attributes

float alpha
 flow smoothness
float gamma
 gradient constancy importance
float scale_factor
 pyramid scale factor
int inner_iterations
 number of lagged non-linearity iterations (inner loop)
int outer_iterations
 number of warping iterations (number of pyramid levels)
int solver_iterations
 number of linear system solver iterations
GpuMat buf

Constructor & Destructor Documentation

cv::gpu::BroxOpticalFlow::BroxOpticalFlow ( float  alpha_,
float  gamma_,
float  scale_factor_,
int  inner_iterations_,
int  outer_iterations_,
int  solver_iterations_ 
)

Member Function Documentation

void cv::gpu::BroxOpticalFlow::operator() ( const GpuMat frame0,
const GpuMat frame1,
GpuMat u,
GpuMat v,
Stream stream = Stream::Null() 
)

Compute optical flow frame0 - source frame (supports only CV_32FC1 type) frame1 - frame to track (with the same size and type as frame0) u - flow horizontal component (along x axis) v - flow vertical component (along y axis)


Member Data Documentation

flow smoothness

gradient constancy importance

pyramid scale factor

number of lagged non-linearity iterations (inner loop)

number of warping iterations (number of pyramid levels)

number of linear system solver iterations


The documentation for this class was generated from the following file: