fix: Overlays were broken. (#2614)
* fix(OHIFv3):Overlays were broken. Adds a retrieveBulkData to elements containing BulkDataURI so that anyone display the data can retrieve the required information. * fix(OHIFv3):Added a call in the wrong spot, removed it. * docs(OHIFv3):Added some documentation as requested
This commit is contained in:
1 parent
fac04ccb5e
commit
277c3bf419
4 files changed
+41
-105
No files matched your search
@@ -1,8 +1,6 @@
|
||||
import queryString from 'query-string';
|
||||
import dicomParser from 'dicom-parser';
|
||||
import getPixelSpacingInformation from '../utils/metadataProvider/getPixelSpacingInformation';
|
||||
import fetchPaletteColorLookupTableData from '../utils/metadataProvider/fetchPaletteColorLookupTableData';
|
||||
import fetchOverlayData from '../utils/metadataProvider/fetchOverlayData';
|
||||
import DicomMetadataStore from '../services/DicomMetadataStore';
|
||||
|
||||
class MetadataProvider {
|
||||
@@ -105,14 +103,6 @@ class MetadataProvider {
|
||||
// return instance;
|
||||
// }
|
||||
|
||||
// async _checkBulkDataAndInlineBinaries(instance, server) {
|
||||
// await fetchOverlayData(instance, server);
|
||||
|
||||
// if (instance.PhotometricInterpretation === 'PALETTE COLOR') {
|
||||
// await fetchPaletteColorLookupTableData(instance, server);
|
||||
// }
|
||||
// }
|
||||
|
||||
_getInstance(imageId) {
|
||||
const uids = this._getUIDsFromImageID(imageId);
|
||||
|
||||
@@ -508,4 +498,3 @@ const WADO_IMAGE_LOADER_TAGS = {
|
||||
};
|
||||
|
||||
const INSTANCE = 'instance';
|
||||
const DICOMWEB = 'dicomweb';
|
||||
Reference in new issue
Block a user