class cv::superres::FarnebackOpticalFlow

Overview

#include <optical_flow.hpp>

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

    virtual
    int
    getFlags() const = 0;

    virtual
    int
    getIterations() const = 0;

    virtual
    int
    getLevelsNumber() const = 0;

    virtual
    int
    getPolyN() const = 0;

    virtual
    double
    getPolySigma() const = 0;

    virtual
    double
    getPyrScale() const = 0;

    virtual
    int
    getWindowSize() const = 0;

    virtual
    void
    setFlags(int val) = 0;

    virtual
    void
    setIterations(int val) = 0;

    virtual
    void
    setLevelsNumber(int val) = 0;

    virtual
    void
    setPolyN(int val) = 0;

    virtual
    void
    setPolySigma(double val) = 0;

    virtual
    void
    setPyrScale(double val) = 0;

    virtual
    void
    setWindowSize(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
int
getFlags() const = 0

See also:

setFlags

virtual
int
getIterations() const = 0

See also:

setIterations

virtual
int
getLevelsNumber() const = 0

See also:

setLevelsNumber

virtual
int
getPolyN() const = 0

See also:

setPolyN

virtual
double
getPolySigma() const = 0

See also:

setPolySigma

virtual
double
getPyrScale() const = 0

See also:

setPyrScale

virtual
int
getWindowSize() const = 0

See also:

setWindowSize

virtual
void
setFlags(int val) = 0

See also:

getFlags

virtual
void
setIterations(int val) = 0

See also:

getIterations

virtual
void
setLevelsNumber(int val) = 0

See also:

getLevelsNumber

virtual
void
setPolyN(int val) = 0

See also:

getPolyN

virtual
void
setPolySigma(double val) = 0

See also:

getPolySigma

virtual
void
setPyrScale(double val) = 0

See also:

getPyrScale

virtual
void
setWindowSize(int val) = 0

See also:

getWindowSize