MOUSETRACK(X) retuns a Mx2 tensor, which containes the x and y position of the mouse cursor during it's motion over the selected image 'inmat'. Images can be real RGB image data, or any MxN matrix. The recording phase is started and stopped by a click on either mousebutton.
Cite As
Ralph Mettier (2026). Mousetrack (https://uk.mathworks.com/matlabcentral/fileexchange/5535-mousetrack), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Tracking and Motion Estimation > Motion Detection >
Find more on Motion Detection in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: CursorPrediction(), Mouse Point Location Sampler
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
