Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:02,110 --> 00:00:05,440
[Autogenerated] in this clip, we're going to go over the channel.
2
00:00:05,440 --> 00:00:10,430
Merge operators channel merge operations are the mathematical
3
00:00:10,430 --> 00:00:14,500
functions at combined two channels to give you a result.
4
00:00:15,110 --> 00:00:19,360
There are many ways that we can merge channels and
5
00:00:19,370 --> 00:00:21,180
operate on them through the channel.
6
00:00:21,180 --> 00:00:21,750
Merge.
7
00:00:22,240 --> 00:00:26,570
I have this scene that you can open up and follow along with.
8
00:00:26,870 --> 00:00:31,380
We have different groupings of different operations and we're
9
00:00:31,380 --> 00:00:33,680
going to start out with our first one right here.
10
00:00:35,830 --> 00:00:44,810
Now, this is called ABS minus abs minus is an absolute value of a minus bi.
11
00:00:45,160 --> 00:00:51,200
And what this does is it gives you the the difference of the two pixels.
12
00:00:51,600 --> 00:00:57,300
So here we have a star that is made out of 20.5 gray put 5.5
13
00:00:57,300 --> 00:01:01,850
point 5.5 and we have a full color white circle.
14
00:01:03,230 --> 00:01:10,550
The operator has been changed to ABS minus and it gives us this result.
15
00:01:11,140 --> 00:01:15,540
This result is the difference between each the absolute
16
00:01:15,540 --> 00:01:18,250
value of the difference between each pixels.
17
00:01:20,030 --> 00:01:28,230
Now the next operator B, if not a shows a wherever a exists.
18
00:01:28,510 --> 00:01:30,860
Otherwise it shows be so.
19
00:01:30,860 --> 00:01:37,450
If we have our white star on our white circle, it combines them in this way.
20
00:01:38,640 --> 00:01:41,950
Now it does combine them.
21
00:01:41,960 --> 00:01:47,550
However, we do get thes alias ing artifacts right here.
22
00:01:48,240 --> 00:01:51,260
And that is because these air not black.
23
00:01:51,270 --> 00:02:00,350
So they are pixels that exist in a so because they exist, they do show through.
24
00:02:01,370 --> 00:02:06,250
Otherwise they show be so unless the values absolutely zero,
25
00:02:06,740 --> 00:02:09,830
it will collect those pixels and pass them alone.
26
00:02:11,390 --> 00:02:12,970
Now we have Max.
27
00:02:13,540 --> 00:02:15,300
Now we have again.
28
00:02:15,300 --> 00:02:24,650
We have a 0.5 star and we have a full value of a point or a 1.0 circle here.
29
00:02:25,060 --> 00:02:27,150
The operation has been set to Max.
30
00:02:27,720 --> 00:02:32,040
Now this basically takes the maximum value of air B.
31
00:02:32,280 --> 00:02:35,150
So a comma be the max value,
32
00:02:35,580 --> 00:02:38,930
so it selects the lighter of the two colors of the resulting color.
33
00:02:38,940 --> 00:02:42,060
Onley areas darker than be are replaced,
34
00:02:42,270 --> 00:02:48,110
while other areas air lighter than be do not change when it compares A and B,
35
00:02:48,430 --> 00:02:53,470
it takes the absolute value of the maximum pixel from each area.
36
00:02:54,240 --> 00:03:00,150
So you can see that because the circle is a maximum value over the darker star.
37
00:03:00,690 --> 00:03:02,750
It keeps all of the circle.
38
00:03:02,870 --> 00:03:07,890
But it on Lee keeps the star where it was brighter than
39
00:03:08,200 --> 00:03:10,530
the black of the outline of the circle.
40
00:03:10,800 --> 00:03:13,510
Thus, it keeps the maximum value.
41
00:03:14,840 --> 00:03:18,450
Now, if we're gonna have a maximum, we might as well have a minimum.
42
00:03:19,200 --> 00:03:26,250
But in this case, I have the star as a solid white star and a salad white circle.
43
00:03:27,240 --> 00:03:31,250
And this time it's going to take the minimum value pixel from a M B.
44
00:03:31,480 --> 00:03:35,030
It selects the darker of the two colors as a resulting color.
45
00:03:35,040 --> 00:03:37,710
Any parts that are lighter than be are substituted.
46
00:03:38,130 --> 00:03:40,950
Any parts of the image that are darker to be don't change.
47
00:03:41,740 --> 00:03:45,600
So what this means is that where the overlaps?
48
00:03:45,600 --> 00:03:51,670
Because there is black over here and there's white over here.
49
00:03:52,530 --> 00:03:56,350
When it results, it clips that off.
50
00:03:57,110 --> 00:04:01,050
Same thing with the circle on the Star side.
51
00:04:01,070 --> 00:04:03,590
There's black on the circle.
52
00:04:03,690 --> 00:04:09,450
There's white, so it results in a clipping of both.
53
00:04:09,840 --> 00:04:15,650
So in this, it both clips the star and the circle, creating a brand new shape.
54
00:04:16,290 --> 00:04:21,209
This guy's called from now from is B minus A.
55
00:04:22,440 --> 00:04:25,880
I also want to point out that minus is a minus bi.
56
00:04:26,790 --> 00:04:32,590
These are essentially the same note from and minus both of them,
57
00:04:33,340 --> 00:04:41,050
our subtraction, and you can get this result by swapping the channels up here.
58
00:04:41,370 --> 00:04:44,800
So I'm gonna hit shift acts which will reverse the inputs.
59
00:04:44,840 --> 00:04:48,080
A is over here and be is here that will reverse the inputs,
60
00:04:48,080 --> 00:04:50,960
and now you can see that it creates the same thing.
61
00:04:50,960 --> 00:04:54,810
Now it's subtracting be for May, even though the inputs are reversed,
62
00:04:57,900 --> 00:05:03,780
so divide the values but stops to negative values from becoming a positive.
63
00:05:04,400 --> 00:05:06,550
So when this divides a over B,
64
00:05:07,240 --> 00:05:12,020
it prevents anything less than zero from going away.
65
00:05:12,400 --> 00:05:17,940
And what I have is a 00.5 star and the a full white circle on what you concezio.
66
00:05:17,940 --> 00:05:22,960
It's dividing that one by itself, resulting in the same value,
67
00:05:22,970 --> 00:05:26,980
or it's dividing zero and skipping it so it doesn't go below zero.
68
00:05:27,250 --> 00:05:31,760
But where you end up getting is a little bit of an artifact where the
69
00:05:31,770 --> 00:05:35,570
intersection of the anti liaising where different values are,
70
00:05:36,940 --> 00:05:38,220
Let's look at multiply.
71
00:05:39,140 --> 00:05:42,270
We've got a get the white star and a white circle,
72
00:05:42,280 --> 00:05:45,640
and what ends up happening is very similar to one
73
00:05:45,640 --> 00:05:50,550
of the very similar to minimum, but it's doing it differently.
74
00:05:51,080 --> 00:05:58,050
Some multiply is a times B, if a is less than zero and B is less than zero.
75
00:05:58,940 --> 00:06:03,030
So multiplies by a and B will always give it a darker value.
76
00:06:03,400 --> 00:06:10,680
Can see that it has resulted in zero and as resulted in one now in
77
00:06:10,830 --> 00:06:19,990
over here shows areas of overlap that are this Does this can allow
78
00:06:19,990 --> 00:06:23,750
for values going less than zero right here.
79
00:06:24,490 --> 00:06:30,850
Multiply will clamp it where in will actually just do a straight multiplication.
80
00:06:31,100 --> 00:06:36,490
So in is another form of multiplication where it does not
81
00:06:36,500 --> 00:06:40,450
calculate for the F A A and B are lesson zero.
82
00:06:41,740 --> 00:06:42,590
Now let's take a look.
83
00:06:42,590 --> 00:06:46,780
It out out is another form of multiplication,
84
00:06:47,210 --> 00:06:53,750
however, inverts the Alfa Channel before it does the multiply.
85
00:06:54,240 --> 00:07:02,140
So it's not doing a a Times B, its first inverting it by subtracting one by B.
86
00:07:02,520 --> 00:07:07,490
So it basically inverts the circle on the B side and then multiplies,
87
00:07:07,490 --> 00:07:09,890
which is why it looks like it's cut out.
88
00:07:11,510 --> 00:07:13,470
Stencil is the opposite,
89
00:07:13,480 --> 00:07:19,060
where it inverts the a side so it takes that star and then
90
00:07:19,110 --> 00:07:21,820
inverts it by subtracting it by one,
91
00:07:22,090 --> 00:07:26,530
then multiplies it by B and gives you the inverse so you can
92
00:07:26,530 --> 00:07:29,870
see out in stencil are inverts of each other,
93
00:07:30,340 --> 00:07:33,010
and it's almost like you can get a very similar
94
00:07:33,010 --> 00:07:35,690
effect simply by swapping the inputs.
95
00:07:36,790 --> 00:07:42,130
Now let's look at the last row we have plus in which we have a star,
96
00:07:42,140 --> 00:07:47,910
which is a value of +1111 and we have a circle that is a value of one,
97
00:07:48,520 --> 00:07:49,920
and it's a plus B.
98
00:07:50,190 --> 00:07:57,150
So unlike Union, which just puts them together but keeps them at the same value,
99
00:07:57,840 --> 00:08:02,200
this one actually increases their value because now
100
00:08:02,200 --> 00:08:04,520
the points of the star are one.
101
00:08:04,530 --> 00:08:09,250
But where Everything where things overlap, the values air now, too.
102
00:08:11,200 --> 00:08:13,040
And union just is.
103
00:08:13,040 --> 00:08:18,150
The default version of this you can see is 1111 everywhere.
104
00:08:18,740 --> 00:08:24,800
And that's because it multiplies a Times B first and gets the
105
00:08:24,800 --> 00:08:28,180
results of that and then subtracts that by the B,
106
00:08:28,180 --> 00:08:32,580
basically cutting a hole out of it and then adding a together in its
107
00:08:32,580 --> 00:08:37,559
results with an additional process and add process.
108
00:08:38,280 --> 00:08:42,450
A plus B that results in not making the values go above one,
109
00:08:43,590 --> 00:08:44,800
and then we have Zoar.
110
00:08:45,270 --> 00:08:53,150
Zoar is a times B times to then subtracted by B and then added and it
111
00:08:53,150 --> 00:08:57,400
shows both a MB images where they do not overlap.
112
00:08:57,990 --> 00:09:00,930
So this ends up creating a really interesting
113
00:09:01,130 --> 00:09:05,100
subtraction of the shape from both shape.
114
00:09:05,100 --> 00:09:09,160
So basically kind of subtracts the circle from the star and the star from the
115
00:09:09,160 --> 00:09:11,780
circle and then puts them together and kind of creates.
116
00:09:11,780 --> 00:09:13,280
It's interesting checkerboard thing.
117
00:09:14,310 --> 00:09:17,600
This file is provided to you for reference to show off all
118
00:09:17,600 --> 00:09:19,940
the different types of channel operations.
119
00:09:20,130 --> 00:09:25,870
And this is really how all these kind of go together.
120
00:09:26,140 --> 00:09:28,840
We're going to now take what we just learned,
121
00:09:28,850 --> 00:09:34,040
and we're gonna apply it to creating our own light rap in the next clip.
11190
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.