feat(metadata): added voiLUTFunction to MetadataProvider (#2959)
This commit is contained in:
parent
b4881ab02e
commit
a2bafaf100
@ -245,7 +245,7 @@ class MetadataProvider {
|
||||
|
||||
break;
|
||||
case WADO_IMAGE_LOADER_TAGS.VOI_LUT_MODULE:
|
||||
const { WindowCenter, WindowWidth } = instance;
|
||||
const { WindowCenter, WindowWidth, VOILUTFunction } = instance;
|
||||
if (WindowCenter === undefined || WindowWidth === undefined) {
|
||||
return;
|
||||
}
|
||||
@ -259,6 +259,7 @@ class MetadataProvider {
|
||||
metadata = {
|
||||
windowCenter: toNumber(windowCenter),
|
||||
windowWidth: toNumber(windowWidth),
|
||||
voiLUTFunction: VOILUTFunction,
|
||||
};
|
||||
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user