1

I will try to document my efforts to implement chronophotography and other advanced visual effects in this thread.
There is a long road before any of these makes it up in Kinovea, but an important milestone was reached this week-end so I create the thread.

The first step of almost all these effects is to compute the motion of the camera.
This is equivalent to computing how to transform each frame so it looks like as much as the previous frame as possible, and do it for all the frames in the sequence.

The transformation parameters can be combined together, so basically at this point we can map each frame on the first frame of the sequence.
We can visualize the frames boundaries and compute the total size of the background.

http://www.kinovea.org/screencaps/0.8.x/exp-jump-skeleton.jpg
Frame borders transformed and positionned against the virtual background. (high jump sequence same as below)

.
The second step is to compute an image of the panoramic background without the person moving in the foreground.
To do this we compute back all the contributing images to a given location in the final background. This gives a list of pixels each from a different frame of the video, most being of the color of background, some being the person when passing in foreground. The trick is to compute a pixel representative of the background using this group of pixels.

For this experiment, I used the median pixel of the group. It gives good results and it's easy to compute.

Here are some reconstructed backgrounds (with some pictures extracted from the corresponding videos for reference).

http://www.kinovea.org/screencaps/0.8.x/exp-jump800.jpg
High jump sequence. Distorsion accumulates on the left.

http://www.kinovea.org/screencaps/0.8.x/exp-fixie800.jpg
Fixed-gear bicycle sequence.

.
To be continued…
big_smile

2

hy joan,
these images look nice! When we are trying to have accurate clear images to view for example the motion of the foot striking the ground, it is I think, necessary to have many frames per second. A compilation of images (as shown) would possibly blur the view of what you want to see. Only with motions that can't be taken with the video on a fixed position, and with great speed, would benefit from this (diving, etc...)
Is this correct?

3

Yes, if you use for example high speed camera at 500fps or so, and zooming to see only what you are intersted in, these treatments will not be very interesting.
In this case, the high frame rate is already a very powerful tool for analysis.

It is most interesting for scenes where we can see the whole person moving relatively to the background smile

4

Dear Joan,
thank you for creating a great software!

Is it possible to ad a new filter? Greyscale would be great.
The indoor facility I work in has poor light so the video gets a bit "noisier" working with 210-300fps and with a greyscale filter the video looks better to analyse/look at. A negative filter would also be good.
As a complement to Kinovea I work with Tracker and that software have these features.
http://www.cabrillo.edu/~dbrown/tracker/

One again thanks for a great coaching tool!
Benke