OpenCV  3.2.0-dev
Open Source Computer Vision
cv::detail::GraphCutSeamFinder Class Reference

Minimum graph cut-based seam estimator. More...

#include "seam_finders.hpp"

Inheritance diagram for cv::detail::GraphCutSeamFinder:
Collaboration diagram for cv::detail::GraphCutSeamFinder:

Public Types

enum  CostType {
  COST_COLOR,
  COST_COLOR_GRAD
}
 

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

Detailed Description

Minimum graph cut-based seam estimator.

See details in [43] .

Member Enumeration Documentation

Enumerator
COST_COLOR 
COST_COLOR_GRAD 

Constructor & Destructor Documentation

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

Member Function Documentation

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: