How can I mount line on image so that computer can track it?

1 visualización (últimos 30 días)
angle measurment
I tracked this tutorial and faced problem.
In my case, image I want to analyze has unstable horizontal boundary.
That makes computer hard to track horizontal boundary and data gone inexact.
So I drew line on image and let the computer track boundary but computer couldnt.
How can I make straight line that computer can track?
  4 comentarios
Walter Roberson
Walter Roberson el 31 de En. de 2017
Using line() draws on the screen; it does not change what is stored in the variable img .
If you have the Computer Vision toolbox you can use https://www.mathworks.com/help/vision/ref/vision.shapeinserter-class.html
hyong suk choo
hyong suk choo el 31 de En. de 2017
Thank you! I will try it!

Iniciar sesión para comentar.

Respuesta aceptada

Tohru Kikawada
Tohru Kikawada el 27 de En. de 2017
Try to detect lines with houghlines as follows:
It could be applied for imbalanced boundary images.

Más respuestas (0)

Categorías

Más información sobre Computer Vision with Simulink en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by