Constructor
new VoiLut(wl)
Parameters:
Name | Type | Description |
---|---|---|
wl | WindowLevel | The window center and width. |
- Source
Classes
Methods
apply(value) → {number}
Apply the window level on an input value.
Parameters:
Name | Type | Description |
---|---|---|
value | number | The value to rescale as an integer. |
- Source
Returns:
The leveled value, in the [ymin, ymax] range (default [0,255]).
- Type:
- number
getWindowLevel() → {WindowLevel}
Get the window and level.
- Source
Returns:
The window center and width.
- Type:
- WindowLevel
setSignedOffset(offset)
Set the signed offset.
Parameters:
Name | Type | Description |
---|---|---|
offset | number | The signed data offset, typically: slope * ( size / 2). |
- Source