2a bitmapped graphics hardware
DESCRIPTION
TRANSCRIPT
![Page 1: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/1.jpg)
Bit-Mapped Graphic Data:Input (Capture) Hardware
Multimedia – Section 2
![Page 2: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/2.jpg)
CCD & ADC
• CCD (charged coupled device):• Uses sensors to capture light and then
convert into analogue electrical signals.• Currently only see light levels not colour
• ADC (Analogue/Digital Converter)• Converts the analogue signals into digital
signals so that the computer can process them.
![Page 3: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/3.jpg)
Digital Camera
• In a digital camera a CCD array captures light coming in through a lens
• The Resolution is the number of pixels in the image produced
• Capturing colour– A colour filter array is placed over the CCD array– Each sensor records light of one colour (red, green or blue)
![Page 4: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/4.jpg)
Scanner
• Requires 3 images for colour– Red, Green & Blue
• Capture images from a flat object
• Linear CCD– Narrow strip passes over image.
![Page 5: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/5.jpg)
Multimedia - Section 2
Bit-Mapped Graphic Data:Storage of Graphic Data
![Page 6: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/6.jpg)
File Formats• Bitmap (BMP)• Graphic Interchange Format (GIFF)• Joint Pictures Expert Group (JPEG)• Portable Network Graphics (PNG)
![Page 7: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/7.jpg)
Bitmap File FormatUncompressed:
– A file which holds a binary number for each pixel in an image
Limitation:– large file size
Compression: – RLE (Run Length Encoding)
• uses the fact that large areas have same colour of pixel. (LossLess)
Extension: – .bmp
![Page 8: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/8.jpg)
Bitmap File Format
Colour Depth
• The number of colours that can be represented
• Calculation:
Number of colours = 2 bit depth
![Page 9: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/9.jpg)
Example
Colour (bit) Depth = 8Number of colours = 28
= 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2
= 256
![Page 10: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/10.jpg)
GIF File Format• Lossless compression
– LZW
• Limited number of colours: limited to 28
– 256 colours
• Features: – Animation– Transparency
• Extension: .gif
![Page 11: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/11.jpg)
GIF File Format
Good For:• Flat areas of colour• Few colours• Animated images• Transparency
Bad For:• Photographic images• High colour graphics• High quality videos
![Page 12: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/12.jpg)
Interlacing• Allows you to view an image before it is
downloaded• Image is gradually revealed
![Page 13: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/13.jpg)
JPEG File Format• Lossy compression
– DCT
• Greyscale or full-colour image compression • Exploits human eye limitations• Related to MPEG• Extension: .jpg
![Page 14: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/14.jpg)
JPEG File Format
• Advantages:– Greater compression than lossless– Good for photographic images (real-world)– Compression ratio can be controlled by user– Best for large files
• Disadvantages– Doesn’t support interlacing or transparency
![Page 15: 2a Bitmapped Graphics Hardware](https://reader034.vdocuments.site/reader034/viewer/2022051611/54b4d7ee4a79593d368b46ac/html5/thumbnails/15.jpg)
PNG File Format• Has all advantages of GIF without the
restrictions
• Allows 24 bit colour
• Allows for partial transparency
• Lossless compression– Variation of LZW
• Extension: .png