class cv::detail::DpSeamFinder

Overview

#include <seam_finders.hpp>

class DpSeamFinder: public cv::detail::SeamFinder
{
public:
    // enums

    enum CostFunction;

    // classes

    class ClosePoints;
    class ImagePairLess;

    // construction

    DpSeamFinder(CostFunction costFunc = COLOR);

    // methods

    CostFunction
    costFunction() const;

    virtual
    void
    find(
        const std::vector<UMat>& src,
        const std::vector<Point>& corners,
        std::vector<UMat>& masks
        );

    void
    setCostFunction(CostFunction val);
};

Inherited Members

public:
    // methods

    virtual
    void
    find(
        const std::vector<UMat>& src,
        const std::vector<Point>& corners,
        std::vector<UMat>& masks
        ) = 0;

Detailed Documentation

Methods

virtual
void
find(
    const std::vector<UMat>& src,
    const std::vector<Point>& corners,
    std::vector<UMat>& masks
    )

Estimates seams.

Parameters:

src Source images
corners Source image top-left corners
masks Source image masks to update