Mouse figure interaction
Version 1.0.0.0 (2.48 KB) by
Eydrian
This example shows how the mouse could be used to change how an image is displayed
This example shows how the mouse could be used to change how an image is displayed. First it registers two callbacks, one for button down and one for button up. As soon as the button is pressed, an other callback is registered which does the computation of the image. Here it just changes the lower and upper limit of the displayed pixels => certain values go into saturation - but can be used for whatever other application.
Cite As
Eydrian (2026). Mouse figure interaction (https://uk.mathworks.com/matlabcentral/fileexchange/42886-mouse-figure-interaction), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2013a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
