Skeletonization and segmentation of binary voxel shapes door