Pixel intensity plot graph in matlab

Answers (1)

Image Analyst
Image Analyst on 7 Mar 2013
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 Comments

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?

Sign in to comment.

Asked:

ali
on 7 Mar 2013

Commented:

on 13 Mar 2017

Community Treasure Hunt

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

Start Hunting!