Resizing a 3D image on one axis

2 visualizaciones (últimos 30 días)
Matthew Lee
Matthew Lee el 9 de Sept. de 2019
Respondida: Image Analyst el 12 de Sept. de 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).

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (1)

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by