detect circle and dfferentiate location for each answer
조회 수: 1 (최근 30일)
이전 댓글 표시
i want to detect location of answer and separate image for each answer. http://i1108.photobucket.com/albums/h404/abdulhadi3/College-Admin-Survey.png
댓글 수: 0
답변 (2개)
Ingo
2012년 1월 3일
Since there's no answer so far, I'll give it a try.
Assuming you at least approximately know the coordinates of the circles (which you do, if the scan is good), I would just count non-white pixels or calculate some sort of color average within a certain area around them. The one with the most non-white pixels or with the "highest blackness" should be the chosen answer then.
With "non-white" pixels I mean, that the difference of the pixel to white is bigger than a certain treshold (because in the scan, the pixels are not perfectly white).
You could also segment the picture into black and white first, that would make the recognition easier/better, I guess.
Then again, this is just an idea.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!