drawing bounding box for images

1 回表示 (過去 30 日間)
nkumar
nkumar 2013 年 2 月 23 日
I have a code below,in this i want to draw bounding box for each image,plz tell how to get coordinates and draw bounding box
siz = 64;
bs = siz;
Original = myimage; G = myimage ;
nob = (r/bs)*(c/bs);
in =0;
kk=0;
for i=1:(r/bs)
for j=1:(c/bs)
myima8(:,:,kk+j)=G((bs*(i-1)+1:bs*(i-1)+bs),(bs*(j-1)+1:bs*(j-1)+bs));
figure,imshow(myima8(:,:,kk+j))%%%have to draw bounding box
end
kk=kk+(r/bs);
end
figure;imshow(G);

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by