class cv::superres::DualTVL1OpticalFlow

Overview

#include <optical_flow.hpp>

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

    virtual
    double
    getEpsilon() const = 0;

    virtual
    int
    getIterations() const = 0;

    virtual
    double
    getLambda() const = 0;

    virtual
    int
    getScalesNumber() const = 0;

    virtual
    double
    getTau() const = 0;

    virtual
    double
    getTheta() const = 0;

    virtual
    bool
    getUseInitialFlow() const = 0;

    virtual
    int
    getWarpingsNumber() const = 0;

    virtual
    void
    setEpsilon(double val) = 0;

    virtual
    void
    setIterations(int val) = 0;

    virtual
    void
    setLambda(double val) = 0;

    virtual
    void
    setScalesNumber(int val) = 0;

    virtual
    void
    setTau(double val) = 0;

    virtual
    void
    setTheta(double val) = 0;

    virtual
    void
    setUseInitialFlow(bool val) = 0;

    virtual
    void
    setWarpingsNumber(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
getEpsilon() const = 0

See also:

setEpsilon

virtual
int
getIterations() const = 0

See also:

setIterations

virtual
double
getLambda() const = 0

See also:

setLambda

virtual
int
getScalesNumber() const = 0

See also:

setScalesNumber

virtual
double
getTau() const = 0

See also:

setTau

virtual
double
getTheta() const = 0

See also:

setTheta

virtual
bool
getUseInitialFlow() const = 0

See also:

setUseInitialFlow

virtual
int
getWarpingsNumber() const = 0

See also:

setWarpingsNumber

virtual
void
setEpsilon(double val) = 0

See also:

getEpsilon

virtual
void
setIterations(int val) = 0

See also:

getIterations

virtual
void
setLambda(double val) = 0

See also:

getLambda

virtual
void
setScalesNumber(int val) = 0

See also:

getScalesNumber

virtual
void
setTau(double val) = 0

See also:

getTau

virtual
void
setTheta(double val) = 0

See also:

getTheta

virtual
void
setUseInitialFlow(bool val) = 0

See also:

getUseInitialFlow

virtual
void
setWarpingsNumber(int val) = 0

See also:

getWarpingsNumber