Describes the Fast Marching Method implementation.
More...
#include <opencv2/videostab/fast_marching.hpp>
◆ FastMarchingMethod()
cv::videostab::FastMarchingMethod::FastMarchingMethod |
( |
| ) |
|
|
inline |
◆ distanceMap()
Mat cv::videostab::FastMarchingMethod::distanceMap |
( |
| ) |
const |
|
inline |
- Returns
- Distance map that's created during working of the method.
◆ run()
template<typename Inpaint >
Inpaint cv::videostab::FastMarchingMethod::run |
( |
const Mat & |
mask, |
|
|
Inpaint |
inpaint |
|
) |
| |
Template method that runs the Fast Marching Method.
- Parameters
-
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). |
- Returns
- Inpainting functor.
The documentation for this class was generated from the following files: