class cv::detail::TimelapserCrop

#include <timelapsers.hpp>

class TimelapserCrop: public cv::detail::Timelapser
{
public:
    // methods

    virtual
    void
    initialize(
        const std::vector<Point>& corners,
        const std::vector<Size>& sizes
        );
};

Inherited Members

public:
    // enums

    enum
    {
        AS_IS,
        CROP,
    };

    // methods

    virtual
    const UMat&
    getDst();

    virtual
    void
    initialize(
        const std::vector<Point>& corners,
        const std::vector<Size>& sizes
        );

    virtual
    void
    process(
        InputArray img,
        InputArray mask,
        Point tl
        );

    static
    Ptr<Timelapser>
    createDefault(int type);

protected:
    // fields

    UMat dst_;
    Rect dst_roi_;

    // methods

    virtual
    bool
    test_point(Point pt);