How to Fuse image multimodality
1 view (last 30 days)
Show older comments
Hi all,
I have 128 image SPECT (SPECT scan), and have 673 images CT (CT scan). how to fuse both, while one of the set images is not enough frame.
Below is coding that i used, but failed.
%read SPECT images
[spect map]=dicomread('SPECT.dcm');
info = dicominfo('SPECT.dcm');
gp=info.SliceThickness;
spect=(squeeze(spect));%smooth3
% Read CT Images
myFolder = ('C:\Users\Akmal\Downloads\SPECT-CT\SPECT-CT\CT');
filePattern = fullfile(myFolder, '*.dcm'); % Change to whatever pattern you need.
theFiles = dir(filePattern);
for L = 1 : length(theFiles)
baseFileName = theFiles(L).name;
fullFileName = fullfile(theFiles(L).folder, baseFileName);
fprintf(1, 'Now reading %s\n', fullFileName);
% Now do whatever you want with this file name,
% such as reading it in as an image array with imread()
RZ(:,:,L) = dicomread(fullFileName);
end
imshow3D (RZ, spect);
anyone can help me??
0 Comments
Answers (0)
See Also
Categories
Find more on Biomedical Imaging 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!