Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: RZ_A2M_Mbed_samples
FastMarchingMethod Class Reference
[Fast Marching Method]
Describes the Fast Marching Method implementation. More...
#include <fast_marching.hpp>
Public Member Functions | |
template<typename Inpaint > | |
Inpaint | run (const Mat &mask, Inpaint inpaint) |
Template method that runs the Fast Marching Method. | |
Mat | distanceMap () const |
Detailed Description
Describes the Fast Marching Method implementation.
See http://iwi.eldoc.ub.rug.nl/FILES/root/2004/JGraphToolsTelea/2004JGraphToolsTelea.pdf
Definition at line 63 of file fast_marching.hpp.
Member Function Documentation
Mat distanceMap | ( | ) | const |
- Returns:
- Distance map that's created during working of the method.
Definition at line 81 of file fast_marching.hpp.
Inpaint 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.
Definition at line 54 of file fast_marching_inl.hpp.
Generated on Tue Jul 12 2022 18:20:24 by
