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

1 Ansicht (letzte 30 Tage)
Aishwarya Sanaka
Aishwarya Sanaka am 3 Feb. 2021
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.

Antworten (1)

weikang zhao
weikang zhao am 4 Feb. 2021
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 Kommentar
Aishwarya Sanaka
Aishwarya Sanaka am 4 Feb. 2021
Thank You for the suggestion, I have a folder of images to process hence will use the line detection algorithm.

Melden Sie sich an, um zu kommentieren.





Community Treasure Hunt

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

Start Hunting!

Translated by