The IDLffDICOM::GetPreamble function method returns the preamble of a DICOM v3.0 Part 10 file.
Result = Obj->[IDLffDICOM::]GetPreamble()
Returns a 128-element byte array containing the preamble, which is a fixed 128 byte field available for implementation specified usage. If it is not used by the implementor of the file, it will be set to all zeroes.
None
None
; Create a DICOM object, read a DICOM file:
obj = OBJ_NEW('IDLffDICOM')
var = obj->Read(DIALOG_PICKFILE(FILTER = '*'))
; Get an array of the byte contents of the DICOM file preamble:
arr = obj->GetPreamble()
PRINT, arr
OBJ_DESTROY, obj
5.2 |
Introduced |