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::DpSeamFinder Class Reference

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

Inheritance diagram for cv::detail::DpSeamFinder:
Collaboration diagram for cv::detail::DpSeamFinder:

Public Types

enum  {
  NO,
  VORONOI_SEAM,
  DP_SEAM
}
 
enum  CostFunction {
  COLOR,
  COLOR_GRAD
}
 

Public Member Functions

 DpSeamFinder (CostFunction costFunc=COLOR)
 
 DpSeamFinder (String costFunc)
 
CostFunction costFunction () const
 
virtual void find (const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks) CV_OVERRIDE
 Estimates seams. More...
 
void setCostFunction (CostFunction val)
 
void setCostFunction (String val)
 

Static Public Member Functions

static Ptr< SeamFindercreateDefault (int type)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
NO 
VORONOI_SEAM 
DP_SEAM 

◆ CostFunction

Enumerator
COLOR 
COLOR_GRAD 

Constructor & Destructor Documentation

◆ DpSeamFinder() [1/2]

cv::detail::DpSeamFinder::DpSeamFinder ( CostFunction  costFunc = COLOR)

◆ DpSeamFinder() [2/2]

cv::detail::DpSeamFinder::DpSeamFinder ( String  costFunc)

Member Function Documentation

◆ costFunction()

CostFunction cv::detail::DpSeamFinder::costFunction ( ) const
inline

◆ createDefault()

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

◆ find()

virtual void cv::detail::DpSeamFinder::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.

◆ setCostFunction() [1/2]

void cv::detail::DpSeamFinder::setCostFunction ( CostFunction  val)
inline

◆ setCostFunction() [2/2]

void cv::detail::DpSeamFinder::setCostFunction ( String  val)

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