OpenCV
3.4.8
Open Source Computer Vision
|
Base class for all pairwise seam estimators. More...
#include <opencv2/stitching/detail/seam_finders.hpp>
Public Member Functions | |
virtual void | find (const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks) CV_OVERRIDE |
Estimates seams. More... | |
Public Member Functions inherited from cv::detail::SeamFinder | |
virtual | ~SeamFinder () |
Protected Member Functions | |
virtual void | findInPair (size_t first, size_t second, Rect roi)=0 |
Resolves masks intersection of two specified images in the given ROI. More... | |
void | run () |
Protected Attributes | |
std::vector< Point > | corners_ |
std::vector< UMat > | images_ |
std::vector< UMat > | masks_ |
std::vector< Size > | sizes_ |
Base class for all pairwise seam estimators.
|
virtual |
Estimates seams.
src | Source images |
corners | Source image top-left corners |
masks | Source image masks to update |
Implements cv::detail::SeamFinder.
Reimplemented in cv::detail::VoronoiSeamFinder.
|
protectedpure virtual |
Resolves masks intersection of two specified images in the given ROI.
first | First image index |
second | Second image index |
roi | Region of interest |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |