If the value of VOI LUT Function (0028,1056) is SIGMOID, the function to be used to convert the output of the (conceptual) Modality LUT values to the input of the (conceptual) Presentation LUT is given by
IN is the input value of the LUT (i.e., the output of the (conceptual) Modality LUT).
WC (resp. WW ) is the Window Center (resp. Window Width) defined interactively by the user or by using the values provided in (0028,1050) (resp. 0028,1051).
Output_range is the maximum output value (see Note below on encoding depth)
Note: The encoding depth of the input values for the VOI LUT function is given by the number of bits specified in Bits Stored (0028,0101). The output values of the VOI LUT function must be encoded with an appropriate depth to be then used as input for the Presentation LUT (typically this value is 8 bits) and the Output_range parameter allows this scaling. Moreover, Eq. 1 is given assuming float values for clarity but the actual implementation must include rounding to output integer values.