how to fuse Image CT and SPECT

5 visualizzazioni (ultimi 30 giorni)
mohd akmal masud
mohd akmal masud il 15 Feb 2022
Risposto: Shubham il 22 Gen 2024
Hi all
I have Image CT (as attached) and Image SPECT (as attached)
Anyone can help me how to fusing it?

Risposte (1)

Shubham
Shubham il 22 Gen 2024
Hey Mohd Akmal Masud,
It seems that you are trying to fuse a CT Image and a SPECT image, with both images being in the DICOM format.
You can read data from a DICOM file using “dicomread” function. Please refer to the following code snippet:
% Read CT DICOM file
ctFile = 'CT.dcm';
ctInfo = dicominfo(ctFile); % For getting metadata
ctImage= dicomread(ctFile); % For reading DICOM image
If the file is not located in the current working directory, please include the complete file path. In the same manner, read the DICOM file for the SPECT image. You can also use the Medical Image Reader and Viewertoolbox available on File Exchange for handling DICOM images:
Before merging the images, perform image registration and resampling to make sure that the images share the same orientation and resolution. Please refer to the following MATLAB Answer, if SPECT and CT images have different matrix size:
Use the "imfuse" function included in the MATLAB documentation to fuse two images. Please have a look at the following MATLAB Answer for combining two images:
I hope this helps.

Community Treasure Hunt

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

Start Hunting!

Translated by