setting reference image/frame

5 Ansichten (letzte 30 Tage)
Olivia Foley
Olivia Foley am 1 Mär. 2017
Beantwortet: Prateek Khandelwal am 13 Mär. 2017
Hello,
I am currently writing a plugin that will allow me to overlay two video files. The issue is, I want to be able to set one of the frames of the video file as a reference file for the what I'm overlaying. So for example:
Video 1 has 5 frames, I need frame 3 to be the reference frame. I then want to be able to load video 2 and rotate it and be on any frame without it affecting video one. I've got this second bit coded, but the first bit I am really unsure where to begin.

Antworten (1)

Prateek Khandelwal
Prateek Khandelwal am 13 Mär. 2017
Hello Olivia,
the VideoReader function call can be used to read a specific frame from a video file. One tricky part is that you need to provide the timestamp of the frame, however, that should be fairly straight forward calculation.
Regards,

Community Treasure Hunt

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

Start Hunting!

Translated by