Function: getValidVOILUTFunction()
getValidVOILUTFunction(
value):VOILUTFunctionType
Same as normalizeVOILUTFunction but always resolves to a usable
value, falling back to LINEAR (the DICOM default when the attribute is
absent) for anything unrecognized. An unrecognized non-empty value is warned
about once so bad metadata is still noticeable, but it never throws: a VOI
LUT Function we do not know about should degrade to a linear window rather
than break rendering.
Parameters
• value: unknown
the raw attribute value from a metadata provider
Returns
a valid VOILUTFunctionType