Reverse Color Key?

NIckar

New Member
Hello I have a question. Is it possible to exclude color on two overlapping elements in real time? An example below. The table is from the game (video) and is dynamic. The blue rectangle is the element where I would like the yellow numbers below the blue square to be visible.
colorkey.PNG
 

Suslik V

Active Member
It is possible.
Clarify request.
Are you need highlight for the numbers only and cover the icon part? Then just split the color rectangle in to two - left and right parts. Now you can independently control blending for both parts of the rectangle (the icon and the number).
 

NIckar

New Member
It is possible.
Clarify request.
Are you need highlight for the numbers only and cover the icon part? Then just split the color rectangle in to two - left and right parts. Now you can independently control blending for both parts of the rectangle (the icon and the number).
Of course, I already explain my thoughts, thank you for your interest. \

Clean table from the game:
clearoverlay.PNG

Table with our overlay (characters from game icons):
overlaynumbers.PNG

I'd like to bring these numbers to the fore. Is it possible if the table is from the game, i.e. it is a dynamic element? Maybe there are some plugins or some filter?

Best Regards
 

koala

Active Member
If I understand you correctly, you have 2 layers. The bottom layer is your game with the yellow numbers and the tiny icons. Your second layer is an overlay that overlays the numbers and icons with some external images.
Now you want to extract and pull the yellow numbers from the bottom layer and put it as 3rd layer above the overlay.

May be possible, if you capture the game and the overlay with distinct sources within OBS. Not possible, if you just capture everything as one source such as display capture. For some filter in OBS to be able to get the numbers, you need the numbers visible in some source.
This filter should be applied to a duplicate of the game video source and needs to "filter out" the yellow numbers, setting everything else to transparent, then being placed above the overlay source.

However, as you already found out, you want an inverse chroma key filter - keep everything that matches the chroma and remove everything that doesn't match. I only saw similar questions with a forum search, but never a solution.
 

Suslik V

Active Member
If
background for digits is dark;
position is fixed;
then make reference copy of the game capture source, crop it with Transform (to make narrow column of digits) and add it as third layer above the custom picture. Add the Screen blending effect to this third layer or any similar (depending on contrast of the new background color text may not look good). Also, you can extract background from the third layer (the cropped source), by obs Color Key filter. It is all depends on your imagination.

Note.
It is better to use discolored text for encoding with loss.
 
Top