https://123dok.com/document/yj8535kq-skeleton-image-segmentation-based-video-using-thinning-algorithm.html