how to plot intensity graph for an image
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
Vedpal Singh
2014-12-30
Hello,
To sort out this problem, I think improfile command is the best option.
VP Singh
采纳的回答
Dishant Arora
2014-2-22
编辑:Dishant Arora
2014-2-22
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 个评论
Dishant Arora
2014-2-23
编辑:Dishant Arora
2014-2-23
If the eye is closed distance between the two deep valleys would increase. As eyelashes would go down.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Eye Tracking 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
