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 ExchangeConvert 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