필터 지우기
필터 지우기

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일
편집: 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 CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by