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

This commit is contained in:
Ouwen Huang 2023-02-02 17:32:38 -05:00 committed by GitHub
parent b4881ab02e
commit a2bafaf100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;