Classes | Functions | Variables
voronoi_map Namespace Reference

Classes

class  Index
 
class  VoronoiPathGenerator
 

Functions

Index getMaximumNeighbour (int i, int j, const cv::Mat &src, cv::Mat &dst)
 function for finding the maximum Neighbour ignoring the last detected pixels More...
 
void greyscale_thinning (const cv::Mat &src, cv::Mat &dst)
 Function for finding the ridge of a distance graph. More...
 
void sceletonize (const cv::Mat &src, cv::Mat &dst)
 Function for thinning the given binary image (Paper Zhang-Suen Thinning) More...
 
void sceletonize_iteration (cv::Mat &img, int iter)
 Perform one thinning iteration.(Normally you wouldn't call this function directly from your code) More...
 

Variables

std::queue< Indexq
 

Function Documentation

Index voronoi_map::getMaximumNeighbour ( int  i,
int  j,
const cv::Mat &  src,
cv::Mat &  dst 
)

function for finding the maximum Neighbour ignoring the last detected pixels

Parameters
ithe row of the pixel
jthe column of the pixel
srcthe source image containing the distance field (Mat float)
dstthe destination image containing 0 for non voronoi graph pixels (else voronoigraph) (Mat uint8_t)

Definition at line 463 of file thinning.cpp.

void voronoi_map::greyscale_thinning ( const cv::Mat &  src,
cv::Mat &  dst 
)

Function for finding the ridge of a distance graph.

Parameters
srcthe source image containing the distance field (Mat float)
dstthe destination image containing 0 for non voronoi graph pixels (else voronoigraph) (Mat uint8_t)

Definition at line 109 of file thinning.cpp.

void voronoi_map::sceletonize ( const cv::Mat &  src,
cv::Mat &  dst 
)

Function for thinning the given binary image (Paper Zhang-Suen Thinning)

Parameters
srcThe source image, binary with range = [0,255]
dstThe destination image

Definition at line 85 of file thinning.cpp.

void voronoi_map::sceletonize_iteration ( cv::Mat &  img,
int  iter 
)

Perform one thinning iteration.(Normally you wouldn't call this function directly from your code)

Parameters
imBinary image with range = [0,1]
iter0=even, 1=odd

Definition at line 7 of file thinning.cpp.

Variable Documentation

std::queue<Index> voronoi_map::q

Definition at line 106 of file thinning.cpp.



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