how to find the width and height of text block

plz help me to find the width and height of a text block. m doing project on text detection using canny edge detector. as a post processing step, i need to perform false positive elimination,to remove unwanted image parts.

댓글 수: 2

Do you mean individual letters by text block??
Akshatha
Akshatha 2014년 3월 1일
no its on word pls help me
  • Item one
  • Item two

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

답변 (1개)

Dishant Arora
Dishant Arora 2014년 2월 28일

0 개 추천

Call in regionprops and checkout for boundingbox.
Stats = regionprops(BW , 'BoundingBox');
[width , height] = Stats(ii).BoundingBox(3:4); % ii being index of your blob.

카테고리

도움말 센터 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기

질문:

2014년 2월 28일

댓글:

2014년 3월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by