class cv::videostab::InpainterBase
#include <inpainting.hpp>
class InpainterBase
{
public:
// methods
virtual
const std::vector<Mat>&
frames() const;
virtual
void
inpaint(
int idx,
Mat& frame,
Mat& mask
) = 0;
virtual
MotionModel
motionModel() const;
virtual
const std::vector<Mat>&
motions() const;
virtual
int
radius() const;
virtual
void
setFrames(const std::vector<Mat>& val);
virtual
void
setMotionModel(MotionModel val);
virtual
void
setMotions(const std::vector<Mat>& val);
virtual
void
setRadius(int val);
virtual
void
setStabilizationMotions(const std::vector<Mat>& val);
virtual
void
setStabilizedFrames(const std::vector<Mat>& val);
virtual
const std::vector<Mat>&
stabilizationMotions() const;
virtual
const std::vector<Mat>&
stabilizedFrames() const;
protected:
// fields
const std::vector<Mat>* frames_;
MotionModel motionModel_;
const std::vector<Mat>* motions_;
int radius_;
const std::vector<Mat>* stabilizationMotions_;
const std::vector<Mat>* stabilizedFrames_;
};
// direct descendants
class ColorAverageInpainter;
class ColorInpainter;
class ConsistentMosaicInpainter;
class InpaintingPipeline;
class MotionInpainter;
class NullInpainter;