Questions tagged [chromakey]

The technique has been used in many fields to remove a background from the subject of a photo or video – particularly the newscasting, motion picture, and video game industries. A color range in the foreground footage is made transparent, allowing separately filmed background footage or a static image to be inserted into the scene. The chroma keying technique is commonly used in video production and post-production. This technique is also referred to as color keying, colour-separation overlay (CSO; primarily by the BBC), or by various terms for specific color-related variants such as green screen, and blue screen – chroma keying can be done with backgrounds of any color that are uniform and distinct, but green and blue backgrounds are more commonly used because they differ most distinctly in hue from most human skin colors. No part of the subject being filmed or photographed may duplicate the color used as the backing.

It is commonly used for weather forecast broadcasts, wherein a news presenter is usually seen standing in front of a large CGI map during live television newscasts, though in actuality it is a large blue or green background. When using a blue screen, different weather maps are added on the parts of the image where the color is blue. If the news presenter wears blue clothes, his or her clothes will also be replaced with the background video. Chroma keying is also common in the entertainment industry for visual effects in movies and video games.

87 questions
1
vote
2 answers

Creating a more effective matt for chromakey?

I'm trying to chromakey some pictures. Here is an example of one: Here is another one, Now using image magic, I can generate a mat like this.. But I can never get the mat to be "full". My plan is to create a static mat for the turntable and the…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
1
vote
1 answer

Remove solid coloured background of image

I want to implement a functionality where user can capture image through camera and remove the solid background (green/blue). I have already used chroma key inorder to remove background but it is not upto the mark.Chroma key removing image color…
Umesh
  • 1,609
  • 1
  • 17
  • 28
0
votes
0 answers

FFMPEG color key filter applied, output to a transparent HEVC mov file, speed is different

I have an original recording that has the following ffprobe output: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4': Metadata: major_brand : mp41 minor_version : 538120216 compatible_brands: mp41 creation_time :…
Patrick Vellia
  • 399
  • 2
  • 9
0
votes
0 answers

Pygame Chroma Key

There's a lot of files in directory that has background that I need to chroma key, and as said theres a lot of the files so it would be hard to do it using hand is there any way I can add Chroma Key To Pygame?
0
votes
1 answer

chromakey: opencv make green screen video transparent

I'm using the below script to replace the green screen of the original video with a background image but the result is not what I expected, I've changed u_green array parameters and also l_green but it only gets worst. In the end, I want to make it…
Mohammad_Hosseini
  • 2,481
  • 3
  • 30
  • 53
0
votes
2 answers

How to pass off heavy JavaScript math operations to GPU with GPU.js

Background I've built a little web based application that pops up windows to display your webcam(s). I wanted to add the ability to chroma key your feed and have been successful in getting several different algorithms working. The best algorithm I…
Blizzardengle
  • 992
  • 1
  • 17
  • 30
0
votes
1 answer

How to feather the chroma mask from edges

This is the shader i am using to do chroma key , the shader works well but i need to feather the edges of the chroma mask. How can i do that ? #version 430 core uniform sampler2D u_tex; vec4 keyRGBA = vec4(86.0 / 255.0 , 194.0 / 255.0, 46.0 /…
Summit
  • 2,112
  • 2
  • 12
  • 36
0
votes
1 answer

ChromaKey in DirectX

I need implement some chroma key functionality with Direct2d. I have some code example from MSDN: ComPtr chromakeyEffect; m_d2dContext->CreateEffect(CLSID_D2D1ChromaKey, &chromakeyEffect); chromakeyEffect->SetInput(0,…
Olga Pshenichnikova
  • 1,509
  • 4
  • 22
  • 47
0
votes
1 answer

Chromakey filter to display transparent keyboard while recording game screen using ffmpeg

I'm trying to display a transparent keyboard like this one (he is using OBS studio): https://www.youtube.com/watch?v=6RCXyh2aICY So I'm setting all "NohBoard v1.2.2" colors to green (0x00FF00), except the letters, then: ffmpeg -y -f gdigrab…
captain_majid
  • 140
  • 13
0
votes
0 answers

Filtering image in a way as in overlay apps

I am creating an application to give the functionality of overlay as in photoshop. I have two images, The background image on which the overlay would be added, The Foreground image to which the filtration will be applied Note: Both the images…
Krima Shah
  • 117
  • 1
  • 8
0
votes
1 answer

Video + canvas fullscreen issue

I have a video element which is getting copied to a canvas element during the stream.
Norgul
  • 4,613
  • 13
  • 61
  • 144
0
votes
1 answer

Chromakey in an HTML page using SVG filter feMatrixColor

I'm implementing a real-time chromakey in order to transform green pixels displayed from the webcam in the webpage, into transparent pixels. The SVG filter that I found seems pretty powerful but it's still quite unclear for me about how to use…
Giardiv
  • 63
  • 12
0
votes
0 answers

HDMI Chroma Key Programming

I googled so much but I did not find any solution. I created a app with c# wpf. It is creating UI from first desktop's dashboard in second desktop. UI's background is green and it contains some different graphics for example orange. I would like…
Kerberos
  • 331
  • 1
  • 11
0
votes
1 answer

iOS GPUImage - chroma-keying GPUImageChromaKeyBlendFilter doesn't work with replacing black/grey on an image with white

I am trying to replace the black/dark gray with a pure black image in this image using GPUImageChromaKeyBlendFilter but it seems to be replacing the whites too: Here's my code: stillImageSource = [[GPUImagePicture alloc] initWithImage:[UIImage…
0
votes
1 answer

how to rotoscope a color mask in after Effects?

I am looking to rotoscope a person playing a guitar where the person playing the guitar would be all one color and the guitar would be another color. Then, I am hoping to color key both of those two colors to be different textured background. I'm…
Jamie Theophilos
  • 83
  • 1
  • 1
  • 7