box counting to boundary

5 Ansichten (letzte 30 Tage)
Damodara
Damodara am 10 Feb. 2011
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..!

Antworten (3)

Brett Shoelson
Brett Shoelson am 10 Feb. 2011
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 Kommentar
Damodara
Damodara am 11 Feb. 2011
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 .

Melden Sie sich an, um zu kommentieren.


Damodara
Damodara am 16 Feb. 2011
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 am 8 Mär. 2011
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 Kommentare
CHE
CHE am 8 Mär. 2011
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 am 8 Mär. 2011
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).

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by