DICOMReadSingle

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');



Notes:

1. For RGB or Dicom images, the function operates on all colour planes or slices separately.

2. Dicom images require XMedCon software (version xmedcon-0.10.5-1-win32).

Home       Functions       Back