Adjust window level of image using mouse button

Version 1.2.0.0 (1.42 KB) by Yi Sui
You can adjust the window level using mouse
562 Downloads
Updated 12 Jun 2013

View License

You can adjust the window level by mouse
1 clicking and holding the RIGHT mouse button and moving: adjust current image

2 mid-button or shift+left button: adjust all images in current figure.
Example:
imagesc;
enableWL;

Cite As

Yi Sui (2024). Adjust window level of image using mouse button (https://www.mathworks.com/matlabcentral/fileexchange/38491-adjust-window-level-of-image-using-mouse-button), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

rewrite the code

1.0.0.0