Public Member Functions | List of all members
voronoi_map::VoronoiPathGenerator Class Reference

#include <voronoi_path_generator.h>

Inheritance diagram for voronoi_map::VoronoiPathGenerator:
Inheritance graph
[legend]

Public Member Functions

void computeDistanceField (const cv::Mat &_map, cv::Mat &_distField)
 computes the distance field of a map More...
 
void computeVoronoiMap (const cv::Mat &_distField, cv::Mat &_voronoiMap)
 computes the voronoi _map More...
 
void prepareMap (const cv::Mat &_map, cv::Mat &_smoothedMap, int _blurSize)
 prepares the map by smoothing it More...
 
 VoronoiPathGenerator ()
 

Detailed Description

Definition at line 13 of file voronoi_path_generator.h.

Constructor & Destructor Documentation

voronoi_map::VoronoiPathGenerator::VoronoiPathGenerator ( )

Definition at line 15 of file voronoi_path_generator.cpp.

Member Function Documentation

void voronoi_map::VoronoiPathGenerator::computeDistanceField ( const cv::Mat &  _map,
cv::Mat &  _distField 
)

computes the distance field of a map

Parameters
_mapthe _map
_distFieldthe resulting distance fieldW

Definition at line 53 of file voronoi_path_generator.cpp.

void voronoi_map::VoronoiPathGenerator::computeVoronoiMap ( const cv::Mat &  _distField,
cv::Mat &  _voronoiMap 
)

computes the voronoi _map

Parameters
_distFieldthe dist Field
_voronoiMapthe resulting voronoi map

Definition at line 58 of file voronoi_path_generator.cpp.

void voronoi_map::VoronoiPathGenerator::prepareMap ( const cv::Mat &  _map,
cv::Mat &  _smoothedMap,
int  _blurSize 
)

prepares the map by smoothing it

Parameters
_mapthe map
_smoothedMapthe smoothed map
_blurSizethe intensity of the smoothing

Definition at line 20 of file voronoi_path_generator.cpp.


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


tuw_voronoi_graph
Author(s): Benjamin Binder
autogenerated on Mon Jun 10 2019 15:42:44