MATLAB Answers

Resizing a 3D image on one axis

1 view (last 30 days)
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).

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 9 Sep 2019
repelem(YourArray, 1, 1, 10)

  2 Comments

Matthew Lee
Matthew Lee on 11 Sep 2019
Thank you very much!
Rik
Rik on 11 Sep 2019
If it solved your problem, feel free to hit the 'accept this answer' button.

Sign in to comment.

More Answers (1)

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

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by