Hello all,
Can I make an isotropic 336*512 matrix? my teacher says i can add zero pixels to 336 but i want to expand method to 336*512*112 matrix and make an isotropic voxels.
Thanks in advance

 채택된 답변

Image Analyst
Image Analyst 2012년 1월 13일

0 개 추천

How to make a 2D isotropic matrix:
m = value * ones(336,512); % You pick what you want "value" to be.
How to add zero pixels (i.e. nothing to add at all) to 336:
336
How to make a 3D isotropic matrix:
m3D = value * ones(336,512,112); % You pick what you want "value" to be.

댓글 수: 7

Walter Roberson
Walter Roberson 2012년 1월 13일
m3D = repmat(value, [336, 512, 112]);
Muhammad Jawaid
Muhammad Jawaid 2016년 1월 29일
편집: Muhammad Jawaid 2016년 1월 29일
Image Analyst, I would like to ask for another example. I have got a CTA volume (Dicom) with size 512*512*304 & I want to make it isotropic volume having axial image size (256,256). can you please help me out.. For your information, pixel spacing is 0.4004 where as distance between slices is 0.45. Thanks alot
Use this:
m3D = CTAImage(1:2:end, 1:2:end, :);
For spatial calibration, see attached demo.
Stelios Fanourakis
Stelios Fanourakis 2018년 5월 11일
@ImageAnalyst: What number this value can be
Image Analyst
Image Analyst 2018년 5월 11일
I don't understand your question. So I guess I'll just say 7.
Stelios Fanourakis
Stelios Fanourakis 2018년 5월 11일
7 is an optimization value for value?
Image Analyst
Image Analyst 2018년 5월 11일
With the lack of any information on what you're looking for or how it relates to my last comment on spatial calibration, sure, why not? If you don't like that, how about 13 or 42? Use whatever value works best for you.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 DICOM Format에 대해 자세히 알아보기

질문:

2012년 1월 13일

댓글:

2018년 5월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by