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