making the line thin as equivalent to 1cm wide/pixel

I am providing few images like sample images/input images and desired output images respectively
sample images
desired output image which i want
all desired output images have width 1cm PIXEL

Answers (1)

Try bwmorph(bw, 'skel', inf) to skeletonize blobs.

2 Comments

i have tried this bwmorph(bw, 'skel', inf)
this type of image m getting
can i do threshold and then thin the line?? if yes how can it be done

Sign in to comment.

Categories

Find more on Images in Help Center and File Exchange

Asked:

on 23 Nov 2017

Commented:

on 27 Nov 2017

Community Treasure Hunt

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

Start Hunting!