How to view dicom images on different planes (coronal, sagittal, transverse)

4 views (last 30 days)
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?

Answers (0)

Categories

Find more on DICOM Format 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!