detect location answer in survey form

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

 Akzeptierte Antwort

Image Analyst
Image Analyst am 4 Mär. 2012

0 Stimmen

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 Kommentar

Abdul
Abdul am 8 Mär. 2012
sorry, i have try but cannot run.can u give an example.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing and Computer Vision finden Sie in Hilfe-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