OpenCV
3.2.0
Open Source Computer Vision
|
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... | |
Describes the Fast Marching Method implementation.
See http://iwi.eldoc.ub.rug.nl/FILES/root/2004/JGraphToolsTelea/2004JGraphToolsTelea.pdf
cv::videostab::FastMarchingMethod::FastMarchingMethod | ( | ) |
Mat cv::videostab::FastMarchingMethod::distanceMap | ( | ) | const |
Inpaint cv::videostab::FastMarchingMethod::run | ( | const Mat & | mask, |
Inpaint | inpaint | ||
) |
Template method that runs the Fast Marching Method.
mask | Image mask. 0 value indicates that the pixel value must be inpainted, 255 indicates that the pixel value is known, other values aren't acceptable. |
inpaint | Inpainting functor that overloads void operator ()(int x, int y). |