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< Index > | q |
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
i | the row of the pixel |
j | the column of the pixel |
src | the source image containing the distance field (Mat float) |
dst | the 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.
src | the source image containing the distance field (Mat float) |
dst | the 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)
src | The source image, binary with range = [0,255] |
dst | The 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)
im | Binary image with range = [0,1] |
iter | 0=even, 1=odd |
Definition at line 7 of file thinning.cpp.
std::queue<Index> voronoi_map::q |
Definition at line 106 of file thinning.cpp.