Reads a single dicom
file.
function call:
img =
vsg('DICOMReadSingle',’filename’);
Arguments:
file - input file
name of a DICOM file format data.
Description:
The function reads a
single DICOM file or all the dicom file.
img – a two
dimensional array of values of the DICOM image.
Example:
img=vsg('DICOMReadSingle', 'D:\work\testDICOMimage.dcm');
h=figure;imagesc(img),colormap(gray);set(h,'Name','1');