HOW reshape 4D image array to 2D?

조회 수: 5 (최근 30일)
mohammed mahmoud
mohammed mahmoud 2018년 7월 8일
댓글: Walter Roberson 2018년 7월 11일
I'm having some trouble reshaping a 4D array to a 2D array. Currently the array is follows, (14965, 16, 32, 256). Where 14965 is number of images. I want to save every 2D array in image formate.
  댓글 수: 10
Walter Roberson
Walter Roberson 2018년 7월 11일
SliceNumber = 8392; %for example
frame = squeeze(YourArray(SliceNumber, :, :, :));
volumeViewer(frame)

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by