Public Member Functions | List of all members
tuw_graph::VoronoiGraphGenerator Class Reference

#include <voronoi_graph_generator.h>

Inheritance diagram for tuw_graph::VoronoiGraphGenerator:
Inheritance graph
[legend]

Public Member Functions

std::vector< SegmentcalcSegments (cv::Mat &_map, cv::Mat &_distField, cv::Mat &_voronoiPath, float *potential, float _path_length, float _optimizeCrossingPixels, float _optimizeEndSegmentsPixel)
 calculates the search graph More...
 
 VoronoiGraphGenerator ()
 

Detailed Description

Definition at line 38 of file voronoi_graph_generator.h.

Constructor & Destructor Documentation

tuw_graph::VoronoiGraphGenerator::VoronoiGraphGenerator ( )

Definition at line 34 of file voronoi_graph_generator.cpp.

Member Function Documentation

std::vector< Segment > tuw_graph::VoronoiGraphGenerator::calcSegments ( cv::Mat &  _map,
cv::Mat &  _distField,
cv::Mat &  _voronoiPath,
float *  potential,
float  _path_length,
float  _optimizeCrossingPixels,
float  _optimizeEndSegmentsPixel 
)

calculates the search graph

Parameters
_mapthe map
_distFieldthe distance_field generated from the map (e.g.: opencv distance_transform)
_voronoiPaththe generated voronoi path out of the distance field (e.g.: ridge following; zhang suen thinning...)
potentialthe potential used for expanding (debuggin purpose)
_path_lengththe minimum path length a segment has to have
_optimizePixelsCrossingif crossings have less distance than _optimizePixelsCrossing to each other they are merged
_optimizePixelsEndSegmentsif a end segment has less length than this var it is removed

Definition at line 39 of file voronoi_graph_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