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

#include "seam_finders.hpp"

Inheritance diagram for cv::detail::DpSeamFinder:
Collaboration diagram for cv::detail::DpSeamFinder:

Public Types

enum  CostFunction {
  COLOR,
  COLOR_GRAD
}
 

Public Member Functions

 DpSeamFinder (CostFunction costFunc=COLOR)
 
CostFunction costFunction () const
 
virtual void find (const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks)
 Estimates seams. More...
 
void setCostFunction (CostFunction val)
 

Member Enumeration Documentation

Enumerator
COLOR 
COLOR_GRAD 

Constructor & Destructor Documentation

cv::detail::DpSeamFinder::DpSeamFinder ( CostFunction  costFunc = COLOR)

Member Function Documentation

CostFunction cv::detail::DpSeamFinder::costFunction ( ) const
inline
virtual void cv::detail::DpSeamFinder::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.

void cv::detail::DpSeamFinder::setCostFunction ( CostFunction  val)
inline

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