Library

Video Player is loading.
 
Current Time 0:00
Duration 6:16
Loaded: 0.00%
 

x1.00


Back

Games & Quizzes

Training Mode - Typing
Fill the gaps to the Lyric - Best method
Training Mode - Picking
Pick the correct word to fill in the gap
Fill In The Blank
Find the missing words in a sentence Requires 5 vocabulary annotations
Vocabulary Match
Match the words to the definitions Requires 10 vocabulary annotations

You may need to watch a part of the video to unlock quizzes

Don't forget to Sign In to save your points

Challenge Accomplished

PERFECT HITS +NaN
HITS +NaN
LONGEST STREAK +NaN
TOTAL +
- //

We couldn't find definitions for the word you were looking for.
Or maybe the current language is not supported

  • 00:00

    We looked at the auditor scissoring is an attempt to
    We looked at the auditor scissoring is an attempt to

  • 00:02

    Simulate those extra gray scales. Let's keep it to a gray scales for the purpose of this video just using black and white pixels
    Simulate those extra gray scales. Let's keep it to a gray scales for the purpose of this video just using black and white pixels

  • 00:10

    There's another approach we can take which is called error diffusion
    There's another approach we can take which is called error diffusion

  • 00:16

    So what we do and we'll still use black and white to do this we take a picture
    So what we do and we'll still use black and white to do this we take a picture

  • 00:21

    Let's start with this one, which has got the value 128 so it's mid gray
    Let's start with this one, which has got the value 128 so it's mid gray

  • 00:25

    We can either say it to be white 255 or black zero so we choose the one which is closer
    We can either say it to be white 255 or black zero so we choose the one which is closer

  • 00:32

    So in this case 255 is slightly closer than zero. So we've set that to me two, five five now we can calculate
    So in this case 255 is slightly closer than zero. So we've set that to me two, five five now we can calculate

  • 00:39

    The error in the value we've given it to what it should be. So this should be
    The error in the value we've given it to what it should be. So this should be

  • 00:44

    128 we said it to be 255. So we've got an error of plus
    128 we said it to be 255. So we've got an error of plus

  • 00:49

    127 that's how much brighter it is than what we do especially because we've got that piece. It'll be that
    127 that's how much brighter it is than what we do especially because we've got that piece. It'll be that

  • 00:54

    Now what we can do is we can say let's make the pixels around it slightly darker than they should be
    Now what we can do is we can say let's make the pixels around it slightly darker than they should be

  • 01:01

    To compensate for the fact that that one's brighter. So we've got this one pixel, which is brighter
    To compensate for the fact that that one's brighter. So we've got this one pixel, which is brighter

  • 01:04

    Let's make the ones around it darker
    Let's make the ones around it darker

  • 01:06

    And again when the eye looks a little average of axes and low-pass filter over the image and it will appear
    And again when the eye looks a little average of axes and low-pass filter over the image and it will appear

  • 01:12

    Roughly to be the right brightness all the way over it in this case
    Roughly to be the right brightness all the way over it in this case

  • 01:16

    We want to make it darker by quite a lot. Now. The question is where do we pass that?
    We want to make it darker by quite a lot. Now. The question is where do we pass that?

  • 01:20

    Error on to do we just put it onto the next pixel do we put it onto the pixel before?
    Error on to do we just put it onto the next pixel do we put it onto the pixel before?

  • 01:25

    We put onto the pixel below it the pixels above it
    We put onto the pixel below it the pixels above it

  • 01:27

    One of the classic approach is used is what's called?
    One of the classic approach is used is what's called?

  • 01:31

    Floyd Steinberg do the ring and what you do here is you don't modify pixels that have already been set
    Floyd Steinberg do the ring and what you do here is you don't modify pixels that have already been set

  • 01:37

    So you're scanning the image from the top left across each row from left to right?
    So you're scanning the image from the top left across each row from left to right?

  • 01:43

    So the pixels before it you've already set and so you say ooh
    So the pixels before it you've already set and so you say ooh

  • 01:46

    I'm going to take the arrow from this and I've got to put some of it into here
    I'm going to take the arrow from this and I've got to put some of it into here

  • 01:49

    Some of it into here some of it into here and some of it into here
    Some of it into here some of it into here and some of it into here

  • 01:53

    So let's start down here a bit. We've set this to be two five five. This is up
    So let's start down here a bit. We've set this to be two five five. This is up

  • 01:58

    527 so we need to split that plus 127 and take all the ones around it down
    527 so we need to split that plus 127 and take all the ones around it down

  • 02:04

    By some amount. So what the Floyd sign Burke algorithm says is into this pixel here. We'll take
    By some amount. So what the Floyd sign Burke algorithm says is into this pixel here. We'll take

  • 02:10

    7/16 of the error into this pixel here. We'll take
    7/16 of the error into this pixel here. We'll take

  • 02:15

    1/16 of the error into this pixel here. We'll take
    1/16 of the error into this pixel here. We'll take

  • 02:19

    5/16 of the area and into this one here it will take
    5/16 of the area and into this one here it will take

  • 02:23

    3/16 of the error what this basically means is that this was up by 127
    3/16 of the error what this basically means is that this was up by 127

  • 02:28

    So, what does that the runs around it a total of 127 lower. So our error that we need to pass out is minus 127
    So, what does that the runs around it a total of 127 lower. So our error that we need to pass out is minus 127

  • 02:35

    so we take
    so we take

  • 02:37

    127 divided by 16
    127 divided by 16

  • 02:40

    multiplied by 7
    multiplied by 7

  • 02:42

    So this Pixar we're going to bring down by minus 56 this one. We're going to bring down by
    So this Pixar we're going to bring down by minus 56 this one. We're going to bring down by

  • 02:49

    1/16 which is roughly 8 and this one is 5/16 which is going to be roughly
    1/16 which is roughly 8 and this one is 5/16 which is going to be roughly

  • 02:56

    40 and this one's going to be 3/16 which is gonna be roughly
    40 and this one's going to be 3/16 which is gonna be roughly

  • 03:00

    24 so these are all - so what we're saying?
    24 so these are all - so what we're saying?

  • 03:02

    Is it for the pixels that surround this one because we were too bright by 127 levels
    Is it for the pixels that surround this one because we were too bright by 127 levels

  • 03:09

    We're going to make all the ones below it less bright by certain amounts. So let's work out what those values would be
    We're going to make all the ones below it less bright by certain amounts. So let's work out what those values would be

  • 03:15

    So we take 120 8 here we subtract with 56 from it which gives us the value of 72
    So we take 120 8 here we subtract with 56 from it which gives us the value of 72

  • 03:22

    So make this pixel to the right
    So make this pixel to the right

  • 03:24

    Be 0 but that's going to generate its own error
    Be 0 but that's going to generate its own error

  • 03:27

    And so we do exactly the same thing in which would generate an error, which would go here
    And so we do exactly the same thing in which would generate an error, which would go here

  • 03:31

    This was too dark by 72 which means we need to raise this pixel by so much which would make it white
    This was too dark by 72 which means we need to raise this pixel by so much which would make it white

  • 03:37

    But we also need to raise this pixel this pixel
    But we also need to raise this pixel this pixel

  • 03:40

    Which is also that pixel and so on so we could have passed the error out amongst and if we repeat this out
    Which is also that pixel and so on so we could have passed the error out amongst and if we repeat this out

  • 03:47

    over the whole image we can convert a
    over the whole image we can convert a

  • 03:51

    Continuous tone image here into a set of pixels that are either black or white
    Continuous tone image here into a set of pixels that are either black or white

  • 03:56

    But which are compensating for the error? And so again, we'll give the appearance of
    But which are compensating for the error? And so again, we'll give the appearance of

  • 04:02

    the original gray things
    the original gray things

  • 04:03

    But if you were to zoom in on this you would see that rather than having a regular pattern
    But if you were to zoom in on this you would see that rather than having a regular pattern

  • 04:07

    It would look a lot more random. You'd have sort of clusters of things actually
    It would look a lot more random. You'd have sort of clusters of things actually

  • 04:10

    These numbers were chosen 3/16 5/16 1/16 7/16 so that for 50% gray you do get that checkerboard pattern
    These numbers were chosen 3/16 5/16 1/16 7/16 so that for 50% gray you do get that checkerboard pattern

  • 04:19

    But for other things you get different patterns the advantage of this is that each of the dots
    But for other things you get different patterns the advantage of this is that each of the dots

  • 04:23

    Are a single pixel wide rather than before on the other to the west some were single pixel some got bigger some got smaller here
    Are a single pixel wide rather than before on the other to the west some were single pixel some got bigger some got smaller here

  • 04:31

    Everything would end up as a single pixel
    Everything would end up as a single pixel

  • 04:34

    So what we've been talking about is spatial diddly
    So what we've been talking about is spatial diddly

  • 04:37

    we've been taking the either the error and diffusing out over the image or
    we've been taking the either the error and diffusing out over the image or

  • 04:41

    Using an order thing over the image to create the dithering you can also do there in time
    Using an order thing over the image to create the dithering you can also do there in time

  • 04:47

    So some of the plasma televisions and actually some LCDs as well to try and create the gray scales rather than dither
    So some of the plasma televisions and actually some LCDs as well to try and create the gray scales rather than dither

  • 04:55

    Just in space. They also do that in time
    Just in space. They also do that in time

  • 04:58

    So what they do, is that rather than having the pixel be white all the time
    So what they do, is that rather than having the pixel be white all the time

  • 05:01

    And they're all black all the time to create the space with the other
    And they're all black all the time to create the space with the other

  • 05:04

    They have it flashing very fast between the two things
    They have it flashing very fast between the two things

  • 05:07

    So it looks great because it's flashing
    So it looks great because it's flashing

  • 05:09

    Faster than the eye can see black then white the black then white and black the white black and white black the white
    Faster than the eye can see black then white the black then white and black the white black and white black the white

  • 05:15

    Is it kind of a bit more for the history books this then? It's still you
    Is it kind of a bit more for the history books this then? It's still you

  • 05:19

    I mean printers are still black and white printers
    I mean printers are still black and white printers

  • 05:20

    Either can put a blob of ink or they can't put a blob of ink put a blob of tone or they can't
    Either can put a blob of ink or they can't put a blob of ink put a blob of tone or they can't

  • 05:25

    with the exception of dye sublimation ones where they can start to mix the colors together in different ratios as they're subliming the
    with the exception of dye sublimation ones where they can start to mix the colors together in different ratios as they're subliming the

  • 05:33

    Inks and so on it's still used in television
    Inks and so on it's still used in television

  • 05:35

    For example, the camera Shaun's using to film this I think has a 10-bit sensor
    For example, the camera Shaun's using to film this I think has a 10-bit sensor

  • 05:39

    But it's recording at 8 bits. And so it'll be due there in gown
    But it's recording at 8 bits. And so it'll be due there in gown

  • 05:42

    That's the high end bits the 9th and 10th bit down to the 8 bits to create some that you can see on
    That's the high end bits the 9th and 10th bit down to the 8 bits to create some that you can see on

  • 05:48

    YouTube and so I still use an open you'll go away
    YouTube and so I still use an open you'll go away

  • 05:52

    At least you haven't asked me about it on it in audio
    At least you haven't asked me about it on it in audio

  • 05:55

    We said that again and now we're going across here. He's 128 greater than hundred 28. No, so we leave that blank
    We said that again and now we're going across here. He's 128 greater than hundred 28. No, so we leave that blank

  • 06:01

    So now we come down on to line 2 and we do the same thing with the second line here
    So now we come down on to line 2 and we do the same thing with the second line here

  • 06:05

    He's 128 great at 192. No, right? Ok, believe it is 128 greater than 0 yes. Ok, so we get the program to
    He's 128 great at 192. No, right? Ok, believe it is 128 greater than 0 yes. Ok, so we get the program to

All noun
auditor
/ˈôdədər/

word

person who conducts audit

Error Diffusion Dithering - Computerphile

69,749 views

Video Language:

  • English

Caption Language:

  • English (en)

Accent:

  • English

Speech Time:

90%
  • 5:41 / 6:16

Speech Rate:

  • 218 wpm - Fast

Category:

  • Education

Intro:

We looked at the auditor scissoring is an attempt to
Simulate those extra gray scales. Let's keep it to a gray scales for the purpose of this video just using black and white pixels
There's another approach we can take which is called error diffusion
So what we do and we'll still use black and white to do this we take a picture
Let's start with this one, which has got the value 128 so it's mid gray
We can either say it to be white 255 or black zero so we choose the one which is closer
So in this case 255 is slightly closer than zero. So we've set that to me two, five five now we can calculate
The error in the value we've given it to what it should be. So this should be
128 we said it to be 255. So we've got an error of plus
127 that's how much brighter it is than what we do especially because we've got that piece. It'll be that
Now what we can do is we can say let's make the pixels around it slightly darker than they should be
To compensate for the fact that that one's brighter. So we've got this one pixel, which is brighter
Let's make the ones around it darker. And again when the eye looks a little average of axes and low-pass filter over the image and it will appear
Roughly to be the right brightness all the way over it in this case
We want to make it darker by quite a lot. Now. The question is where do we pass that?
Error on to do we just put it onto the next pixel do we put it onto the pixel before?
We put onto the pixel below it the pixels above it. One of the classic approach is used is what's called?
Floyd Steinberg do the ring and what you do here is you don't modify pixels that have already been set

Video Vocabulary

/ˈklasik/

adjective noun

Having a simple, basic design or style. Something popular or famous for a long time.

/ˈpərpəs/

noun verb

Reason for which something is done; aim; goal. have as intention or objective.

/ˈkämpənˌsāt/

verb

give someone something in recognition of loss.

/ˈkwesCH(ə)n/

noun verb

What you ask about; issue. To have or express concerns or uncertainty.

/ˈslītlē/

adverb

to small degree.

/ˌôlˈredē/

adverb

Having happened or been done before this time.

/ˈôdədər/

noun

person who conducts audit.

/ˈav(ə)rij/

adjective noun verb

constituting result found by dividing total amount. Total of numbers divided by the number of items. amount to or achieve as average rate or amount over period of time.

/brīt/

adjective

Giving off more light than.

/əˈnəT͟Hər/

adjective determiner pronoun

One more, but not this. used to refer to additional person or thing of same type as one. additional person or thing of same type.

/əˈtem(p)t/

noun verb

effort to achieve something. To try to do something challenging or difficult.

/əˈprōCH/

noun verb

Request of someone with a specific goal in mind. To request someone to do something specific.

/ˈbrītnəs/

noun

quality or state of giving out or reflecting light.

/skan/

verb

look at all parts of something carefully.