OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cv::detail::PairwiseSeamFinder Class Referenceabstract

Base class for all pairwise seam estimators. More...

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

Inheritance diagram for cv::detail::PairwiseSeamFinder:
Collaboration diagram for cv::detail::PairwiseSeamFinder:

Public Types

enum  {
  NO,
  VORONOI_SEAM,
  DP_SEAM
}
 

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...
 

Static Public Member Functions

static Ptr< SeamFindercreateDefault (int type)
 

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< Pointcorners_
 
std::vector< UMatimages_
 
std::vector< UMatmasks_
 
std::vector< Sizesizes_
 

Detailed Description

Base class for all pairwise seam estimators.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
NO 
VORONOI_SEAM 
DP_SEAM 

Member Function Documentation

◆ createDefault()

static Ptr<SeamFinder> cv::detail::SeamFinder::createDefault ( int  type)
staticinherited

◆ find()

virtual void cv::detail::PairwiseSeamFinder::find ( const std::vector< UMat > &  src,
const std::vector< Point > &  corners,
std::vector< UMat > &  masks 
)
virtual

Estimates seams.

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

Implements cv::detail::SeamFinder.

Reimplemented in cv::detail::VoronoiSeamFinder.

◆ findInPair()

virtual void cv::detail::PairwiseSeamFinder::findInPair ( size_t  first,
size_t  second,
Rect  roi 
)
protectedpure virtual

Resolves masks intersection of two specified images in the given ROI.

Parameters
firstFirst image index
secondSecond image index
roiRegion of interest

◆ run()

void cv::detail::PairwiseSeamFinder::run ( )
protected

Member Data Documentation

◆ corners_

std::vector<Point> cv::detail::PairwiseSeamFinder::corners_
protected

◆ images_

std::vector<UMat> cv::detail::PairwiseSeamFinder::images_
protected

◆ masks_

std::vector<UMat> cv::detail::PairwiseSeamFinder::masks_
protected

◆ sizes_

std::vector<Size> cv::detail::PairwiseSeamFinder::sizes_
protected

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