How to get pattern from bwskel

7 visualizzazioni (ultimi 30 giorni)
Fabio Silva
Fabio Silva il 4 Lug 2023
Commentato: Fabio Silva il 5 Lug 2023
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!

Risposta accettata

Sai Pallav
Sai Pallav il 5 Lug 2023
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 Commento
Fabio Silva
Fabio Silva il 5 Lug 2023
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.

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by