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