How to find width at certain pixel value in an image

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

Akzeptierte Antwort

Matt J
Matt J am 10 Feb. 2021
Use the edge() command. Then, for each desired x-position, take the y-position of the 3rd edge from the top.
  6 Kommentare
Image Analyst
Image Analyst am 15 Feb. 2021
save('edge_Image.mat', 'edge_Image');
Aishwarya Sanaka
Aishwarya Sanaka am 15 Feb. 2021
Appreciate your help, will try this. Thank you for responding.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by