Pixel intensity plot graph in matlab

Risposte (1)

Image Analyst
Image Analyst il 7 Mar 2013

0 voti

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 Commenti

ali
ali il 8 Mar 2013
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?

Accedi per commentare.

Richiesto:

ali
il 7 Mar 2013

Commentato:

il 13 Mar 2017

Community Treasure Hunt

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

Start Hunting!

Translated by