Public Member Functions | Private Attributes | List of all members
grid_map::InpaintFilter< T > Class Template Reference

#include <InpaintFilter.hpp>

Inheritance diagram for grid_map::InpaintFilter< T >:
Inheritance graph
[legend]

Public Member Functions

virtual bool configure ()
 
 InpaintFilter ()
 
virtual bool update (const T &mapIn, T &mapOut)
 
virtual ~InpaintFilter ()
 
- Public Member Functions inherited from filters::FilterBase< T >
bool configure (const std::string &param_name, ros::NodeHandle node_handle=ros::NodeHandle())
 
bool configure (XmlRpc::XmlRpcValue &config)
 
 FilterBase ()
 
const std::string & getName ()
 
std::string getType ()
 
virtual ~FilterBase ()
 

Private Attributes

std::string inputLayer_
 Input layer name. More...
 
std::string outputLayer_
 Output layer name. More...
 
double radius_
 Inpainting radius. More...
 

Additional Inherited Members

- Protected Member Functions inherited from filters::FilterBase< T >
bool getParam (const std::string &name, std::string &value)
 
bool getParam (const std::string &name, XmlRpc::XmlRpcValue &value)
 
bool getParam (const std::string &name, double &value)
 
bool getParam (const std::string &name, std::vector< double > &value)
 
bool getParam (const std::string &name, unsigned int &value)
 
bool getParam (const std::string &name, int &value)
 
bool getParam (const std::string &name, std::vector< std::string > &value)
 
bool getParam (const std::string &name, bool &value)
 
bool loadConfiguration (XmlRpc::XmlRpcValue &config)
 
- Protected Attributes inherited from filters::FilterBase< T >
bool configured_
 
std::string filter_name_
 
std::string filter_type_
 
string_map_t params_
 

Detailed Description

template<typename T>
class grid_map::InpaintFilter< T >

Uses OpenCV function to inpaint/fill holes in the input layer.

Definition at line 26 of file InpaintFilter.hpp.

Constructor & Destructor Documentation

template<typename T >
grid_map::InpaintFilter< T >::InpaintFilter ( )

Constructor

Definition at line 21 of file InpaintFilter.cpp.

template<typename T >
grid_map::InpaintFilter< T >::~InpaintFilter ( )
virtual

Destructor.

Definition at line 27 of file InpaintFilter.cpp.

Member Function Documentation

template<typename T >
bool grid_map::InpaintFilter< T >::configure ( )
virtual

Configures the filter from parameters on the Parameter Server

Implements filters::FilterBase< T >.

Definition at line 32 of file InpaintFilter.cpp.

template<typename T >
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.

Parameters
mapIngrid map containing input layer
mapOutgrid map containing mapIn and inpainted input layer.

Implements filters::FilterBase< T >.

Definition at line 63 of file InpaintFilter.cpp.

Member Data Documentation

template<typename T >
std::string grid_map::InpaintFilter< T >::inputLayer_
private

Input layer name.

Definition at line 59 of file InpaintFilter.hpp.

template<typename T >
std::string grid_map::InpaintFilter< T >::outputLayer_
private

Output layer name.

Definition at line 62 of file InpaintFilter.hpp.

template<typename T >
double grid_map::InpaintFilter< T >::radius_
private

Inpainting radius.

Definition at line 56 of file InpaintFilter.hpp.


The documentation for this class was generated from the following files:


grid_map_cv
Author(s): Péter Fankhauser
autogenerated on Tue Jun 25 2019 20:02:13