Line height correction procedure
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have an image which contain two lines(call h1 and h2).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196976/image.jpeg)
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196979/image.jpeg)
Output should be like this
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196980/image.jpeg)
Can anyone help me with code ?
Respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!