Resizing a 3D image on one axis

조회 수: 7 (최근 30일)
Matthew Lee
Matthew Lee 2019년 9월 9일
답변: Image Analyst 2019년 9월 12일
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
Matthew Lee
Matthew Lee 2019년 9월 11일
Thank you very much!
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.

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by