Resizing a 3D image on one axis

3 ビュー (過去 30 日間)
Matthew Lee
Matthew Lee 2019 年 9 月 9 日
回答済み: Image Analyst 2019 年 9 月 12 日
I was wondering if there was a way of resizing a 3D image (ex. 200 * 200 * 10) by expanding the voxels in one direction (into something like 200*200*200).

採用された回答

Walter Roberson
Walter Roberson 2019 年 9 月 9 日
repelem(YourArray, 1, 1, 10)
  2 件のコメント
Matthew Lee
Matthew Lee 2019 年 9 月 11 日
Thank you very much!
Rik
Rik 2019 年 9 月 11 日
If it solved your problem, feel free to hit the 'accept this answer' button.

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2019 年 9 月 12 日
Try imresize()
bigImage = imresize(image3d, [200,200,200], 'bicubic'); % Or 'nearest' - whatever you want.

Community Treasure Hunt

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

Start Hunting!

Translated by