Constructor
new DicomData(meta)
Parameters:
| Name | Type | Description |
|---|---|---|
meta | Object.<string, DataElement> | The DICOM meta data. |
- Source
Classes
Members
annotationGroup :AnnotationGroup|undefined
Annotattion group extracted from meta data.
Type:
- AnnotationGroup |
undefined
- Source
buffer :any|undefined
Image buffer used to build image.
Type:
- any |
undefined
- Source
image :Image|undefined
Image extracted from meta data.
Type:
- Image |
undefined
- Source
meta :Object.<string, DataElement>
DICOM meta data.
Type:
- Object.<string, DataElement>
- Source
numberOfFiles :number
Number of files/urls associated to the data.
Type:
- number
warn :Array.<string>
List of data creation warning.
Type:
- Array.<string>
Methods
appendData(data)
Append slice and update meta data.
Parameters:
| Name | Type | Description |
|---|---|---|
data | DicomData | The data to append. |
getComplete() → {boolean|undefined}
Get the image complete flag (for image data).
Returns:
True if the image is complete.
- Type:
- boolean |
undefined
hasDuplicateOrigin() → {boolean}
Get the duplicate origin flag.
Returns:
The flag.
- Type:
- boolean
setComplete(flag)
Set the image complete flag (for image data).
Parameters:
| Name | Type | Description |
|---|---|---|
flag | boolean | True if the image is complete. |