Constructor
new DicomElementsWrapper(dicomElements)
Parameters:
Name | Type | Description |
---|---|---|
dicomElements | Array | The elements to wrap. |
Classes
Methods
dump() → {string}
Dump the DICOM tags to a string.
Returns:
The dumped file.
- Type:
- string
dumpToObject() → {object}
Dump the DICOM tags to an object.
Returns:
The DICOM tags as an object.
- Type:
- object
getFromKey(groupElementKey, asArrayopt) → {object}
Get a DICOM Element value from a group/element key.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
groupElementKey | string | The key to retrieve. | |
asArray | boolean | <optional> | Get the value as an Array. |
Returns:
The DICOM element value.
- Type:
- object
getFromName(name) → {object}
Get a DICOM Element value from a tag name. Uses the DICOM dictionary.
Parameters:
Name | Type | Description |
---|---|---|
name | string | The tag name. |
Returns:
The DICOM element value.
- Type:
- object