How to view dicom images on different planes (coronal, sagittal, transverse)
3 ビュー (過去 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!