Plot the intensity profile of an image

10 ビュー (過去 30 日間)
surangkana
surangkana 2014 年 1 月 28 日
回答済み: Shivaputra Narke 2014 年 1 月 28 日
Dear all
I have an x-ray image of an object and I would like plot the intensity profile along the line path an image. I can do this on ImageJ and I got point(x,y) where x is the distance(pixel) and y is the intensity value. How can I use Matlab to plot intensity profile and get point(x,y)? If I would like to calculate mean and standard deviation of this profile, how should I do?
Thank you

採用された回答

Shivaputra Narke
Shivaputra Narke 2014 年 1 月 28 日
1. locate the path using edge operator 2. Now you have location for that line path. 3. Let's say your image is TestImg IntValues=TestImg(Pathlocation); 4.Plot(IntValues). You will have inensity along that line path. 5.Use IntValues for further calculation like mean,variance,std dev.

その他の回答 (1 件)

Alex Taylor
Alex Taylor 2014 年 1 月 28 日
If you have the Image Processing Toolbox:

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by