OpenCV  3.2.0-dev
Open Source Computer Vision
cv::videostab::FastMarchingMethod Class Reference

Describes the Fast Marching Method implementation. More...

#include "fast_marching.hpp"

Public Member Functions

 FastMarchingMethod ()
 
Mat distanceMap () const
 
template<typename Inpaint >
Inpaint run (const Mat &mask, Inpaint inpaint)
 Template method that runs the Fast Marching Method. More...
 

Detailed Description

Describes the Fast Marching Method implementation.

See http://iwi.eldoc.ub.rug.nl/FILES/root/2004/JGraphToolsTelea/2004JGraphToolsTelea.pdf

Constructor & Destructor Documentation

cv::videostab::FastMarchingMethod::FastMarchingMethod ( )
inline

References cv::inpaint().

Here is the call graph for this function:

Member Function Documentation

Mat cv::videostab::FastMarchingMethod::distanceMap ( ) const
inline
Returns
Distance map that's created during working of the method.

References cv::operator<(), and cv::solve().

Here is the call graph for this function:

template<typename Inpaint >
Inpaint cv::videostab::FastMarchingMethod::run ( const Mat mask,
Inpaint  inpaint 
)

Template method that runs the Fast Marching Method.

Parameters
maskImage mask. 0 value indicates that the pixel value must be inpainted, 255 indicates that the pixel value is known, other values aren't acceptable.
inpaintInpainting functor that overloads void operator ()(int x, int y).
Returns
Inpainting functor.

References cv::Mat::copyTo(), CV_8U, CV_Assert, cv::inpaint(), cv::min(), cv::Mat::size, cv::solve(), and cv::Mat::type().

Here is the call graph for this function:


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