Can we read dicom files without extension using the dicomread function?
이전 댓글 표시
I have 71 image slices and the idea is to make an image volume using these slices. I tried using the following:
close all; clear; clc
%%
Folder = '/etc/';
filenames = fullfile(Folder,'Z*'); % files names are Z01, Z02, ....., Z75
findDir = dir(filenames);
total_Im = numel(filenames);
%%
for n = 1:total_Im
f = fullfile(Folder,filenames(n).name);
dm_images = dicomread(f);
figure(n)
imshow(dm_images)
end
% How can I read these files without extension and make a single image
% volume?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Read and Write Image Data from Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!