DicomSliceDataList
Source: dataController.js:257
DICOM slice data list.
Constructor
new DicomSliceDataList(): DicomSliceDataListInstance Methods
addClone(data: DicomData)
Add a clone of the input data to the local list. The pixel data is not cloned: the image is already created and the meta of frames includes the pixel data of the full file.
Parameters
data(DicomData) — The data to clone and add.
add(data: DicomData)
Add data to the local list.
Parameters
data(DicomData) — The data to add.
getElementsList(): Array.<Record.<string, DataElement>>
Get the DICOM tags of each stored data. Frames share their file meta: the frame tags are used so that per-frame getters return the frame value.
Returns
Array.<Record.<string,DataElement>>— The DICOM tags.
buildData(): Object
Build a data from the stored slice data. The items can be single frame files or frames of multi-frame files.
Returns
Object— The result data.