class cv::EMDL1HistogramCostExtractor

An EMD-L1 based cost extraction. :

#include <hist_cost.hpp>

class EMDL1HistogramCostExtractor: public cv::HistogramCostExtractor
{
};

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
    buildCostMatrix(
        InputArray descriptors1,
        InputArray descriptors2,
        OutputArray costMatrix
        ) = 0;

    virtual
    float
    getDefaultCost() const = 0;

    virtual
    int
    getNDummies() const = 0;

    virtual
    void
    setDefaultCost(float defaultCost) = 0;

    virtual
    void
    setNDummies(int nDummies) = 0;

protected:
    // methods

    void
    writeFormat(FileStorage& fs) const;