bwskel documentation confusing about connectivity
3 views (last 30 days)
Show older comments
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1012135/image.png)
Then it is compared with bwmorph and explained that results may be differents since bwskel works with 4-connectivity
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1012140/image.png)
But I have applied bwskel to a 4-connectivity image and the resulting image has been converted to 8-connectivity:
Original image:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1012145/image.png)
After bwskel
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1012150/image.png)
Is there a way to perform a skeletonization preserving the original 4-connectivity?
Thanks
0 Comments
Answers (0)
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!