1 / 29

Bit-Mapped Graphic Data: Input (Capture) Hardware

Bit-Mapped Graphic Data: Input (Capture) Hardware. Multimedia – Section 2. 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)

kanan
Télécharger la présentation

Bit-Mapped Graphic Data: Input (Capture) Hardware

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Bit-Mapped Graphic Data:Input (Capture) Hardware Multimedia – Section 2

  2. 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.

  3. 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)

  4. Scanner • Capture images from a flat object • Linear CCD • Narrow strip passes over image. • Requires 3 images for colour • Red, Green & Blue

  5. Bit-Mapped Graphic Data:Storage of Graphic Data Multimedia - Section 2

  6. File Formats • Bitmap (BMP) • Graphic Interchange Format (GIFF) • Joint Pictures Expert Group (JPEG) • Portable Network Graphics (PNG)

  7. Bitmap File Format Uncompressed: • 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

  8. Bitmap File Format Colour Depth • The number of colours that can be represented • Calculation: Number of colours = 2 bit depth

  9. Example Colour (bit) Depth = 8 Number of colours = 28 = 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 = 256

  10. GIF File Format • Lossless compression • LZW • Limited number of colours: limited to 28 • 256 colours • Features: • Animation • Transparency • Extension: .gif

  11. Good For: Flat areas of colour Few colours Animated images Transparency Bad For: Photographic images High colour graphics High quality videos GIF File Format

  12. Interlacing • Allows you to view an image before it is downloaded • Image is gradually revealed

  13. JPEG File Format • Lossy compression • DCT • Greyscale or full-colour image compression • Exploits human eye limitations • Related to MPEG • Extension: .jpg

  14. 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

  15. 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

  16. Bit-Mapped Graphic Data:Storage of Graphic Data- Technical Terms Multimedia - Section 2

  17. Bit-mapped Graphic Data • To calculate the approx file size of an uncompressed bitmap: Files size (bytes) = Number of Pixels x colour depth per pixel (bits) 8 • If colour depth per pixel is in bytes: Files size = Number of Pixels x colour depth per pixel

  18. Bit-mapped Graphic Data • Dithering • Extra colour can be created by placing different colours next to each other • Red and blue pixels would appear as purple

  19. 4 Colour Non-Dithered 4 Colour with Dithering 256Colour Dithering Example

  20. Bit-mapped Graphic Data • Anti alias • Low resolution images can appear less jaggy if extra colours are used to reduce staircase effect

  21. Bit-mapped Graphic Data • Re-sampling • If detail is lost in a graphic it is not possible to retrieve it • Re-sampling will make a best guess at what the missing pixels would look like • Technique used to enhance grainy security camera images

  22. Trading quality for file size • Resolution: increasing resolution increases the number of pixels, can improve the quality of a graphic but increases the file size. • Colour depth: increasing colour depth increases the number of colours or shades of grey, can improve the quality of a graphic but increases the file size. • Lossy compression: reduces file size and, providing the rate of compression is not too high, does not affect the quality of the graphic.

  23. Bit-mapped Graphic Data Simple bit-map editing and creation software • Painting programs Fill tool: a feature for pouring colour into a graphic. Paintbrush tool: for more precise application of colour.

  24. Bit-mapped Graphic Data Main features of image editing programs • Decrease resolution • Alter colour depth • Crop • Alter brightness and contrast • Insert graphic • Re-size.

  25. Bit-Mapped Graphic Data:Output of Graphic Data Multimedia - Section 2

  26. Graphics cards • The graphics card is the device in the computer responsible for generating images. • Images are held in the memory of the graphics card (called VRAM - or Video RAM).

  27. DAC on Graphics Card Analogue Image Signal Digital Image Signal Digital to Analogue Converter (DAC) • Converts the digital computer signal into an analogue one that the monitor needs. • In future analogue displays will be replaced with ones that accept digital signals • Many LCD displays currently allow digital signals • Called DVI - Digital Visual Interface

  28. Graphics Processing Unit (GPU) • The GPU is a Digital Signal Processor (DSP) • Located on the graphics card • Often more advanced than CPU • Created mainly for modern gaming • Generates images faster and with better quality than if generated from the processor

  29. CRT monitor: Bulky & heavy Run on mains power Cost less than equivalent TFT screens LCD and TFT screens: Flat & light Need less power More expensive than CRT Hardware for Displaying 2D Graphics

More Related