How to view dicom images on different planes (coronal, sagittal, transverse)
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!