GET MOUSE COORDINATES IN A VIDEO

5 Ansichten (letzte 30 Tage)
Ananthu S
Ananthu S am 22 Dez. 2015
Beantwortet: Walter Roberson am 22 Dez. 2015
I am doing a project on 'TRACKING CAMERA'. The live video is captured in MATLAB. When I move the mouse pointer in the video capture window , the coordinates are transferred to microcontroller using serial port communication in MATLAB , and motors are controlled according to the movement of mouse. The problem is that how I can get the mouse coordinates when the mouse is moved inside the video acqusition window. There is provision for getting the mouse coordinates in a figure window. How can i get the mouse coordinates inside the video capture window ?? Please help....

Antworten (1)

Walter Roberson
Walter Roberson am 22 Dez. 2015
Video capture windows are figure windows. Every window in MATLAB is a figure (even dialogs.)

Community Treasure Hunt

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

Start Hunting!

Translated by