windowlevel/index.html
This is an example of interactive window/level
In this example, the mousemove is captured and adjusts the window/center. You can also manually set the window/center by entering the values in the input elements and hitting apply. Press the Invert button to toggle invert for the image.
Window Width
Window Center
Apply
Invert