MATLAB: Using impixel with an image sequence

image analysisimage processingvideo processing

Is there a way to use the impixel() command command to select (x,y) pixel coordinates in an image sequence while it plays on a loop? The pixel region selection tool in the Movie Player brought up through implay(sequence) is close to what I need but I want to be able to point and click rather than individually copy and past pixel coordinates. Being able to view the dynamics in the sequence is important because I want to select features that change over time. Is there a simple way to implement this? Thank you!

Best Answer

Hi,
I'm not expert with implay function and its working, but "point and click" makes me think to the ginput function:
https://it.mathworks.com/help/matlab/ref/ginput.html
Does it fulfil to your issue?