Track intersected binary lines

Dears,
I would like to kindly ask you for help with tracking lines in binary image. I have two intersected lines in the binary image (see below), and I need to track individual lines. My idea is perform the image labeling, but I do not know how to do it when lines are not isolated. I will appreciate any help.test_5.bmp

3 Comments

What about bwmoroph? 'skel' -> 'endpoints' -> 'branchpoints'
Thank you very much for the reaction. Can you please provide code for that, I am little bit confused how to do it. Many thanks.
I want you do this

Answers (0)

This question is closed.

Asked:

on 3 Jun 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!