All language subtitles for 3. Keying with the Keyer

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,010 --> 00:00:06,010 In this clip we're going to take a look at keying with the keyer. 2 00:00:06,011 --> 00:00:07,725 So what exactly is luma keying. 3 00:00:07,725 --> 00:00:10,011 So let's take a look at our script. 4 00:00:10,011 --> 00:00:13,054 So the keyer can do a number of different functions. 5 00:00:13,054 --> 00:00:17,011 The first one that we're going to take a look at is the 6 00:00:17,011 --> 00:00:22,144 luminance key so that can be found in the properties bin 7 00:00:22,144 --> 00:00:24,010 underneath operation luminance key. 8 00:00:24,011 --> 00:00:26,868 Luma keying or luminance keying works with the 9 00:00:26,868 --> 00:00:29,011 brightness and darkness of an image. 10 00:00:29,011 --> 00:00:34,011 It isolates a select range of these values and places them into a new alpha. 11 00:00:34,011 --> 00:00:37,187 It's really important to note that the keyer has 12 00:00:37,187 --> 00:00:40,010 limitations and it may yield poor edge details. 13 00:00:40,011 --> 00:00:43,439 Now the keyer default setting is to pull that luminance key; however, 14 00:00:43,439 --> 00:00:46,010 it can do some of the following as well. 15 00:00:46,011 --> 00:00:48,296 So let's go back up to the operation. 16 00:00:48,296 --> 00:00:50,010 We can go to the top. 17 00:00:50,011 --> 00:00:51,589 So it says red, green, 18 00:00:51,589 --> 00:00:56,011 and blue keyer and that allows us to pull keys from the separate channels. 19 00:00:56,011 --> 00:00:59,225 We can also pull different keys from red screens, 20 00:00:59,225 --> 00:01:01,010 green screens, and blue screens. 21 00:01:01,011 --> 00:01:05,010 It can pull the saturation and the max and min values. 22 00:01:05,010 --> 00:01:11,011 So let's go back into this keyer and see exactly how it works for luma keying. 23 00:01:11,011 --> 00:01:16,920 So by default the luminance keying or the keyer works with a trapezoidal 24 00:01:16,920 --> 00:01:21,010 curve in order to select and isolate those values. 25 00:01:21,011 --> 00:01:26,168 It allows a user to select black and white values and also gray values, 26 00:01:26,168 --> 00:01:28,010 which will fall in between. 27 00:01:28,011 --> 00:01:32,880 So here I have my lovely circle and I'm going to show a reference so this 28 00:01:32,880 --> 00:01:37,283 is going to be my reference area that I'm trying to key. 29 00:01:37,283 --> 00:01:40,010 The values are somewhere between 0. 30 00:01:40,010 --> 00:01:40,920 65, 0. 31 00:01:40,920 --> 00:01:42,283 66, and 0. 32 00:01:42,283 --> 00:01:43,192 36, 0. 33 00:01:43,192 --> 00:01:45,010 34, give or take. 34 00:01:45,011 --> 00:01:48,402 I'm going to make sure that the values within this box are going 35 00:01:48,402 --> 00:01:52,677 to be 0 in the alpha and all those outside the box are going to 36 00:01:52,677 --> 00:01:55,010 fall to gray and eventually to black. 37 00:01:55,011 --> 00:01:59,010 So let's take a look at the various different sliders in this tool. 38 00:01:59,011 --> 00:02:03,491 Now the default sliders are going to be A and B and B is hidden over 39 00:02:03,491 --> 00:02:06,472 here in the side and it also reveals a C and D, 40 00:02:06,472 --> 00:02:08,011 which we will take a look at in a moment. 41 00:02:08,011 --> 00:02:15,011 So the default value of A is 0 and the default value of B is 1. 42 00:02:15,011 --> 00:02:16,761 When we change the slider for A, 43 00:02:16,761 --> 00:02:20,511 so let's just take a look at this one here and we're going to go 44 00:02:20,511 --> 00:02:25,011 into our alpha so here it basically crunches the image so it's 45 00:02:25,011 --> 00:02:29,642 going to introduce more black into our edges and we're going to 46 00:02:29,642 --> 00:02:31,221 erase some of that detail. 47 00:02:31,221 --> 00:02:35,011 Now if I drop the value of B, look what it does. 48 00:02:35,011 --> 00:02:36,725 It is crunching the white value. 49 00:02:36,725 --> 00:02:39,296 So we're getting rid of all the detail again, 50 00:02:39,296 --> 00:02:43,834 but in the opposite way where it's adding more white to the image instead. 51 00:02:43,834 --> 00:02:47,010 So now let's go into the other two sliders. 52 00:02:47,011 --> 00:02:51,063 So here's an example that we've already done and it's actually 53 00:02:51,063 --> 00:02:54,011 really cool how I can isolate these values. 54 00:02:54,011 --> 00:02:59,010 So let's take a look at the one before so we can see how exactly we did that. 55 00:02:59,011 --> 00:03:02,311 So we had mentioned that the values that were in our 56 00:03:02,311 --> 00:03:03,811 reference were between approximately 0. 57 00:03:03,811 --> 00:03:04,711 65 and 0. 58 00:03:04,711 --> 00:03:05,011 34. 59 00:03:05,011 --> 00:03:09,510 So if I enter these values here, so I'm going to say 0. 60 00:03:09,510 --> 00:03:10,549 34 and 0. 61 00:03:10,549 --> 00:03:15,511 65 and I take a look at this tool now, so let's take a look at that there, 62 00:03:15,511 --> 00:03:17,011 it's exactly what we saw in our reference. 63 00:03:17,011 --> 00:03:21,920 So it's actually pushed the values that were between that box to 64 00:03:21,920 --> 00:03:27,465 1 and it has gray values which fall to black and gray values that 65 00:03:27,465 --> 00:03:30,011 fall to black on the other side. 66 00:03:30,011 --> 00:03:36,010 Now we can change these values so if I pull in my A, look what happens outside. 67 00:03:36,011 --> 00:03:41,260 So if it's equivalent to B, it's going to make it 100% white and if I take D, 68 00:03:41,260 --> 00:03:44,829 it's going to make it and crunch so it's totally black. 69 00:03:44,829 --> 00:03:48,101 So this really allows me to pull a key, 70 00:03:48,101 --> 00:03:51,811 not only just based on the lights and the darks, 71 00:03:51,811 --> 00:03:57,011 but it can also isolate the values of gray that fall in between. 72 00:03:57,011 --> 00:04:01,331 So now that we have a basic understanding of the keyer tool, 73 00:04:01,331 --> 00:04:06,011 let's take a look at how luminance works and the math behind it. 74 00:04:06,011 --> 00:04:11,011 So here I have an RGB image, let's go to full color, and it's quite contrasty. 75 00:04:11,011 --> 00:04:16,011 So if I go through the different channels, I have red, green, and blue. 76 00:04:16,011 --> 00:04:23,837 It has quite high contrast and the way that luminance works is that I am 77 00:04:23,837 --> 00:04:28,011 trying to desaturate all of the channels individually. 78 00:04:28,011 --> 00:04:31,122 So I can actually take a saturation tool, 79 00:04:31,122 --> 00:04:35,011 desaturate it so let's go back up to 100% saturation. 80 00:04:35,011 --> 00:04:41,011 Here we go and desaturate it and this becomes the luminance of the image. 81 00:04:41,011 --> 00:04:43,097 So how does the math work with that? 82 00:04:43,097 --> 00:04:47,010 Well here I have the four different channels split out so I take a look 83 00:04:47,011 --> 00:04:51,677 at my property bin and you're going to notice that the red channel is 84 00:04:51,677 --> 00:04:55,261 shuffled into all the channels or at least RGB, 85 00:04:55,261 --> 00:05:00,886 my green into RGB and the blue into RGB. 86 00:05:00,886 --> 00:05:04,011 So I've isolated them separately. 87 00:05:04,011 --> 00:05:08,677 Now the green channel generally has the highest luminosity and we have 88 00:05:08,677 --> 00:05:13,128 basically figured out that the average luminosity is around 72%, 89 00:05:13,128 --> 00:05:20,010 the red luminosity is around 21%, and the blue luminosity is around 7%. 90 00:05:20,011 --> 00:05:23,510 Now if I multiply them out by those numbers and then 91 00:05:23,510 --> 00:05:26,056 plus them back over top of each other, 92 00:05:26,056 --> 00:05:30,225 they should round trip and basically equal that to the desaturated image. 93 00:05:30,225 --> 00:05:32,010 So let's take a look. 94 00:05:32,011 --> 00:05:35,192 So this is the math that has been broken out. 95 00:05:35,192 --> 00:05:39,010 Here is the desaturated image and just to do a QC check, 96 00:05:39,011 --> 00:05:40,283 so a quality check, 97 00:05:40,283 --> 00:05:44,101 we're going to do a difference operation and if they are equal, 98 00:05:44,101 --> 00:05:46,010 then it should show up black. 99 00:05:46,011 --> 00:05:49,010 So let's take a look and they are equal. 100 00:05:49,010 --> 00:05:52,010 So that means that this math here equals the 101 00:05:52,010 --> 00:05:54,061 desaturation or the luminance over here. 102 00:05:54,061 --> 00:05:58,261 Now there is a third method inside of NUKE that we can 103 00:05:58,261 --> 00:06:02,738 isolate the luminance of an image and that is with the 104 00:06:02,738 --> 00:06:05,010 luminance keying inside the keyer. 105 00:06:05,011 --> 00:06:08,511 Now by default it will take the RGB image and it will 106 00:06:08,511 --> 00:06:10,844 desaturate it and place it into the alpha, 107 00:06:10,844 --> 00:06:12,011 which we see here. 108 00:06:12,011 --> 00:06:15,283 So again, let's just take that and compare it. 109 00:06:15,283 --> 00:06:21,069 So here I have shuffled my alpha into all of those layers and I have shuffled 110 00:06:21,069 --> 00:06:26,011 this result into all of the layers and QC and it is the same. 111 00:06:26,011 --> 00:06:31,010 So this just shows that again that the math that we've done here is correct. 112 00:06:31,011 --> 00:06:33,010 That is how luminance is created. 113 00:06:33,010 --> 00:06:38,010 Here's a really simple way to do it and the luminance keying allows us to 114 00:06:38,011 --> 00:06:46,011 isolate this image and really modify the alpha for our needs. 115 00:06:46,011 --> 00:06:49,530 So now that we have a brief overview of luminance keying, 116 00:06:49,530 --> 00:06:54,010 let's take a look at how we would do that with an HDRI image. 117 00:06:54,011 --> 00:06:58,582 So here I have an HDRI image and we have values just 118 00:06:58,582 --> 00:07:02,011 slightly over 1 up here in the bright light. 119 00:07:02,011 --> 00:07:03,750 So here we see 1. 120 00:07:03,750 --> 00:07:05,141 1 across the board. 121 00:07:05,141 --> 00:07:10,010 Now by default the keyer, so let's just go up to our properties bin, 122 00:07:10,011 --> 00:07:15,011 will key between 0 and 1; however, our image has values that are well above 1. 123 00:07:15,011 --> 00:07:19,582 So that might mean that we might miss some information that might 124 00:07:19,582 --> 00:07:23,011 really help with creating a more refined alpha channel. 125 00:07:23,011 --> 00:07:28,130 So if I go into my luminance keying over here and I hit the minus button, 126 00:07:28,130 --> 00:07:31,010 it will expand that top range up to 4. 127 00:07:31,011 --> 00:07:33,344 Now my image only goes to 1. 128 00:07:33,344 --> 00:07:37,344 1 so that definitely falls between this range of 1 and 4 129 00:07:37,344 --> 00:07:40,010 and it should give us a better alpha. 130 00:07:40,011 --> 00:07:44,010 So let's take a look at the two different ways of keying. 131 00:07:44,011 --> 00:07:50,011 So the first example that we have done has isolated the values between 0 and 1. 132 00:07:50,011 --> 00:07:52,363 We can see here because the top value is 1. 133 00:07:52,363 --> 00:07:54,011 Let's take a look at that alpha. 134 00:07:54,011 --> 00:07:55,261 So here is that alpha. 135 00:07:55,261 --> 00:07:57,511 It's not bad; it still needs some refinement here, 136 00:07:57,511 --> 00:08:00,920 but I'm going to primarily focus on these values around the edges. 137 00:08:00,920 --> 00:08:06,010 Now let's pull a keyer where we are working with these values that are above 1. 138 00:08:06,011 --> 00:08:10,677 WE can see that there are still values above 1 here and let's take 139 00:08:10,677 --> 00:08:14,010 a look at the results and so before and after. 140 00:08:14,011 --> 00:08:19,800 Now it's pretty subtle just because our Super Whites or 141 00:08:19,800 --> 00:08:23,853 values above 1 are definitely very small, 142 00:08:23,853 --> 00:08:25,361 only 10% brighter, 143 00:08:25,361 --> 00:08:29,211 but you can see that this second one that we've done 144 00:08:29,211 --> 00:08:32,011 has a lot better detail in our edges. 145 00:08:32,010 --> 00:08:33,549 So a softer falloff overall. 146 00:08:33,549 --> 00:08:36,010 So it's definitely going to make a difference. 147 00:08:36,010 --> 00:08:42,010 Small differences make big changes in the end when they are added up. 148 00:08:42,010 --> 00:08:45,010 So now that we have a rough key, it will have to be refined. 149 00:08:45,011 --> 00:08:49,599 These values up here are too bright, but we have a good start. 150 00:08:49,599 --> 00:08:51,011 There's our premultiplied image. 151 00:08:51,011 --> 00:08:57,499 We're going to take a garbage matte and apply this and premultiply our image. 152 00:08:57,500 --> 00:09:03,897 So there is our isolated light and again it's working a lot better with 153 00:09:03,897 --> 00:09:08,010 the luma keying setup that has those expanded values. 154 00:09:08,011 --> 00:09:12,346 So in this particular clip we looked at the luma keying. 155 00:09:12,346 --> 00:09:15,500 So how does the keyer work in general? 156 00:09:15,500 --> 00:09:20,011 How can we isolate different values including the gray values? 157 00:09:20,011 --> 00:09:24,440 We also took a look at how the math works with luminosity 158 00:09:24,440 --> 00:09:30,500 and we also looked at the best way to work with keying or 159 00:09:30,500 --> 00:09:35,500 luminance keying with HDRI images. 14222

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.