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.

request: Adding logarithmic filter for video processing

Return to the Tracker forum
Login to post to this thread

logarithmic filter for enhanced contrast
Yoeng Sin Khoe
1 Posts

Is it possible to add a video filter?

I mainly use Tracker for black&white videos and I often need to edit my video's to increase contrast in order to see the objects I'm following.
One easy way is a logarithmic filter that boosts the magnitude nonlinearly, making differences in intensity more excessive.


This is how I did it in matlab
RGBc = imread(filename)
a = double(RGBc)/255; % Normalized Image
c = 2; % Constant
RGBc = c*log(1 + (a)); % Log Transform

But it would be awesome to have this as a native filter in Tracker.


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