rescale for making isotropic voxels

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
Image Analyst
Image Analyst 2016 年 1 月 29 日
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 ExchangeDICOM Format についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by