I have a form table that contains characters. how to extract these characters?

댓글 수: 4

Image Analyst
Image Analyst 2014년 11월 27일
You forgot to attach your table or image, so there's nothing we can suggest (yet).
lamghari
lamghari 2014년 11월 28일
sorry attached image
Thorsten
Thorsten 2014년 11월 28일
편집: Thorsten 2014년 11월 28일
What do you mean by "extract these characters"? Select the images of the characters or do an OCR (optical character recognition) or something else?
lamghari
lamghari 2014년 11월 28일
select the images of the characters

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

 채택된 답변

Image Analyst
Image Analyst 2014년 11월 28일

0 개 추천

First I'd sum the image vertically and horizontally and look for the rows and columns where the grid lines are. Then call imcrop.
[rows, columns, numberOfColorChannels) = size(grayImage);
horizontalProfile = sum(grayImage, 1);
verticalProfile = sum(grayImage, 2);
binaryHoriz = horizontalProfile < someNumber;
and so on. Give it a try.

댓글 수: 3

lamghari
lamghari 2014년 11월 28일
How to calculate someNumber?
Image Analyst
Image Analyst 2014년 11월 29일
Plot the profiles and you'll be able to tell what the number is. It might be like half the max value or something.
lamghari
lamghari 2014년 11월 29일
ok thank you very much

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

질문:

2014년 11월 27일

댓글:

2014년 11월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by