feat(metadata): added voiLUTFunction to MetadataProvider (#2959)

This commit is contained in:
Ouwen Huang authored and GitHub committed 2023-02-02 17:32:38 -05:00
1 parent b4881ab02e
commit a2bafaf100
1 file changed
+2 -1
@@ -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;