how to plot intensity graph for an image

조회 수: 10 (최근 30일)
saravanan.R
saravanan.R 2014년 2월 22일
댓글: Vedpal Singh 2014년 12월 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
Vedpal Singh 2014년 12월 30일
Hello,
To sort out this problem, I think improfile command is the best option.
VP Singh

댓글을 달려면 로그인하십시오.

채택된 답변

Dishant Arora
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
saravanan.R
saravanan.R 2014년 2월 23일
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 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 CenterFile Exchange에서 Eye Tracking에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by