how to plot intensity graph for an image

10 Ansichten (letzte 30 Tage)
saravanan.R
saravanan.R am 22 Feb. 2014
Kommentiert: Vedpal Singh am 30 Dez. 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 Kommentar
Vedpal Singh
Vedpal Singh am 30 Dez. 2014
Hello,
To sort out this problem, I think improfile command is the best option.
VP Singh

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Dishant Arora
Dishant Arora am 22 Feb. 2014
Bearbeitet: Dishant Arora am 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 Kommentare
saravanan.R
saravanan.R am 23 Feb. 2014
i got this graph for a above eye image. can i find out the state of the eye whether it is closed or not using this intensity graph. if not means can u tel me any other method to do so. eye state detection is important section in my project. can u help me
Dishant Arora
Dishant Arora am 23 Feb. 2014
Bearbeitet: Dishant Arora am 23 Feb. 2014
If the eye is closed distance between the two deep valleys would increase. As eyelashes would go down.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Eye Tracking finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by