フィルターのクリア

How to use profile for image detection in documents

2 ビュー (過去 30 日間)
Fateme Jalali
Fateme Jalali 2016 年 1 月 20 日
コメント済み: Fateme Jalali 2016 年 1 月 21 日
Hello,I am writing Matlab code to detect images in a document (like a scanned magazine). First I divided my whole document into blocks. Now I don't know how to use morphology or profile to detect images(not histogram or text). My code and data base document are attached. Thanks.
  1 件のコメント
Image Analyst
Image Analyst 2016 年 1 月 20 日
Is the middle graph considered an image or not?

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2016 年 1 月 20 日
編集済み: Image Analyst 2016 年 1 月 20 日
Try thresholding for white. Then use bwareafilt() or bwareaopen() to throw out blobs smaller than a certain size. Or you can throw out non-rectangular shapes.
All that stuff in your code about dividing an image up into blocks, you can throw out. It's not appropriate.

カテゴリ

Help Center および File ExchangeComputer Vision with Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by