How to fuse SPECT and CT images having different matrix sizes?

5 views (last 30 days)
I want to fuse the SPECT: 128*128*102 (slice thickness: 3.8954 mm) dimension matrix with CT: 512*512*263 (slice thickness: 3 mm) dimension matrix.Their number of frames and slicethickness are different. How can I fuse those images in matlab?
Any help would be highly appreciated.

Answers (1)

Johannes Fischer
Johannes Fischer on 18 Sep 2019
Edited: Johannes Fischer on 18 Sep 2019
You can import the data using dicomreadVolume (https://www.mathworks.com/help/images/ref/dicomreadvolume.html)
There is an introduction on how to register 2D multimodal image data using imregister (https://www.mathworks.com/help/images/registering-multimodal-mri-images.html). imregister also works with 3D volumes so you would probably need to adapt the code a little bit.
You might also be able to use the spatial information that you get from dicomreadVolume
[V, spatial] = dicomreadVolume(source)
and use interp3 to interpolate the data from the SPECT image onto the grid of the CT data. However the second approach only works if both images are taken in the same coordinate system and your patient/object did not move between the exams.
  2 Comments
blues
blues on 18 Sep 2019
Is that second approach is similar as: upsample SPECT (by factor of 2 or 4) and downsample CT (by factor of 2 or keep intact) images and overlaid them; some sort of interpolation is needed here. Is it necessary to match the third dimension i.e. number of slices or frames, I am bit confusing here? I assume that slice spacing are different due to the limitaion in spatial resolution.
Johannes Fischer
Johannes Fischer on 18 Sep 2019
No, because resizing the SPECT image to the size of the CT image, does not mean, that the data at (1,1,1) in both images represents the same location in space.
If you are only interested in visualizing the fused data, try this contribution of the file exchange (https://www.mathworks.com/matlabcentral/fileexchange/53745-medical-image-reader-and-viewer). Im not sure whether this function also allows the ouput of both images in a matrices of the same size.

Sign in to comment.

Categories

Find more on Medical Physics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!