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

조회 수: 1 (최근 30일)
hyong suk choo
hyong suk choo 2017년 1월 25일
댓글: hyong suk choo 2017년 1월 31일
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
Walter Roberson
Walter Roberson 2017년 1월 31일
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 2017년 1월 31일
Thank you! I will try it!

댓글을 달려면 로그인하십시오.

채택된 답변

Tohru Kikawada
Tohru Kikawada 2017년 1월 27일
Try to detect lines with houghlines as follows:
It could be applied for imbalanced boundary images.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by