220 likes | 315 Views
Multimedia. Image Technology. Technology. Krich Sintanakul 271430 Multimedia and Hypermedia. Technology. Types of Images. Raster Image Digitize or sampling from the real world Store in bitmap orientation Need large storage and High compression Edit by retouching tool Vector Image
E N D
Multimedia Image Technology Technology Krich Sintanakul 271430 Multimedia and Hypermedia
Technology Types of Images • Raster Image • Digitize or sampling from the real world • Store in bitmap orientation • Need large storage and High compression • Edit by retouching tool • Vector Image • Synthesized image • Store in object structure list (Smaller) • Reusable , Scalable , Animating • No stair problem Multimedia
Technology Types of Images • Raster Image Multimedia
Technology Types of Images • Vector Image Multimedia • Object Rectan01 • Pivot center • Data (xmin,ymin,xmax,ymax) • Rectangular (xmin,ymin,xmax,ymax) • begin • lineto (xmin,ymin,xmax,ymin) • lineto (xmax,ymin,xmax,ymax) • lineto (xmin,ymin,xmin,ymax) • lineto (xmin,ymax,xmax,ymax) • end • end object (xmin,ymin) (xmax,ymax)
Technology Types of Images • From vector to raster display system Multimedia
Technology Displaying Image in Computer • Cathode-Ray Tubes and LCD panel Multimedia
Technology Displaying Image in Computer • Source of color Multimedia
Technology Displaying Image in Computer • Source of color in CRT Multimedia
Technology Displaying Image in Computer • Color Mixing in RGB model Multimedia
Technology Displaying Image in Computer • Raster scan display system Multimedia
Technology Displaying Image in Computer • Raster scan display system Multimedia
Technology Displaying Image in Computer • Color Raster scan display system Multimedia
Technology Displaying Image in Computer • Raster scan display system Multimedia
Technology Type of color display system • True Color system • 24/16 Bits each pixel • 3/2 Bytes per pixel • Keep Color intensity in Frame buffer • Index Color system • 8 bits (1 byte) per pixel • Display 256 from index table at a time • Keep address of table in Frame buffer Multimedia
Technology Bit depth Video controller CRT N M Type of color display system • True Color system Multimedia
Technology 1 Byte 1 Byte 1 Byte 1 Byte 1 Byte Type of color display system • True Color system • VGA 24 Bits 640*480 = 307200 Pixels = 921600 Bytes • VGA 16 Bits 640*480 = 307200 Pixels = 614400 Bytes • SVGA 24 Bits 800*600 = 480000 Pixels = 1440000 Bytes • SVGA 16 Bits 800*600 = 480000 Pixels = 960000 Bytes Multimedia
Technology Type of color display system • Index Color system Color Table 8 bits Frame Buffer G B R Multimedia 255 x D/A x D/A 0 1 0 D/A 0 1 1 50 0 01001010 01001111 00011010 y 0 y 50 0 3 colors x 8 bits/column = 24 bits
Technology Type of color display system • Index color system • VGA 256 Color 640*480 = 307200 Pixels = 307200 Bytes Index table 256*3 (24 bits) 768 Bytes Total 307200 + 768 = 307968 Bytes • SVGA 256 Color 800*600 = 480000 Pixels = 480000 Bytes Index table 256*3 (24 bits) 768 Bytes Total 480000 + 768 = 480768 Bytes • SVGA 256 Color 1024*768 = 786432 Pixels = 786432 Bytes Index table 256*3 (24 bits) 768 Bytes Total 786432 + 768 = 787200 Bytes Multimedia
Technology How to display an image file(1) • BMP indexed file structure Multimedia
Technology How to display an image file(2) • Step 1 Load image information Multimedia
Technology How to display an image file(3) • Step 2 Load color index to video pallet Multimedia
Technology How to display an image file(4) • Step 3 Load pixel information by lookup color pallet Multimedia