문제

I have a 3D stack of bwlabeln'ed data (128 by 128 by 128). Is there a way to cut a slice through it (as in MATLAB slice(...)) and save the resulting image to a matrix?

Thanks in advance!

도움이 되었습니까?

다른 팁

What kind of slice? Along one dimension e.g. z=5 you can use M(:,:,5). For diagonal slices you have to use some advanced method (interpolation).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top