Coding a user interactive video editing (Application)
Show older comments
Dear community,
this is my first time asking a question in the forum. Please let me know if anything is unclear.
I could not find any information on how to make the following possible (and unfortunatly I still lack the Matlab experience to do it completely on my own).
What I need is a program that allows the user to click certain points in an video and record the frame, x and y coordinate in a table. It should further be able to distinguish between two different events: split and fusion.
So the table would have the following columns: framesplit, xsplit, ysplit, framefusion, xfusion, yfusion.
1) Would that be possible to code as a Matlab application? Since by default it can only import images and I did not find a way to change it to video.
2) I can get coordinates from an image with that code:
uiwait(msgbox('Locate the point'));
[x,y] = ginput(5);
hold on; % Prevent image from being blown away.
coordinates = [x,y]
but unfortunately also failed to transfer it to video. Also I have no idea how to make the point show up in the video after I selected it (with this code it only shows all five points after all of them have been selected.) Also I would prefer to let the user decide how many points he/she wants to add. With this code I have to decide the amount in advance.
Any ideas how to solve these issues?
Sorry, I know its a lot, but any small advice to solve any of the subproblems would be great :)
Thanks a lot in advance.
Answers (0)
Categories
Find more on Video Formats and Interfaces in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!