Log in

View Full Version : MVTools - Motion Tracking / Transfer


bartrobinson
6th June 2008, 17:51
First, very sorry about the duplicate post, but I don't think it will get seen where I posted it, so I started my own thread.

Is it possible to do motion tracking / transfer with MVTools?

Example:
Lets say I have two clips. One is a "background" clip that shows a close up of someone's arm moving in frame. I also have a still frame of a fake scar on black. The scar is made to look like it is in the proper shape and location to be on the arm for the first frame of the other clip. Is it possible to MVAnalyse the arm clip and then apply the motion vectors (using another function) to the scar frame so each frame it moves the same as the arm? I would then composite the scar on the arm later myself.

Thanks a lot!

Bart - VFX Artist

foxyshadis
8th June 2008, 01:50
At its simplest:

arm=avisource("armvid.avi")
scar=avisource("scarvid.avi")
vec1=arm.mvanalyse(....)
new=scar.mvcompensate(vec1,....)

which gives you one good frame, the rest will be useless. Then increase delta values to get more frames. You're likely to be disappointed though, because mvtools only does translation, it does not do rotation or zoom, so the scar will not deform with the arm.

bartrobinson
9th June 2008, 04:10
Wouldn't MVFlow deform or not?