avi video analysis

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

avi video analysis

ostocyt
Hi,
I´m working with .avi files and already added a time stamp to them. In a next step I want to get the time at distinct points by pressing a keyboard button, e.g. when a mouse goes through a door one presses 'g' and the time is saved; when the mouse eats I press 'e' and again the time is saved for the 'eat pattern'. I have so many data and different 'actions' so I like to use multiple keys if possible...
Any idea how to realize??
Thanks a lot!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: avi video analysis

Cammer, Michael
If the times are regular (a.k.a. 30 FPS) then either multiply the frame # by the time interval or in the Image > Properties menu enter the Time Interval and use this.
Look at https://imagej.nih.gov/ij/developer/macro/functions.html in particular the Stack commands such as Stack.setTUnit(string) and Stack.setFrameInterval(interval)

If the times are not regular, then you need a text list of the times and using the frame number get the time from the list.

Michael Cammer




-----Original Message-----
From: ostocyt [mailto:[hidden email]]
Sent: Monday, July 24, 2017 11:10 AM
To: [hidden email]
Subject: avi video analysis

Hi,
I´m working with .avi files and already added a time stamp to them. In a next step I want to get the time at distinct points by pressing a keyboard button, e.g. when a mouse goes through a door one presses 'g' and the time is saved; when the mouse eats I press 'e' and again the time is saved for the 'eat pattern'. I have so many data and different 'actions' so I like to use multiple keys if possible...
Any idea how to realize??
Thanks a lot!



--
View this message in context: https://urldefense.proofpoint.com/v2/url?u=http-3A__imagej.1557.x6.nabble.com_avi-2Dvideo-2Danalysis-2Dtp5019118.html&d=DQIFaQ&c=j5oPpO0eBH1iio48DtsedbOBGmuw5jHLjgvtN2r4ehE&r=oU_05LztNstAydlbm5L5GDu_vAdjXk3frDLx_CqKkuo&m=bzOK-bhrKYeD_tHwfmcyNPK_bgQjQv1TO4n6fasC_6o&s=pf5zLIeNsW5UrMd5yRx73jFbm8IQHsTZTLgEHzINKgY&e=
Sent from the ImageJ mailing list archive at Nabble.com.

--
ImageJ mailing list: https://urldefense.proofpoint.com/v2/url?u=http-3A__imagej.nih.gov_ij_list.html&d=DQIFaQ&c=j5oPpO0eBH1iio48DtsedbOBGmuw5jHLjgvtN2r4ehE&r=oU_05LztNstAydlbm5L5GDu_vAdjXk3frDLx_CqKkuo&m=bzOK-bhrKYeD_tHwfmcyNPK_bgQjQv1TO4n6fasC_6o&s=2HvOC8Q3Tz44SUUS_gyhDBrTPJ2L7RYnwnEJpRAv1aY&e= 

------------------------------------------------------------
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
=================================


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Loading...