Class cv::cuda::BroxOpticalFlow#

Class computing the optical flow for two images using Brox et al Optical Flow algorithm ([48]).

Collaboration diagram for cv::cuda::BroxOpticalFlow:

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 the optical flow for two images using Brox et al Optical Flow algorithm ([48]).

Member Function Documentation#

getFlowSmoothness()#

double cv::cuda::BroxOpticalFlow::getFlowSmoothness()

getGradientConstancyImportance()#

double cv::cuda::BroxOpticalFlow::getGradientConstancyImportance()

getInnerIterations()#

int cv::cuda::BroxOpticalFlow::getInnerIterations()

number of lagged non-linearity iterations (inner loop)

getOuterIterations()#

int cv::cuda::BroxOpticalFlow::getOuterIterations()

number of warping iterations (number of pyramid levels)

getPyramidScaleFactor()#

double cv::cuda::BroxOpticalFlow::getPyramidScaleFactor()

getSolverIterations()#

int cv::cuda::BroxOpticalFlow::getSolverIterations()

number of linear system solver iterations

setFlowSmoothness()#

void cv::cuda::BroxOpticalFlow::setFlowSmoothness(double alpha)

setGradientConstancyImportance()#

void cv::cuda::BroxOpticalFlow::setGradientConstancyImportance(double gamma)

setInnerIterations()#

void cv::cuda::BroxOpticalFlow::setInnerIterations(int inner_iterations)

setOuterIterations()#

void cv::cuda::BroxOpticalFlow::setOuterIterations(int outer_iterations)

setPyramidScaleFactor()#

void cv::cuda::BroxOpticalFlow::setPyramidScaleFactor(double scale_factor)

setSolverIterations()#

void cv::cuda::BroxOpticalFlow::setSolverIterations(int solver_iterations)

create()#

static Ptr< BroxOpticalFlow > cv::cuda::BroxOpticalFlow::create(
double alpha = 0.197,
double gamma = 50.0,
double scale_factor = 0.8,
int inner_iterations = 5,
int outer_iterations = 150,
int solver_iterations = 10 )

Source file#

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