Customized thinning operation on binary image

Hello, everyone.
I have an input binary image.
I want to perform the customized thinning operation. If I apply MATLAB thinning function then i get the following output.
But my desired output is
Please guide me how to obtain the output image from the input image. Thanks.

Answers (0)

Products

Asked:

on 25 Jan 2018

Community Treasure Hunt

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

Start Hunting!