A 3D 6-subiteration thinning algorithm for extracting medial lines of Kalman Palagyi and Attila Kuba implementation
img (ndarray, 3D) –
skeleton – The thinned image.
ndarray