image = dicomread (filename) ¶image = dicomread (structure) ¶Load the image from a DICOM file.
filename - a string giving the filename.*
structure - a structure with a field Filename (such as returned by dicominfo).
image - may be two or three dimensional, depending on the content of the file.
image - An integer or float matrix will be returned, the number of bits will depend on the file.
Load the image data of a dcm file:
> image = dicomread(file_in_loadpath('imdata/simple-test.dcm'))
image =
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
See also: dicominfo.
Package: dicom