Automatic rotoscoping

Thanks a lot for your help! So since scripts are quite slow and not super precise, I decided to buy a greenish textile (hard to find nice green screen during containment, and for some reason on the camera the green appears as blue… Guess I need to check again my white balance :-P) and last time I tried, the result was quite nice when I was wearing a black shirt, but today the result is very bad with a white shirt. It is very easy to see with your eyes the difference, but for some reason the keyring is very bad: it also takes all white values! I also tried other keyring methods, but I can’t find working set of parameters, and I’m not sure how to use PIK mode

Here is my background:


and here is a screenshot of the video:

When I try to apply a keyring and look at the alpha channel, it also puts the arm (completely white).

I tried to follow this tutorial.

I also tried the PIK node, and… it changes my color to pink!

I’ve the feeling that this operation is simple: if the distance between the color is larger than some value, then keep this color, otherwise remove the pixel in the alpha channel. Why are these algorithm changing my colors, or taking colors that have nothing to do with the original color? Is it because white can be seen as a green very light? If yes, can’t I say “please, don’t consider only the chroma, but also make sure the color is not too light”?

Sorry if my questions feel super stupid… :-\

1 Like