Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 




Languages  












Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 

















Examine individual changes



Help
 







Home
Recent filter changes
Examine past edits
Edit filter log
 

























Tools
   


Actions  







General  



Upload file
Special pages
Printable version
Get shortened URL
Download QR code
 
















Appearance
   

 






This page allows you to examine the variables generated by the Edit Filter for an individual change.

Variables generated for this change

VariableValue
Edit count of the user (user_editcount)
null
Name of the user account (user_name)
'2409:40C4:3E:D835:B116:C5AD:AD66:C2CC'
Age of the user account (user_age)
0
Groups (including implicit) the user is in (user_groups)
[ 0 => '*' ]
Rights that the user has (user_rights)
[ 0 => 'createaccount', 1 => 'read', 2 => 'edit', 3 => 'createtalk', 4 => 'writeapi', 5 => 'viewmywatchlist', 6 => 'editmywatchlist', 7 => 'viewmyprivateinfo', 8 => 'editmyprivateinfo', 9 => 'editmyoptions', 10 => 'abusefilter-log-detail', 11 => 'urlshortener-create-url', 12 => 'centralauth-merge', 13 => 'abusefilter-view', 14 => 'abusefilter-log', 15 => 'vipsscaler-test' ]
Whether the user is editing from mobile app (user_app)
false
Whether or not a user is editing through the mobile interface (user_mobile)
false
Page ID (page_id)
46953
Page namespace (page_namespace)
0
Page title without namespace (page_title)
'Chroma key'
Full page title (page_prefixedtitle)
'Chroma key'
Edit protection level of the page (page_restrictions_edit)
[]
Last ten users to contribute to the page (page_recent_contributors)
[ 0 => 'Myforce2001', 1 => 'Fragrant Peony', 2 => '122.108.75.113', 3 => 'Sound-man-sam', 4 => 'XtraJovial', 5 => '2409:4063:4392:4AD6:0:0:2CC:D0B1', 6 => 'CodeTalker', 7 => '35.134.216.96', 8 => 'Felida97', 9 => '205.155.216.53' ]
Page age in seconds (page_age)
671537917
Action (action)
'edit'
Edit summary/reason (summary)
'Added citations'
Old content model (old_content_model)
'wikitext'
New content model (new_content_model)
'wikitext'
Old page wikitext, before the edit (old_wikitext)
'{{short description|Compositing technique, also known as green screen}} {{redirect|Green screen}} {{for multi|the electronic music project|Chroma Key|musical tonality depending on key|Key (music)}} {{Use British English|date=May 2020}} {{Use dmy dates|date=November 2017}} [[File:Green screens compare with Iman Crosson 20110524.png|thumb|upright=1.3|The practicality of green-screen compositing is demonstrated by actor [[Iman Crosson]] in a self-produced video.<br>'''Top panel:''' A frame in a full-motion video shot in the actor's living room.<ref>From YouTube video [https://www.youtube.com/watch?v=_U9HzHqMGi0 "President Obama on Death of Osama SPOOF- '''BEHIND THE SCENES'''"] posted to Crosson's secondary YouTube channel "Iman" on 8 May 2011.</ref><br>'''Bottom panel:''' The corresponding frame in the final version in which the actor impersonates [[Barack Obama]] "appearing" outside the White House's East Room.<ref name="SPOOFvid">The final (composite) video [https://www.youtube.com/watch?v=xlOIy6QEbes "President Obama on Death of Osama bin Laden '''(SPOOF)'''"] posted to Crosson's YouTube channel "Alphacat" on 4 May 2011.</ref>]] '''Chroma key compositing''', or '''chroma keying''', is a [[Visual effects|visual-effects]] and [[post-production]] technique for [[compositing]] (layering) two [[image]]s or [[video]] streams together based on colour hues ([[colorfulness|chroma]] range). The technique has been used in many fields to remove a background from the subject of a photo or video – particularly the [[newscast]]ing, [[motion picture]], and [[video game]] industries. A colour 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 '''colour keying''', '''colour-separation overlay''' ('''CSO'''; primarily by the [[BBC]]<ref name="What is Chroma Key?">{{cite web |url=http://lumeo.com.au/chroma-key/ |title=What is Chroma Key?|publisher=Lumeo |access-date=3 July 2014}}</ref>), or by various terms for specific colour-related variants such as '''green screen''' or '''blue screen'''; chroma keying can be done with backgrounds of any colour that are uniform and distinct, but green and blue backgrounds are more commonly used because they differ most distinctly in hue from any [[human skin colour]]. No part of the subject being filmed or photographed may duplicate the colour used as the backing, or the part may be erroneously identified as part of the backing.<ref name="BorisFX" /> It is commonly used for [[weather forecasting|weather forecast]] [[broadcasts]] in which a [[news presenter]] is usually seen standing in front of a large [[Computer-generated imagery|CGI]] map during live television newscasts, but it is really a large blue or green background. Using a blue screen, different weather maps are added on the parts of the image in which the colour is blue. If the news presenter wears blue clothes, their 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. [[Rotoscopy]] may instead be carried out on subjects that are not in front of a green (or blue) screen. [[Match moving|Motion tracking]] can also be used in conjunction with chroma keying, such as to move the background as the subject moves. ==History== ===Predecessors=== Prior to the introduction of [[Matte (filmmaking)|travelling mattes]] and [[optical printer|optical printing]], [[double exposure]] was used to introduce elements into a scene which were not present in the initial exposure. This was done using black draping where a green screen would be used today. [[George Albert Smith (film pioneer)|George Albert Smith]] first used this approach in 1898. In 1903, ''[[The Great Train Robbery (1903 film)|The Great Train Robbery]]'' by [[Edwin Stanton Porter|Edwin S. Porter]] used double exposure to add background scenes to windows which were black when filmed on set, using a [[garbage matte]] to expose only the window areas.<ref>{{cite book | title=Experimental Filmmaking: Break the Machine | first=Kathryn | last=Ramey | page=70 | url=https://books.google.com/books?id=XYRICgAAQBAJ&pg=PA70| isbn=9781136071508 | date=2015-07-30 }}</ref> In order to have figures in one exposure actually move in front of a substituted background in the other, a travelling matte was needed, to occlude the correct portion of the background in each frame. In 1918 [[Frank D. Williams (cinematographer)|Frank Williams]] patented a travelling matte technique, again based on using a black background. This was used in many films, such as ''[[The Invisible Man (1933 film)|The Invisible Man]]''.<ref name=Foster />{{rp|4}} In the 1920s, [[Walt Disney]] used a white backdrop to include human actors with cartoon characters and backgrounds in his ''[[Alice Comedies]]''.<ref name=Foster />{{rp|5}} ===Bluescreen=== The blue screen method was developed in the 1930s at [[RKO Radio Pictures]]. At RKO, [[Linwood Dunn]] used an early version of the [[Matte (filmmaking)|travelling matte]] to create "wipes" – where there were transitions like a windshield wiper in films such as ''[[Flying Down to Rio]]'' (1933). Credited to [[Lawrence W. Butler|Larry Butler]], a scene featuring a genie escaping from a bottle was the first use of a proper bluescreen process to create a traveling matte for ''[[The Thief of Bagdad (1940 film)|The Thief of Bagdad]]'' (1940), which won the [[Academy Award for Best Visual Effects|Academy Award for Best Special Effects]] that year. In 1950, [[Warner Brothers]] employee and ex-[[Kodak]] researcher [[Arthur Widmer]] began working on an [[ultraviolet]] travelling matte process. He also began developing bluescreen techniques: one of the first films to use them was the [[The Old Man and the Sea (1958 film)|1958 adaptation]] of the [[Ernest Hemingway]] novella, ''[[The Old Man and the Sea]]'', starring [[Spencer Tracy]].<ref name="cri">{{cite web|url=http://en.chinabroadcast.cn/2246/2005-2-14/90@206385.htm|title=Illusions Take Home First Oscars|date=14 February 2005|publisher=[[China Radio International|CRI English]]|access-date=21 January 2009|archive-url=https://web.archive.org/web/20050315004609/http://en.chinabroadcast.cn/2246/2005-2-14/90%40206385.htm|archive-date=15 March 2005|url-status=dead|df=dmy-all}}</ref> The name "Chroma-Key" was [[RCA]]'s trade name for the process, as used on its [[NBC]] television broadcasts, incorporating patents granted to RCA's Albert N. Goldsmith.<ref>"Studio: The World--NBC Introduces 'Chroma-Key' to Extend Scope of TV Settings." Electronic Age, January 1958, 8.</ref> A very early broadcast use was NBC's George Gobel Show in fall 1957.<ref>Johnson, Erskine. "Video's Special Effects Men Becoming Master Magicians of Hollywood; Many Tricks." (NEA syndicated article) Gloversville (NY) Leader-Herald, 6 December 1957.</ref> [[Petro Vlahos]] was awarded an Academy Award for his refinement of these techniques in 1964. His technique exploits the fact that most objects in real-world scenes have a colour whose blue-colour component is similar in intensity to their green-colour component. [[Zbigniew Rybczyński]] also contributed to bluescreen technology. An [[optical printer]] with two projectors, a film camera and a "beam splitter", was used to combine the actor in front of a blue screen together with the background footage, one frame at a time. In the early 1970s, American and British television networks began using green backdrops instead of blue for their newscasts. During the 1980s, [[minicomputer]]s were used to control the optical printer. For the film ''[[The Empire Strikes Back]]'', [[Richard Edlund]] created a "quad optical printer" that accelerated the process considerably and saved money. He received a special [[Academy Awards|Academy Award]] for his innovation. For decades, travelling matte shots had to be done "locked-down", so that neither the matted subject nor the background could shift their camera perspective at all. Later, computer-timed, [[Motion control photography|motion-control]] cameras alleviated this problem, as both the foreground and background could be filmed with the same camera moves. Meteorologists on television often use a field monitor, to the side of the screen, to see where they are putting their hands against the background images. A newer technique is to project a faint image onto the screen. Some films make heavy use of chroma key to add backgrounds that are constructed entirely using [[computer-generated imagery]] (CGI). Performances from different takes can be composited together, which allows actors to be filmed separately and then placed together in the same scene. Chroma key allows performers to appear to be in any location without leaving the studio. Advances in computer technology have simplified the [[camera tracking|incorporation of motion]] into composited shots, even when using handheld cameras. Reference points such as a painted grid, X's marked with tape, or equally spaced tennis balls attached to the wall, can be placed onto the coloured background to serve as markers. In post-production, a computer can use these markers to compute the camera's position and thus render an image that matches the perspective and movement of the foreground perfectly. Modern advances in software and computational power have eliminated the need to accurately place the markers ⁠— ⁠the software figures out their position in space; a potential disadvantage of this is that it requires camera movement, possibly contributing to modern [[Cinematography|cinematographic]] techniques whereby the camera is always in motion. ==Process== [[File:SpiderwickChroniclesSet.jpg|thumb|right|267px|Film set for ''[[The Spiderwick Chronicles (film)|The Spiderwick Chronicles]]'', where a visual effects scene using bluescreen chroma key is in preparation]] The principal subject is filmed or photographed against a background consisting of a single colour or a relatively narrow range of colours, usually blue or green because these colours are considered to be the furthest away from skin tone.<ref name="BorisFX">{{cite web|url=http://www.borisfx.com/tutorials/chroma_key.php|title=The Chroma Effect|work=Chroma Key Tutorial|publisher=BorisFX|quote=If the foreground is a person then blue or green backing colour is recommended as these colours are not present in human flesh pigments. In fact, human skin colour is 70% red for all people regardless of race.|access-date=11 January 2010|archive-url=https://web.archive.org/web/20050315004609/http://en.chinabroadcast.cn/2246/2005-2-14/90%40206385.htm|archive-date=15 March 2005|url-status=dead|df=dmy-all}}</ref> The portions of the video which match the pre-selected colour are replaced by the alternate background video. This process is commonly known as "[[keying (graphics)|keying]]", "keying out" or simply a "key". ===Processing a green backdrop=== Green is used as a backdrop for TV and electronic cinematography more than any other colour because television weather presenters tended to wear blue suits. When chroma keying first came into use in television production, the blue screen that was then the norm in the movie industry was used out of habit, until other practical considerations caused the television industry to move from blue to green screens. Broadcast-quality colour television cameras use separate red, green and blue image sensors, and early analog TV chroma keyers required RGB component video to work reliably. From a technological perspective it was equally possible to use the blue or green channel, but because blue clothing was an ongoing challenge, the green screen came into common use. Newscasters sometimes forget the chroma key dress code, and when the key is applied to clothing of the same colour as the background, the person would seem to disappear into the key. Because green clothing is less common than blue, it soon became apparent that it was easier to use a green matte screen than it was to constantly police the clothing choices of on-air talent. Also, because the human eye is more sensitive to green wavelengths, which lie in the middle of the visible light spectrum, the green analog video channel typically carried more signal strength, giving a better signal to noise ratio compared to the other component video channels, so green screen keys could produce the cleanest key. In the digital television and cinema age, much of the tweaking that was required to make a good quality key has been automated. However, the one constant that remains is some level of colour coordination to keep foreground subjects from being keyed out.<ref>{{cite web|url=https://www.videomaker.com/article/f5/13055-the-keys-to-chromakey-how-to-use-a-green-screen |title=The Keys To Chromakey: How To Use A Green Screen|publisher=Videomaker |access-date=23 October 2017}}</ref> ===Processing a blue backdrop=== Before electronic chroma keying, compositing was done on (chemical) film. The camera colour negative was printed onto high-contrast black and white negative, using either a filter or the high contrast film's colour sensitivity to expose only blue (and higher) frequencies. Blue light only shines through the colour negative where there is ''not'' blue in the scene, so this left the film clear where the blue screen was, and opaque elsewhere, except it also produced clear for any white objects (since they also contained blue). Removing these spots could be done by a suitable double-exposure with the colour positive (thus turning any area containing red or green opaque), and many other techniques. The result was film that was clear where the blue screen was, and opaque everywhere else. This is called a ''female matte'', similar to an ''[[alpha matte]]'' in digital keying. Copying this film onto another high-contrast negative produced the opposite ''male matte''. The background negative was then packed with the female matte and exposed onto a final strip of film, then the camera negative was packed with the male matte and was double-printed onto this same film. These two images combined creates the final effect. ===Major factors=== The most important factor for a key is the colour separation of the foreground (the subject) and background (the screen)&nbsp;– a blue screen will be used if the subject is predominantly green (for example plants), despite the camera being more sensitive to green light. In [[analog television]], colour is represented by the phase of the chroma [[Subcarrier#Television|subcarrier]] relative to a reference oscillator. Chroma key is achieved by comparing the phase of the video to the phase corresponding to the pre-selected colour. In-phase portions of the video are replaced by the alternate background video. In [[Digital television|digital colour TV]], colour is represented by three numbers (red, green, blue intensity levels). Chroma key is achieved by a simple numerical comparison between the video and the pre-selected colour. If the colour at a particular point on the screen matches (either exactly, or in a range), then the video at that point is replaced by the alternate background. ====Lighting==== In order to create an illusion that characters and objects filmed are present in the intended background scene, the lighting in the two scenes must be a reasonable match. For outdoor scenes, overcast days create a diffuse, evenly coloured light which can be easier to match in the studio, whereas direct sunlight needs to be matched in both direction and overall colour based on time of day. A studio shot taken in front of a green screen will naturally have ambient light the same colour as the screen, due to its light scattering. This effect is known as ''spill''.<ref name=Foster />{{rp|p20}} This can look unnatural or cause portions of the characters to disappear, so must be compensated for, or avoided by using a larger screen placed far from the actors.<ref>{{Cite book |last1= Aronson |first1= David |author-link1= David Aronson |title= DV Filmmaking: From Start to Finish, Volume 1 |year= 2006 |publisher= O'Reilly Media, Inc. |isbn= 978-0596008482 |pages= [https://archive.org/details/dvfilmmakingfrom0000aron/page/52 52–53] |url= https://archive.org/details/dvfilmmakingfrom0000aron/page/52 }}</ref> ====Camera==== The depth of field used to record the scene in front of the coloured screen should match that of the background. This can mean recording the actors with a larger depth of field than normal.<ref name="bermingham">{{Cite book | first= Alan | last=Bermingham | title= Location Lighting for Television | year= 2013 | publisher=Focal Press | isbn=978-0-240-51937-1 | page= 42 | url=https://books.google.com/books?id=7bAcAAAAQBAJ&pg=PA42}}</ref> ==Clothing== {{multiple image | footer = A person wearing blue clothing in front of green screen. The shadows cast onto the green screen are not ideal (see [[Chroma key#Even lighting|even lighting]].) | image1 = Girl in front of a green background.jpg | width1 = {{#expr: (260 * 640 / 960) round 0}} | image2 = Girl in room, green screen example.jpg | width2 = {{#expr: (260 * 707 / 892) round 0}} }} A chroma key subject must avoid wearing clothes which are similar in colour to the chroma key colour(s) (unless intentional e.g., wearing a green top to make it appear that the subject has no body), because the clothing may be replaced with the background image/video. An example of intentional use of this is when an actor wears a blue covering over a part of his body to make it invisible in the final shot. This technique can be used to achieve an effect similar to that used in the ''[[Harry Potter (film series)|Harry Potter]]'' films to create the effect of an [[Cloak of invisibility|invisibility cloak]]. The actor can also be filmed against a chroma-key background and inserted into the background shot with a distortion effect, in order to create a cloak that is marginally detectable.<ref>{{cite web |url=http://library.creativecow.net/articles/stern_eran/Invisible_Cape.php |title=Creating an invisible cape in After Effects |publisher=Library.creativecow.net |access-date=20 July 2011 |archive-date=28 March 2019 |archive-url=https://web.archive.org/web/20190328142323/https://library.creativecow.net/articles/stern_eran/Invisible_Cape.php |url-status=dead }}</ref> Difficulties emerge with blue screen when a costume in an effects shot must be blue, such as [[Superman]]'s traditional blue outfit. In the 2002 film ''[[Spider-Man (2002 film)|Spider-Man]]'', in scenes where both [[Spider-Man]] and the [[Green Goblin]] are in the air, Spider-Man had to be shot in front of a green screen and the Green Goblin had to be shot in front of a blue screen. The colour difference is because Spider-Man wears a costume which is red and blue in colour and the Green Goblin wears a costume which is entirely green in colour. If both were shot in front of the same screen, parts of one character would be erased from the shot. For a clean division of foreground from background, it is also important that clothing and hair in the foreground shot have a fairly simple silhouette, as fine details such as frizzy hair may not resolve properly. Similarly, partially transparent elements of the costume cause problems.<ref name="bermingham" /> ==Background colour== [[File:MuseumOfScienceBoston BlueScreenAtSpecialEffectsShow.jpg|thumb|right|267px|Demonstration of the creation of visual effects techniques using chroma key]] [[Blue]] was originally used for TV chroma keying [[special effects]] because the film industry used blue backgrounds for similar purposes. The colour blue was tied to the blue emulsion layer of film having comparable grain and detail in comparison to the red and [[green]] layers of the emulsion. In television and digital filmmaking, however, green has become the favoured colour because of some practical considerations, and because [[lossy compression]] algorithms used in both analog and digital TV distribution retain more detail in the green channel. The choice of colour is up to the effects artists and the needs of the specific shot. Whereas the blue screen was introduced to the television industry by the film industry, the use of green screen visual effects has been introduced to the film industry as electronic imaging has augmented and replaced the use of chemical film stock in cinema. Also, the green background is favoured over blue for outdoor filming where the blue sky might appear in the frame and could accidentally be replaced in the process. Although green and blue are the most common in part because red, green and blue components are used to encode the visible light spectrum, any key colour can be used. Red is avoided for human subjects due to its prevalence in white skin tones, but can be often used for objects and scenes which do not involve people. A so-called "[[Sodium vapor process|yellow screen]]" is accomplished with a white backdrop. Ordinary stage lighting is used in combination with a bright yellow sodium lamp. The sodium light falls almost entirely in a narrow frequency band, which can then be separated from the other light using a prism, and projected onto a separate but synchronized film carrier within the camera. This second film is high-contrast black and white, and is processed to produce the matte.<ref name=Foster>{{cite book | title=The Green Screen Handbook: Real-World Production Techniques | first=Jeff | last=Foster | publisher=John Wiley & Sons | year=2010 | isbn=978-0-470-52107-6}}</ref>{{rp|16}} Occasionally, a [[magenta]] background is used, as in some software applications where the magenta or [[fuchsia (color)|fuchsia]] is sometimes referred to as "magic pink".<ref>{{cite web | url = http://www.skinyourscreen.com/site/Articles/so-you-wanna-make-a-theme | title = So you wanna make a theme? | work = skinyourscreen.com articles | access-date = 23 August 2008 | url-status = dead | archive-url = https://web.archive.org/web/20071029042547/http://www.skinyourscreen.com/site/Articles/so-you-wanna-make-a-theme | archive-date = 29 October 2007 | df = dmy-all }}</ref> A newer technique is to use a [[retroreflective]] curtain in the background, along with a ring of bright [[LED]]s around the [[camera lens]]. This requires no light to shine on the background other than the LEDs, which use an extremely small amount of power and space unlike big [[stage light]]s, and require no [[rigging (theatre)|rigging]]. This advance was made possible by the invention in the 1990s of practical blue LEDs, which also allow for [[Emerald (color)|emerald green]] LEDs. There is also a form of colour keying that uses light spectrum invisible to human eye. Called Thermo-Key, it uses [[infrared]] as the key colour, which would not be replaced by background image during [[Video post-processing|postprocessing]].<ref>{{cite web|url=http://www.hc.t.u-tokyo.ac.jp/project/thermo-key/|url-status=dead|archive-url=https://web.archive.org/web/20090221094257/http://www.hc.t.u-tokyo.ac.jp/project/thermo-key|archive-date=21 February 2009|title=What is Thermo-Key?|publisher=[[University of Tokyo]]|access-date=21 January 2009}}</ref><ref>{{cite journal|title=Thermo-key: human region segmentation from video|journal=IEEE Computer Graphics and Applications|year=2004|volume=24|issue=1|pages=26–30|pmid=15384664|doi=10.1109/MCG.2004.1255805 |last1=Yasuda|first1=K. |last2=Naemura|first2=T. |last3=Harashima|first3=H. |s2cid=8378941}}</ref> For ''[[Star Trek: The Next Generation]]'', an [[ultraviolet light]] matting process was proposed by Don Lee of CIS Hollywood and developed by [[Gary Hutzel]] and the staff of [[Image G]]. This involved a [[fluorescent]] orange backdrop which made it easier to generate a holdout [[Matte (filmmaking)|matte]], thus allowing the effects team to produce effects in a quarter of the time needed for other methods.<ref>{{Cite book |last1= Sternbach |first1= Rick |author-link1= Rick Sternbach |last2= Okuda |first2= Michael |author-link2= Michael Okuda |title= Star Trek: The Next Generation Technical Manual |year= 1991 |publisher= [[Pocket Books]] |isbn= 978-0-671-70427-8 |page= [https://archive.org/details/startreknextgene00ster/page/13 13] |title-link= Star Trek: The Next Generation Technical Manual }}</ref> In principle, any type of still background can be used as a chroma key instead of a solid colour. First the background is captured without actors or other foreground elements; then the scene is recorded. The image of the background is used to cancel the background in the actual footage; for example in a digital image, each pixel will have a different chroma key. This is sometimes referred to as a ''difference matte''.<ref>{{cite book|first=Steve|last=Wright|title=Digital Compositing for Film and Video: Production Workflows and Techniques|url=https://books.google.com/books?id=n-xHDwAAQBAJ&q=%22difference+matte%22&pg=SA2-PA23|date=22 November 2017|publisher=Taylor & Francis|isbn=978-1-315-28399-9|page=27}}</ref> However, this makes it easy for objects to be accidentally removed if they happen to be similar to the background, or for the background to remain due to camera noise or if it happens to change slightly from the reference footage.<ref>{{cite book|first=Steve|last=Wright|title=Digital Compositing for Film and Video: Production Workflows and Techniques|url=https://books.google.com/books?id=n-xHDwAAQBAJ&q=%22difference+matte%22&pg=SA2-PA25|date=22 November 2017|publisher=Taylor & Francis|isbn=978-1-315-28399-9|page=29}}</ref> A background with a repeating pattern alleviates many of these issues, and can be less sensitive to wardrobe colour than solid-colour backdrops.<ref>{{cite journal | title= Every colour chromakey | first1= Atsushi | last1=Yamashita | first2=Hiroki | last2=Agata | first3=Toru | last3=Kaneko | doi = 10.1109/ICPR.2008.4761643 | journal=Icpr 2008 | pages= 1–4 | year=2008| isbn= 978-1-4244-2174-9 | s2cid= 1424110 }}</ref> ==Tolerances== ===Even lighting=== [[File:Myx tv.jpg|thumb|right|267px|A live broadcast of [[Myx TV]] using green-screen chroma key. Note the lack of shadows on the screen. The whiter area near the center of the image is due to the angle this photo was taken from, and would not appear from the video camera's angle.]] The biggest challenge when setting up a blue screen or green screen is even lighting and the avoidance of [[shadow]] because it is best to have as narrow a colour range as possible being replaced. A shadow would present itself as a darker colour to the camera and might not register for replacement. This can sometimes be seen in low-budget or live broadcasts where the errors cannot be manually repaired or scenes reshot. The material being used affects the quality and ease of having it evenly lit. Materials which are shiny will be far less successful than those that are not. A shiny surface will have areas that reflect the lights making them appear pale, while other areas may be darkened. A matte surface will diffuse the reflected light and have a more even colour range. In order to get the cleanest key from shooting green screen, it is necessary to create a value difference between the subject and the green screen. In order to differentiate the subject from the screen, a two-stop difference can be used, either by making the green screen two stops higher than the subject, or vice versa. Sometimes a shadow can be used to create a visual effect. Areas of the blue screen or green screen with a shadow on them can be replaced with a darker version of the desired background video image, making it look like the person is casting a shadow on them. Any spill of the chroma key colour will make the result look unnatural. A difference in the [[focal length]] of the lenses used can affect the success of chroma key. ===Exposure=== Another challenge for blue screen or green screen is proper [[camera exposure]]. Underexposing or overexposing a coloured backdrop can lead to poor [[Colorfulness|saturation]] levels. In the case of video cameras, underexposed images can contain high amounts of [[image noise|noise]], as well. The background must be bright enough to allow the camera to create a bright and saturated image. ==Programming== There are several different quality- and speed-optimised techniques for implementing colour keying in software.<ref>{{cite web | url = http://www.cs.utah.edu/~michael/chroma/ | title = High Quality Chroma Key | last = Ashihkmin | first = Michael | publisher = University of Utah | access-date = 23 February 2010 | archive-date = 30 September 2018 | archive-url = https://web.archive.org/web/20180930132543/http://www.cs.utah.edu/~michael/chroma/ | url-status = dead }}</ref><ref name="gcfilms">{{cite web | url = http://gc-films.com/chromakey.html | title=Greenscreen code and hints | first=Edward | last=Cannon}}</ref> In most versions, a function {{var|f}}({{var|r}}, {{var|g}}, {{var|b}}) → {{var|α}} is applied to every pixel in the image. {{var|α}}&nbsp;(alpha) has a meaning similar to that in [[alpha compositing]] techniques. {{var|α}}&nbsp;≤&nbsp;0 means the pixel is fully in the green screen, {{var|α}}&nbsp;≥&nbsp;1 means the pixel is fully in the foreground object, and intermediate values indicate the pixel is partially covered by the foreground object (or it is transparent). A further function {{var|g}}({{var|r}},&nbsp;''g'',&nbsp;''b'')&nbsp;→ ({{var|r}},&nbsp;''g'',&nbsp;''b'') is needed to remove green spill on the foreground objects. A very simple {{var|f}}() function for green screen is {{var|A}}({{var|r}}+''b'') − {{var|Bg}} where {{var|A}} and {{var|B}} are user adjustable constants with a default value of 1.0. A very simple {{var|g}}() is (''r'', min(''g'',''b''), ''b''). This is fairly close to the capabilities of analog and film-based screen pulling. Modern examples<ref name="gcfilms" /> of these functions are best described by two closed nested surfaces in 3D RGB space, often quite complex. Colours inside the inner surface are considered green screen. Colours outside the outer surface are opaque foreground. Colours between the surfaces are partially covered, they are more opaque the closer they are to the outer surface. Sometimes more closed surfaces are used to determine how to remove green spill. It is also very common for {{var|f}}() to depend on more than just the current pixel's colour, it may also use the (''x'',&nbsp;''y'') position, the values of nearby pixels, the value from reference images or a statistical colour model of the scene,<ref>{{cite journal | title=Interactive High-Quality Green-Screen Keying via Colour Unmixing | first1=Yagiz | last1=Aksoy | first2=Tunc| last2=Aydin | first3=Marc| last3=Pollefeys | first4=Aljoscha | last4=Smolic | journal=ACM Transactions on Graphics | volume=36 | issue=4 | pages=1 | year=2016| doi=10.1145/3072959.2907940 | doi-access=free }}</ref> and values from user-drawn masks. These produce closed surfaces in space with more than three dimensions. A different class of algorithm tries to figure out a 2D path that separates the foreground from the background. This path can be the output, or the image can be drawn by filling the path with {{var|α}}&nbsp;=&nbsp;1 as a final step. An example of such an algorithm is the use of [[active contour]]. Most research in recent years{{When|date=June 2016}} has been into these algorithms. ==See also== {{div col|colwidth=22em}} * [[Compositing]] * [[DaVinci Resolve]] * [[Drew Carey's Green Screen Show]] * [[Federal Standard 1037C]] * [[Filmmaking]] * [[Film production]] * [[Front projection effect]] * [[Live action]] * [[Films with live action and animation|Live action/Animation]] * [[Matte (filmmaking)]] * [[Motion control photography]] * [[Muslin]] * [[Optical printer]] * [[Primatte chromakey technology]] * [[Rear projection effect]] * [[Reverse bluescreen]] * [[Schüfftan process]] * [[Signal processing]] * [[Sodium vapor process]] * [[Special effects]] * [[Video switcher]] * [[Virtual set]] {{div col end}} ==References== {{Reflist}} ==External links== {{Commons category}} * [http://entertainment.howstuffworks.com/blue-screen.htm How Blue Screens Work] * [https://www.youtube.com/watch?v=clnozSXyF4k Stargate Studios Virtual Backlot Reel 2009 – A demonstration of green screen scenes] * [https://sourceforge.net/projects/cvchromakey ChromaKey SourceCode] {{colour topics}} [[Category:Film and video technology]] [[Category:Television terminology]] [[Category:Film and video terminology]]'
New page wikitext, after the edit (new_wikitext)
'{{short description|Compositing technique, also known as green screen}} {{redirect|Green screen}} {{for multi|the electronic music project|Chroma Key|musical tonality depending on key|Key (music)}} {{Use British English|date=May 2020}} {{Use dmy dates|date=November 2017}} [[File:Green screens compare with Iman Crosson 20110524.png|thumb|upright=1.3|The practicality of green-screen compositing is demonstrated by actor [[Iman Crosson]] in a self-produced video.<br>'''Top panel:''' A frame in a full-motion video shot in the actor's living room.<ref>From YouTube video [https://www.youtube.com/watch?v=_U9HzHqMGi0 "President Obama on Death of Osama SPOOF- '''BEHIND THE SCENES'''"] posted to Crosson's secondary YouTube channel "Iman" on 8 May 2011.</ref><br>'''Bottom panel:''' The corresponding frame in the final version in which the actor impersonates [[Barack Obama]] "appearing" outside the White House's East Room.<ref name="SPOOFvid">The final (composite) video [https://www.youtube.com/watch?v=xlOIy6QEbes "President Obama on Death of Osama bin Laden '''(SPOOF)'''"] posted to Crosson's YouTube channel "Alphacat" on 4 May 2011.</ref>]] '''Chroma key compositing''', or '''chroma keying''', is a [[Visual effects|visual-effects]] and [[post-production]] technique for [[compositing]] (layering) two [[image]]s or [[video]] streams together based on colour hues ([[colorfulness|chroma]] range). The technique has been used in many fields to remove a background from the subject of a photo or video – particularly the [[newscast]]ing, [[motion picture]], and [[video game]] industries. A colour 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 '''colour keying''', '''colour-separation overlay''' ('''CSO'''; primarily by the [[BBC]]<ref name="What is Chroma Key?">{{cite web |url=http://lumeo.com.au/chroma-key/ |title=What is Chroma Key?|publisher=Lumeo |access-date=3 July 2014}}</ref>), or by various terms for specific colour-related variants such as '''green screen''' or '''blue screen'''; chroma keying can be done with backgrounds of any colour that are uniform and distinct, but green and blue backgrounds are more commonly used because they differ most distinctly in hue from any [[human skin colour]]. No part of the subject being filmed or photographed may duplicate the colour used as the backing, or the part may be erroneously identified as part of the backing.<ref name="BorisFX" /> It is commonly used for [[weather forecasting|weather forecast]] [[broadcasts]] in which a [[news presenter]] is usually seen standing in front of a large [[Computer-generated imagery|CGI]] map during live television newscasts, but it is really a large blue or green background. Using a blue screen, different weather maps are added on the parts of the image in which the colour is blue. If the news presenter wears blue clothes, their 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. [[Rotoscopy]] may instead be carried out on subjects that are not in front of a green (or blue) screen. [[Match moving|Motion tracking]] can also be used in conjunction with chroma keying, such as to move the background as the subject moves. ==History== ===Predecessors=== Prior to the introduction of [[Matte (filmmaking)|travelling mattes]] and [[optical printer|optical printing]], [[double exposure]] was used to introduce elements into a scene which were not present in the initial exposure. This was done using black draping where a green screen would be used today. [[George Albert Smith (film pioneer)|George Albert Smith]] first used this approach in 1898. In 1903, ''[[The Great Train Robbery (1903 film)|The Great Train Robbery]]'' by [[Edwin Stanton Porter|Edwin S. Porter]] used double exposure to add background scenes to windows which were black when filmed on set, using a [[garbage matte]] to expose only the window areas.<ref>{{cite book | title=Experimental Filmmaking: Break the Machine | first=Kathryn | last=Ramey | page=70 | url=https://books.google.com/books?id=XYRICgAAQBAJ&pg=PA70| isbn=9781136071508 | date=2015-07-30 }}</ref> In order to have figures in one exposure actually move in front of a substituted background in the other, a travelling matte was needed, to occlude the correct portion of the background in each frame. In 1918 [[Frank D. Williams (cinematographer)|Frank Williams]] patented a travelling matte technique, again based on using a black background. This was used in many films, such as ''[[The Invisible Man (1933 film)|The Invisible Man]]''.<ref name=Foster />{{rp|4}} In the 1920s, [[Walt Disney]] used a white backdrop to include human actors with cartoon characters and backgrounds in his ''[[Alice Comedies]]''.<ref name=Foster />{{rp|5}} ===Bluescreen=== The blue screen method was developed in the 1930s at [[RKO Radio Pictures]]. At RKO, [[Linwood Dunn]] used an early version of the [[Matte (filmmaking)|travelling matte]] to create "wipes" – where there were transitions like a windshield wiper in films such as ''[[Flying Down to Rio]]'' (1933). Credited to [[Lawrence W. Butler|Larry Butler]], a scene featuring a genie escaping from a bottle was the first use of a proper bluescreen process to create a traveling matte for ''[[The Thief of Bagdad (1940 film)|The Thief of Bagdad]]'' (1940), which won the [[Academy Award for Best Visual Effects|Academy Award for Best Special Effects]] that year. In 1950, [[Warner Brothers]] employee and ex-[[Kodak]] researcher [[Arthur Widmer]] began working on an [[ultraviolet]] travelling matte process. He also began developing bluescreen techniques: one of the first films to use them was the [[The Old Man and the Sea (1958 film)|1958 adaptation]] of the [[Ernest Hemingway]] novella, ''[[The Old Man and the Sea]]'', starring [[Spencer Tracy]].<ref name="cri">{{cite web|url=http://en.chinabroadcast.cn/2246/2005-2-14/90@206385.htm|title=Illusions Take Home First Oscars|date=14 February 2005|publisher=[[China Radio International|CRI English]]|access-date=21 January 2009|archive-url=https://web.archive.org/web/20050315004609/http://en.chinabroadcast.cn/2246/2005-2-14/90%40206385.htm|archive-date=15 March 2005|url-status=dead|df=dmy-all}}</ref> The name "Chroma-Key" was [[RCA]]'s trade name for the process, as used on its [[NBC]] television broadcasts, incorporating patents granted to RCA's Albert N. Goldsmith.<ref>"Studio: The World--NBC Introduces 'Chroma-Key' to Extend Scope of TV Settings." Electronic Age, January 1958, 8.</ref> A very early broadcast use was NBC's George Gobel Show in fall 1957.<ref>Johnson, Erskine. "Video's Special Effects Men Becoming Master Magicians of Hollywood; Many Tricks." (NEA syndicated article) Gloversville (NY) Leader-Herald, 6 December 1957.</ref> [[Petro Vlahos]] was awarded an Academy Award for his refinement of these techniques in 1964. His technique exploits the fact that most objects in real-world scenes have a colour whose blue-colour component is similar in intensity to their green-colour component. [[Zbigniew Rybczyński]] also contributed to bluescreen technology. An [[optical printer]] with two projectors, a film camera and a "beam splitter", was used to combine the actor in front of a blue screen together with the background footage, one frame at a time. In the early 1970s, American and British television networks began using green backdrops instead of blue for their newscasts. During the 1980s, [[minicomputer]]s were used to control the optical printer. For the film ''[[The Empire Strikes Back]]'', [[Richard Edlund]] created a "quad optical printer" that accelerated the process considerably and saved money. He received a special [[Academy Awards|Academy Award]] for his innovation. For decades, travelling matte shots had to be done "locked-down", so that neither the matted subject nor the background could shift their camera perspective at all. Later, computer-timed, [[Motion control photography|motion-control]] cameras alleviated this problem, as both the foreground and background could be filmed with the same camera moves. Meteorologists on television often use a field monitor, to the side of the screen, to see where they are putting their hands against the background images. A newer technique is to project a faint image onto the screen. Some films make heavy use of chroma key to add backgrounds that are constructed entirely using [[computer-generated imagery]] (CGI). Performances from different takes can be composited together, which allows actors to be filmed separately and then placed together in the same scene. Chroma key allows performers to appear to be in any location without leaving the studio. Advances in computer technology have simplified the [[camera tracking|incorporation of motion]] into composited shots, even when using handheld cameras. Reference points such as a painted grid, X's marked with tape, or equally spaced tennis balls attached to the wall, can be placed onto the coloured background to serve as markers. In post-production, a computer can use these markers to compute the camera's position and thus render an image that matches the perspective and movement of the foreground perfectly. Modern advances in software and computational power have eliminated the need to accurately place the markers ⁠— ⁠the software figures out their position in space; a potential disadvantage of this is that it requires camera movement, possibly contributing to modern [[Cinematography|cinematographic]] techniques whereby the camera is always in motion. ==Process== [[File:SpiderwickChroniclesSet.jpg|thumb|right|267px|Film set for ''[[The Spiderwick Chronicles (film)|The Spiderwick Chronicles]]'', where a visual effects scene using bluescreen chroma key is in preparation]] The principal subject is filmed or photographed against a background consisting of a single colour or a relatively narrow range of colours, usually blue or green because these colours are considered to be the furthest away from skin tone.<ref name="BorisFX">{{cite web|url=http://www.borisfx.com/tutorials/chroma_key.php|title=The Chroma Effect|work=Chroma Key Tutorial|publisher=BorisFX|quote=If the foreground is a person then blue or green backing colour is recommended as these colours are not present in human flesh pigments. In fact, human skin colour is 70% red for all people regardless of race.|access-date=11 January 2010|archive-url=https://web.archive.org/web/20050315004609/http://en.chinabroadcast.cn/2246/2005-2-14/90%40206385.htm|archive-date=15 March 2005|url-status=dead|df=dmy-all}}</ref> The portions of the video which match the pre-selected colour are replaced by the alternate background video. This process is commonly known as "[[keying (graphics)|keying]]", "keying out" or simply a "key". ===Processing a green backdrop=== Green is used as a backdrop for TV and electronic cinematography more than any other colour because television weather presenters tended to wear blue suits. When chroma keying first came into use in television production, the blue screen that was then the norm in the movie industry was used out of habit, until other practical considerations caused the television industry to move from blue to green screens. Broadcast-quality colour television cameras use separate red, green and blue image sensors, and early analog TV chroma keyers required RGB component video to work reliably. From a technological perspective it was equally possible to use the blue or green channel, but because blue clothing was an ongoing challenge, the green screen came into common use. Newscasters sometimes forget the chroma key dress code, and when the key is applied to clothing of the same colour as the background, the person would seem to disappear into the key. Because green clothing is less common than blue, it soon became apparent that it was easier to use a green matte screen than it was to constantly police the clothing choices of on-air talent. Also, because the human eye is more sensitive to green wavelengths, which lie in the middle of the visible light spectrum, the green analog video channel typically carried more signal strength, giving a better signal to noise ratio compared to the other component video channels, so green screen keys could produce the cleanest key. In the digital television and cinema age, much of the tweaking that was required to make a good quality key has been automated. However, the one constant that remains is some level of colour coordination to keep foreground subjects from being keyed out.<ref>{{cite web|url=https://www.videomaker.com/article/f5/13055-the-keys-to-chromakey-how-to-use-a-green-screen |title=The Keys To Chromakey: How To Use A Green Screen|publisher=Videomaker |access-date=23 October 2017}}</ref><ref>{{Cite web |title=Why Are 'Green' Screens Always Green ? |url=https://explainiteasy.blogspot.com/2023/04/why-are-green-screens-always-green.html |access-date=2023-04-16 |website=explainiteasy.blogspot.com |language=en}}</ref> ===Processing a blue backdrop=== Before electronic chroma keying, compositing was done on (chemical) film. The camera colour negative was printed onto high-contrast black and white negative, using either a filter or the high contrast film's colour sensitivity to expose only blue (and higher) frequencies. Blue light only shines through the colour negative where there is ''not'' blue in the scene, so this left the film clear where the blue screen was, and opaque elsewhere, except it also produced clear for any white objects (since they also contained blue). Removing these spots could be done by a suitable double-exposure with the colour positive (thus turning any area containing red or green opaque), and many other techniques. The result was film that was clear where the blue screen was, and opaque everywhere else. This is called a ''female matte'', similar to an ''[[alpha matte]]'' in digital keying. Copying this film onto another high-contrast negative produced the opposite ''male matte''. The background negative was then packed with the female matte and exposed onto a final strip of film, then the camera negative was packed with the male matte and was double-printed onto this same film. These two images combined creates the final effect. ===Major factors=== The most important factor for a key is the colour separation of the foreground (the subject) and background (the screen)&nbsp;– a blue screen will be used if the subject is predominantly green (for example plants), despite the camera being more sensitive to green light. In [[analog television]], colour is represented by the phase of the chroma [[Subcarrier#Television|subcarrier]] relative to a reference oscillator. Chroma key is achieved by comparing the phase of the video to the phase corresponding to the pre-selected colour. In-phase portions of the video are replaced by the alternate background video. In [[Digital television|digital colour TV]], colour is represented by three numbers (red, green, blue intensity levels). Chroma key is achieved by a simple numerical comparison between the video and the pre-selected colour. If the colour at a particular point on the screen matches (either exactly, or in a range), then the video at that point is replaced by the alternate background. ====Lighting==== In order to create an illusion that characters and objects filmed are present in the intended background scene, the lighting in the two scenes must be a reasonable match. For outdoor scenes, overcast days create a diffuse, evenly coloured light which can be easier to match in the studio, whereas direct sunlight needs to be matched in both direction and overall colour based on time of day. A studio shot taken in front of a green screen will naturally have ambient light the same colour as the screen, due to its light scattering. This effect is known as ''spill''.<ref name=Foster />{{rp|p20}} This can look unnatural or cause portions of the characters to disappear, so must be compensated for, or avoided by using a larger screen placed far from the actors.<ref>{{Cite book |last1= Aronson |first1= David |author-link1= David Aronson |title= DV Filmmaking: From Start to Finish, Volume 1 |year= 2006 |publisher= O'Reilly Media, Inc. |isbn= 978-0596008482 |pages= [https://archive.org/details/dvfilmmakingfrom0000aron/page/52 52–53] |url= https://archive.org/details/dvfilmmakingfrom0000aron/page/52 }}</ref> ====Camera==== The depth of field used to record the scene in front of the coloured screen should match that of the background. This can mean recording the actors with a larger depth of field than normal.<ref name="bermingham">{{Cite book | first= Alan | last=Bermingham | title= Location Lighting for Television | year= 2013 | publisher=Focal Press | isbn=978-0-240-51937-1 | page= 42 | url=https://books.google.com/books?id=7bAcAAAAQBAJ&pg=PA42}}</ref> ==Clothing== {{multiple image | footer = A person wearing blue clothing in front of green screen. The shadows cast onto the green screen are not ideal (see [[Chroma key#Even lighting|even lighting]].) | image1 = Girl in front of a green background.jpg | width1 = {{#expr: (260 * 640 / 960) round 0}} | image2 = Girl in room, green screen example.jpg | width2 = {{#expr: (260 * 707 / 892) round 0}} }} A chroma key subject must avoid wearing clothes which are similar in colour to the chroma key colour(s) (unless intentional e.g., wearing a green top to make it appear that the subject has no body), because the clothing may be replaced with the background image/video. An example of intentional use of this is when an actor wears a blue covering over a part of his body to make it invisible in the final shot. This technique can be used to achieve an effect similar to that used in the ''[[Harry Potter (film series)|Harry Potter]]'' films to create the effect of an [[Cloak of invisibility|invisibility cloak]]. The actor can also be filmed against a chroma-key background and inserted into the background shot with a distortion effect, in order to create a cloak that is marginally detectable.<ref>{{cite web |url=http://library.creativecow.net/articles/stern_eran/Invisible_Cape.php |title=Creating an invisible cape in After Effects |publisher=Library.creativecow.net |access-date=20 July 2011 |archive-date=28 March 2019 |archive-url=https://web.archive.org/web/20190328142323/https://library.creativecow.net/articles/stern_eran/Invisible_Cape.php |url-status=dead }}</ref> Difficulties emerge with blue screen when a costume in an effects shot must be blue, such as [[Superman]]'s traditional blue outfit. In the 2002 film ''[[Spider-Man (2002 film)|Spider-Man]]'', in scenes where both [[Spider-Man]] and the [[Green Goblin]] are in the air, Spider-Man had to be shot in front of a green screen and the Green Goblin had to be shot in front of a blue screen. The colour difference is because Spider-Man wears a costume which is red and blue in colour and the Green Goblin wears a costume which is entirely green in colour. If both were shot in front of the same screen, parts of one character would be erased from the shot. For a clean division of foreground from background, it is also important that clothing and hair in the foreground shot have a fairly simple silhouette, as fine details such as frizzy hair may not resolve properly. Similarly, partially transparent elements of the costume cause problems.<ref name="bermingham" /> ==Background colour== [[File:MuseumOfScienceBoston BlueScreenAtSpecialEffectsShow.jpg|thumb|right|267px|Demonstration of the creation of visual effects techniques using chroma key]] [[Blue]] was originally used for TV chroma keying [[special effects]] because the film industry used blue backgrounds for similar purposes. The colour blue was tied to the blue emulsion layer of film having comparable grain and detail in comparison to the red and [[green]] layers of the emulsion. In television and digital filmmaking, however, green has become the favoured colour because of some practical considerations, and because [[lossy compression]] algorithms used in both analog and digital TV distribution retain more detail in the green channel. The choice of colour is up to the effects artists and the needs of the specific shot. Whereas the blue screen was introduced to the television industry by the film industry, the use of green screen visual effects has been introduced to the film industry as electronic imaging has augmented and replaced the use of chemical film stock in cinema. Also, the green background is favoured over blue for outdoor filming where the blue sky might appear in the frame and could accidentally be replaced in the process. Although green and blue are the most common in part because red, green and blue components are used to encode the visible light spectrum, any key colour can be used. Red is avoided for human subjects due to its prevalence in white skin tones, but can be often used for objects and scenes which do not involve people. A so-called "[[Sodium vapor process|yellow screen]]" is accomplished with a white backdrop. Ordinary stage lighting is used in combination with a bright yellow sodium lamp. The sodium light falls almost entirely in a narrow frequency band, which can then be separated from the other light using a prism, and projected onto a separate but synchronized film carrier within the camera. This second film is high-contrast black and white, and is processed to produce the matte.<ref name=Foster>{{cite book | title=The Green Screen Handbook: Real-World Production Techniques | first=Jeff | last=Foster | publisher=John Wiley & Sons | year=2010 | isbn=978-0-470-52107-6}}</ref>{{rp|16}} Occasionally, a [[magenta]] background is used, as in some software applications where the magenta or [[fuchsia (color)|fuchsia]] is sometimes referred to as "magic pink".<ref>{{cite web | url = http://www.skinyourscreen.com/site/Articles/so-you-wanna-make-a-theme | title = So you wanna make a theme? | work = skinyourscreen.com articles | access-date = 23 August 2008 | url-status = dead | archive-url = https://web.archive.org/web/20071029042547/http://www.skinyourscreen.com/site/Articles/so-you-wanna-make-a-theme | archive-date = 29 October 2007 | df = dmy-all }}</ref> A newer technique is to use a [[retroreflective]] curtain in the background, along with a ring of bright [[LED]]s around the [[camera lens]]. This requires no light to shine on the background other than the LEDs, which use an extremely small amount of power and space unlike big [[stage light]]s, and require no [[rigging (theatre)|rigging]]. This advance was made possible by the invention in the 1990s of practical blue LEDs, which also allow for [[Emerald (color)|emerald green]] LEDs. There is also a form of colour keying that uses light spectrum invisible to human eye. Called Thermo-Key, it uses [[infrared]] as the key colour, which would not be replaced by background image during [[Video post-processing|postprocessing]].<ref>{{cite web|url=http://www.hc.t.u-tokyo.ac.jp/project/thermo-key/|url-status=dead|archive-url=https://web.archive.org/web/20090221094257/http://www.hc.t.u-tokyo.ac.jp/project/thermo-key|archive-date=21 February 2009|title=What is Thermo-Key?|publisher=[[University of Tokyo]]|access-date=21 January 2009}}</ref><ref>{{cite journal|title=Thermo-key: human region segmentation from video|journal=IEEE Computer Graphics and Applications|year=2004|volume=24|issue=1|pages=26–30|pmid=15384664|doi=10.1109/MCG.2004.1255805 |last1=Yasuda|first1=K. |last2=Naemura|first2=T. |last3=Harashima|first3=H. |s2cid=8378941}}</ref> For ''[[Star Trek: The Next Generation]]'', an [[ultraviolet light]] matting process was proposed by Don Lee of CIS Hollywood and developed by [[Gary Hutzel]] and the staff of [[Image G]]. This involved a [[fluorescent]] orange backdrop which made it easier to generate a holdout [[Matte (filmmaking)|matte]], thus allowing the effects team to produce effects in a quarter of the time needed for other methods.<ref>{{Cite book |last1= Sternbach |first1= Rick |author-link1= Rick Sternbach |last2= Okuda |first2= Michael |author-link2= Michael Okuda |title= Star Trek: The Next Generation Technical Manual |year= 1991 |publisher= [[Pocket Books]] |isbn= 978-0-671-70427-8 |page= [https://archive.org/details/startreknextgene00ster/page/13 13] |title-link= Star Trek: The Next Generation Technical Manual }}</ref> In principle, any type of still background can be used as a chroma key instead of a solid colour. First the background is captured without actors or other foreground elements; then the scene is recorded. The image of the background is used to cancel the background in the actual footage; for example in a digital image, each pixel will have a different chroma key. This is sometimes referred to as a ''difference matte''.<ref>{{cite book|first=Steve|last=Wright|title=Digital Compositing for Film and Video: Production Workflows and Techniques|url=https://books.google.com/books?id=n-xHDwAAQBAJ&q=%22difference+matte%22&pg=SA2-PA23|date=22 November 2017|publisher=Taylor & Francis|isbn=978-1-315-28399-9|page=27}}</ref> However, this makes it easy for objects to be accidentally removed if they happen to be similar to the background, or for the background to remain due to camera noise or if it happens to change slightly from the reference footage.<ref>{{cite book|first=Steve|last=Wright|title=Digital Compositing for Film and Video: Production Workflows and Techniques|url=https://books.google.com/books?id=n-xHDwAAQBAJ&q=%22difference+matte%22&pg=SA2-PA25|date=22 November 2017|publisher=Taylor & Francis|isbn=978-1-315-28399-9|page=29}}</ref> A background with a repeating pattern alleviates many of these issues, and can be less sensitive to wardrobe colour than solid-colour backdrops.<ref>{{cite journal | title= Every colour chromakey | first1= Atsushi | last1=Yamashita | first2=Hiroki | last2=Agata | first3=Toru | last3=Kaneko | doi = 10.1109/ICPR.2008.4761643 | journal=Icpr 2008 | pages= 1–4 | year=2008| isbn= 978-1-4244-2174-9 | s2cid= 1424110 }}</ref> ==Tolerances== ===Even lighting=== [[File:Myx tv.jpg|thumb|right|267px|A live broadcast of [[Myx TV]] using green-screen chroma key. Note the lack of shadows on the screen. The whiter area near the center of the image is due to the angle this photo was taken from, and would not appear from the video camera's angle.]] The biggest challenge when setting up a blue screen or green screen is even lighting and the avoidance of [[shadow]] because it is best to have as narrow a colour range as possible being replaced. A shadow would present itself as a darker colour to the camera and might not register for replacement. This can sometimes be seen in low-budget or live broadcasts where the errors cannot be manually repaired or scenes reshot. The material being used affects the quality and ease of having it evenly lit. Materials which are shiny will be far less successful than those that are not. A shiny surface will have areas that reflect the lights making them appear pale, while other areas may be darkened. A matte surface will diffuse the reflected light and have a more even colour range. In order to get the cleanest key from shooting green screen, it is necessary to create a value difference between the subject and the green screen. In order to differentiate the subject from the screen, a two-stop difference can be used, either by making the green screen two stops higher than the subject, or vice versa. Sometimes a shadow can be used to create a visual effect. Areas of the blue screen or green screen with a shadow on them can be replaced with a darker version of the desired background video image, making it look like the person is casting a shadow on them. Any spill of the chroma key colour will make the result look unnatural. A difference in the [[focal length]] of the lenses used can affect the success of chroma key. ===Exposure=== Another challenge for blue screen or green screen is proper [[camera exposure]]. Underexposing or overexposing a coloured backdrop can lead to poor [[Colorfulness|saturation]] levels. In the case of video cameras, underexposed images can contain high amounts of [[image noise|noise]], as well. The background must be bright enough to allow the camera to create a bright and saturated image. ==Programming== There are several different quality- and speed-optimised techniques for implementing colour keying in software.<ref>{{cite web | url = http://www.cs.utah.edu/~michael/chroma/ | title = High Quality Chroma Key | last = Ashihkmin | first = Michael | publisher = University of Utah | access-date = 23 February 2010 | archive-date = 30 September 2018 | archive-url = https://web.archive.org/web/20180930132543/http://www.cs.utah.edu/~michael/chroma/ | url-status = dead }}</ref><ref name="gcfilms">{{cite web | url = http://gc-films.com/chromakey.html | title=Greenscreen code and hints | first=Edward | last=Cannon}}</ref> In most versions, a function {{var|f}}({{var|r}}, {{var|g}}, {{var|b}}) → {{var|α}} is applied to every pixel in the image. {{var|α}}&nbsp;(alpha) has a meaning similar to that in [[alpha compositing]] techniques. {{var|α}}&nbsp;≤&nbsp;0 means the pixel is fully in the green screen, {{var|α}}&nbsp;≥&nbsp;1 means the pixel is fully in the foreground object, and intermediate values indicate the pixel is partially covered by the foreground object (or it is transparent). A further function {{var|g}}({{var|r}},&nbsp;''g'',&nbsp;''b'')&nbsp;→ ({{var|r}},&nbsp;''g'',&nbsp;''b'') is needed to remove green spill on the foreground objects. A very simple {{var|f}}() function for green screen is {{var|A}}({{var|r}}+''b'') − {{var|Bg}} where {{var|A}} and {{var|B}} are user adjustable constants with a default value of 1.0. A very simple {{var|g}}() is (''r'', min(''g'',''b''), ''b''). This is fairly close to the capabilities of analog and film-based screen pulling. Modern examples<ref name="gcfilms" /> of these functions are best described by two closed nested surfaces in 3D RGB space, often quite complex. Colours inside the inner surface are considered green screen. Colours outside the outer surface are opaque foreground. Colours between the surfaces are partially covered, they are more opaque the closer they are to the outer surface. Sometimes more closed surfaces are used to determine how to remove green spill. It is also very common for {{var|f}}() to depend on more than just the current pixel's colour, it may also use the (''x'',&nbsp;''y'') position, the values of nearby pixels, the value from reference images or a statistical colour model of the scene,<ref>{{cite journal | title=Interactive High-Quality Green-Screen Keying via Colour Unmixing | first1=Yagiz | last1=Aksoy | first2=Tunc| last2=Aydin | first3=Marc| last3=Pollefeys | first4=Aljoscha | last4=Smolic | journal=ACM Transactions on Graphics | volume=36 | issue=4 | pages=1 | year=2016| doi=10.1145/3072959.2907940 | doi-access=free }}</ref> and values from user-drawn masks. These produce closed surfaces in space with more than three dimensions. A different class of algorithm tries to figure out a 2D path that separates the foreground from the background. This path can be the output, or the image can be drawn by filling the path with {{var|α}}&nbsp;=&nbsp;1 as a final step. An example of such an algorithm is the use of [[active contour]]. Most research in recent years{{When|date=June 2016}} has been into these algorithms. ==See also== {{div col|colwidth=22em}} * [[Compositing]] * [[DaVinci Resolve]] * [[Drew Carey's Green Screen Show]] * [[Federal Standard 1037C]] * [[Filmmaking]] * [[Film production]] * [[Front projection effect]] * [[Live action]] * [[Films with live action and animation|Live action/Animation]] * [[Matte (filmmaking)]] * [[Motion control photography]] * [[Muslin]] * [[Optical printer]] * [[Primatte chromakey technology]] * [[Rear projection effect]] * [[Reverse bluescreen]] * [[Schüfftan process]] * [[Signal processing]] * [[Sodium vapor process]] * [[Special effects]] * [[Video switcher]] * [[Virtual set]] {{div col end}} ==References== {{Reflist}} ==External links== {{Commons category}} * [http://entertainment.howstuffworks.com/blue-screen.htm How Blue Screens Work] * [https://www.youtube.com/watch?v=clnozSXyF4k Stargate Studios Virtual Backlot Reel 2009 – A demonstration of green screen scenes] * [https://sourceforge.net/projects/cvchromakey ChromaKey SourceCode] {{colour topics}} [[Category:Film and video technology]] [[Category:Television terminology]] [[Category:Film and video terminology]]'
Unified diff of changes made by edit (edit_diff)
'@@ -42,5 +42,5 @@ ===Processing a green backdrop=== -Green is used as a backdrop for TV and electronic cinematography more than any other colour because television weather presenters tended to wear blue suits. When chroma keying first came into use in television production, the blue screen that was then the norm in the movie industry was used out of habit, until other practical considerations caused the television industry to move from blue to green screens. Broadcast-quality colour television cameras use separate red, green and blue image sensors, and early analog TV chroma keyers required RGB component video to work reliably. From a technological perspective it was equally possible to use the blue or green channel, but because blue clothing was an ongoing challenge, the green screen came into common use. Newscasters sometimes forget the chroma key dress code, and when the key is applied to clothing of the same colour as the background, the person would seem to disappear into the key. Because green clothing is less common than blue, it soon became apparent that it was easier to use a green matte screen than it was to constantly police the clothing choices of on-air talent. Also, because the human eye is more sensitive to green wavelengths, which lie in the middle of the visible light spectrum, the green analog video channel typically carried more signal strength, giving a better signal to noise ratio compared to the other component video channels, so green screen keys could produce the cleanest key. In the digital television and cinema age, much of the tweaking that was required to make a good quality key has been automated. However, the one constant that remains is some level of colour coordination to keep foreground subjects from being keyed out.<ref>{{cite web|url=https://www.videomaker.com/article/f5/13055-the-keys-to-chromakey-how-to-use-a-green-screen |title=The Keys To Chromakey: How To Use A Green Screen|publisher=Videomaker |access-date=23 October 2017}}</ref> +Green is used as a backdrop for TV and electronic cinematography more than any other colour because television weather presenters tended to wear blue suits. When chroma keying first came into use in television production, the blue screen that was then the norm in the movie industry was used out of habit, until other practical considerations caused the television industry to move from blue to green screens. Broadcast-quality colour television cameras use separate red, green and blue image sensors, and early analog TV chroma keyers required RGB component video to work reliably. From a technological perspective it was equally possible to use the blue or green channel, but because blue clothing was an ongoing challenge, the green screen came into common use. Newscasters sometimes forget the chroma key dress code, and when the key is applied to clothing of the same colour as the background, the person would seem to disappear into the key. Because green clothing is less common than blue, it soon became apparent that it was easier to use a green matte screen than it was to constantly police the clothing choices of on-air talent. Also, because the human eye is more sensitive to green wavelengths, which lie in the middle of the visible light spectrum, the green analog video channel typically carried more signal strength, giving a better signal to noise ratio compared to the other component video channels, so green screen keys could produce the cleanest key. In the digital television and cinema age, much of the tweaking that was required to make a good quality key has been automated. However, the one constant that remains is some level of colour coordination to keep foreground subjects from being keyed out.<ref>{{cite web|url=https://www.videomaker.com/article/f5/13055-the-keys-to-chromakey-how-to-use-a-green-screen |title=The Keys To Chromakey: How To Use A Green Screen|publisher=Videomaker |access-date=23 October 2017}}</ref><ref>{{Cite web |title=Why Are 'Green' Screens Always Green ? |url=https://explainiteasy.blogspot.com/2023/04/why-are-green-screens-always-green.html |access-date=2023-04-16 |website=explainiteasy.blogspot.com |language=en}}</ref> ===Processing a blue backdrop=== '
New page size (new_size)
32999
Old page size (old_size)
32769
Size change in edit (edit_delta)
230
Lines added in edit (added_lines)
[ 0 => 'Green is used as a backdrop for TV and electronic cinematography more than any other colour because television weather presenters tended to wear blue suits. When chroma keying first came into use in television production, the blue screen that was then the norm in the movie industry was used out of habit, until other practical considerations caused the television industry to move from blue to green screens. Broadcast-quality colour television cameras use separate red, green and blue image sensors, and early analog TV chroma keyers required RGB component video to work reliably. From a technological perspective it was equally possible to use the blue or green channel, but because blue clothing was an ongoing challenge, the green screen came into common use. Newscasters sometimes forget the chroma key dress code, and when the key is applied to clothing of the same colour as the background, the person would seem to disappear into the key. Because green clothing is less common than blue, it soon became apparent that it was easier to use a green matte screen than it was to constantly police the clothing choices of on-air talent. Also, because the human eye is more sensitive to green wavelengths, which lie in the middle of the visible light spectrum, the green analog video channel typically carried more signal strength, giving a better signal to noise ratio compared to the other component video channels, so green screen keys could produce the cleanest key. In the digital television and cinema age, much of the tweaking that was required to make a good quality key has been automated. However, the one constant that remains is some level of colour coordination to keep foreground subjects from being keyed out.<ref>{{cite web|url=https://www.videomaker.com/article/f5/13055-the-keys-to-chromakey-how-to-use-a-green-screen |title=The Keys To Chromakey: How To Use A Green Screen|publisher=Videomaker |access-date=23 October 2017}}</ref><ref>{{Cite web |title=Why Are 'Green' Screens Always Green ? |url=https://explainiteasy.blogspot.com/2023/04/why-are-green-screens-always-green.html |access-date=2023-04-16 |website=explainiteasy.blogspot.com |language=en}}</ref>' ]
Lines removed in edit (removed_lines)
[ 0 => 'Green is used as a backdrop for TV and electronic cinematography more than any other colour because television weather presenters tended to wear blue suits. When chroma keying first came into use in television production, the blue screen that was then the norm in the movie industry was used out of habit, until other practical considerations caused the television industry to move from blue to green screens. Broadcast-quality colour television cameras use separate red, green and blue image sensors, and early analog TV chroma keyers required RGB component video to work reliably. From a technological perspective it was equally possible to use the blue or green channel, but because blue clothing was an ongoing challenge, the green screen came into common use. Newscasters sometimes forget the chroma key dress code, and when the key is applied to clothing of the same colour as the background, the person would seem to disappear into the key. Because green clothing is less common than blue, it soon became apparent that it was easier to use a green matte screen than it was to constantly police the clothing choices of on-air talent. Also, because the human eye is more sensitive to green wavelengths, which lie in the middle of the visible light spectrum, the green analog video channel typically carried more signal strength, giving a better signal to noise ratio compared to the other component video channels, so green screen keys could produce the cleanest key. In the digital television and cinema age, much of the tweaking that was required to make a good quality key has been automated. However, the one constant that remains is some level of colour coordination to keep foreground subjects from being keyed out.<ref>{{cite web|url=https://www.videomaker.com/article/f5/13055-the-keys-to-chromakey-how-to-use-a-green-screen |title=The Keys To Chromakey: How To Use A Green Screen|publisher=Videomaker |access-date=23 October 2017}}</ref>' ]
Whether or not the change was made through a Tor exit node (tor_exit_node)
false
Unix timestamp of change (timestamp)
'1681642107'

Retrieved from "https://en.wikipedia.org/wiki/Special:AbuseFilter/examine/log/34880111"







Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki