How to Fuse image multimodality

조회 수: 2 (최근 30일)
mohd akmal masud
mohd akmal masud 2021년 3월 30일
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개)

카테고리

Help CenterFile Exchange에서 Biomedical Imaging에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by