Page 1 of 1

How can I make white solid with a colored image ?

Posted: Wed Dec 27, 2017 8:47 pm
by alain.mts
Hello,

I don't find how I can made an solid white shape from a colored image (.png).
In this image there are also black lines that also have to be white.
I would use this as a mask.
You can see in the example made with Photoshop what I mean.
Of course I can use Photoshop to change this images.
But my intention is to do this with videos with a green background, and so use the moving objects in the video as a mask.

Alain.mts

Re: How can I make white solid with a colored image ?

Posted: Thu Dec 28, 2017 8:56 pm
by Sadler
I've tried with a couple of green screened videos here. Throwing together a Brightness/Contrast (0.9/0.0) with a Posterise (1.0) seems to consistently give a completely white object. Knock the green screen out with a ChromaKey or ReplaceColour. YMMV depending on the quality of your green screen and the subject matter. If that doesn't work for you, try various combinations on the B+C before and after the posterise.

Re: How can I make white solid with a colored image ?

Posted: Thu Dec 28, 2017 10:20 pm
by Magic
This could be accomplished with a very simple shader (for the GLSLShader module). Try the attached and see if it gets the results you need.

Re: How can I make white solid with a colored image ?

Posted: Wed Jan 03, 2018 2:37 pm
by alain.mts
Hello,
To Sadler : Your method works very good when I use a green screen video, but not when I use a .png image.
To Eric : Your method by using 'AlphaThreshold.txt' works perfect for green screen video's and for.png images.
My problem has been solved. :D
Thanks for your answers.
Alain.mts