Resizing a 3D image on one axis

3 次查看(过去 30 天)
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 个评论
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