OpenCV
3.4.12
Open Source Computer Vision
|
Minimum graph cut-based seam estimator. See details in [116] . More...
#include <opencv2/stitching/detail/seam_finders.hpp>
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) CV_OVERRIDE |
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 } |
Minimum graph cut-based seam estimator. See details in [116] .
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 | ( | ) |
|
virtual |
Estimates seams.
src | Source images |
corners | Source image top-left corners |
masks | Source image masks to update |
Implements cv::detail::SeamFinder.