DicomData
Source: dataController.js:87
DICOM data: meta and possible image.
Constructor
new DicomData(meta: Record.<string, DataElement>): DicomDataParameters
meta(Record.<string, DataElement>) — The DICOM meta data.
Instance Methods
getComplete(): boolean | undefined
Get the image complete flag (for image data).
Returns
boolean | undefined— True if the image is complete.
setComplete(flag: boolean)
Set the image complete flag (for image data).
Parameters
flag(boolean) — True if the image is complete.
hasDuplicateOrigin(): boolean
Get the duplicate origin flag.
Returns
boolean— The flag.
appendData(data: DicomData)
Append data and update meta data.
Parameters
data(DicomData) — The data to append.
Instance Fields
meta: Record.<string, DataElement>
DICOM meta data.
image: Image | undefined
Image extracted from meta data.
annotationGroup: AnnotationGroup | undefined
Annotation group extracted from meta data.
buffer: any | undefined
Image buffer used to build image.
numberOfItems: number
Number of load items (files, urls, buffers...) associated to the data.
frameNumber: number | undefined
Frame number, set when the buffer only contains one frame of a multi-frame data: frames are sent one by one and assembled by the image (see Image.appendSlice).
warn: Array.<string>
List of data creation warning.