PixelRange
Description
The PixelRange structure is used to map raw pixel values to normalized pixel values.
A pixel range is defined by two tiepoints, each containing a raw pixel value and a normalized pixel value. By carefully choosing the tiepoints, one can easily perform arbitrary linear transformations on pixel values.
- See also
Public / Constants
DefaultFloat32
Default normalization range for 32-bit floating point sample values.
The range is [-10000..10000]
.
DefaultInt16
Default normalization range for 16-bit signed integer sample values.
The range is [-32768..32767]
.
DefaultInt8
Default normalization range for 8-bit signed integer sample values.
The range is [-128..127]
.
DefaultUInt16
Default normalization range for 16-bit unsigned integer sample values.
The range is [0..65535]
.
Public / Attributes
PixelA
The normalized pixel value that is mapped to RawA.
The valid range for normalized pixel values is [0..16777215]. However, the pixel range values used for mapping can be outside of this interval.
PixelB
The normalized pixel value that is mapped to RawB.
The valid range for normalized pixel values is [0..16777215]. However, the pixel range values used for mapping can be outside of this interval.