The QTPlgDicomHeader class allows you to deal with the File Meta Elements required to support the formatting of the File Meta Information of the DICOM File Format (see PS 3.10)
These elements provide the informations necessary to interpret the data stored in a dicom file.
Since version 6.3 of the plugin this class can be used in Console Applications
→ →
The QTPlgDicomHeader class constructors are called when you create a new instance of the class, while the ˜QTPlgDicomHeader class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. A QTPlgDicomHeader object is valid if it referes to a valid atom container structure (that is the value of the property is not 0) and its is set to a valid value (some of the most used transfer syntaxes are provided to you as built–in class ).
The class provides you with the following initializer methods:
()
This is the default constructor. Use this initializer method to create a new container in memory; the following class properties
are intitialized to:
- =0001 [two bytes char memoryblock]
- =kEnc_ExplicitLE
- = "QTLIB"
(dicomFile as folderitem)
use this constructor to initialize the new object with the values of the File Meta Elements extracted from the file
specified by the dicomFile parameter; this type of approach can be useful if you just want to know if the
file selected is a dicom file, or to extract basic informations about the data stored into the file. As this
method is limited to read just a few bytes at the very beginning of the selected file,
without needing of load the entire document structure in memory, it is very fast
(other as QTPlgDicomHeader)
This is the copy constructor. The properties of the object to be copied will be used to initialize the
new class instance properties
specifies the File Meta Information Version data element
specifies the Media Storage SOP Class UID data element. A few sop classes identifiers are provided as
built–in constant values (see the
section below)
specifies the Media Storage SOP Instance UID data element
specifies the Transfer Syntax UID data element. Some of the most common Transfer Syntaxes are provided as
built–in constant values (see the
section below)
specifies the Implementation Class UID data element
specifies the Implementation Version Name data element
specifies the Source Application Entity Title data element
specifies the Private Information Creator UID data element
specifies the Private Information data element
specifies if the data contained within the DICOM File are in compressed format. The value returned by this property depends on the
used
identifies the Implicit VR Little Endian Transfer Syntax: default Transfer Syntax for DICOM Transfer Syntax
identifies the Explicit VR Little Endian Transfer Syntax
identifies the Explicit VR Big Endian Transfer Syntax
identifies the Deflated Explicit VR Little Endian Transfer Syntax
identifies the JPEG Baseline (Process 1) Transfer Syntax: default Transfer Syntax for Lossy
JPEG 8 Bit Image Compression
identifies the JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1])
Transfer Syntax: default Transfer Syntax for Lossless JPEG Image Compression
identifies the RLE Lossless Transfer Syntax
identifies the JPEG 2000 Image Compression Transfer Syntax
identifies the Media Storage Directory Storage SOP Class UID
identifies the X–Ray Angiographic Image Storage SOP Class UID
identifies the Secondary Capture Image Storage SOP Class UID
identifies the Computed Radiography Image Storage SOP Class UID