Re: Motion tracking algorithm
Posted by
mamech on
Jun 11, 2011; 2:24am
URL: http://imagej.273.s1.nabble.com/Motion-tracking-algorithm-tp3684268p3684279.html
Gary Sellani wrote
I have played with a number of motion detection programs, though I haven't tried tracking (PTZ minus Z) All the ones I have tested leave a lot to be desired. Part of the problem is CCDs will have some noise, so frame by frame comparison is not as easy as you think. Some average frames to reduce noise. They all have a slider to set the sensitivity.
Sorry, but frame comparison is easy as I think : ) I have tested it using a program that I wrote it in java, and it worked.
Gary Sellani wrote
Check out the VLC player, AKA videolan. They have a tracking plugin on that detects objects moving in the image. I think the plugins are open source.
If you get serious about this, please start a sourceforge entry or some other place to store code. I'm certainly willing to beta test. Well assuming I can interface my frame grabber to imagej. ;-)
I have tested the plugin of the vlc player as you said and I have 2 problems with it:
1- I think it also uses frame comparison algorithm, so if both the cam and the target moves, then this algorithm will feel as if everything in the scene moves. Actually there are better programs for this than vlc I think.
2- This is from vlc forums:
"You use it by adding "--video-filter motion" to your command line and it'll draw white rectangles around the moving areas in the video. The algorithm
might be a bit buggy and i sure would appreciate if someone could test it some more and provide feedback."
I am quiet sure that there is smoe algorithm used for motion detection of certain object when both target
and camera are moving