Colour Lookup Table• CLUTTrue Colour = 24 bits p/pixelTrue Colour = 16, 777, 216 coloursThis 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 formatThe RGB colour code for each colour used in the image isstored in the colour lookup tableA local palette storing the selection of colours used in theimage1 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 atonce, so faster than editing pixel by pixelCan be used to produce special effects which wouldbe 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.