process a large stack of 2-d images
이전 댓글 표시
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
2013년 3월 9일
0 개 추천
bwconncomp will accept a 3D stack directly. You can specify 2D connectivity with the conn argument.
댓글 수: 7
B
2013년 3월 9일
Matt J
2013년 3월 9일
If it's a memory limitation, then why not just for-loop over the images, reading in and processing one at a time.
B
2013년 3월 9일
Matt J
2013년 3월 9일
Is the BW array sparse?
B
2013년 3월 9일
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.
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!