Page 1 of 1
Mask and Tracking

Posted:
Fri Jan 27, 2017 1:22 pm
by Edwin Rivera
Hi guys so i was trying to mask a door but the footage had some slight movement so i tried to track a small part of the door to have the data and roto the whole door so i can try to do more work in less time
it almost worked but i got stucked half way
i have some screenshots of my Composition
Please and thank you to anyone who lends a hand
Re: Mask and Tracking

Posted:
Fri Jan 27, 2017 1:27 pm
by Sander de Regt
At what point did you get stuck? It's not quite clear from your post.
Re: Mask and Tracking

Posted:
Fri Jan 27, 2017 1:27 pm
by Edwin Rivera

- already selected it
- roto selection.PNG (148.05 KiB) Viewed 8799 times

- what i did here was that i just used a small mask and then use the "publish tracker path option" then erased the mask and leaved the tracker cause i only needed a track reference
- Tracker from other small selection.PNG (434.69 KiB) Viewed 8799 times
Re: Mask and Tracking

Posted:
Fri Jan 27, 2017 1:29 pm
by Edwin Rivera
now that i had the tracker and the roto i failed to make the roto follow the trackig path
What did i do wrong??
Please and thank you once again
Re: Mask and Tracking

Posted:
Fri Jan 27, 2017 1:30 pm
by Sander de Regt
So do you want to remove the door behind the actor? Or what is it you're trying to do?
Re: Mask and Tracking

Posted:
Fri Jan 27, 2017 1:39 pm
by Edwin Rivera
Hi Sanders
Im trying to roto the door because it has a green screen at the side and the door is green
so it kinda takes the edge of the door a little bit but the chroma mistake can be seen.
Also i tried to only select the chroma part but since the footage has movement i can't make a precise masking so i always get some part of the door...im trying to do my best
Re: Mask and Tracking

Posted:
Fri Jan 27, 2017 1:44 pm
by Sander de Regt
Can you share the moving footage so we can see what you're doing?
Depending on the kind of movement it shouldn't be too difficult to do what you want to do.
It just appears that you're using too many steps to achieve this. As soon as you track all the data is already available. There is no need to publish stuff, since the fact that you tracked the footage has provided you with published data already. You can just connect the mask to the tracker and then create your mask and you should be good to go.
Re: Mask and Tracking

Posted:
Fri Jan 27, 2017 1:49 pm
by Edwin Rivera
also the guy in this tutorial uses a script
but when i do the same steps i can't see the same options
i try to do something similar since the "tracker path" is on the "connect to" option
Re: Mask and Tracking

Posted:
Fri Jan 27, 2017 1:52 pm
by Sander de Regt
The link doesn't work for me. Does it work for you?
Re: Mask and Tracking

Posted:
Fri Jan 27, 2017 1:53 pm
by Edwin Rivera
yes it works for me
write in youtube: Fusion Tutorial Rotoscoping Simple Shapes by Traking
Re: Mask and Tracking

Posted:
Fri Jan 27, 2017 2:39 pm
by Sander de Regt
Is this the one?
It's not a very good workflow actually, that is shown in that video. There is no need to duplicate the loader in Fusion and it's very uncommon to mask a loader directly. If you can share *your* footage that would be more helpful, since I/we can be more specific helping you out.
Re: Mask and Tracking

Posted:
Fri Jan 27, 2017 4:06 pm
by Edwin Rivera
i'll try to post it here as soon as i have the chance
Can you please tell me your email so i can send it to you
the thing is that the forum won't let me upload it
only 2MB for upload and no .mp4
thanks man
Re: Mask and Tracking

Posted:
Mon Jan 30, 2017 10:34 pm
by Sander de Regt
Hi Edwin,
Before I go into tracking the mask(which is a good way to go in some cases)
have you tried the following?
Yes, you have greenscreen, but it's not a very good color green. There is also lots of red and blue in there, so it's difficult to key. But it is very evenly lit. I've used a wand mask inside of the door and got the following result in less than two minutes. I'm sure that with a little tweaking it will be better, but especially with a shot this short, you'd probably get away with it, no problem.
- Code: Select all
{
Tools = ordered() {
Wand1 = WandMask {
Inputs = {
SoftEdge = Input { Value = 0.00170212765957447, },
MaskWidth = Input { Value = 1920, },
MaskHeight = Input { Value = 1080, },
PixelAspect = Input { Value = { 1, 1 }, },
ClippingMode = Input { Value = FuID { "None" }, },
Source = Input {
SourceOp = "Loader1",
Source = "Output",
},
SelectionPoint = Input { Value = { 0.162444113263785, 0.26953642384106 }, },
Range = Input { Value = 0.45531914893617, },
},
ViewInfo = OperatorInfo { Pos = { -368, -111 } },
},
Loader1 = Loader {
Clips = {
Clip {
ID = "Clip1",
Filename = "F:\\Downloads\\VFXchallenge\\original footage.mp4",
FormatID = "QuickTimeMovies",
Length = 39,
Multiframe = true,
TrimIn = 0,
TrimOut = 38,
ExtendFirst = 0,
ExtendLast = 0,
Loop = 1,
AspectMode = 0,
Depth = 0,
TimeCode = 0,
GlobalStart = 0,
GlobalEnd = 38
}
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
},
ViewInfo = OperatorInfo { Pos = { -491, -83 } },
},
MatteControl1 = MatteControl {
Inputs = {
MultiplyGarbageMatte = Input { Value = 0, },
Background = Input {
SourceOp = "Loader1",
Source = "Output",
},
GarbageMatte = Input {
SourceOp = "Wand1",
Source = "Mask",
}
},
ViewInfo = OperatorInfo { Pos = { -263, -59 } },
},
MatteControl2 = MatteControl {
CtrlWZoom = false,
Inputs = {
MatteBlur = Input { Value = 0.25, },
MatteContractExpand = Input { Value = -0.182978723404255, },
PostMultiplyImage = Input { Value = 1, },
Background = Input {
SourceOp = "MatteControl1",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { -105, -59 } },
}
},
ActiveTool = "MatteControl2"
}
Re: Mask and Tracking

Posted:
Wed Feb 01, 2017 1:04 am
by Edwin Rivera
Thanks a lot Sander's
I will try it once i get home
thank you very much
Re: Mask and Tracking

Posted:
Sat Feb 04, 2017 2:59 am
by Edwin Rivera
Hi sanders it did work and i will used it often
But i still ask?
How can i do the mask and tracking work
Just for future proyects
Im trying it out myself but i always ALWAYS fail miserably i don't know what the heck am i doing wrong?
Please help me
And thank you very very much
Re: Mask and Tracking

Posted:
Sun Mar 05, 2017 1:16 pm
by Sander de Regt
Hi Edwin,
I've created a tutorial to help you (and others) out with this subject. The tutorial can be found here:
viewtopic.php?f=22&t=56956and I've embedded it here as well
Re: Mask and Tracking

Posted:
Sun Mar 05, 2017 4:44 pm
by Bryan Ray
Your roto is plugged into the wrong input of the Tracker. Use the green input for the pixels you want the Tracker to move around. Then plug the output of the Tracker into the EffectMask input of whatever you want to mask.
You won't be able to plug the roto into both the Foreground of the Tracker and the mask input of the Footage if you have the Footage connected to the Background of the Tracker. That would create a feedback loop, and Fusion won't allow it.

- Untitled.png (34.19 KiB) Viewed 8415 times
Re: Mask and Tracking

Posted:
Wed Mar 08, 2017 11:36 pm
by Edwin Rivera
Sander and Bryan
Thank you thank you so so much for the tutorial and the tracker aclaration this is gonna helped me a lot. Both of your references are great.
Also to everyone else thank you for all of your suggestions
Have a nice day