u/The_Troubled

Need help with the nodes for making an outline effect only for one image

https://preview.redd.it/9ftvaevy682h1.png?width=1919&format=png&auto=webp&s=4b65029c1c535a48d6b9a5a8616b678bb18e073d

https://preview.redd.it/1xfnpsab782h1.png?width=1086&format=png&auto=webp&s=558d411e202d9e0ea169f115391c6fb830e437e0

So I have this node tree, I want to apply the outline only to my mediaIn1, and I've been struggling with it a lot. I use the dilate/erode effect for this in a couple with a background node
I honestly tried a lot of different connection methods and tree setups, but nothing works

DaVinci 20 Free version

Edit: This is the results I did with the help of the comments, still not right

https://reddit.com/link/1tibtjk/video/8hcautnzo92h1/player

https://preview.redd.it/u1tpefd4p92h1.png?width=1210&format=png&auto=webp&s=4655de563011f7eecbc31bfe03ef969b33f2cda7

reddit.com
u/The_Troubled — 3 days ago