0% found this document useful (0 votes)
33 views10 pages

JPEG Compression in Matlab: Michael Christensen

This document provides an overview of JPEG compression in Matlab. It outlines the general method, which includes 4 main steps: 1) shifting pixel values by 27, 2) applying a 2D discrete cosine transform, 3) quantization to shorten the result, and 4) adding file headers to produce the final compressed output file. The document notes that future work includes supporting additional file types, allowing a modifiable quantization matrix, and converting JPEG files back to an uncompressed format.

Uploaded by

hoangdinhlim
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views10 pages

JPEG Compression in Matlab: Michael Christensen

This document provides an overview of JPEG compression in Matlab. It outlines the general method, which includes 4 main steps: 1) shifting pixel values by 27, 2) applying a 2D discrete cosine transform, 3) quantization to shorten the result, and 4) adding file headers to produce the final compressed output file. The document notes that future work includes supporting additional file types, allowing a modifiable quantization matrix, and converting JPEG files back to an uncompressed format.

Uploaded by

hoangdinhlim
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10

JPEG Compression in Matlab

Michael Christensen

Outline
Motivation
General

Method
Still to do

Motivation
Instruction
Provide

a simple example

Method
Step 1

Shift by 27

Method, Cont.
Step 2

2D
Discrete
Cosine
Transform

Method, Cont.
./

Step 3
Quantization

Method, Cont.

(
=

26, 3, 0, 3, 3, 6, 2, 4, 1, 4,
1, 1, 5, 1, 2, 1, 1, 1, 2, 0, 0, 0, 0,
0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

Method, Cont.
Shorten
=

26, 3, 0, 3, 3, 6, 2, 4, 1, 4,
1, 1, 5, 1, 2, 1, 1, 1, 2, 0, 0, 0, 0,
0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

26, 3, 0, 3, 3, 6, 2, 4, 1, 4, 1, 1, 5,
1, 2, 1, 1, 1, 2, 0, 0, 0, 0, 0, 1, 1, EOB
101001110011101111110111010110101011101
00001100110111010111010101010110101101
110101101111011011101000110111000110111
101101100011010101011101110100110111101
011101100011001111011101010110011010110
1110101010011110101110101010

Method, Final
File
Headers, +
etc.

101001110011101111110111010110101011101
00001100110111010111010101010110101101
110101101111011011101000110111000110111
101101100011010101011101110100110111101
011101100011001111011101010110011010110
1110101010011110101110101010

= Output File

Still To Do

Input multiple file types


Modifiable quantization matrix for variable
compression rates
JPEG file conversion back to uncompressed
format

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy