Skip to content

AlvarHHM/numpy-zhang-suen-skeletonization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

numpy-zhang-suen-skeletonization

Implementation of zhang-suen using numpy

Huge speedup compare to pixel looping implementation in pure python

import zhang_suen
binary_img = io.imread('test_thin.bmp')
from skimage.filters import threshold_otsu
Otsu_Threshold = threshold_otsu(binary_img)   
binary_img = binary_img < 240
plt.imshow(binary_img)
plt.figure()
skeleton = zhang_suen.skeletonize(binary_img) 
plt.imshow(skeleton)

[IMAGE ALT TEXT HERE]

About

Implementation of zhang-suen using numpy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages