File Exchange

image thumbnail

WindowLevel

version 1.1.0.0 (11.6 KB) by Rik
Enable setting the window level (contrast and brightness) by dragging

4 Downloads

Updated 09 Aug 2018

View License

Enable setting the window level (contrast and brightness) by dragging

This function allows you to adjust the window and level (contrast and brightness) of images by dragging. This is especially useful in viewing CT images.

Examples are included.

Compatibility:
Matlab: should work on all releases (tested on R2018a, R2012b and R6.5)
Octave: tested on 4.2.1
OS: written on Windows 10 (64bit), Octave tested on a virtual (32bit) Ubuntu 16.04 LTS, should work for Mac

Cite As

Rik (2020). WindowLevel (https://www.mathworks.com/matlabcentral/fileexchange/66885-windowlevel), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

Updates

1.1.0.0

fixed small issues with older Matlab releases and restructured code

MATLAB Release Compatibility
Created with R2018a
Compatible with R13SP1 to R2018a
Platform Compatibility
Windows macOS Linux