Minimum graph cut-based seam estimator. More...
#include <opencv2/stitching/detail/seam_finders.hpp>
Public Types | |
enum | { NO, VORONOI_SEAM, DP_SEAM } |
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 (String cost_type, 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) CV_OVERRIDE |
Estimates seams. More... | |
Static Public Member Functions | |
static Ptr< SeamFinder > | createDefault (int type) |
Minimum graph cut-based seam estimator.
See details in [51] .
|
inherited |
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 | ( | String | cost_type, |
float | terminal_cost = 10000.f , |
||
float | bad_region_penalty = 1000.f |
||
) |
cv::detail::GraphCutSeamFinder::~GraphCutSeamFinder | ( | ) |
|
staticinherited |
|
virtual |
Estimates seams.
src | Source images |
corners | Source image top-left corners |
masks | Source image masks to update |
Implements cv::detail::SeamFinder.