OpenCV  4.3.0
Open Source Computer Vision
Public Types | Public Member Functions | Static Public Member Functions | List of all members
cv::detail::SeamFinder Class Referenceabstract

Base class for a seam estimator. More...

#include <opencv2/stitching/detail/seam_finders.hpp>

Inheritance diagram for cv::detail::SeamFinder:
cv::detail::DpSeamFinder cv::detail::GraphCutSeamFinder cv::detail::NoSeamFinder cv::detail::PairwiseSeamFinder cv::detail::VoronoiSeamFinder

Public Types

enum  {
  NO,
  VORONOI_SEAM,
  DP_SEAM
}
 

Public Member Functions

virtual ~SeamFinder ()
 
virtual void find (const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks)=0
 Estimates seams. More...
 

Static Public Member Functions

static Ptr< SeamFindercreateDefault (int type)
 

Detailed Description

Base class for a seam estimator.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NO 
VORONOI_SEAM 
DP_SEAM 

Constructor & Destructor Documentation

◆ ~SeamFinder()

virtual cv::detail::SeamFinder::~SeamFinder ( )
inlinevirtual

Member Function Documentation

◆ createDefault()

static Ptr<SeamFinder> cv::detail::SeamFinder::createDefault ( int  type)
static
Python:
retval=cv.detail.SeamFinder_createDefault(type)

◆ find()

virtual void cv::detail::SeamFinder::find ( const std::vector< UMat > &  src,
const std::vector< Point > &  corners,
std::vector< UMat > &  masks 
)
pure virtual
Python:
masks=cv.detail_SeamFinder.find(src, corners, masks)

Estimates seams.

Parameters
srcSource images
cornersSource image top-left corners
masksSource image masks to update

Implemented in cv::detail::GraphCutSeamFinder, cv::detail::DpSeamFinder, cv::detail::VoronoiSeamFinder, cv::detail::PairwiseSeamFinder, and cv::detail::NoSeamFinder.


The documentation for this class was generated from the following file: