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

 Réponse acceptée

Image Analyst
Image Analyst le 13 Jan 2012
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 commentaires

Walter Roberson
Walter Roberson le 13 Jan 2012
m3D = repmat(value, [336, 512, 112]);
Muhammad Jawaid
Muhammad Jawaid le 29 Jan 2016
Modifié(e) : Muhammad Jawaid le 29 Jan 2016
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 le 11 Mai 2018
@ImageAnalyst: What number this value can be
Image Analyst
Image Analyst le 11 Mai 2018
I don't understand your question. So I guess I'll just say 7.
Stelios Fanourakis
Stelios Fanourakis le 11 Mai 2018
7 is an optimization value for value?
Image Analyst
Image Analyst le 11 Mai 2018
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Medical Physics dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by