| OpenCV 3.4.1 Open Source Computer Vision

Classes | Public Types | Public Member Functions | List of all members
cv::detail::DpSeamFinder Class Reference
Images stitching » Seam Estimation

`#include "seam_finders.hpp"`

Inheritance 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)
Public Member Functions inherited from cv::detail::SeamFinder
virtual | ~SeamFinder ()

## Member Enumeration Documentation

## § CostFunction

enum cv::detail::DpSeamFinder::CostFunction

Enumerator
COLOR |
COLOR_GRAD |

## Constructor & Destructor Documentation

## § DpSeamFinder()

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

## Member Function Documentation

## § costFunction()

CostFunction cv::detail::DpSeamFinder::costFunction | ( |  | ) | const
| inline

## § find()

virtual void cv::detail::DpSeamFinder::find | ( | const std::vector< UMat > & | src,
|  | const std::vector< Point > & | corners,
|  | std::vector< UMat > & | masks
| ) |  |
| virtual

Estimates seams.

Parameters

  src | Source images
  corners | Source image top-left corners
  masks | Source image masks to update

Implements cv::detail::SeamFinder.

## § setCostFunction()

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

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

- stitching/include/opencv2/stitching/detail/seam_finders.hpp