How to get pattern from bwskel

7 次查看(过去 30 天)
Hi. I have one skeleton image extracted from one binary image with bwskel. I want to have the pattern drawn by this skeleton, but I want it only in straight lines. How can I go from bwskel to that?
Thanks in advance!

采纳的回答

Sai Pallav
Sai Pallav 2023-7-5
Hi Fabio,
The skeletal image (left) is extracted from the binary image as you have mentioned. The reason for the lines not being straight might be in the binary image itself.
Refer the examples from beskel documentation on MATLAB website. This explains the transition from binary image to skeletal image.
  1 个评论
Fabio Silva
Fabio Silva 2023-7-5
Hi Sai Pallav.
The thing is that I extract the binary image from one depth image. That's why the skeleton image is not composed by straight lines.
I am trying another approach since the beggining. Thanks for the answer.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by