I have a CT image which is double with a size of 512 x 512 x 176 I'm looking to take a range of slices individually for analysis for instance slices 40 - 60. I'm currently using:
for I = 3Dmatrix(:, :, 40:60)
%Algorithms code
end

 채택된 답변

James Tursa
James Tursa 2017년 4월 19일

0 개 추천

Does this do what you want?
for I = 40:60
my3Dslice = my3Darray(:,:,I);
%Algorithms code
end

댓글 수: 4

Nick Prince
Nick Prince 2017년 4월 20일
Yes it was thank you very much
Nandini Chatterjee
Nandini Chatterjee 2020년 4월 1일
What if you don't know the slices you want to analyze? For example, I want have an annotated CT image of size 512 x 512 x 38 and I need to find the slices which contain the annotated tumor (which are white and the background is grey).
James Tursa
James Tursa 2020년 4월 1일
@Nandini: Open up a new Question for this with the details of your problem.

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

추가 답변 (0개)

제품

질문:

2017년 4월 19일

댓글:

2020년 4월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by