Methods
checkElements(dataElements) → {string|undefined}
Check dicom elements. Throws an error if not suitable.
Parameters:
Name | Type | Description |
---|---|---|
dataElements | DataElements | The DICOM data elements. |
- Source
Returns:
A possible warning.
- Type:
- string |
undefined
create(dataElements, pixelBuffer, numberOfFiles) → {Image}
Get an Image object from the read DICOM file.
Parameters:
Name | Type | Description |
---|---|---|
dataElements | DataElements | The DICOM tags. |
pixelBuffer | Uint8Array | | The pixel buffer. |
numberOfFiles | number | The input number of files. |
- Source
Returns:
A new Image.
- Type:
- Image
getWarning() → {string|undefined}
Get a warning string if elements are not as expected. Created by checkElements.
- Source
Returns:
The warning.
- Type:
- string |
undefined