Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Color Tracking And Centering For Virtualdub, tracking
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
videocrack
Posted: Apr 21 2011, 10:40 PM


Member


Group: Members
Posts: 27
Member No.: 26678
Joined: 27-December 09



Hi all!

as I've already indicated in another thread, I have programmed a tool for tracking and centering a single object of a specified color. You can download the software on my homepage

http://videocrack.npage.de/

(go to centertracker -> download centertracker v1.2)

I hope you can run the program without having to install additional Software (except for VirtualDub and AviSynth). If not plz let me know. Currently there's no documentation available but it should be self-explanatory for the most part. If you have questions plz ask and I'll try to help. Of course this is a new prog and therefore there may be bugs in it. Also, it's my first Windows program ever biggrin.gif

here are two sample videos:

http://www.youtube.com/watch?v=2jJw7-Siles

http://www.youtube.com/watch?v=OO9W_oJhUCQ

the prog creates an AVS file which you have to run with VirtualDub. As this tool is mainly meant for centering objects there can still be shaking. But Deshaker will take care of that if needed!


Cheers
Stephan

edit:

here are two new videos made with the new centertracker version (will be available soon for d/l):


ball stabilized:
http://www.youtube.com/watch?v=nrUNPTSagJ4

helicopter stabilized:
http://www.youtube.com/watch?v=Z7IFlxnp5Mw

* just found out the 72 kB file doesn't run on other computers (need to include some dll) ... but I'm working on it. Gonna be a few MB in the end rolleyes.gif

edit 2: solved. Upload 2morrow wink.gif

edit 3: uploaded (see link on top)

edit 4: uploaded v1.3, tutorial video here:
http://www.youtube.com/watch?v=4gFAKYaj_58
 
     Top
videocrack
Posted: May 3 2011, 04:29 PM


Member


Group: Members
Posts: 27
Member No.: 26678
Joined: 27-December 09



the program now comes with contour tracking and object recognition:

object recognition/ tracking video:
http://www.youtube.com/watch?v=t4n5JxR77TA


plz feel free to ask questions or report any bugs

Cheers

edit 10.05.11

be sure to d/l the latest version , now with full mouse control
 
     Top
videocrack
Posted: May 26 2011, 05:45 AM


Member


Group: Members
Posts: 27
Member No.: 26678
Joined: 27-December 09



just FYI. currently working on an additional option to stabilize on backgrounds. Besides object/ color/ contour tracking this will complete the software, of course finetuning of the stabilizer will need time.

From the number of downloads I can see that there's a good interest in the software. Feedback is welcome.

Cheers
Stephan
 
     Top
evropej
Posted: May 26 2011, 04:47 PM


Advanced Member


Group: Members
Posts: 514
Member No.: 26523
Joined: 28-November 09



Nice work.
I will give this a try tonight and see how well it works on videos from an airshow which deshaker has a had time deshaking.
 
     Top
videocrack
Posted: May 26 2011, 07:56 PM


Member


Group: Members
Posts: 27
Member No.: 26678
Joined: 27-December 09



if there are multiple planes in your vid centertracker may also have a hard time unless it is only one plane or one of the planes looks different in color/ shape. This is why I'm also trying to add a stabilize option to the program like in Deshaker. I've made some progress today but currently background stabilization is far from being as good as with Deshaker (the issue is the changing scenes). I've had some fruitful discussions with Gunnar and he gave me some useful hints. Also a number of other people provide useful info on the net. I can imagine numerous approaches to solve the prob ... only question is which one is best.

Btw, if you use Deshaker sometimes it's good to run it several times. I had a helicopter where I ran it 5 times to enhance stabilization. Later on I also tried it with Centertracker with similar results.

if you have any questions/ suggestions jlmk, thx for testing it!

Cheers
Stephan

edit: cancelled stabilizing on background. Why invent the wheel anew? lol
 
     Top
videocrack
Posted: Dec 30 2011, 06:12 PM


Member


Group: Members
Posts: 27
Member No.: 26678
Joined: 27-December 09



there's now a new version available (scroll to bottom for newest version):

http://videocrack.npage.de/get_file.php?id...3355&vnr=900096

I've added a new tracking mode (brightness) and wing beat compensation for videos with a flying bird. Now it's also possible to limit the search area to reduce influence of noise and to speed up processing a bit.

Here's a first example video (with lots of noise though, need a better camera with more pixels biggrin.gif):

http://www.youtube.com/watch?v=YwuBHo4i2G4

wing beat compensation does not work for all phases of the bird flight. Especially when you see it from the side it's very difficult to program IF conditions that identify 'up' and 'down' correctly.

I hope this tool is of use to people. Please let me know about bugs and suggestions are welcome also.

*Next I plan to include a 'detect zoom' option for the template mode as the function cvMatchTemplate does not work properly if the object gets bigger or smaller. I had experimented with zoom and rotation before and in principle it works but the method I used for detection so far is VERY slow and often inaccurate due to 'noise'. So I'll attempt a different approach. Hopefully I'll figure something out rolleyes.gif

Cheers
Stephan


* edit: just had an idea how to easily avoid this problem. Template matching should be rotation and zoom invariant and even invariant to small changes in version 1.6.1 which I'll upload soon.

here's version 1.6.1:
http://videocrack.npage.de/get_file.php?id...7410&vnr=342363


example video:
http://www.youtube.com/watch?v=bdws75OruAQ
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
5 replies since Apr 21 2011, 10:40 PM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Filters and Filter Development