How can we find the width in an image at any three positions.

조회 수: 1 (최근 30일)
Aishwarya Sanaka
Aishwarya Sanaka 2021년 2월 3일
댓글: Aishwarya Sanaka 2021년 2월 4일
I am unable to find the width between the black boundary. How can I find the width at any position between the boundary. Kindly guide.

답변 (1개)

weikang zhao
weikang zhao 2021년 2월 4일
If you only have one figure to process, use edge() to detect the edge of the figure, then manually find the edge and use linear regression. If you have many figures to process, a line detection algorithm(such as hough transform) may be helpful.
  댓글 수: 1
Aishwarya Sanaka
Aishwarya Sanaka 2021년 2월 4일
Thank You for the suggestion, I have a folder of images to process hence will use the line detection algorithm.

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

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by