Renesas / opencv-lib

Dependents:   RZ_A2M_Mbed_samples

Embed: (wiki syntax)

« Back to documentation index

FastMarchingMethod Class Reference

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:
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.

Definition at line 54 of file fast_marching_inl.hpp.