OpenCV  4.0.1
Open Source Computer Vision
Public Member Functions | List of all members
cv::detail::VoronoiSeamFinder Class Reference

Voronoi diagram-based seam estimator. More...

#include "seam_finders.hpp"

Inheritance diagram for cv::detail::VoronoiSeamFinder:
cv::detail::PairwiseSeamFinder cv::detail::SeamFinder

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...
 
virtual void find (const std::vector< Size > &size, const std::vector< Point > &corners, std::vector< UMat > &masks)
 
- Public Member Functions inherited from cv::detail::SeamFinder
virtual ~SeamFinder ()
 

Additional Inherited Members

- Public Types inherited from cv::detail::SeamFinder
enum  {
  NO,
  VORONOI_SEAM,
  DP_SEAM
}
 
- Static Public Member Functions inherited from cv::detail::SeamFinder
static Ptr< SeamFindercreateDefault (int type)
 
- Protected Member Functions inherited from cv::detail::PairwiseSeamFinder
void run ()
 
- Protected Attributes inherited from cv::detail::PairwiseSeamFinder
std::vector< Pointcorners_
 
std::vector< UMatimages_
 
std::vector< UMatmasks_
 
std::vector< Sizesizes_
 

Detailed Description

Voronoi diagram-based seam estimator.

Member Function Documentation

§ find() [1/2]

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

Estimates seams.

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

Reimplemented from cv::detail::PairwiseSeamFinder.

§ find() [2/2]

virtual void cv::detail::VoronoiSeamFinder::find ( const std::vector< Size > &  size,
const std::vector< Point > &  corners,
std::vector< UMat > &  masks 
)
virtual
Python:
masks=cv.detail_VoronoiSeamFinder.find(src, corners, masks)

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