bwskel documentation confusing about connectivity

1 view (last 30 days)
The documentation about bwskel (https://nl.mathworks.com/help/images/ref/bwskel.html) is confusing IMO.
First it is stated that bwskel works with 8-connectivity
Then it is compared with bwmorph and explained that results may be differents since bwskel works with 4-connectivity
But I have applied bwskel to a 4-connectivity image and the resulting image has been converted to 8-connectivity:
Original image:
After bwskel
Is there a way to perform a skeletonization preserving the original 4-connectivity?
Thanks

Answers (0)

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!