Hello everyone!
I have started to work with the Image Acquisition toolbox, and to acquire data I have used the videoinput object and the getdata function up to now.
I wanted to make a comparisson with the getsnapshot but I can't get the timestamps data. The code up to now is as below :
start(vid) for f =1:200 tic;[frames, ts] = getsnapshot(vid);elapsedtime = toc;endsave('Timestamp.mat' , 'ts');save('Frames.mat', 'frames');
But it saves only the absolute time of trigger and only 3 frames even though during the running of the program I can see that index f is incremented.
Is there smth I am doing wrong?
Or how could I approach to get the frames and timestamps information for 200 frames ?
Thank you in advance for your help!
Best Answer