how to fuse Image CT and SPECT
4 views (last 30 days)
Show older comments
Hi all
I have Image CT (as attached) and Image SPECT (as attached)
Anyone can help me how to fusing it?
0 Comments
Answers (1)
Shubham
on 22 Jan 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 Viewer” toolbox 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.
0 Comments
See Also
Categories
Find more on Explore and Edit Images with Image Viewer App 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!