How to find width at certain pixel value in an image

2 ビュー (過去 30 日間)
Aishwarya Sanaka
Aishwarya Sanaka 2021 年 2 月 9 日
コメント済み: Aishwarya Sanaka 2021 年 2 月 15 日
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 件のコメント
Image Analyst
Image Analyst 2021 年 2 月 15 日
save('edge_Image.mat', 'edge_Image');
Aishwarya Sanaka
Aishwarya Sanaka 2021 年 2 月 15 日
Appreciate your help, will try this. Thank you for responding.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by