Thinning Algorithm implemetion in matlab

1 visualización (últimos 30 días)
Indrajit
Indrajit el 12 de Oct. de 2012
Respondida: Vidhi Agarwal el 12 de Jun. de 2025
how to i apply thinning algorithm in to change the front structure....

Respuestas (1)

Vidhi Agarwal
Vidhi Agarwal el 12 de Jun. de 2025
I understand you are trying to apply thinning (also called skeletonization) to an image in MATLAB—especially for transforming the front structure of an object (like roads, characters, or shapes) into a thin, one-pixel-wide version. Below are the steps that can help you in getting started:
  • Read and Preprocess the Image: Convert it to grayscale and then to a binary image.
  • Apply Thinning Using "bwmorph": Use the "bwmorph" function with the 'thin' operation.
  • Display the Result
Fror better understanding of "bwmorph" refer to the following documentation: https://www.mathworks.com/help/images/ref/bwmorph.html
Hope this helps!

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by