Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / IDL Reference / DICOM Toolkit / IDLffDICOM::DumpElements

IDLffDICOM::DumpElements

IDLffDICOM::DumpElements

Syntax | Arguments | Keywords | Examples | Version History

The IDLffDICOM::DumpElements procedure method dumps a description of the DICOM data elements of the IDLffDICOM object to the screen or to a file.

Syntax


Obj->[IDLffDICOM::]DumpElements [, Filename]

Arguments


Filename

A scalar string containing the full path and filename of the file to which to dump the elements. The file is written as ASCII text.

Keywords


None

Examples


The columns output by DumpElements are the element reference, the (group, element) tuple, the value representation, the description, the value length, and some of the data values.

; Create a DICOM object, read a DICOM file and dump its contents:
obj = OBJ_NEW( 'IDLffDICOM' )
var = obj->Read(DIALOG_PICKFILE(FILTER='*'))
obj->DumpElements
 
; Dump the contents of the current DICOM object to a file under
; Windows:
obj->DumpElements, 'c:\myData\elements.dmp'
 
; Dump the contents of the current DICOM object to a file under
; UNIX:
obj->DumpElements, '/myData/elements.dmp'
 
OBJ_DESTROY, obj

Version History


5.2

Introduced



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us