+ All Categories
Home > Documents > CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint -...

CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint -...

Date post: 05-Oct-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
23
Aditi Majumder, CS 112 Slide 1 CS 112 – Display Considerations
Transcript
Page 1: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 1

CS 112 – Display Considerations

Page 2: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 2

Display

Image generationGenerate digital imagesShould take care to have non-aliased images

Image ReconstructionGenerate a continuous image on the display

Page 3: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 3

Image Reconstruction

Each pixel is not a point but an areaHow is that area lighted?

2D 1D

Ideal CaseIn practice

Spot WidthWider spots Narrower spots

Page 4: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 4

Sampling

f s 2

-f s 2

f s 2 f s 3 f s - f s

f s 2 f s 3 f s - f s

Convolution

Page 5: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 5

Reconstruction

f s 2

-f s 2

f s 2 f s 3 f s - f s

f s 2

-f s 2

Multiplication

Page 6: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 6

Reconstruction (Wider Kernel)

f s 2

-f s 2

f s 2 f s 3 f s - f s

f s 2

-f s 2

PIXELIZATION: Lower frequency aliased as high frequency

Page 7: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 7

Reconstruction (Narrower Kernel)

f s 2

-f s 2

f s 2 f s 3 f s - f s

f s 2

-f s 2

BLURRING: Removal of high frequencies

Page 8: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 8

Aliasing artifacts (Right Width)

Page 9: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 9

Wider Spots (Lost high frequencies)

Page 10: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 10

Narrow Width (Jaggies, insufficient sampling)

Page 11: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 11

Quantization

Digitization of colorGray scale – infinite grays between 0 and 1

8 bit representation – 256 levelsA range of grays represented by a single value

Any value is assigned to one of k valuesChoose number of levels and range of each level

Page 12: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 12

Quantization Error

g

Q(g)

Quantization Error

Uniform Quantization

Maximum Error = ½ Step Size

Step Size

Page 13: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 13

Human Perception

Use properties of human perceptionResponse CompressionResponse Expansion

Page 14: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 14

Steven’s Power Law

P = KS n

P = PerceptionS = Stimulus

Strength

n>1.0 (Expansion)

n<1.0 (Compression)

Page 15: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 15

Steven’s Power Law

P = KS n

P = PerceptionS = Stimulus

Strength

n>1.0 (Expansion)

n<1.0 (Compression)

Page 16: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 16

Gamma Function

Inverse of human response curve for faithful representation of intensitiesCalled the gamma function

O = Iγ

Gamma Correction

Human Response

Display Gamma

Input Intensity

Out

put I

nten

sity

Page 17: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 17

Capture devices (Camera)

Usually have the inverse gammeSimilar to human eye

So that images look good on displayCurrent cameras give you RAW images which are linear

Page 18: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 18

Non-Uniform Quantization

Note how quantization changesNon-uniform step sizeMaximum Error

½ of maximum step size

# of levels is the color resolution

# of bits

Display Gamma

Input Intensity

Out

put I

nten

sity

Page 19: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 19

Color Resolution

Analog Image 4 Steps 8 Steps 16 Steps

32 Steps64 Steps

Quantization Artifacts

Page 20: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 20

Dithering

What if the color resolution is low?Newsprint – Bi-level, only black and white

Can we expand the # of colors?Spatial integration of eye

Trading off spatial resolution for intensity resolution

Page 21: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 21

Dithering

Represented by a dither matrixnxn pixels, bi-level intensity, can produce n2+1 intensitiesIf more than two levels – k levels

n2. (k-1) +1Used for increasing the color resolution

0 2

1 3

Page 22: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 22

Dithering

If more than two levels – k levelsn2. (k-1) +1For k = 4 (0,1,2,3) and n=2

Page 23: CS 112 – Display Considerationsmajumder/VC/classes/display.pdf · Microsoft PowerPoint - display.ppt Author: majumder Created Date: 11/25/2008 4:58:20 PM ...

Aditi Majumder, CS 112 Slide 23

Examples

Loss of tone and details(Intensity and Spatial Resolution)


Recommended