how to plot intensity graph for an image
3 views (last 30 days)
Show older comments
saravanan.R
on 22 Feb 2014
Commented: Vedpal Singh
on 30 Dec 2014
hi, i want to plot a intensity graph of an image like this
for an image
to find out the either closed or opened state of eye. i need this for my project. thank you
1 Comment
Vedpal Singh
on 30 Dec 2014
Hello,
To sort out this problem, I think improfile command is the best option.
VP Singh
Accepted Answer
Dishant Arora
on 22 Feb 2014
Edited: Dishant Arora
on 22 Feb 2014
Convert it to grayscale and take mean along the rows using mean(I,2)
I = rgb2gray('fullfilename')
plot(1:size(I,1) , mean(I,2));
5 Comments
Dishant Arora
on 23 Feb 2014
Edited: Dishant Arora
on 23 Feb 2014
If the eye is closed distance between the two deep valleys would increase. As eyelashes would go down.
More Answers (0)
See Also
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!