필터 지우기
필터 지우기

process a large stack of 2-d images

조회 수: 1 (최근 30일)
B
B 2013년 3월 9일
how is it possible to use bwconncomp or in general process a stack of 2000 images with the size of 2000x2000, I dont think block processing would work in this case..

답변 (1개)

Matt J
Matt J 2013년 3월 9일
bwconncomp will accept a 3D stack directly. You can specify 2D connectivity with the conn argument.
  댓글 수: 7
Matt J
Matt J 2013년 3월 10일
편집: Matt J 2013년 3월 10일
I meant, how sparse is BW as a volume? In other words, what is
density = nnz(BW)/2000^3
I assume you don't have enough memory to hold BW as a volume, but the density is something you could easily calculate by looping over the slices. If BW is not sparse (low density), you might not even have enough memory to hold the result of the connectivity map.
B
B 2013년 3월 12일
편집: B 2013년 3월 13일
In fact I was able to modify the problem to get a less dense matrices, the whole information are now stored in two 1800*1800*811 matrices with densities of 0.0257 and 0.0215, Now how can I merge all information in one matrix to use bwconncomp...

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by