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.
引用格式
Eydrian (2024). Mouse figure interaction (https://www.mathworks.com/matlabcentral/fileexchange/42886-mouse-figure-interaction), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2013a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Interactive Control and Callbacks 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |