Resizing a 3D image on one axis

3 vues (au cours des 30 derniers jours)
Matthew Lee
Matthew Lee le 9 Sep 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).

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (1)

Image Analyst
Image Analyst le 12 Sep 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