Display Technologies - PowerPoint PPT Presentation

1 / 31
About This Presentation
Title:

Display Technologies

Description:

... displaying continuous lines and very high resolution curves ... Generally high resolution. Cons. Can not display realistic shaded images. Not capable of color ... – PowerPoint PPT presentation

Number of Views:76
Avg rating:3.0/5.0
Slides: 32
Provided by: chrisw6
Category:

less

Transcript and Presenter's Notes

Title: Display Technologies


1
Display Technologies
2
Types of video display
  • Cathode Ray Tubes (CRTs)
  • TVs, RGB monitors, o-scopes
  • Flat-Panel Displays
  • PDAs, laptops, calculators, digital watches

3
CRTs
Electrons are fired from a filament, focused,
accelerated, then deflected to a point on the
phosphor coating on the inside of the display
screen
4
Random-scan CRTs
Electron beam is scanned along each line
segment Capable of displaying continuous lines
and very high resolution curves High-end
displays capable of 100k lines per refresh -
also referred as vector display
5
Random-scan CRTs
  • Pros
  • Excellent for line drawings
  • Generally high resolution
  • Cons
  • Can not display realistic shaded images
  • Not capable of color
  • Common Example
  • Oscilloscopes

6
Raster-scan CRTs
Electron beam is scanned left-to-right,
top-to-bottom Beam retraces to top-left after
reaching bottom-right (vertical retrace) Capable
of displaying continuous range of intensities at
discrete positions High-end displays capable of
4k x 4k _at_ 120 Hz -also referred as scan line
display
7
Raster-scan CRTs
Three electron guns are used, one for each
color The guns are aimed through a mask and onto
colored phosphors Colored phosphors are arranged
in RGB triples dots (delta) RGB
monitors stripes (inline) TVs, Sony Trinitron
8
Raster-scan CRTs
  • Pros
  • Excellent for varying intensity
  • Can display shaded images
  • Color
  • Cons
  • Jaggies
  • Common Example
  • Televisions

9
Color Models
10
Human Visual System
  • The human retina is covered in 2 kinds of
    photoreceptor, rods and cones
  • The fovea, densely packed with cones, is
    responsible for detailed color vision

11
RGB color cube
  • Coordinate system with R, G, B as axes
  • Grayscale axis runs from (0,0,0) to (1,1,1)
  • - additive process

12
CMY color model
Coordinate system with C, M, Y as axes useful
for describing color output to hard-copy
devices. Grayscale axis runs from (0,0,0) to
(1,1,1). Color - substractive process.
13
  • Jika 1 senapang elektron diwakili oleh 1 bit 0
    atau 1
  • bilangan warna 2
  • Jika 1 senapang elektron diwakili oleh 2 bit
    00, 01, 10, 11
  • bilangan warna 4
  • Bilangan warna 2 n (n bilangan bit)
  • Jika terdapat 3 senapang elektron, setiap satu
    senapang diwakili 2 bit
  • Berapakah bilangan bit?
  • Berapa bilangan warna?
  • 1 senapang 2 bit? 3 senapang 2x3 6 bit
  • Bilangan warna 2 6 64 warna
  • Kebiasaannya, kita sebut bilangan bit tanpa
    mengambilkira senapang elektron cth 16 bit warna
  • Jika satu sistem mempunyai 16 bit warna.Berapakah
    bilangan warna yang ada ?

14
The Framebuffer
15
Raster-scan review
  • Display composed of discrete, addressable points
  • picture elements or pixels
  • Can control intensity of each pixel
  • Pixels can be composed of RGB triples

16
s
  • Frame buffer contains all of the pixel values
    (monochrome, gray or color) that describe the
    picture to be displayed on the computer screen.
  • It supplies this information to the electron beam
  • When the picture changes, the frame buffer is
    updated

0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
1
1
0
1
1
1
1
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
Screen monitor
Frame buffer
17
True-color
  • 3 channels, 8 bits per channel 24 bits per
    pixel
  • Often includes a 4th, non-display, channel
    (alpha) used for image composition 32 bpp
  • 256 intensity levels per channel
  • 224 total colors
  • Sometimes combined with a LUT per channel (gamma
    correction)



18
Indexed-color
  • 8 bpp ( typically lt 24bpp)
  • Each byte is an index to a LUT (colormap)-
    selection of colors for the particular
    application.
  • All 224 colors are available to the colormap, but
    only 28 colors are available to the framebuffer
  • Can do animation by swapping colormap entries
  • Multiple apps can cause flashing if they try to
    use different colormaps at the same time

19
Color map
Frame buffer
R
B
index
G
0
1
2
10
175
80
00000010

8 bit
255
8bit
8bit
8bit
Color map
20
High-color
  • 16 bpp, 5 bits per primary color
  • Sometimes the extra bit is given to green
  • Limited number of bits per color can lead to
    noticeable quantization effects (color banding
    artifacts) and can be worse than index color in
    certain circumstances


21
Color quantization
Indexed-Color
  • True-Color

High-Color
22
  • Bilangan warna bagi monitor bergantung kepada
    keupayaan sistem paparan
  • Cth
  • 1.    Sistem hitam-putih
  • 1 bit/piksel -gt 1 atau 0 -gt 2 keamatan warna
  •  
  • 2.    Sistem yang lebih berkualiti
  • -         2 bit/piksel -gt 00, 01, 10 dan 11 -gt22
    -gt 4 keamatan warna
  • -         8 bit/piksel -gt 28-gt 256 keamatan/
    warna.
  • -         24 bit/piksel -gt -gt ?
    keamatan/ warna.
  • 256 nilai voltan berbeza bagi setiap senapang
    elektron (28

23
Single-buffered
  • Single-buffered mode writes pixels directly into
    active framebuffer memory
  • Partial results are therefore visible
  • This is especially noticeable when trying to do
    animation

24
Double-buffered
  • Double-buffered mode writes pixels into a
    secondary buffer (back buffer), different from
    the buffer currently on display (front buffer)
  • When all pixels are written to the secondary
    buffer, an explicit call is made to swap the
    front and back buffers
  • The swap is typically done during the displays
    vertical retrace period
  • This technique is preferred for interactive
    graphics

0
0
0
0
0
0
0
0
0
0
A
0
0
0
0
A
1
1
1
0
0
0
0
0
0
0
0
1
1
1
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
B
0
1
0
B
1
1
0
0
0
1
0
1
1
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
Contents of Buffer A are displayed Buffer B is
hidden (pixel values are being loaded)
Contents of Buffer B are displayed Buffer A is
hidden (pixel values are being loaded)
25
resolution
  • The number of pixels in the horizontal and
    vertical dimension of the screen
  • If resolution screen 800 x 600, how many pixel in
    the screen?
  • Contoh
  • Jika saiz skrin paparan 15 x 10 inci dan
    resolusinya ialah 50 piksel per inci. Berapakah
    bilangan piksel pada skrin tersebut.

26
  • Katakan sistem mempunyai/ menggunakan 24
    bit/piksel (true color) dan resolusi monitor
    1024 x 1024 piksel. Saiz penimbal yang diperlukan
    ialah -
  •  
  • 24 x 1024 x 1024 bit
  • 24 x 1024 x 1024 bait
  • 8
  • 24 x 1024 x 1024 KB
  • 8 x 1024
  • 3 MB.

27
Framebuffer math
  • How much memory is needed for a 1024 x 768
    true-color (32 bit) framebuffer
  • Single-buffered?

1024 x 768 x 32 bit 3 MB
28
Framebuffer math
  • How much memory is needed for a 800 x 600
    index-color (8 bit) framebuffer
  • Single-buffered?
  • Please calculate yourself

29
Coordinate systems
  • Most windowing systems
  • OpenGL framebuffer

x
(0,0)
y
y
x
(0,0)
30
Coordinate systems
  • Does it matter? No, we just need to be aware of
    the difference
  • Where a pixel in the framebuffer will show up on
    screen?
  • How do we get the pixel address under the mouse
    pointer?
  • Could some other display library have its
    framebuffer lay-out match your windowing system?
    Absolutely. Many do.
  • What if all we never directly displayed our
    framebuffer, but wrote it out as an image for
    later display?
  • Virtually all image formats use screen-space
    coordinates.
  • What if we want to support both?
  • Then we have to know when to invert the y-axis.
    When would you do it?

31
Framebuffer coordinates
  • Well pick OpenGLs coordinate system.
  • Where will these points appear on the screen?
  • (0, 0)
  • (5, 7)
  • (8, 3)

2
3
1
Write a Comment
User Comments (0)
About PowerShow.com