Line height correction procedure

2 ビュー (過去 30 日間)
Alina tom
Alina tom 2018 年 10 月 4 日
コメント済み: Alina tom 2018 年 10 月 4 日
I have an image which contain two lines(call h1 and h2).
I want to make a new line based on the following algo.
(1)Find same indices between h1 and h2, call it start point Ps.
(2) Next index of Ps in h1 is p1 and h2 is p2.
(3) find distance D1 between Ps and P1,
(4) Find Distance D2 between Ps and P2,
(5) Find Distance D3 between P1 and P2,
(6) Figure
Output should be like this
Can anyone help me with code ?
  1 件のコメント
Alina tom
Alina tom 2018 年 10 月 4 日
these are the separated lines images

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by