Loading...
Searching...
No Matches
cv::detail::DpSeamFinder Class Reference
#include <opencv2/stitching/detail/seam_finders.hpp>
Inheritance diagram for cv::detail::DpSeamFinder:
Public Types | |
enum | CostFunction { COLOR , COLOR_GRAD } |
Public Types inherited from cv::detail::SeamFinder | |
enum | { NO , VORONOI_SEAM , DP_SEAM } |
Public Member Functions | |
DpSeamFinder (CostFunction costFunc=COLOR) | |
DpSeamFinder (String costFunc) | |
CostFunction | costFunction () const |
virtual void | find (const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks) CV_OVERRIDE |
Estimates seams. | |
void | setCostFunction (CostFunction val) |
void | setCostFunction (String val) |
Public Member Functions inherited from cv::detail::SeamFinder | |
virtual | ~SeamFinder () |
virtual void | find (const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks)=0 |
Estimates seams. | |
Additional Inherited Members | |
Static Public Member Functions inherited from cv::detail::SeamFinder | |
static Ptr< SeamFinder > | createDefault (int type) |
Member Enumeration Documentation
◆ CostFunction
Constructor & Destructor Documentation
◆ DpSeamFinder() [1/2]
cv::detail::DpSeamFinder::DpSeamFinder | ( | CostFunction | costFunc = COLOR | ) |
◆ DpSeamFinder() [2/2]
cv::detail::DpSeamFinder::DpSeamFinder | ( | String | costFunc | ) |
Member Function Documentation
◆ costFunction()
|
inline |
◆ find()
|
virtual |
Estimates seams.
- Parameters
-
src Source images corners Source image top-left corners masks Source image masks to update
Implements cv::detail::SeamFinder.
◆ setCostFunction() [1/2]
|
inline |
◆ setCostFunction() [2/2]
void cv::detail::DpSeamFinder::setCostFunction | ( | String | val | ) |
The documentation for this class was generated from the following file:
- opencv2/stitching/detail/seam_finders.hpp