Resizing a 3D image on one axis

2 visualizzazioni (ultimi 30 giorni)
Matthew Lee
Matthew Lee il 9 Set 2019
Risposto: Image Analyst il 12 Set 2019
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).

Risposta accettata

Walter Roberson
Walter Roberson il 9 Set 2019
repelem(YourArray, 1, 1, 10)
  2 Commenti
Matthew Lee
Matthew Lee il 11 Set 2019
Thank you very much!
Rik
Rik il 11 Set 2019
If it solved your problem, feel free to hit the 'accept this answer' button.

Accedi per commentare.

Più risposte (1)

Image Analyst
Image Analyst il 12 Set 2019
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