#include <voronoi_path_generator.h>
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 () | |
Definition at line 13 of file voronoi_path_generator.h.
voronoi_map::VoronoiPathGenerator::VoronoiPathGenerator | ( | ) |
Definition at line 15 of file voronoi_path_generator.cpp.
void voronoi_map::VoronoiPathGenerator::computeDistanceField | ( | const cv::Mat & | _map, |
cv::Mat & | _distField | ||
) |
computes the distance field of a map
_map | the _map |
_distField | the 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
_distField | the dist Field |
_voronoiMap | the 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
_map | the map |
_smoothedMap | the smoothed map |
_blurSize | the intensity of the smoothing |
Definition at line 20 of file voronoi_path_generator.cpp.