The IDLffDICOM::Read function method opens and reads from the specified disk file, places the information into the DICOM object, then closes the file.
Result = Obj->[IDLffDICOM::]Read(Filename [, ENDIAN={1 | 2 | 3 | 4}])
Return a 1 if successful and 0 otherwise.
A scalar string argument containing the full path and filename of a DICOM Part 10 file to open and read into memory.
Set this keyword to configure the endian format when reading a DICOM file.
; Create a DICOM object and read a DICOM file:
obj = OBJ_NEW('IDLffDICOM')
var = obj->Read(DIALOG_PICKFILE(FILTER = '*'))
OBJ_DESTROY, obj
5.2 |
Introduced |