Img Mod1 Session7
Img Mod1 Session7
Module1
Dr.G.Malathi
Associate Professor Senior,
Imaging and Computer Vision Research Group Chair
School of Computing Science and Engineering
Vellore Institute of Technology, Chennai
1
Syllabus
Module1: Introduction, Digital Image, its
Representations 6 hours
Image Representation and image processing
Paradigm – Elements of digital image processing
– image model – Sampling and quantization –
relationships between pixels – connectivity,
distance measures between pixels – color
image(overview, various color models) – various
image formats –bmp, jpeg, tiff,pnd, gif, etc
2
3
Image File Format
• A file format is a method used to store digital
data.
• An image file consists of two parts (i) file
header (ii) image data
• A file header contains image width, height,
type of the image
• The image data format specifies the order in
which pixel values are store in the image data
section.
4
Common File Format
• Based on image storage and retrieval,
• GIF (Graphics Interchange Format)
• JPEG (Joint Photographic Export Format)
• PNG (Portable Network Graphics)
• TIFF (Tagged Image File Format)
5
GIF File Format
• Uses LZW algorithm
• Limited to 8-bit color images
• Best suited for images with few distinctive
colours
• Uses lossless compression scheme
• Quality of the image is preserved
• GIF Interlaced images can be displayed as low
resolution images initially and then develop
clarity and detail gradually
6
Contd…
• GIF Images can be used to create simple
animations
• Allows image to be transparent.
Limitations
• It supports maximum of 256 colours
• So complex images may lose detail when
converted into GIF
7
JPEG
• Not actually a file type but image compression
(DCT compression)
• It’s a single layer raster image in 24-bit format
• Highest level of compression is possible .
• But it is lossy
• JPEG images are not interlaced. But progressive
JPEG can be interlaced.
• Effective transmission
•
8
PNG
• Values displayed on any platform to be the
same as that of the original.
• Uses lossless compression technique
• Images can be interlaced
• It supports transparency
9
TIFF
• Often used with scanned images.
• Images are often larges as TIFF does not
compress files.
• Quality is preserved
• It can handle multiple images in a single file using
tag feature.
Disadvantage
• Due to large size it is rarely used in web
applications
10