Issue Description:
The recent update to scikit-image (version 0.23.1) has introduced a change in the skeletonize_3d method. This method now returns a skeleton with boolean values, which causes incorrect functionality in the get_parsing method.
Current code:
skeleton = skeletonize_3d(mask)
Updated Code:
To ensure compatibility with the new version, you should convert the boolean output to np.uint8:
skeleton = skeletonize_3d(mask).astype(np.uint8)
Please be aware that the skeletonize_3d method will be renamed to skeletonize in future releases of scikit-image.
Issue Description:
The recent update to scikit-image (version 0.23.1) has introduced a change in the skeletonize_3d method. This method now returns a skeleton with boolean values, which causes incorrect functionality in the get_parsing method.
Current code:
skeleton = skeletonize_3d(mask)
Updated Code:
To ensure compatibility with the new version, you should convert the boolean output to np.uint8:
skeleton = skeletonize_3d(mask).astype(np.uint8)
Please be aware that the skeletonize_3d method will be renamed to skeletonize in future releases of scikit-image.