#include <InpaintFilter.hpp>
Public Member Functions | |
virtual bool | configure () |
InpaintFilter () | |
virtual bool | update (const T &mapIn, T &mapOut) |
virtual | ~InpaintFilter () |
Private Attributes | |
std::string | inputLayer_ |
Input layer name. | |
std::string | outputLayer_ |
Output layer name. | |
double | radius_ |
Inpainting radius. |
Uses OpenCV function to inpaint/fill holes in the input layer.
Definition at line 26 of file InpaintFilter.hpp.
grid_map::InpaintFilter< T >::InpaintFilter | ( | ) |
Constructor
Definition at line 21 of file InpaintFilter.cpp.
grid_map::InpaintFilter< T >::~InpaintFilter | ( | ) | [virtual] |
Destructor.
Definition at line 27 of file InpaintFilter.cpp.
bool grid_map::InpaintFilter< T >::configure | ( | ) | [virtual] |
Configures the filter from parameters on the Parameter Server
Definition at line 32 of file InpaintFilter.cpp.
bool grid_map::InpaintFilter< T >::update | ( | const T & | mapIn, |
T & | mapOut | ||
) | [virtual] |
Adds a new output layer to the map. Uses the OpenCV function inpaint holes in the input layer. Saves to filled map in the outputlayer.
mapIn | grid map containing input layer |
mapOut | grid map containing mapIn and inpainted input layer. |
Definition at line 63 of file InpaintFilter.cpp.
std::string grid_map::InpaintFilter< T >::inputLayer_ [private] |
Input layer name.
Definition at line 59 of file InpaintFilter.hpp.
std::string grid_map::InpaintFilter< T >::outputLayer_ [private] |
Output layer name.
Definition at line 62 of file InpaintFilter.hpp.
double grid_map::InpaintFilter< T >::radius_ [private] |
Inpainting radius.
Definition at line 56 of file InpaintFilter.hpp.