SlideShare a Scribd company logo
Bit-mapped Compression
      Techniques
   Run Length Encoding (RLE)
    Lempel Ziv Welch (LZW)
  Colour Look-up Table (CLUT)
Colour Lookup Table
• CLUT

True Colour = 24 bits p/pixel

True Colour = 16, 777, 216 colours

This is known as the FULL PALETTE
CLUT
• Used in image editing programmes

• Allows a user to specify the colours used in an
  image (setting up their own)

• These ‘mini’ palettes use colours taken from
  the 24-bit system (True Colour)
What does a palette look like?
• This is an example of a colour palette
What is RGB?
• The RGB color model is an additive color model
  in which red, green, and blue light is added
  together in various ways to reproduce a broad
  array of colors.

• The name of the model comes from the initials of
  the three additive primary colors, red, green, and
  blue.

• Each colour created using this technique has a
  code:255-250-250 / 139-137-137
QUESTION 1


• Explain the purpose of a CLUT in a bit mapped
  file format
ANSWER 1

• Explain the purpose of a CLUT in a bit mapped file format

The RGB colour code for each colour used in the image is
stored in the colour lookup table

A local palette storing the selection of colours used in the
image

1 mark for any valid point
QUESTION 2

• Describe a benefit of using a CLUT when
  applying effects to a bitmap image.
ANSWER 2

• Describe a benefit of using a CLUT when applying
  effects to a bitmap image.

Changes to the palette affect the whole screen at
once, so faster than editing pixel by pixel

Can be used to produce special effects which would
be much slower to produce by updating pixels
Run Length Encoding (RLE)
• Colours are used again and again throughout an
  image

• RLE gets colour code, stores it, then repeats it
  where required in the image.

• Colour code only stored once

• Saves storage (compresses file)
QUESTION 3


• Describe how the RLE compression method
  reduces the file size.
ANSWER 3


• Describe how the RLE compression method reduces
  the file size.

• Areas of a particular colour) compressed by storing the
  colour to repeat (1 mark)

• And the number of pixels to repeat for (1 mark)

                    2 mark question
QUESTION 4


• Explain why this compression method may not
  be effective on this image file.
ANSWER 4

• Explain why this compression method may not be effective on a
  complex photographic (bit-mapped) image.

The image does not contain that many large blocks of the same colour
(1 mark)

Therefore the amount of compression will be limited (1 mark)

                      2 mark question
Lempel Ziv Welch (LZW)
• Looks for commonly repeated bit patterns

• These patterns are stored in a look-up table

• Patterns allocated an index number

• Index number stored rather than complete
  patterns
Disclaimer
• Questions taken from 2008 past paper in
  accordance with SQA rules:


     The information in this publication may be reproduced to support SQA qualifications only on a non-commercial basis.

More Related Content

PPT
Color Gamuts and Spot Colors
PDF
JPEG Image Compression
PPT
Image Compression
PPT
Wong weisenbeck
PDF
Tech Tip #3
PPTX
Gamma and Colour Space
PPTX
Mpeg video compression
PPTX
Blind Source Camera Identification
Color Gamuts and Spot Colors
JPEG Image Compression
Image Compression
Wong weisenbeck
Tech Tip #3
Gamma and Colour Space
Mpeg video compression
Blind Source Camera Identification

Similar to Higher bit mapped compression techniques (20)

PPTX
Data compression
PPTX
Multimedia graphics and image data representation
PPT
Multimedia
PPTX
Project presentation image compression by manish myst, ssgbcoet
PDF
Image compression using negative format
PDF
Image compression using negative format
PDF
Lecture 2-2023.pdf
PDF
Lecture 2-2023.pdf
PDF
chapter-8imagecompression-170804060146.pdf
PPTX
Chapter 8 image compression
PPTX
Unit iv graphics
PDF
Chapter 3 (1).pdf Computer Mantainance and Tecknical support Chapter 3 Latest...
PDF
MMT image & graphics
PPT
Bmsc1103
PPT
Why Image compression is Necessary?
PPT
Imagepresentation
PPT
Lecture 10 Image Format
PPTX
Image compression
PPT
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
PPT
Representation of Bitmapped Graphics
Data compression
Multimedia graphics and image data representation
Multimedia
Project presentation image compression by manish myst, ssgbcoet
Image compression using negative format
Image compression using negative format
Lecture 2-2023.pdf
Lecture 2-2023.pdf
chapter-8imagecompression-170804060146.pdf
Chapter 8 image compression
Unit iv graphics
Chapter 3 (1).pdf Computer Mantainance and Tecknical support Chapter 3 Latest...
MMT image & graphics
Bmsc1103
Why Image compression is Necessary?
Imagepresentation
Lecture 10 Image Format
Image compression
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
Representation of Bitmapped Graphics
Ad

Recently uploaded (20)

PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Computing-Curriculum for Schools in Ghana
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Trump Administration's workforce development strategy
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
IGGE1 Understanding the Self1234567891011
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
advance database management system book.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
What if we spent less time fighting change, and more time building what’s rig...
Weekly quiz Compilation Jan -July 25.pdf
Computing-Curriculum for Schools in Ghana
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Trump Administration's workforce development strategy
Final Presentation General Medicine 03-08-2024.pptx
History, Philosophy and sociology of education (1).pptx
IGGE1 Understanding the Self1234567891011
A systematic review of self-coping strategies used by university students to ...
UNIT III MENTAL HEALTH NURSING ASSESSMENT
Paper A Mock Exam 9_ Attempt review.pdf.
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
LDMMIA Reiki Yoga Finals Review Spring Summer
Chinmaya Tiranga quiz Grand Finale.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
advance database management system book.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Ad

Higher bit mapped compression techniques

  • 1. Bit-mapped Compression Techniques Run Length Encoding (RLE) Lempel Ziv Welch (LZW) Colour Look-up Table (CLUT)
  • 2. Colour Lookup Table • CLUT True Colour = 24 bits p/pixel True Colour = 16, 777, 216 colours This is known as the FULL PALETTE
  • 3. CLUT • Used in image editing programmes • Allows a user to specify the colours used in an image (setting up their own) • These ‘mini’ palettes use colours taken from the 24-bit system (True Colour)
  • 4. What does a palette look like? • This is an example of a colour palette
  • 5. What is RGB? • The RGB color model is an additive color model in which red, green, and blue light is added together in various ways to reproduce a broad array of colors. • The name of the model comes from the initials of the three additive primary colors, red, green, and blue. • Each colour created using this technique has a code:255-250-250 / 139-137-137
  • 6. QUESTION 1 • Explain the purpose of a CLUT in a bit mapped file format
  • 7. ANSWER 1 • Explain the purpose of a CLUT in a bit mapped file format The RGB colour code for each colour used in the image is stored in the colour lookup table A local palette storing the selection of colours used in the image 1 mark for any valid point
  • 8. QUESTION 2 • Describe a benefit of using a CLUT when applying effects to a bitmap image.
  • 9. ANSWER 2 • Describe a benefit of using a CLUT when applying effects to a bitmap image. Changes to the palette affect the whole screen at once, so faster than editing pixel by pixel Can be used to produce special effects which would be much slower to produce by updating pixels
  • 10. Run Length Encoding (RLE) • Colours are used again and again throughout an image • RLE gets colour code, stores it, then repeats it where required in the image. • Colour code only stored once • Saves storage (compresses file)
  • 11. QUESTION 3 • Describe how the RLE compression method reduces the file size.
  • 12. ANSWER 3 • Describe how the RLE compression method reduces the file size. • Areas of a particular colour) compressed by storing the colour to repeat (1 mark) • And the number of pixels to repeat for (1 mark) 2 mark question
  • 13. QUESTION 4 • Explain why this compression method may not be effective on this image file.
  • 14. ANSWER 4 • Explain why this compression method may not be effective on a complex photographic (bit-mapped) image. The image does not contain that many large blocks of the same colour (1 mark) Therefore the amount of compression will be limited (1 mark) 2 mark question
  • 15. Lempel Ziv Welch (LZW) • Looks for commonly repeated bit patterns • These patterns are stored in a look-up table • Patterns allocated an index number • Index number stored rather than complete patterns
  • 16. Disclaimer • Questions taken from 2008 past paper in accordance with SQA rules: The information in this publication may be reproduced to support SQA qualifications only on a non-commercial basis.