use bwconncomp for large sparse matrices

3 ビュー (過去 30 日間)
B
B 2013 年 3 月 14 日
回答済み: Nut 2016 年 6 月 30 日
I have 3d image (a stack of 1600 images), I had to save the info in two 1800*1800*800 matrices (because of memory), both matrices are sparse matrices (density~0.02) _ is there anyway to use bwconncomp in 3d for the 3d image (combination of matrices)? if not whats the best way to identify the objects and characterize them?
  1 件のコメント
Brahim Mehadji
Brahim Mehadji 2016 年 6 月 30 日
Hello B, I have the same issue than you. Did you found a solution ? I would be very interrested. My email is brahim.mehasji@outlook.fr.
Thanks

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

回答 (1 件)

Nut
Nut 2016 年 6 月 30 日
Hi,
I think the example in the documentation may be what you are looking for. Please, find the "Calculate Centroids of 3-D Objects" example among the ones proposed here:
Is this what you want? For more properties, try also the "regionprops" function, look at its "Properties". As you can see, some properties work with N-D matrices:

Community Treasure Hunt

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

Start Hunting!

Translated by