Pixel intensity plot graph in matlab

回答(1 个)

Image Analyst
Image Analyst 2013-3-7
Use improfile() to get an intensity plot along a line. Then use plot() to plot it in a line plot like your picture shows.

2 个评论

I have tried it but ı havent succeeded.
I want to plot all pixel values for intensity like above. But it gives error.
for example my image is 480*640.
Read your comment from my point of view and imagine if it's possible for me to help you with what information you've provided me. Would YOU be able to help someone who said that, but provided no image, no code, and no error message?

请先登录,再进行评论。

提问:

ali
2013-3-7

Community Treasure Hunt

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

Start Hunting!

Translated by