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 CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by