APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Setting default values over all new videos post and replies

Return to the Setting default values over all new videos thread
Login to post to this thread

Setting defaults for videos
Gabriel Paaske
2 Posts

Hi,

I'm analyzing a number of videos in very similar ways. They are videos of a bubble in fluid system, on the same setup with different parameters. Thus certain values are always constant - framerate at 750 fps, pixel size at ~1.3e-2mm/px, origin of XY being in the top left corner (in order to combine methods with Fiji/ImageJ). Is there any way to set these to a default so that I don't need to manually set them for each video? Considering my dataset, this would save a considerable amount of time.

I'm also only tracking along the x-axis, so that the y-positions are never of interest. Thus when I export I either manually select time and x to copy-paste or manually remove the y-values from the table view. Another question is whether it is possible to fix the XY axis so that it stays at the same spot, even when I track along the x-axis? I.e. is it possible to track parallel to the x-axis rather than along it?

Also, Fiji uses the top left corner to denote (0,0) in an image, and then moving down increments the y coordinate positively. Is it possible to do the same in Tracker? I.e. mirror the coordinate system over the x-axis?


Replies to Setting defaults for videos

Re: Setting defaults for videos -
Douglas Brown Avatar
Douglas Brown
470 Posts

Hi Gabriel, unfortunately Tracker can't do most of what you are asking.

Specifically, there is no way to set a default frame rate for videos since they have built-in frame rate info that tracker reads, so that must be set individually for each. However, for pixel size/scale and origin position there is something you could do to speed things up: once you set them in one tab, you can save that tab, then in another tab choose File|Import|Tracker File and import the Coordinate System from your saved tab. This brings in both the scale and origin. You can also use Edit|Copy Object|Coordinate System in one tab, then paste into another tab.

Re keeping the origin in one spot while autotracking parallel to the x-axis rather than on the x-axis isn't currently possible, and while in principle I could add that capability, I'm afraid it would be very confusing to most users. Maybe moving the origin parallel to the y-axis when selecting one-D tracking (so the starting x-value doesn't change) would do what you need since you have no interest in the y-values?

Changing the coordinate system to left-handed rather than right-handed is also not currently possible, but maybe I could add that option in a future release. Doug



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book