Resizing to unify 3D images

This is a part of my Capstone Research

3D images acquired from each modality is different in size and unit. To register between images from each modality, we need to resize each 3D image according to its three dimentional length.

In dicom information, 'PixelSpacing' is used to acquire x,y units, 'SliceThickness‘ is used to acquire z unit. 

Resize in x-y plane is simple. In matlab, 'imresize' function is used to resize image according to give size, and it automatically fill in missing pixels or filter out extra pixel when resizing to larger or smaller image.

To resize in Z index, I first change x-y-z index to z-y-x using ’permute(MR_scale_xy,[3 2 1])‘, and then resize z-y plane, then permute back.

Full code is available in github resize_mrdsa.m

Last Article Next article

Comment 评论

Share 分享

New Users 最新加入

  • :)

  • Cheng Dan

  • 13111111111

New comments 最新评论

test123: aasdas Details Apr 13 16:39
admin: Thanks! Details Apr 09 11:46
admin: Google map api Details Apr 09 11:46
lqj12: cooooooooool Details Apr 08 21:34
Yunhan Huang: 这个功能是如何实现的? Details Apr 08 13:23