Plot video and picture with timestamp simultaneously
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am collecting voltage signals from a sensor and a continuous video at the same time. Whenever the voltage changes I am recording a signal of around 10 seconds length. I do have the timestamp of the recorded signal and the video.
I am collecting multiple voltage readings whenever they are triggered by the system. The video is recorded continuously.
I want to have an application where I can load the voltage signal/pciture and the correlated section of the video. The voltage readings could be loaded as pictures/fig files or real signals.
I want to have a slider where I can move to the next picture/signal and at the same time I want the video to jump to the timestamp that I am getting from the picture/signal. The video should then be repeatedly run within the same time frame of the signal. The timestamp of the signal could be written in the filename of the picture/signal.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/765076/image.png)
Any help would be greatly appreaciated.
Thanks.
0 个评论
采纳的回答
Image Analyst
2021-10-12
Well that's a whole application. I can't do all that but I can share three demos where I play a video and plot the mean rgb values as a function of frame time.
2 个评论
Image Analyst
2021-10-13
I don't know. If your analysis can be done in less than a frame time, you could throw in pause() to slow it down. If your analysis takes longer then you'll have to speed up your computer or maybe do some tricks with the parallel processing toolbox to process several frames in advance.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!