Resizing a 3D image on one axis

8 views (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).

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.

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!