Interpolation of a 2D image series at specific slice locations

조회 수: 2 (최근 30일)
De Ar
De Ar 2018년 7월 3일
편집: Matt J 2021년 5월 1일
I have imported a series of 2D DICOM files containing 14 MR images. The resolution of the image data matrix is 512x512x14. These MR slices are located in the axial plane at real world slice locations -40.063mm to 11.937mm in 4mm intervals. I want to reslice this series along the same axis to have slice locations at xx.466mm in 1mm intervals such that I end up with a new data matrix with resolution 512x512x52 (slice locations from -39.466mm to 11.534mm). Should trilinear interpolation be applied in this case? Could someone help me with this interpolation problem? Also, the voxel resolution is (0.3516 x 0.3516 x 4)mm/pixel.
Many thanks in advance!

채택된 답변

Matt J
Matt J 2018년 7월 3일
편집: Matt J 2018년 7월 3일
You should use interp1, and a little bit of reshaping:
zold=linspace(-40.063, +11.937, 14).';
znew=linspace(-39.466 , 11.534, 52).';
array=reshape(MRvolume,[],14).';
new=interp1(zold,array,znew).';
result=reshape(new, [512,512,52] );
  댓글 수: 8
Sebastian Joseph
Sebastian Joseph 2021년 5월 1일
Something wrong in the paste command or I did wrong..the link is

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 DICOM Format에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by