[f949a5]: / test_2.m

Download this file

22 lines (18 with data), 430 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
%test - dicom image process =
close all;
clear all ;
clc ;
im=dicominfo('US-MONO2-8-8x-execho.dcm');
X=dicomread(im);
a=zeros(120,128,8);
for i=[1:8]
a(:,:,i)=X(:,:,:,i);
figure,
imshow(uint8(a(:,:,1)));
end
%a_1=X(:,:,:,1); %extraction of first image // the range to extract jst the image
%a_2=X(:,:,:,2); %extraction of the second image
%figure,
%i=[1:8];
%montage(a(:,:,i));
%impixelinfo;