How to view dicom images on different planes (coronal, sagittal, transverse)
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
clc; clear all; close all;
N=5; img_dir ='D:\Stelios PhD files'
strfile = 'Z01'; img = dicomread(fullfile(img_dir, strfile)); siz_img = size(img);
% create result matrix: ct3d = NaN([siz_img N]); ct3d(:,:,1) = img;
% load all the remaining images and put them in the matrix for i=2:N strfile = sprintf('Z01',i); ct3d(:,:,i)= dicomread(fullfile(img_dir, strfile)); end
figure imshow(ct3d(:,:,i));
figure imshow(ct3d(:,:,3,1)); %transverse plane, first slice.
figure imshow(imrotate(squeeze(ct3d(:,55,1,:)),90),[]); %sagittal plane, 55th slice
I dont like the result. I cannot apply montage function and the image (first slice that comes out is of very poor quality).
Any suggestion?
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur DICOM Format dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!