OpenCV  3.3.0-dev
Open Source Computer Vision
Public Member Functions | List of all members
cv::detail::GraphCutSeamFinder Class Reference

Minimum graph cut-based seam estimator. See details in [V03] . More...

#include "seam_finders.hpp"

Inheritance diagram for cv::detail::GraphCutSeamFinder:
cv::detail::GraphCutSeamFinderBase cv::detail::SeamFinder

Public Member Functions

 GraphCutSeamFinder (int cost_type=COST_COLOR_GRAD, float terminal_cost=10000.f, float bad_region_penalty=1000.f)
 
 ~GraphCutSeamFinder ()
 
void find (const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks)
 Estimates seams. More...
 
- Public Member Functions inherited from cv::detail::SeamFinder
virtual ~SeamFinder ()
 

Additional Inherited Members

- Public Types inherited from cv::detail::GraphCutSeamFinderBase
enum  CostType {
  COST_COLOR,
  COST_COLOR_GRAD
}
 

Detailed Description

Minimum graph cut-based seam estimator. See details in [V03] .

Constructor & Destructor Documentation

◆ GraphCutSeamFinder()

cv::detail::GraphCutSeamFinder::GraphCutSeamFinder ( int  cost_type = COST_COLOR_GRAD,
float  terminal_cost = 10000.f,
float  bad_region_penalty = 1000.f 
)

◆ ~GraphCutSeamFinder()

cv::detail::GraphCutSeamFinder::~GraphCutSeamFinder ( )

Member Function Documentation

◆ find()

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


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