finding smalest rectangle encloses at least 16X32 black pixels

1 回表示 (過去 30 日間)
javeed miyandad
javeed miyandad 2011 年 3 月 31 日
sir i have edge image of size 1024X768 ,i need to find the smallest rectangle centered on (i,j) which encloses at least 16X32 black pixels,with window size of 32X64.
that is by counting the number of black pixels in 16X32 points which regards (i j) in edge image as the center and window size is 32X64.
please help in coding sir

採用された回答

Sean de Wolski
Sean de Wolski 2011 年 3 月 31 日
doc bwdist
look at some of the distance metric options.
  1 件のコメント
javeed miyandad
javeed miyandad 2011 年 3 月 31 日
sir i need to do using loops sir please help me in coading

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRead, Write, and Modify Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by