class cv::superres::BroxOpticalFlow

Overview

#include <optical_flow.hpp>

class BroxOpticalFlow: public cv::superres::DenseOpticalFlowExt
{
public:
    // methods

    virtual
    double
    getAlpha() const = 0;

    virtual
    double
    getGamma() const = 0;

    virtual
    int
    getInnerIterations() const = 0;

    virtual
    int
    getOuterIterations() const = 0;

    virtual
    double
    getScaleFactor() const = 0;

    virtual
    int
    getSolverIterations() const = 0;

    virtual
    void
    setAlpha(double val) = 0;

    virtual
    void
    setGamma(double val) = 0;

    virtual
    void
    setInnerIterations(int val) = 0;

    virtual
    void
    setOuterIterations(int val) = 0;

    virtual
    void
    setScaleFactor(double val) = 0;

    virtual
    void
    setSolverIterations(int val) = 0;
};

Inherited Members

public:
    // methods

    virtual
    void
    clear();

    virtual
    bool
    empty() const;

    virtual
    String
    getDefaultName() const;

    virtual
    void
    read(const FileNode& fn);

    virtual
    void
    save(const String& filename) const;

    virtual
    void
    write(FileStorage& fs) const;

    template <typename _Tp>
    static
    Ptr<_Tp>
    load(
        const String& filename,
        const String& objname = String()
        );

    template <typename _Tp>
    static
    Ptr<_Tp>
    loadFromString(
        const String& strModel,
        const String& objname = String()
        );

    template <typename _Tp>
    static
    Ptr<_Tp>
    read(const FileNode& fn);

    virtual
    void
    calc(
        InputArray frame0,
        InputArray frame1,
        OutputArray flow1,
        OutputArray flow2 = noArray()
        ) = 0;

    virtual
    void
    collectGarbage() = 0;

protected:
    // methods

    void
    writeFormat(FileStorage& fs) const;

Detailed Documentation

Methods

virtual
double
getAlpha() const = 0

Flow smoothness.

See also:

setAlpha

virtual
double
getGamma() const = 0

Gradient constancy importance.

See also:

setGamma

virtual
int
getInnerIterations() const = 0

Number of lagged non-linearity iterations (inner loop)

See also:

setInnerIterations

virtual
int
getOuterIterations() const = 0

Number of warping iterations (number of pyramid levels)

See also:

setOuterIterations

virtual
double
getScaleFactor() const = 0

Pyramid scale factor.

See also:

setScaleFactor

virtual
int
getSolverIterations() const = 0

Number of linear system solver iterations.

See also:

setSolverIterations

virtual
void
setAlpha(double val) = 0

Flow smoothness.

See also:

getAlpha

virtual
void
setGamma(double val) = 0

Gradient constancy importance.

See also:

getGamma

virtual
void
setInnerIterations(int val) = 0

Number of lagged non-linearity iterations (inner loop)

See also:

getInnerIterations

virtual
void
setOuterIterations(int val) = 0

Number of warping iterations (number of pyramid levels)

See also:

getOuterIterations

virtual
void
setScaleFactor(double val) = 0

Pyramid scale factor.

See also:

getScaleFactor

virtual
void
setSolverIterations(int val) = 0

Number of linear system solver iterations.

See also:

getSolverIterations