How to find width at certain pixel value in an image

1 次查看(过去 30 天)
I need to find the width at these positions in pixels although these can be found manually I need to compute this in matlab without manual intervention. I had written the code using improfile but the user needs to manually select the points and run the code three times to get the value. Kindly help me with this. Thank you in advance.

采纳的回答

Matt J
Matt J 2021-2-10
Use the edge() command. Then, for each desired x-position, take the y-position of the 3rd edge from the top.
  6 个评论
Aishwarya Sanaka
Aishwarya Sanaka 2021-2-15
Appreciate your help, will try this. Thank you for responding.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by