Class cv::cuda::FarnebackOpticalFlow#

Class computing a dense optical flow using the Gunnar Farneback's algorithm.

Collaboration diagram for cv::cuda::FarnebackOpticalFlow:

Public Member Functions#

Public Member Functions inherited from cv::cuda::DenseOpticalFlow
Public Member Functions inherited from cv::Algorithm

Return

Name

Description

Algorithm()

~Algorithm()

void

clear()

Clears the algorithm state.

bool

empty()

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.

String

getDefaultName()

void

read(const FileNode & fn)

Reads algorithm parameters from a file storage.

void

save(const String & filename)

void

write(
    const Ptr< FileStorage > & fs,
    const String & name = String() )

void

write(FileStorage & fs)

Stores algorithm parameters in a file storage.

void

write(
    FileStorage & fs,
    const String & name )

Static Public Member Functions#

Static Public Member Functions inherited from cv::Algorithm

Return

Name

Description

static Ptr< _Tp >

load(
    const String & filename,
    const String & objname = String() )

Loads algorithm from the file.

static Ptr< _Tp >

loadFromString(
    const String & strModel,
    const String & objname = String() )

Loads algorithm from a String.

static Ptr< _Tp >

read(const FileNode & fn)

Reads algorithm from the file node.

Additional Inherited Members#

Protected Member Functions inherited from cv::Algorithm

Return

Name

Description

void

writeFormat(FileStorage & fs)

Detailed Description#

Class computing a dense optical flow using the Gunnar Farneback’s algorithm.

Member Function Documentation#

getFastPyramids()#

bool cv::cuda::FarnebackOpticalFlow::getFastPyramids()

getFlags()#

int cv::cuda::FarnebackOpticalFlow::getFlags()

getNumIters()#

int cv::cuda::FarnebackOpticalFlow::getNumIters()

getNumLevels()#

int cv::cuda::FarnebackOpticalFlow::getNumLevels()

getPolyN()#

int cv::cuda::FarnebackOpticalFlow::getPolyN()

getPolySigma()#

double cv::cuda::FarnebackOpticalFlow::getPolySigma()

getPyrScale()#

double cv::cuda::FarnebackOpticalFlow::getPyrScale()

getWinSize()#

int cv::cuda::FarnebackOpticalFlow::getWinSize()

setFastPyramids()#

void cv::cuda::FarnebackOpticalFlow::setFastPyramids(bool fastPyramids)

setFlags()#

void cv::cuda::FarnebackOpticalFlow::setFlags(int flags)

setNumIters()#

void cv::cuda::FarnebackOpticalFlow::setNumIters(int numIters)

setNumLevels()#

void cv::cuda::FarnebackOpticalFlow::setNumLevels(int numLevels)

setPolyN()#

void cv::cuda::FarnebackOpticalFlow::setPolyN(int polyN)

setPolySigma()#

void cv::cuda::FarnebackOpticalFlow::setPolySigma(double polySigma)

setPyrScale()#

void cv::cuda::FarnebackOpticalFlow::setPyrScale(double pyrScale)

setWinSize()#

void cv::cuda::FarnebackOpticalFlow::setWinSize(int winSize)

create()#

static Ptr< cuda::FarnebackOpticalFlow > cv::cuda::FarnebackOpticalFlow::create(
int numLevels = 5,
double pyrScale = 0.5,
bool fastPyramids = false,
int winSize = 13,
int numIters = 10,
int polyN = 5,
double polySigma = 1.1,
int flags = 0 )

Source file#

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