Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
17 views
14 pages
Image Compression A
.
Uploaded by
mahadm.bscs21seecs
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Image_Compression_a For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
17 views
14 pages
Image Compression A
.
Uploaded by
mahadm.bscs21seecs
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Image_Compression_a For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 14
Search
Fullscreen
Image Compressions, . IA Motivation NUST * Storage needed for a two-hour standard television movie (Color) — Image size = 720 x 480 pixels — Frame rate = 30 fps (frame per seconds) 3 bytes _ frames i. 31,104,000 bytes/sec 30 HADES. (720 x 480) PIXE 3 sec frame pixel For 2 hour movie 31,104,000 22S x (602) = x 2 hrs = 2.24 x 10!' bytes = 224 GB sec irImage Compression NusT Principal objective To minimize the number of bits required to represent an image Applications Transmission: Broadcast TV, remote sensing via satellite, military communications via aircraft, radar and sonar, teleconferencing, computer communications, ... Storage: Educational and business documents, medical images (CT, MRI and digital radiology), motion pictures, satellite images, weather maps, geological surveys, ...i wh Overview NUST * Image data compression methods fall into two common categories: * Information preserving compression — Especially for image archiving (storage of legal or medical records) — Compress and decompress images without losing information * Lossy image compression — Provide higher levels of data reduction — Result in a less than perfect reproduction of the original imagei ae Data vs. Infortnation NUST * Data are the means to convey information; various amounts of data may be used to represent the same amount of information * Part of data may provide no relevant information: data redundancy * Probability and Information * Compression — Reducing the amount of data to represent a given quantity of informationRelative Data Redundancy ed * Let b and b’ refer to amounts of data in two data sets that carry the same information Compression Ratio (C) = 2 Releative data redundancy (R) = of the first dataset b ifb = b’, C= 1 and R = 0, relative to the second data set, the first set contains no redundant data if b >> b’, C> ©» and R > 1, relative to the second data set, the first set contains highly redundant data ifb << b’, C-> O and R > -%, relative to the second data set, the first set is highly compressed 16 si eee Bit lt Nine Neen bacaten tine diven mew lc goaliesData Redundancy wr * Image compression techniques can be designed for reducing or eliminating the data redundancy * Three basic data redundancies — Spatial and Temporal redundancy — Coding redundancy — Irrelevant informationCoding Redundancy neer + A natural m-bit coding method assigns m-bit to each gray level without considering the probability that gray level occurs ~ very likely to contain coding redundancy * Basic concept? — Utilize the probability of occurrence of each gray level (histogram) to determine length of code representing that particular gray level: variable-length coding — Assign shorter code words to the gray levels that occur most frequently or vice versaCoding Redundancy NUST Let 0 <1, $1:Gray levels (discrete random variable) P,(7,) :Propability of occurrence of 7, n, :Frequency of gray level 7, n_ :Total number of pixels in the image L_ :Total number of gray level 1(r,) :Number of bits used to represent 7, L,,, :Average length of code words assigned to gray levels ‘ave Lang = GIP) where P.()="* jk =O,1 2, b—1 Hence, the total number of bits required to code and MxN pixel image is MNL,,. For a natural m-bit coding L.,,,=Coding Redundancy - Exampie mor * Code 1: Natural code (m Lag = 8 bits ) is used, + Code 2: Variable length code Lag = (0.25)2 + 0.47(1) + 0.25(3) + 0.03(3) 81 bits 256x 256x8 © Compression Ratio = |———————— = 4.42 Acomputer generated 256x 256x 1.81 (synthetic) 8-bit image M=N=256 +R =1-1/4.42 =0.774 Tk PATE) Code 1 Ure) Code 2 12(rK) rs 0.25 01010111 8 o1 2 an 0.47 10000000 8 1 1 Ti86 0.25 11000100 8 000 3 ass 003 11111111 8 001 3 1 for k # 87, 128, 186,255 0 = 8 - 0Coding Redundancy - Example HE, + Code 1: Natural code (m= 8) is used, Lg = 8 bits + Code 2: Variable length code Log = (0.25)2 + 0.47(1) + 0.25(3) + 0.03(3) = 1.81 bits + Compression Ratio = Acomputer generated (synthetic) 8-bit image M=N=256 + R=1-1/4.42 =0.774 77.4% data in the image is redundantRedundancy - recap Ate NUST Table 6.1 Variable-Length Coding Example n Ars) Code 1 I(r) Code 2 L(r,) 0 0.19 000 “il 1 2 v7 0.25 001 3 Ol az 2n 0.21 010 3 10 2 3/7 0.16 Ou 3 001 3 47 0.08 100 3 0001 4 S/T 0.06 101 S 00001 5 6/7 0.03 110 2: 000001 6 1 0.02 1 a 000000. 6 * Compression Ratio? * Relative Redundancy?Compression Techniques sees: * Run length coding * Huffman coding * Symbol-Based coding * Bit-Plane coding * Transform Coding * Arithmetic coding * LZW coding * Predictive CodingHUFFMAN CODING + Let an 8-level image has the gray-level distribution as
You might also like
Image Compression
PDF
No ratings yet
Image Compression
43 pages
Image Compression (Chapter 8) : CS474/674 - Prof. Bebis
PDF
No ratings yet
Image Compression (Chapter 8) : CS474/674 - Prof. Bebis
75 pages
Image Compression
PDF
No ratings yet
Image Compression
107 pages
EC8093 Unit 5
PDF
100% (2)
EC8093 Unit 5
124 pages
Chapter 8
PDF
No ratings yet
Chapter 8
108 pages
Image Compression: CS474/674 - Prof. Bebis
PDF
100% (1)
Image Compression: CS474/674 - Prof. Bebis
110 pages
Digital Image Processing - 5 Unit - ASRao
PDF
No ratings yet
Digital Image Processing - 5 Unit - ASRao
113 pages
Domnic Image&Video Compression 2022
PDF
No ratings yet
Domnic Image&Video Compression 2022
76 pages
Image Compression
PDF
100% (1)
Image Compression
111 pages
Image Compression
PDF
No ratings yet
Image Compression
113 pages
Chapter 8
PDF
No ratings yet
Chapter 8
91 pages
CH 7
PDF
No ratings yet
CH 7
11 pages
Ch06 - Image Compression
PDF
No ratings yet
Ch06 - Image Compression
42 pages
Chapter 5
PDF
No ratings yet
Chapter 5
135 pages
Image Compression
PDF
No ratings yet
Image Compression
70 pages
Dip-Unit 5
PDF
No ratings yet
Dip-Unit 5
37 pages
Chapter Six
PDF
No ratings yet
Chapter Six
28 pages
CSE 456 Digital Image Processing
PDF
No ratings yet
CSE 456 Digital Image Processing
20 pages
Dip-Unit 5
PDF
No ratings yet
Dip-Unit 5
37 pages
Lec - 8 - Image Compression-2
PDF
No ratings yet
Lec - 8 - Image Compression-2
32 pages
Lecture 12
PDF
No ratings yet
Lecture 12
24 pages
Image Compression
PDF
No ratings yet
Image Compression
114 pages
Chapter Six 6A IC
PDF
No ratings yet
Chapter Six 6A IC
30 pages
Image Compression
PDF
No ratings yet
Image Compression
27 pages
Ip 09
PDF
No ratings yet
Ip 09
33 pages
CH 6
PDF
No ratings yet
CH 6
34 pages
8.1. Image Compression
PDF
No ratings yet
8.1. Image Compression
121 pages
Img - Compression - FT
PDF
No ratings yet
Img - Compression - FT
35 pages
Dip 5
PDF
No ratings yet
Dip 5
62 pages
Image Compression: Volum Eof Data To (Tex T, Fax
PDF
No ratings yet
Image Compression: Volum Eof Data To (Tex T, Fax
55 pages
UNIT V Lecture Notes
PDF
No ratings yet
UNIT V Lecture Notes
14 pages
Img Compression FT
PDF
No ratings yet
Img Compression FT
35 pages
Image Compression
PDF
No ratings yet
Image Compression
111 pages
Image Compression: Sankalp Kallakuri
PDF
No ratings yet
Image Compression: Sankalp Kallakuri
21 pages
Image Compression
PDF
No ratings yet
Image Compression
133 pages
Updated - MT390 - Tutorial 6 - Spring 2020 - 21
PDF
No ratings yet
Updated - MT390 - Tutorial 6 - Spring 2020 - 21
65 pages
Compression
PDF
No ratings yet
Compression
66 pages
IP Unit 5 Notes
PDF
No ratings yet
IP Unit 5 Notes
97 pages
DIP Image Compression 1.11.2015
PDF
No ratings yet
DIP Image Compression 1.11.2015
66 pages
Dip Mod5
PDF
No ratings yet
Dip Mod5
14 pages
Img Compression
PDF
No ratings yet
Img Compression
15 pages
07 Image Compression - PDF
PDF
No ratings yet
07 Image Compression - PDF
18 pages
Last Module Image Compression
PDF
No ratings yet
Last Module Image Compression
7 pages
Image Compression
PDF
No ratings yet
Image Compression
39 pages
ImageCompression-UNIT-V-students Material
PDF
No ratings yet
ImageCompression-UNIT-V-students Material
88 pages
Digital Image Processing
PDF
No ratings yet
Digital Image Processing
56 pages
Compression 1
PDF
No ratings yet
Compression 1
24 pages
Test Lah
PDF
No ratings yet
Test Lah
47 pages
Sbm1603!72!87 Medical Image Processing
PDF
No ratings yet
Sbm1603!72!87 Medical Image Processing
17 pages
Module 5-Img
PDF
No ratings yet
Module 5-Img
14 pages
Image Compression (Chapter 8) : CS474/674 - Prof. Bebis
PDF
No ratings yet
Image Compression (Chapter 8) : CS474/674 - Prof. Bebis
128 pages
Chapter 8-Image Compression
PDF
No ratings yet
Chapter 8-Image Compression
61 pages
DC 2
PDF
No ratings yet
DC 2
7 pages
Image Compression: - Data vs. Information - Entropy - Data Redundancy
PDF
No ratings yet
Image Compression: - Data vs. Information - Entropy - Data Redundancy
30 pages
UNIT 5: Image Compression
PDF
No ratings yet
UNIT 5: Image Compression
25 pages
Image Compression
PDF
No ratings yet
Image Compression
28 pages