OpenCV  5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
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>

Collaboration diagram for cv::detail::SeamFinder:

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.
 

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:
cv.detail.SeamFinder.createDefault(type) -> retval
cv.detail.SeamFinder_createDefault(type) -> retval

◆ find()

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

Estimates seams.

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

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


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