MATLAB Answers


Intensity profile of an image

Mohammed Qahosh さんによって質問されました 2019 年 5 月 15 日
最新アクティビティ Mohammed Qahosh さんによって コメントされました 2019 年 5 月 20 日
How can I plot the intinsity profile for a oicture along a specific direction? Here is the picture.

  0 件のコメント

サインイン to comment.



1 件の回答

回答者: Rik
2019 年 5 月 15 日

improfile should work

  7 件のコメント

2019 年 5 月 15 日
No idea what you're doing. It sounds like you need to learn how to use matlab's interface first.
As rik has said, improfile is the tool to use, e.g.
img = imread('p190322an.jpeg'); %load the image
figure; imshow(img); %display image in a new figure
p = improfile; %call the improfile tool that lets you specify the start and end point of the line along which you want to measure the intensity profile
Mohammed Qahosh 2019 年 5 月 20 日
Thank you very much. Actually it was not easy as I expected. Someone halped me :))
Mohammed Qahosh 2019 年 5 月 20 日
Dear Rik, thank you very much for yor help. Actually, there was a code defining the image I worked on using the current computer. But it works now.

サインイン to comment.

Translated by