box counting to boundary

1 次查看(过去 30 天)
Damodara
Damodara 2011-2-10
hi, i have a problem. i wanted to use box counting method to boundary. Boundary is done from bwboundaries function . how can i get or use box counting to boundary ..? plz help me in this regard
waiting for ur reply..!

回答(3 个)

Brett Shoelson
Brett Shoelson 2011-2-10
Damodara,
There are no MathWorks-supported functions (Toolbox or otherwise) that I'm aware of for box counting. There are, however, several on the MATLAB Central File Exchange (including one called "BoxCount") that might be useful to you.
Cheers,
Brett
  1 个评论
Damodara
Damodara 2011-2-11
your right ..! i used boundary to image conversion after that i used your method ..! nice working ..! but you need more time to compute if you change the numblocks to 256 or more .

请先登录,再进行评论。


Damodara
Damodara 2011-2-16
i saw the code that is Ib = zeros(size(grayImage)); BP = B{1}; L = sub2ind(size(Ib), BP(:,1), BP1(:,2)); grayImage= zeros(size(I)); Ib(L) = 1;
but this is for only one object ie B(1) if i have two or more objects boundary then how do i get all those boundaries in a single image...???
waiting for your reply

CHE
CHE 2011-3-8
can i used this method on video?because i want to create the boundingbox on the people that i want to track.can i?
  3 个评论
CHE
CHE 2011-3-8
the function really working on image but not on the video.should i must consider the frames of the video sir?
Brett Shoelson
Brett Shoelson 2011-3-8
This is really a different question, CHE, than the one asked by the OP--better posed on a distinct page. What tools are you using? The Video and Image Processing Blockset has a BoundingBox port on the Blob Analysis block. There's an in-product demo (VIPTRACKPEOPLE) that shows how to use Simulink to track people using bounding boxes. With MATLAB, you'd do that using REGIONPROPS. In both cases, you'd calculate bounding boxes frame-by-frame (though the approaches differ in each case).

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by