Jump to: Board index » General » Fusion

Can't determine/remember how to remove track points

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Dave Andrade

  • Posts: 111
  • Joined: Wed Apr 20, 2016 2:11 pm

Can't determine/remember how to remove track points

PostSat Apr 28, 2018 2:29 am

So, I was able to track this perfectly. And I was also able to us the delta key to remove the green.

For some reason, and I dont know if it's because I am tired, but how do I get rid of those track points?

What I am REALLY trying to do is extend the green over into the track points (yes, I even tried erode) and the use THAT as the key.

Thoughts? Below is the source and my node tree below that. The media at the top, and the transform is the footage I am putting into the "green screen" key.

getting rid of items.JPG
getting rid of items.JPG (35.55 KiB) Viewed 1606 times

node tree.JPG
node tree.JPG (29.11 KiB) Viewed 1606 times
Offline

Jimmy Paez

  • Posts: 64
  • Joined: Thu May 05, 2016 12:56 am

Re: Can't determine/remember how to remove track points

PostSat Apr 28, 2018 6:40 am

You forgot the garbage matte:

Code: Select all
{
   Tools = ordered() {
      Background1 = Background {
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            TopLeftGreen = Input { Value = 1, },
         },
         ViewInfo = OperatorInfo { Pos = { 381, 70 } },
      },
      Text1 = TextPlus {
         Inputs = {
            Width = Input { Value = 1920, },
            Height = Input { Value = 1080, },
            ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
            Size = Input { Value = 0.4081, },
            Font = Input { Value = "Open Sans", },
            StyledText = Input { Value = "+++", },
            Style = Input { Value = "Bold", },
            ManualFontKerningPlacement = Input {
               Value = StyledText {
                  Array = {
                  },
                  Value = ""
               },
            },
            Red1 = Input { Value = 0, },
            Green1 = Input { Value = 0, },
            Blue1 = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 373, 142 } },
      },
      Merge1 = Merge {
         Inputs = {
            Background = Input {
               SourceOp = "Background1",
               Source = "Output",
            },
            Foreground = Input {
               SourceOp = "Text1",
               Source = "Output",
            },
            PerformDepthMerge = Input { Value = 0, },
         },
         ViewInfo = OperatorInfo { Pos = { 523, 122 } },
      },
      DeltaKeyer1 = DeltaKeyer {
         CtrlWZoom = false,
         Inputs = {
            BackgroundRed = Input { Value = 0, },
            BackgroundGreen = Input { Value = 1, },
            BackgroundBlue = Input { Value = 0, },
            TuningRanges = Input {
               Value = ColorCurves {
                  Curves = {
                     {
                        Points = {
                           { 0, 1 },
                           { 0.4, 0.2 },
                           { 0.6, 0 },
                           { 1, 0 }
                        }
                     },
                     {
                        Points = {
                           { 0, 0 },
                           { 0.4, 0 },
                           { 0.6, 0.2 },
                           { 1, 1 }
                        }
                     }
                  }
               },
            },
            ["Garbage.Matte"] = Input {
               SourceOp = "Rectangle1",
               Source = "Mask",
            },
            Input = Input {
               SourceOp = "Merge1",
               Source = "Output",
            },
         },
         ViewInfo = OperatorInfo { Pos = { 754, 120 } },
      },
      Rectangle1 = RectangleMask {
         Inputs = {
            MaskWidth = Input { Value = 1920, },
            MaskHeight = Input { Value = 1080, },
            PixelAspect = Input { Value = { 1, 1 }, },
            ClippingMode = Input { Value = FuID { "None" }, },
         },
         ViewInfo = OperatorInfo { Pos = { 580, 198 } },
      }
   },
   ActiveTool = "DeltaKeyer1"
}
Offline

Dave Andrade

  • Posts: 111
  • Joined: Wed Apr 20, 2016 2:11 pm

Re: Can't determine/remember how to remove track points

PostSat Apr 28, 2018 4:45 pm

Forgive my ignorance but is there somewhere I plug that code into?

The issue I am running into is that I can make a rectangle mask and that will make an alpha channel and I can use the tracker to put it in place. Works great.

But I keyed the green screen in a specific way so even though I can see the background just fine now, I can see the rectangle mask too. (because the footage is "keyed" differently.

Ideally, I'd like to make the track points green too and then key everything at the same time. But what would I feed in before the keyer? I could try paint and then the tracking data but again, what do I feed into after the source footage and before the delta keyer?
Offline

Jimmy Paez

  • Posts: 64
  • Joined: Thu May 05, 2016 12:56 am

Re: Can't determine/remember how to remove track points

PostSat Apr 28, 2018 5:42 pm

Just copy the code into the flow tab and you'll see an example...
Offline

Sander de Regt

  • Posts: 3583
  • Joined: Thu Nov 13, 2014 10:09 pm

Re: Can't determine/remember how to remove track points

PostSat Apr 28, 2018 8:32 pm

It's not an answer to your question, but why do you need/want to key it? Why not just put the image you want on top of the original footage with a four point tracker to begin with?

I don't know if this is test footage or part of a project, but when doing stuff like this, a lot of people just work with phones that are either turned off or showing a black image. This way you can use the original reflections to integrate what you're putting into the screen and you don't have to deal with green spill etc. If you have the chance to reshoot it, you should try it like that sometimes.
Sander de Regt

ShadowMaker SdR
The Netherlands
Offline

Jimmy Paez

  • Posts: 64
  • Joined: Thu May 05, 2016 12:56 am

Re: Can't determine/remember how to remove track points

PostSat Apr 28, 2018 9:27 pm

for the tracking marks you have to connect the garbage matte to the tracker
Offline
User avatar

Bryan Ray

  • Posts: 2491
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Can't determine/remember how to remove track points

PostSat Apr 28, 2018 10:38 pm

If the garbage matte approach won't work (and it sounds like it won't because you want to preserve some reflectivity?), what I usually do to paint out tracking markers is to use a tracked-in soft mask on a Transform node, then transform part of the green field over the markers.


getting rid of items.JPG
getting rid of items.JPG (176.61 KiB) Viewed 1481 times
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

Dave Andrade

  • Posts: 111
  • Joined: Wed Apr 20, 2016 2:11 pm

Re: Can't determine/remember how to remove track points

PostSun Apr 29, 2018 1:23 am

Yes Bryan, that's exactly it. Keeping the reflections.

So just to be clear. Track the markers (done)....create masks. But most importantly, transform the masks ("slide" them over, which is basically the same footage "underneath") and then key out all the green, right?

To answer one of the other questions, I find the tracker much easier. I know I can corner pin and leave the screen powered off, and I certainly could have used black with trackers (with the app I have) but I wanted to keep the track points, especially the ones I used, for accuracy.

Believe it or not, I have a lot of experience with After Effects and Blender, but for some reason, I might be overthinking this one.
Offline
User avatar

Bryan Ray

  • Posts: 2491
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Can't determine/remember how to remove track points

PostSun Apr 29, 2018 2:33 am

Yes, I think you've got it. That's my weapon of choice for tracking marker removal.

If you're just removing trackers, sometimes you'll also need a Color Corrector masked with the same spline to compensate for any gradient between the source and target pixels. And an Unsharp Mask because the Transform's filtering will usually blur the pixels a little bit. But none of that is necessary for something you're just keying away, of course.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com

Return to Fusion

Who is online

Users browsing this forum: No registered users and 29 guests