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.

 
Background Substraction / Frame Diferencing
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
b0w0
Posted: Jul 16 2010, 03:54 PM


Newbie


Group: Members
Posts: 2
Member No.: 28021
Joined: 15-July 10



Dear all,

I have a quite big movie, around 9 GB. It consists of mainly not moving image for every frame except some little moving things. Therefore, I'd like to substract all the non moving parts from every frame so that what is left is only moving parts. This way I can extract the information quickly without getting distracted with non important parts.

I'm thinking of taking a frame and use it as a background and substract that frame from every other frame.

Is there any way to do it using VirtualDub?

Thanks.

Regards,
Bowo
 
     Top
-SPM-Mad
Posted: Aug 7 2010, 02:02 AM


Advanced Member


Group: Members
Posts: 197
Member No.: 1332
Joined: 13-December 02



It is possible with VirtualDub and some additional filters. But it needs processing of the whole video... there is a more flexible solution by using a frameserver. VirtualDub has one, but to be honest, never played around with it.

Usually in this cases I use AviSynth. http://avisynth.org/mediawiki/Main_Page
After it has been installed, the System can open *.avs files wich are rendered directly to a video. And these avs files contain scripts. With some studying of the documentation you will quickly find an input filter to load the video and the background and then combine them using substraction or differential imaging.

This 'scripted video' then again could be loaded into VirtualDub.


Additionally you could add massive motionblur/temporal smoothing to the second soucrce to get a video of the 'average' picture of the last fest seconds and combine this with the unmodified picture. This way the differential picture would show somewhat 'recent fast changes in the picture'.

Feel free to ask more =)

Greetings
-SPM-Mad
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
1 replies since Jul 16 2010, 03:54 PM Track this topic | Email this topic | Print this topic

<< Back to Advanced Video Processing