detect location answer in survey form

1 view (last 30 days)
how to differentiate between location of answer.it means the location of answer is detected according to the number of questions.there is the sample.http://i1108.photobucket.com/albums/h404/abdulhadi3/ConferenceSurveyForm.png
somebody help, i am new in this field

Accepted Answer

Image Analyst
Image Analyst on 4 Mar 2012
Just set up a template - a list of rectangular regions where you will look. Each region will have a top row, bottom row, left column and right column. Then get the mean of the image there:
subImage = grayImage(topRow:bottomRow, leftCol:rightCol);
meanValue = mean(subImage(:));
If the mean is lower than some value, it's dark, if not, it's bright. That should be plenty of information to complete the project.
  1 Comment
Abdul
Abdul on 8 Mar 2012
sorry, i have try but cannot run.can u give an example.

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown 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!