Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

Assignment: Image Representation

Name: Talha Javed


Roll No: 150
Mentor: Sir Zubair

1
Table of Contents
Colour Models and Representation ......................................................................................... 3
Binary Image: ........................................................................................................................... 4
• Binary images have only two colours:black and white. ............................................. 5
Grayscale Images ..................................................................................................................... 6
Image File Formats(GIF,JPEG,PNG) .......................................................................................... 7
JPEG ......................................................................................................................................... 8
PNG.......................................................................................................................................... 9
BMP(Bitmap) ......................................................................................................................... 10
Image processing ................................................................................................................... 11
Appplications ......................................................................................................................... 12

Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 2


Colour Models and
Representation
• RGB(Red,Green,Blue) is
the most common colour
model.
• CMY(Cyan,Magenta,Yello
w ) is also a colour model.

Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 3


• It is used in printing
newspapers,magazines etc.

Binary Image:

Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 4


•Binary images have only two
colours:black and white.

o Each pixel is either on (white) or off


(black).

Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 5


Grayscale Images

• Grayscale images use shades of


gray to represent colours.
• Each pixel’s Intensity determines its

Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 6


shades.

Image File
Formats(GIF,JPEG,PNG)
• GIF stands for (Graphic Interface Format)
• Uses lossless compression techniques
Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 7
• Supported by all browsers
• Suitable for text,artwork,icons and
cartoons
• Large file size
• Extension is .gif

JPEG
•JPEG stands for (Joint Photographic Experts
Group)
•Uses lossy compression technique
•Supported by all browsers

Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 8


•Suitable for photographs
•Smaller file size as compared to GIF
•Extension is .jpg or .jpeg

PNG
• PNG stands for (Portable Network Graphics)
• Uses lossless compression technique

Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 9


• Not supported by all browsers
• Suitable for text,icons etc
• Smaller file size as compared to GIF and JPEG
• Extension is .png

BMP(Bitmap)
• Bitmap is a basic image format without
compression

Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 10


• Image file format of the window is bitmap

• It retains high quality images but result in large


file sizes

Image processing
• Improving image quality by adjusting brightness, contrast,
and colors.
• Applying filters for effects like blurring, sharpening, and
noise reduction.
• Compressing images to reduce file size while maintaining
quality.
• Segmenting images for object detection and pattern
recognition.

Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 11


Appplications
• Photography
• Graphic design
• Medical imaging
• Satellite imagery

Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 12


Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009

You might also like