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 CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by